.streamers-page {
  --st-font: "Outfit", system-ui, sans-serif;
  --st-display: "Syne", "Outfit", system-ui, sans-serif;
  --st-blue: #3b82f6;
  --st-cyan: #7dd3fc;
  --st-ink: #e8eefc;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 108px 28px 96px;
  overflow: hidden;
  font-family: var(--st-font);
  color: var(--st-ink);
  background: #05070d;
}

.streamers-aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 70vh;
  background:
    radial-gradient(ellipse 55% 45% at 50% 20%, rgba(37, 99, 235, 0.38), transparent 70%),
    radial-gradient(ellipse 35% 30% at 18% 35%, rgba(56, 189, 248, 0.16), transparent 70%),
    radial-gradient(ellipse 30% 28% at 82% 30%, rgba(29, 78, 216, 0.22), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -2;
  animation: streamers-aurora-drift 14s ease-in-out infinite alternate;
}

.streamers-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}

.streamers-hero {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.streamers-brand {
  display: block;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 28px rgba(59, 130, 246, 0.55));
  animation: streamers-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.streamers-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
  animation: streamers-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.streamers-title {
  margin: 0 0 14px;
  font-family: var(--st-display);
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 10%, #93c5fd 48%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 30px rgba(37, 99, 235, 0.35));
  animation: streamers-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.streamers-lead {
  margin: 0 auto;
  max-width: 38ch;
  color: rgba(232, 238, 252, 0.68);
  font-size: 1.08rem;
  line-height: 1.6;
  animation: streamers-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.streamers-toolbar {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px 18px;
  align-items: center;
  animation: streamers-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.streamers-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(8, 12, 22, 0.72);
  backdrop-filter: blur(12px);
  color: rgba(147, 197, 253, 0.75);
}

.streamers-search-wrap:focus-within {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.streamers-search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 0.95rem;
}

.streamers-search-wrap input::placeholder {
  color: rgba(226, 232, 240, 0.4);
}

.streamers-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.streamers-filter {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.streamers-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.4);
  color: #fff;
}

.streamers-filter.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(14, 165, 233, 0.28));
  border-color: rgba(125, 211, 252, 0.45);
  color: #fff;
}

.streamers-count {
  margin: 0;
  justify-self: end;
  font-size: 0.84rem;
  color: rgba(226, 232, 240, 0.5);
  white-space: nowrap;
}

.streamers-gallery {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.streamers-loading,
.streamers-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(226, 232, 240, 0.5);
  padding: 48px 12px;
}

.streamer-card {
  --accent: #3b82f6;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
  min-height: 340px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: #0a101c;
  transform: translateY(0) scale(1);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
  animation: streamers-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.streamer-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: color-mix(in srgb, var(--accent) 55%, white 10%);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent),
    0 0 40px color-mix(in srgb, var(--accent) 22%, transparent);
}

.streamer-card[data-platform="twitch"] { --accent: #9146ff; }
.streamer-card[data-platform="tiktok"] { --accent: #25f4ee; }
.streamer-card[data-platform="youtube"] { --accent: #ff0033; }

.streamer-cover {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 28%, #0b1220) 0%, #070b14 55%, #05070d 100%);
  z-index: 0;
}

.streamer-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
  transition: transform 0.55s ease, opacity 0.4s;
}

.streamer-card:hover .streamer-cover img {
  transform: scale(1.1);
  opacity: 0.7;
}

.streamer-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.15) 0%, rgba(5, 7, 13, 0.2) 35%, rgba(5, 7, 13, 0.92) 100%),
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 55%);
}

.streamer-shine {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 55%;
  height: 160%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14), transparent 70%);
  transform: rotate(18deg) translateX(-120%);
  transition: transform 0.7s ease;
  z-index: 2;
  pointer-events: none;
}

.streamer-card:hover .streamer-shine {
  transform: rotate(18deg) translateX(260%);
}

.streamer-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.streamer-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.streamer-badge,
.streamer-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.streamer-badge {
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(147, 197, 253, 0.35);
}

.streamer-platform {
  margin-left: auto;
  color: #fff;
  background: color-mix(in srgb, var(--accent) 35%, rgba(0, 0, 0, 0.45));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, white 10%);
}

.streamer-avatar-wrap {
  width: 78px;
  height: 78px;
  margin-top: -52px;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 80%, white), rgba(255, 255, 255, 0.15));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.streamer-avatar {
  width: 100%;
  height: 100%;
  border-radius: 19px;
  object-fit: cover;
  display: block;
  background: #111827;
}

.streamer-avatar--fallback {
  display: grid;
  place-items: center;
  font-family: var(--st-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #dbeafe;
  background: linear-gradient(160deg, #15233f, #0b1220);
}

.streamer-name {
  margin: 0;
  font-family: var(--st-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.streamer-tagline {
  margin: 0;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.streamer-cta {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, white);
  opacity: 0.85;
  transition: opacity 0.2s, gap 0.2s;
}

.streamer-card:hover .streamer-cta {
  opacity: 1;
  gap: 12px;
}

@keyframes streamers-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes streamers-aurora-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, 18px, 0) scale(1.04); }
}

@media (max-width: 860px) {
  .streamers-toolbar {
    grid-template-columns: 1fr;
  }

  .streamers-count {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .streamers-page {
    padding: 96px 16px 64px;
  }

  .streamers-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .streamer-card {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .streamers-aurora,
  .streamer-card,
  .streamer-cover img,
  .streamer-shine,
  .streamers-brand,
  .streamers-kicker,
  .streamers-title,
  .streamers-lead,
  .streamers-toolbar {
    animation: none !important;
    transition: none !important;
  }
}
