:root {
  --bg: #050716;
  --bg-2: #130b33;
  --bg-3: #1c0f4a;
  --bg-4: #09233d;
  --card: rgba(255, 255, 255, 0.11);
  --card-strong: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(232, 244, 255, 0.78);
  --muted-2: rgba(232, 244, 255, 0.58);
  --sky: #b8ebff;
  --pink: #ffd1f0;
  --gold: #ffe99a;
  --violet: #9467ff;
  --violet-2: #6a4df5;
  --shadow: rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(103, 173, 255, 0.16), transparent 18%),
    radial-gradient(circle at 85% 15%, rgba(255, 128, 230, 0.13), transparent 20%),
    radial-gradient(circle at 65% 75%, rgba(97, 214, 255, 0.10), transparent 22%),
    linear-gradient(140deg, var(--bg), var(--bg-2) 35%, var(--bg-3) 65%, var(--bg-4));
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.nebula {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.28;
  mix-blend-mode: screen;
}

.nebula-one {
  width: 460px;
  height: 300px;
  top: 90px;
  left: 4%;
  background:
    radial-gradient(circle at 30% 40%, rgba(110, 204, 255, 0.9), transparent 48%),
    radial-gradient(circle at 70% 55%, rgba(151, 111, 255, 0.85), transparent 52%);
  transform: rotate(-10deg);
}

.nebula-two {
  width: 520px;
  height: 340px;
  top: 300px;
  right: 2%;
  background:
    radial-gradient(circle at 35% 45%, rgba(255, 146, 228, 0.88), transparent 48%),
    radial-gradient(circle at 70% 35%, rgba(122, 197, 255, 0.78), transparent 50%);
  transform: rotate(14deg);
}

.nebula-three {
  width: 560px;
  height: 320px;
  bottom: 60px;
  left: 25%;
  background:
    radial-gradient(circle at 42% 42%, rgba(153, 118, 255, 0.72), transparent 46%),
    radial-gradient(circle at 65% 55%, rgba(255, 224, 144, 0.55), transparent 50%);
  transform: rotate(-8deg);
}

.stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.stars-1 {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.96) 0 1.1px, transparent 1.7px),
    radial-gradient(circle, rgba(255,244,190,0.90) 0 1.2px, transparent 1.8px),
    radial-gradient(circle, rgba(176,231,255,0.82) 0 1px, transparent 1.7px);
  background-size: 180px 180px, 240px 240px, 320px 320px;
  background-position: 0 0, 60px 30px, 110px 70px;
  opacity: 0.95;
  animation: twinkleA 14s linear infinite;
}

.stars-2 {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.74) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,211,240,0.80) 0 1px, transparent 1.7px);
  background-size: 260px 260px, 360px 360px;
  background-position: 30px 80px, 160px 110px;
  opacity: 0.68;
  animation: twinkleB 18s linear infinite;
}

.stars-3 {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.58) 0 0.9px, transparent 1.5px);
  background-size: 120px 120px;
  background-position: 20px 40px;
  opacity: 0.50;
  animation: twinkleC 22s linear infinite;
}

@keyframes twinkleA {
  0%, 100% { opacity: 0.85; transform: translateY(0px); }
  50% { opacity: 1; transform: translateY(-3px); }
}
@keyframes twinkleB {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}
@keyframes twinkleC {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.62; }
}

.glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.22;
}
.glow-one { background: #74dcff; top: 10rem; left: 7rem; }
.glow-two { background: #ff8ce8; top: 16rem; right: 6rem; }
.glow-three { background: #b792ff; bottom: 7rem; left: 38%; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(8, 11, 34, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 12px;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.24), rgba(255,255,255,0.08));
  border: 1px solid var(--border);
}
.brand-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
  filter: drop-shadow(0 4px 8px rgba(255, 233, 154, 0.3));
}
.brand strong { display: block; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.top-nav a:hover { color: var(--sky); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 12px 18px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  box-shadow: 0 12px 26px rgba(106, 77, 245, 0.36);
}
.button-secondary { background: rgba(255, 255, 255, 0.12); border-color: var(--border); }
.button-large { padding: 15px 22px; font-size: 1rem; }

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0 0 18px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}
h1 span, h2 span {
  background: linear-gradient(90deg, var(--sky), var(--pink), var(--gold));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
h3 { margin-bottom: 8px; }

.hero-text,
.split-section p,
.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}
.hero-text { max-width: 670px; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  gap: 12px;
}
.quick-stats div {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--border);
}
.quick-stats strong, .quick-stats span { display: block; }
.quick-stats span { color: var(--muted-2); font-size: 0.88rem; margin-top: 4px; }

.hero-card {
  border-radius: 36px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  box-shadow: 0 28px 70px var(--shadow);
  backdrop-filter: blur(16px);
}
.stream-window {
  border-radius: 28px;
  overflow: hidden;
  background: #11142f;
  border: 1px solid var(--border);
}
.fake-toolbar { display: flex; gap: 8px; padding: 14px; background: rgba(0, 0, 0, 0.2); }
.fake-toolbar span {
  width: 12px; height: 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.stream-art {
  min-height: 370px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.28), transparent 20%),
    radial-gradient(circle at 78% 30%, rgba(255,209,240,0.25), transparent 18%),
    linear-gradient(145deg, rgba(60, 158, 255, 0.35), rgba(143, 101, 255, 0.40), rgba(255, 161, 234, 0.26));
}
.stream-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,244,190,0.8) 0 1px, transparent 1.6px);
  background-size: 120px 120px, 180px 180px;
  background-position: 10px 10px, 70px 40px;
  opacity: 0.55;
}

.moon {
  position: absolute;
  top: 42px;
  right: 52px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 46px rgba(255, 233, 154, 0.45);
}

.cloud {
  position: absolute;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}
.cloud::before { width: 54px; height: 54px; left: 24px; top: -24px; }
.cloud::after { width: 68px; height: 68px; right: 26px; top: -34px; }
.cloud-a { width: 190px; left: 28px; bottom: 50px; }
.cloud-b { width: 150px; right: -18px; bottom: 96px; opacity: 0.72; }

.mascot-placeholder {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  width: min(280px, 76%);
  padding: 20px;
  text-align: center;
  border-radius: 32px;
  background: rgba(8, 11, 34, 0.54);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 50px rgba(0,0,0,0.2);
}
.mascot-placeholder p { color: var(--muted); margin: 14px 0 0; font-weight: 800; }

.wolf-head {
  position: relative;
  margin: 0 auto;
  width: 120px;
  height: 104px;
  border-radius: 42px 42px 48px 48px;
  background: #8a94a8;
  border: 5px solid #29304d;
}
.ear {
  position: absolute;
  top: -34px;
  width: 48px;
  height: 58px;
  border-radius: 16px 16px 8px 8px;
  background: #697389;
  border: 5px solid #29304d;
}
.ear.left { left: 0; transform: rotate(-18deg); }
.ear.right { right: 0; transform: rotate(18deg); }
.eye {
  position: absolute;
  top: 38px;
  width: 20px;
  height: 24px;
  border-radius: 50%;
  background: #29e2e8;
  border: 4px solid #10172e;
}
.eye.left { left: 28px; }
.eye.right { right: 28px; }
.muzzle {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 54px;
  height: 32px;
  border-radius: 50%;
  background: #c4cad6;
  border: 4px solid #29304d;
}

.live-card {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: 24px;
  background: rgba(8, 11, 34, 0.42);
  border: 1px solid var(--border);
  padding: 18px;
}
.live-card p { color: var(--muted); margin: 4px 0 0; line-height: 1.45; }
.live-dot {
  width: 18px; height: 18px; border-radius: 999px;
  background: #ff5f92;
  box-shadow: 0 0 0 8px rgba(255, 95, 146, 0.14), 0 0 25px rgba(255, 95, 146, 0.65);
  flex: 0 0 auto;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: start;
}
.feature-grid, .schedule-grid, .friends-grid, .social-grid {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-card, .schedule-card, .friend-card, .social-card {
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}
.feature-card, .schedule-card, .friend-card { padding: 24px; }

.feature-card span {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature-card p, .schedule-card p, .friend-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.section-heading { max-width: 760px; margin-bottom: 28px; }

.schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.schedule-card strong, .schedule-card span { display: block; }
.schedule-card strong { font-size: 1.2rem; }
.schedule-card span { color: var(--sky); margin: 8px 0 12px; font-weight: 800; }

.friends-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.friend-card { text-align: center; }
.friend-avatar {
  margin: 0 auto 16px;
  width: 86px; height: 86px;
  border-radius: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.13);
  border: 1px dashed rgba(255,255,255,0.35);
  color: var(--sky);
  font-size: 2.4rem;
  font-weight: 900;
}
.empty-card { background: rgba(255,255,255,0.075); }

.social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.social-card {
  padding: 22px;
  transition: transform 160ms ease, background 160ms ease;
}
.social-card:hover { transform: translateY(-3px); background: var(--card-strong); }
.social-card strong, .social-card span { display: block; }
.social-card strong { font-size: 1.15rem; }
.social-card span { color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }

.friends-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  border-radius: 34px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  box-shadow: 0 18px 48px rgba(0,0,0,0.2);
  backdrop-filter: blur(14px);
}
.friends-callout p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.friends-callout h2 { margin-bottom: 12px; }

.friends-hero { padding-bottom: 30px; }
.friends-hero h1 { max-width: 850px; }
.friends-hero .section-heading { max-width: 900px; }
.friends-page-section { padding-top: 20px; }
.friends-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.friend-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  padding: 11px 15px;
  border-radius: 16px;
  font-weight: 850;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--border);
  color: var(--sky);
}
.disabled-link { opacity: 0.65; pointer-events: none; }
.back-home-section { padding-top: 30px; }

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  text-align: center;
}

@media (max-width: 900px) {
  .site-header { position: static; flex-wrap: wrap; }
  .top-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero, .split-section { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .schedule-grid, .friends-grid, .social-grid, .friends-page-grid { grid-template-columns: 1fr; }
  .friends-callout {
    flex-direction: column;
    align-items: stretch;
  }
  .friends-callout .button { width: 100%; }
}

@media (max-width: 640px) {
  .site-header { border-radius: 22px; }
  .brand { width: 100%; }
  .site-header > .button { width: 100%; }
  .quick-stats, .feature-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .stream-art { min-height: 310px; }
}
