:root {
  --bg: #070709;
  --bg-2: #0b0b0e;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.15);
  --text: #f6f7fb;
  --muted: #b1b6c1;
  --soft: #d7dbe4;
  --red: #ea4335;
  --red-bright: #ff6656;
  --red-glow: rgba(234, 67, 53, 0.22);
  --white-glow: rgba(255, 255, 255, 0.08);
  --success: #2ad27d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(234, 67, 53, 0.12), transparent 22%),
    radial-gradient(circle at 82% 6%, rgba(255, 255, 255, 0.05), transparent 18%),
    linear-gradient(180deg, #0b0b0e 0%, #070709 44%, #050507 100%);
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  color: #000;
}

.page-shell {
  padding: 18px 14px 92px;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.hero-card,
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 22px;
}

.panel {
  padding: 22px;
}

.hero-backdrop,
.hero-glow,
.hero-lines,
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow-red {
  width: 54vw;
  max-width: 720px;
  height: 54vw;
  max-height: 720px;
  left: -12%;
  top: -18%;
  background: radial-gradient(circle, var(--red-glow) 0%, transparent 68%);
  filter: blur(12px);
  animation: driftSlow 15s ease-in-out infinite alternate;
}

.hero-glow-white {
  width: 34vw;
  max-width: 440px;
  height: 34vw;
  max-height: 440px;
  right: 8%;
  bottom: -10%;
  background: radial-gradient(circle, var(--white-glow) 0%, transparent 72%);
  filter: blur(16px);
  animation: driftSlow 12s ease-in-out infinite alternate-reverse;
}

.hero-lines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  opacity: 0.38;
}

.hero-noise {
  background-image:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.04) 0, transparent 24%),
    radial-gradient(circle at 82% 38%, rgba(255, 255, 255, 0.03) 0, transparent 22%),
    radial-gradient(circle at 56% 80%, rgba(255, 255, 255, 0.03) 0, transparent 20%);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-topline,
.panel-header,
.compact-spread,
.status-lockup,
.stage-header,
.fallback-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-topline,
.hero-layout,
.panel-header,
.embed-frame-wrap,
.footer {
  position: relative;
  z-index: 2;
}

.hero-topline {
  margin-bottom: 18px;
}

.status-lockup {
  gap: 14px;
}

.live-pill,
.fallback-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 210, 125, 0.2);
  background: rgba(42, 210, 125, 0.08);
}

.live-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(42, 210, 125, 0.12);
  animation: livePulse 1.8s ease-in-out infinite;
}

.hero-meta-line,
.eyebrow,
.section-label,
.platform-overline,
.stage-label,
.stage-stat-label,
.proof-label,
.fallback-kicker {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-meta-line,
.section-label,
.platform-overline,
.stage-caption,
.fallback-meta,
.proof-label {
  opacity: 0.76;
}

.hero-layout {
  display: grid;
  gap: 18px;
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.brand-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
}

.brand-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.7rem, 10vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

h2 {
  font-size: 1.08rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.subheadline {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-proof-line {
  margin-top: 16px;
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.5;
}

.hero-cta-group {
  margin-top: 24px;
  display: grid;
  gap: 13px;
}

.cta-button,
.platform-card,
.contact-link,
.quick-action,
.mobile-twitch-bar,
.proof-chip,
.contact-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 220ms ease;
}

.cta-button::after,
.platform-card::after,
.contact-link::after,
.proof-chip::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.08) 48%, transparent 82%);
  transform: translateX(-120%);
  transition: transform 760ms ease;
  pointer-events: none;
}

.cta-button:hover::after,
.platform-card:hover::after,
.contact-link:hover::after,
.proof-chip:hover::after,
.contact-card:hover::after {
  transform: translateX(120%);
}

.cta-button:hover,
.platform-card:hover,
.contact-link:hover,
.quick-action:hover,
.proof-chip:hover,
.contact-card:hover,
.mobile-twitch-bar:hover {
  transform: translateY(-2px);
}

.cta-button:focus-visible,
.platform-card:focus-visible,
.contact-link:focus-visible,
.quick-action:focus-visible,
.mobile-twitch-bar:focus-visible {
  outline: 2px solid rgba(255, 102, 86, 0.9);
  outline-offset: 3px;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 90px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 102, 86, 0.44);
  background: linear-gradient(180deg, rgba(234, 67, 53, 0.34), rgba(234, 67, 53, 0.16));
  box-shadow: 0 18px 42px rgba(234, 67, 53, 0.12);
}

.cta-button:hover {
  border-color: rgba(255, 102, 86, 0.62);
  box-shadow: 0 24px 54px rgba(234, 67, 53, 0.16);
}

.cta-copy {
  display: grid;
  gap: 4px;
}

.cta-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.cta-arrow {
  font-size: 1.24rem;
  color: rgba(255, 255, 255, 0.84);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-action {
  min-height: 46px;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft);
  font-size: 0.94rem;
}

.quick-action:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.075);
}

.proof-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.proof-chip {
  padding: 14px 14px 15px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.proof-chip strong {
  display: block;
  margin-top: 7px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-stage-screen,
.embed-fallback,
.contact-card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at top right, rgba(255, 102, 86, 0.14), transparent 34%),
    rgba(9, 9, 12, 0.75);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-stage-screen {
  min-height: 100%;
  padding: 18px;
}

.stage-header {
  margin-bottom: 16px;
}

.stage-caption,
.fallback-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.signal-spectrum {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: end;
  gap: 6px;
  height: 150px;
  padding: 10px 0 6px;
}

.signal-spectrum span {
  display: block;
  width: 100%;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 102, 86, 0.92));
  box-shadow: 0 0 18px rgba(255, 102, 86, 0.14);
  transform-origin: bottom;
  animation: equalizer 1.55s ease-in-out infinite;
}

.signal-spectrum span:nth-child(1) { height: 30%; animation-delay: 0s; }
.signal-spectrum span:nth-child(2) { height: 48%; animation-delay: 0.05s; }
.signal-spectrum span:nth-child(3) { height: 72%; animation-delay: 0.1s; }
.signal-spectrum span:nth-child(4) { height: 44%; animation-delay: 0.15s; }
.signal-spectrum span:nth-child(5) { height: 62%; animation-delay: 0.2s; }
.signal-spectrum span:nth-child(6) { height: 82%; animation-delay: 0.25s; }
.signal-spectrum span:nth-child(7) { height: 38%; animation-delay: 0.3s; }
.signal-spectrum span:nth-child(8) { height: 56%; animation-delay: 0.35s; }
.signal-spectrum span:nth-child(9) { height: 78%; animation-delay: 0.4s; }
.signal-spectrum span:nth-child(10) { height: 46%; animation-delay: 0.45s; }
.signal-spectrum span:nth-child(11) { height: 66%; animation-delay: 0.5s; }
.signal-spectrum span:nth-child(12) { height: 86%; animation-delay: 0.55s; }
.signal-spectrum span:nth-child(13) { height: 52%; animation-delay: 0.6s; }
.signal-spectrum span:nth-child(14) { height: 74%; animation-delay: 0.65s; }
.signal-spectrum span:nth-child(15) { height: 40%; animation-delay: 0.7s; }
.signal-spectrum span:nth-child(16) { height: 58%; animation-delay: 0.75s; }

.stage-copy {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.stage-title {
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.stage-text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.stage-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stage-stat {
  padding: 12px 12px 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.stage-stat-value {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel-header {
  margin-bottom: 16px;
}

.panel-header p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.embed-frame-wrap {
  min-height: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #05060a;
}

.twitch-embed,
.embed-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-fallback {
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 12% 18%, rgba(255, 102, 86, 0.22), transparent 32%),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(8, 8, 12, 0.92), rgba(6, 6, 8, 0.98));
}

.embed-fallback-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 102, 86, 0.12), transparent 36%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
}

.embed-fallback-content {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  display: grid;
  gap: 16px;
}

.fallback-copy {
  display: grid;
  gap: 10px;
}

.fallback-copy h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.fallback-copy p {
  color: var(--muted);
  line-height: 1.58;
}

.fallback-cta {
  min-height: 74px;
}

.group-stack {
  display: grid;
  gap: 18px;
}

.link-group {
  display: grid;
  gap: 12px;
}

.group-heading {
  display: grid;
  gap: 6px;
}

.group-heading h3 {
  font-size: 1rem;
  color: var(--soft);
}

.platform-grid,
.contact-grid {
  display: grid;
  gap: 12px;
}

.platform-card,
.contact-card {
  min-height: 100%;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.platform-card:hover,
.contact-card:hover,
.proof-chip:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.platform-card.featured {
  border-color: rgba(255, 102, 86, 0.3);
  background:
    linear-gradient(180deg, rgba(234, 67, 53, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.platform-name {
  display: block;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.platform-sub,
.contact-card p {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.56;
}

.contact-grid {
  gap: 14px;
}

.contact-card h3 {
  margin-top: 8px;
  font-size: 1.08rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.mobile-twitch-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 102, 86, 0.42);
  background: linear-gradient(180deg, rgba(234, 67, 53, 0.92), rgba(213, 55, 43, 0.92));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  font-weight: 700;
}

.noscript-banner {
  max-width: var(--container);
  margin: 16px auto 0;
  padding: 12px 16px;
}

.reveal {
  animation: revealUp 0.6s ease both;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftSlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, 2%, 0) scale(1.04); }
}

@keyframes equalizer {
  0%,
  100% { transform: scaleY(0.58); opacity: 0.92; }
  25% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.72); opacity: 0.95; }
  75% { transform: scaleY(0.9); opacity: 0.98; }
}

@keyframes livePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(42, 210, 125, 0.28);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 8px rgba(42, 210, 125, 0);
    opacity: 1;
  }
}

@media (min-width: 760px) {
  .page-shell {
    padding: 24px 18px 38px;
  }

  .proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .platform-grid.four-up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .platform-grid.two-featured {
    grid-template-columns: 0.95fr 1.25fr;
  }
}

@media (min-width: 980px) {
  .hero-card {
    padding: 28px;
  }

  .panel {
    padding: 24px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    align-items: stretch;
  }
}

@media (max-width: 759px) {
  .mobile-twitch-bar.is-visible {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
