:root {
  color-scheme: dark;
  --bg: #080706;
  --panel: rgba(13, 10, 10, 0.78);
  --text: #f1ead6;
  --muted: rgba(241, 234, 214, 0.72);
  --gold: #a97924;
  --gold-bright: #d7b35a;
  --line: rgba(169, 121, 36, 0.32);
  --spectral: #4dffad;
  --cape: #7f5cff;
  --youtube: #ff2a2a;
  --twitch: #9146ff;
  --focus: #4dffad;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 20%, rgba(127, 92, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 68% 76%, rgba(77, 255, 173, 0.08), transparent 30rem),
    linear-gradient(115deg, #080706 0%, #100d0b 48%, #060505 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(22px, 6vw, 86px);
  position: relative;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(169, 121, 36, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(169, 121, 36, 0.07) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.34;
}

.hero {
  width: min(100%, 1120px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  min-width: 0;
}

.brand-rule {
  width: min(100%, 680px);
  height: 1px;
  margin: clamp(18px, 3vw, 30px) auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), var(--spectral), transparent);
  opacity: 0.82;
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wordmark {
  width: min(100%, 860px);
  display: block;
  margin: 0 auto;
  border: 1px solid rgba(169, 121, 36, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.intro {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.social-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(241, 234, 214, 0.16);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.youtube {
  background: linear-gradient(135deg, #ff3434, #9b1515);
  color: #fff;
}

.twitch {
  background: linear-gradient(135deg, var(--twitch), var(--cape));
  color: #fff;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.live-section {
  margin-top: clamp(42px, 7vw, 76px);
}

.live-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.live-heading-secondary {
  margin-top: clamp(28px, 5vw, 48px);
}

.live-heading .kicker {
  margin: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.live-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.live-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.live-note {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.live-note a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 26px;
  }

  .hero {
    text-align: left;
  }

  .social-links {
    flex-direction: column;
  }

  .social-link {
    width: 100%;
  }

  .social-links,
  .wordmark,
  .brand-rule {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  .live-heading {
    display: block;
  }

  .live-heading .kicker {
    margin-bottom: 8px;
  }

  .live-note {
    margin-left: 0;
    margin-right: 0;
  }
}
