/* SteelBrawl — Comic-Industrial Design System */
:root {
  --ink: #080b10;
  --navy-950: #0c111b;
  --navy-900: #111827;
  --navy-800: #182235;
  --navy-700: #24324c;
  --steel-line: #324463;
  --orange: #ff7a1a;
  --orange-hi: #ff9c38;
  --orange-lo: #cc5200;
  --cyan: #2ef2ff;
  --cyan-lo: #0d8fa8;
  --gold: #ffc83d;
  --gold-hi: #ffe388;
  --text: #f3f6fb;
  --muted: #9eb0cb;
  --dim: #6f829f;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  font-family: 'Exo 2', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #162238 0%, var(--navy-950) 48%, var(--ink) 100%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.display {
  font-family: 'Russo One', Impact, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

/* Hazard Caution Stripe */
.hazard-bar {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--gold) 0px,
    var(--gold) 12px,
    var(--ink) 12px,
    var(--ink) 24px
  );
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* Top Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 11, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid #223049;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand-link:hover { text-decoration: none; }
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 14px rgba(46, 242, 255, 0.35);
}
.brand-name {
  font-family: 'Russo One', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #ffffff 0%, #b8c6db 48%, var(--gold) 52%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--cyan);
  text-decoration: none;
}

/* Industrial Bevel Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Russo One', sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold) 0%, var(--orange) 100%);
  box-shadow: 0 5px 0 var(--orange-lo), 0 10px 26px rgba(255, 122, 26, 0.38);
}
.btn-cyan {
  color: var(--ink);
  background: linear-gradient(180deg, #8bf9ff 0%, var(--cyan) 100%);
  box-shadow: 0 5px 0 var(--cyan-lo), 0 10px 26px rgba(46, 242, 255, 0.3);
}
.btn-ghost {
  color: var(--text);
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border-color: var(--steel-line);
  box-shadow: 0 4px 0 #090d14;
}
.btn-sm { padding: 8px 15px; font-size: 0.82rem; }

/* Steel Panel Surface */
.steel-panel {
  background: linear-gradient(180deg, #1b2538 0%, #111827 100%);
  border: 2px solid var(--steel-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
}
.steel-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 54px 0 74px;
  overflow: hidden;
  border-bottom: 2px solid #223049;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/hero-keyart.webp') center 28% / cover no-repeat;
  opacity: 0.34;
  transform: scale(1.03);
  filter: saturate(1.15);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 35%, rgba(46, 242, 255, 0.14), transparent 52%),
    radial-gradient(circle at 78% 25%, rgba(255, 122, 26, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.65) 0%, rgba(12, 17, 27, 0.84) 68%, var(--navy-950) 100%);
}
#sparks-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 44px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.78);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.hero-wordmark {
  width: min(460px, 100%);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.75));
  margin-bottom: 18px;
}
.hero-lead {
  font-size: 1.16rem;
  color: #dce6f7;
  max-width: 560px;
  margin: 0 0 26px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}
.stat-chip {
  background: rgba(12, 17, 27, 0.86);
  border: 1.5px solid var(--steel-line);
  border-radius: 10px;
  padding: 10px 12px;
}
.stat-chip strong {
  display: block;
  font-family: 'Russo One', sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1.1;
}
.stat-chip span {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* Interactive iPhone Frame */
.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.iphone-shell {
  width: min(312px, 100%);
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(145deg, #3b4c6b 0%, #101622 45%, #26344f 100%);
  border: 2px solid #596f94;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 40px rgba(46, 242, 255, 0.16);
  position: relative;
}
.iphone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 20px;
  background: #05070b;
  border-radius: 999px;
  z-index: 3;
}
.iphone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #080b10;
  aspect-ratio: 390 / 844;
  position: relative;
}
.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.shot-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.shot-pill {
  background: rgba(17, 24, 39, 0.9);
  color: var(--muted);
  border: 1.5px solid var(--steel-line);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s ease;
}
.shot-pill:hover { border-color: var(--cyan); color: var(--text); }
.shot-pill.active {
  background: var(--cyan);
  border-color: var(--ink);
  color: var(--ink);
}

/* Sections */
.section { padding: 74px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.72) 0%, rgba(11, 15, 24, 0.92) 100%);
  border-top: 1px solid #1e2a40;
  border-bottom: 1px solid #1e2a40;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.section-head h2 {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  margin: 0 0 12px;
  line-height: 1.12;
  text-transform: uppercase;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

/* 4 Feature Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.pillar-card {
  padding: 22px 20px;
  border-top: 3px solid var(--orange);
}
.pillar-card:nth-child(2) { border-top-color: var(--cyan); }
.pillar-card:nth-child(3) { border-top-color: var(--gold); }
.pillar-card:nth-child(4) { border-top-color: #b28cff; }
.pillar-badge {
  display: inline-block;
  font-family: 'Russo One', sans-serif;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 122, 26, 0.14);
  border: 1px solid rgba(255, 122, 26, 0.45);
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.pillar-card h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 1.12rem;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Interactive Arena Zones */
.zones-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
.zone-hero-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.zone-hero-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}
.zone-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zone-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 11, 16, 0.08) 40%, rgba(12, 17, 27, 0.92) 100%);
}
.zone-hero-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}
.zone-tag {
  background: rgba(8, 11, 16, 0.86);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Russo One', sans-serif;
  font-size: 0.82rem;
  padding: 5px 11px;
  border-radius: 8px;
  text-transform: uppercase;
}
.zone-tag.cyan { border-color: var(--cyan); color: var(--cyan); }
.zone-hero-body {
  padding: 20px 22px 24px;
}
.zone-hero-body h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 1.55rem;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.zone-hero-body p {
  margin: 0 0 14px;
  color: var(--muted);
}
.zone-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zone-chip {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--navy-950);
  border: 1px solid var(--steel-line);
  color: var(--text);
}
.zone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.zone-btn {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--steel-line);
  background: var(--navy-900);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.zone-btn:hover { transform: translateY(-2px); border-color: var(--cyan); }
.zone-btn.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 200, 61, 0.25), 0 10px 24px rgba(0, 0, 0, 0.45);
}
.zone-btn img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.zone-btn-info {
  padding: 9px 10px 10px;
}
.zone-btn-info strong {
  display: block;
  font-family: 'Russo One', sans-serif;
  font-size: 0.86rem;
  text-transform: uppercase;
}
.zone-btn-info span {
  font-size: 0.74rem;
  color: var(--cyan);
  font-weight: 700;
}

/* Lead Coaches Grid */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.coach-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
}
.coach-avatar {
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 12px;
  border: 2px solid var(--cyan);
  background: var(--navy-950);
  object-fit: cover;
}
.coach-card h3 {
  font-family: 'Russo One', sans-serif;
  font-size: 0.98rem;
  margin: 0 0 2px;
  text-transform: uppercase;
}
.coach-role {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 3px;
}
.coach-perk {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Showpiece Boutique Preview */
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.boutique-box {
  padding: 24px;
  text-align: center;
}
.pedestal {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 60%, rgba(46, 242, 255, 0.2), rgba(8, 11, 16, 0.92) 70%);
  border: 1.5px solid var(--steel-line);
  margin: 14px 0 16px;
  padding: 14px;
}
.pedestal.gold-glow {
  background: radial-gradient(circle at 50% 58%, rgba(255, 200, 61, 0.28), rgba(8, 11, 16, 0.94) 70%);
}
.pedestal img {
  max-height: 212px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.7));
}
.switcher-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

/* CTA Banner */
.cta-banner {
  padding: 42px 32px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 122, 26, 0.24), transparent 62%),
    linear-gradient(180deg, #1b263b 0%, #101726 100%);
  border: 2px solid var(--gold);
}
.cta-banner h2 {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.cta-banner p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: var(--muted);
}

/* Legal & Support Document Pages */
.doc-hero {
  padding: 48px 0 34px;
  border-bottom: 2px solid #223049;
  background: radial-gradient(circle at 15% 20%, rgba(46, 242, 255, 0.12), transparent 50%), var(--navy-950);
}
.doc-hero h1 {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 6px 0 10px;
  text-transform: uppercase;
}
.doc-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}
.doc-wrap {
  padding: 42px 0 74px;
}
.doc-card {
  padding: 34px 36px;
  max-width: 860px;
  margin: 0 auto;
}
.doc-card h2 {
  font-family: 'Russo One', sans-serif;
  font-size: 1.25rem;
  color: var(--gold);
  margin: 28px 0 10px;
  text-transform: uppercase;
}
.doc-card h2:first-child { margin-top: 0; }
.doc-card h3 {
  font-size: 1.02rem;
  color: var(--cyan);
  margin: 18px 0 6px;
}
.doc-card p, .doc-card li {
  color: #d6e1f2;
  font-size: 0.98rem;
}
.doc-card ul { padding-left: 20px; }
.doc-card li { margin-bottom: 6px; }
.info-callout {
  background: rgba(46, 242, 255, 0.08);
  border-left: 4px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 18px 0;
}
.faq-item {
  border-top: 1px solid #263550;
  padding: 16px 0;
}
.faq-item:first-of-type { border-top: 0; }

/* Footer */
.site-footer {
  border-top: 2px solid #223049;
  background: #070a0f;
  padding: 38px 0 46px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--cyan); }
.footer-meta {
  width: 100%;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #182235;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--dim);
  font-size: 0.84rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .zones-showcase, .boutique-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coaches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 38px 0 56px; }
  .phone-stage { margin-top: 10px; }
}
@media (max-width: 600px) {
  .pillars-grid, .coaches-grid, .zone-list { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 12px; }
  .doc-card { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #sparks-canvas { display: none; }
}
