:root {
  --bg: #07050b;
  --ink: #f5f1ea;
  --muted: #a49cb0;
  --red: #ff2a2a;
  --gold: #ffc93c;
  --accent: #ff5a14;
  --accent2: #ffd23a;
  --panel: rgba(12, 9, 18, .62);
  --line: rgba(255, 255, 255, .12);
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Rajdhani', system-ui, sans-serif;
  --marker: 'Permanent Marker', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--accent); text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent); }

/* ---------- canvas + overlays ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; }
.grain {
  position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-2%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
#flash { position: fixed; inset: 0; z-index: 40; background: #fff; opacity: 0; pointer-events: none; mix-blend-mode: screen; }

#goal-pop { position: fixed; inset: 0; z-index: 41; display: grid; place-content: center; text-align: center; pointer-events: none; opacity: 0; }
.goal-word {
  font-family: var(--display); font-size: clamp(90px, 22vw, 320px); line-height: .85; letter-spacing: .02em;
  color: #fff; transform: skewX(-10deg);
  -webkit-text-stroke: 4px var(--accent);
  text-shadow: 0 0 30px var(--accent), 0 0 80px var(--accent), 8px 8px 0 #000;
}
.goal-sub { font-family: var(--marker); font-size: clamp(22px, 3vw, 40px); color: var(--accent2); text-shadow: 0 0 20px var(--accent); margin-top: 10px; }
#goal-pop.show { animation: goalPop 2.2s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes goalPop {
  0% { opacity: 0; transform: scale(3) rotate(-8deg); filter: blur(10px); }
  12% { opacity: 1; transform: scale(.9) rotate(2deg); filter: blur(0); }
  18% { transform: scale(1.05) rotate(-1deg); }
  24%, 75% { opacity: 1; transform: scale(1) rotate(0); }
  100% { opacity: 0; transform: scale(1.4); filter: blur(6px); }
}

/* ---------- loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(ellipse at center, #1c0a10 0%, #07050b 70%);
}
.loader-inner { width: min(520px, 84vw); text-align: center; }
.loader-logo { width: 100%; animation: loaderPulse 1.6s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(255, 42, 42, .45)); }
@keyframes loaderPulse { 50% { transform: scale(1.03) rotate(-.5deg); } }
.loader-bar { height: 6px; background: rgba(255, 255, 255, .08); margin-top: 26px; transform: skewX(-20deg); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); box-shadow: 0 0 20px var(--red); transition: width .25s; }
.loader-meta { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--display); letter-spacing: .2em; font-size: 14px; color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 72px; padding: 0 clamp(16px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(180deg, rgba(7, 5, 11, .85), rgba(7, 5, 11, 0));
  transition: transform .4s, background .4s;
}
.nav.solid { background: rgba(7, 5, 11, .78); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-logo img { height: 52px; width: auto; filter: drop-shadow(0 0 12px rgba(255, 42, 42, .4)); }
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.nav-links a { font-family: var(--display); letter-spacing: .14em; font-size: 15px; text-transform: uppercase; position: relative; padding: 6px 0; color: #ddd; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .3s; box-shadow: 0 0 10px var(--accent); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--accent); background: rgba(255, 255, 255, .05); }
.icon-btn .wave { display: none; }
.icon-btn[aria-pressed="true"] .wave { display: block; }
.icon-btn[aria-pressed="true"] .mute { display: none; }
.icon-btn[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  --c: var(--accent);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: 17px;
  padding: 16px 30px; transform: skewX(-12deg); transition: transform .2s, box-shadow .25s, background .25s;
  isolation: isolate; overflow: hidden;
}
.btn > span { display: inline-flex; align-items: center; gap: 10px; transform: skewX(12deg); }
.btn-primary { background: linear-gradient(100deg, var(--red), var(--accent)); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 10px 40px -10px var(--accent); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.btn-primary:hover { transform: skewX(-12deg) translateY(-3px) scale(1.03); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3) inset, 0 16px 50px -8px var(--accent), 0 0 30px var(--accent); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .5); color: #fff; background: rgba(0, 0, 0, .25); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: skewX(-12deg) translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-xl { padding: 22px 44px; font-size: 22px; }
.btn:disabled { filter: grayscale(.7) brightness(.7); cursor: wait; }

/* ---------- HUD ---------- */
.hud {
  position: fixed; left: clamp(16px, 2vw, 28px); bottom: 22px; z-index: 25;
  display: flex; align-items: stretch; font-family: var(--display); letter-spacing: .06em;
  background: rgba(8, 6, 12, .82); border: 1px solid var(--line); backdrop-filter: blur(8px);
  transform: skewX(-10deg); opacity: 0; transition: opacity .6s;
}
.hud.on { opacity: 1; }
.hud > * { transform: skewX(10deg); }
.hud-live { display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--red); color: #fff; font-size: 13px; transform: none; }
.hud-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hud-team { display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 16px; }
.hud-team img { width: 34px; height: 34px; object-fit: contain; }
.hud-score { display: flex; align-items: center; gap: 6px; padding: 0 14px; font-size: 26px; background: rgba(255, 255, 255, .06); }
.hud-score em { color: var(--muted); text-shadow: none; }
.hud-score span.bump { animation: bump .6s; color: var(--accent2); }
@keyframes bump { 30% { transform: scale(1.8); } }
.hud-clock { display: flex; align-items: center; padding: 0 12px; font-size: 15px; color: var(--gold); border-left: 1px solid var(--line); }

/* ---------- layout ---------- */
main { position: relative; z-index: 5; }
.panel { position: relative; min-height: 100vh; padding: 120px clamp(16px, 5vw, 80px) 100px; display: flex; flex-direction: column; justify-content: center; }
.panel-right { align-items: flex-end; }
.panel-right > * { width: min(640px, 100%); }
.panel-center { align-items: center; text-align: center; }

.kicker { font-family: var(--display); letter-spacing: .28em; font-size: 14px; color: var(--accent); margin-bottom: 14px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6vw, 86px); line-height: .95; text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 4px 30px rgba(0, 0, 0, .7); }
h2.mega { font-size: clamp(64px, 12vw, 190px); }
h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: 24px; line-height: 1.05; }
.sec-head { margin-bottom: 34px; }
.sec-head p { color: #d9d2e3; max-width: 560px; margin-top: 16px; font-size: 20px; text-shadow: 0 2px 12px #000; }
.sec-head.center p { margin-inline: auto; }
.muted { color: var(--muted); }

.card {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 60px; height: 3px; background: var(--accent); box-shadow: 0 0 14px var(--accent); transition: width .4s; }
.card:hover::before { width: 100%; }

/* ---------- hero ---------- */
#hero { justify-content: center; }
.hero-copy { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); letter-spacing: .3em; font-size: 14px; color: #ddd; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.2s infinite; }
.hero-logo { margin: 8px 0 0 -2%; width: min(600px, 100%); }
.hero-logo img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .8)) drop-shadow(0 0 30px rgba(255, 42, 42, .35)); animation: logoFloat 5s ease-in-out infinite; }
@keyframes logoFloat { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.hero-tag { font-family: var(--display); font-size: clamp(34px, 4.4vw, 60px); line-height: 1; text-transform: uppercase; margin-top: 4px; }
.marker { font-family: var(--marker); text-transform: none; color: var(--accent2); font-size: .82em; text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 70%, transparent); display: inline-block; transform: rotate(-3deg); }
.hero-lead { color: #ddd5e6; font-size: 20px; max-width: 500px; margin-top: 18px; text-shadow: 0 2px 12px #000; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.plat-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.plat-label { font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #cfc6da; text-shadow: 0 2px 10px #000; }
.plat-logos { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.plat-logos li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); border-bottom: 2px solid var(--accent); backdrop-filter: blur(6px); transition: transform .2s, border-color .2s, box-shadow .2s; }
.plat-logos li:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 8px 22px -10px var(--accent); }
.plat-logos svg { width: 22px; height: 22px; fill: #fff; flex: none; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .25)); }
.plat-logos span { font-family: var(--display); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.plat-row + .hero-chips { margin-top: 16px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.hero-chips li { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--display); font-size: 12px; letter-spacing: .4em; color: var(--muted); }
.scroll-cue i { width: 2px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* glitch */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.glitch::before { color: #0ff; transform: translate(-3px, 0); clip-path: inset(0 0 60% 0); mix-blend-mode: screen; animation: gl1 3s infinite steps(1); opacity: .7; }
.glitch::after { color: var(--red); transform: translate(3px, 0); clip-path: inset(55% 0 0 0); mix-blend-mode: screen; animation: gl2 2.4s infinite steps(1); opacity: .8; }
@keyframes gl1 { 0%, 90%, 100% { clip-path: inset(0 0 100% 0); } 91% { clip-path: inset(10% 0 60% 0); transform: translate(-6px, -2px); } 94% { clip-path: inset(40% 0 30% 0); transform: translate(5px, 1px); } 97% { clip-path: inset(70% 0 5% 0); transform: translate(-3px, 0); } }
@keyframes gl2 { 0%, 85%, 100% { clip-path: inset(100% 0 0 0); } 86% { clip-path: inset(60% 0 10% 0); transform: translate(6px, 2px); } 90% { clip-path: inset(20% 0 55% 0); transform: translate(-5px, 0); } 95% { clip-path: inset(80% 0 0 0); transform: translate(3px, -1px); } }

/* ticker */
.ticker { position: relative; z-index: 6; overflow: hidden; background: var(--red); transform: rotate(-2deg) scale(1.05); padding: 14px 0; box-shadow: 0 0 60px rgba(255, 42, 42, .5); margin: -40px 0 0; }
.ticker::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 6px); pointer-events: none; }
.ticker-track { display: flex; gap: 34px; width: max-content; animation: tick 28s linear infinite; font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); letter-spacing: .08em; color: #fff; white-space: nowrap; }
.ticker-track b { color: #1a0505; font-weight: 400; }
@keyframes tick { to { transform: translateX(-50%); } }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feature { padding: 22px 22px 20px; transition: transform .3s, background .3s; }
.feature:hover { transform: translateY(-4px); background: rgba(20, 14, 28, .78); }
.f-icon { width: 46px; height: 46px; color: var(--accent); margin-bottom: 12px; filter: drop-shadow(0 0 10px var(--accent)); }
.f-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 21px; margin-bottom: 6px; }
.feature p { color: #c9c0d4; font-size: 16px; line-height: 1.4; }
.pad-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.pad-note svg { color: var(--accent); }

/* power */
#power { justify-content: space-between; padding-top: 140px; padding-bottom: 80px; min-height: 130vh; }
.power-ui { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.charge { width: min(460px, 86vw); }
.charge-label { display: flex; justify-content: space-between; font-family: var(--display); letter-spacing: .2em; font-size: 15px; margin-bottom: 8px; }
.charge-bar { height: 12px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); transform: skewX(-20deg); overflow: hidden; }
.charge-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2), #fff); box-shadow: 0 0 20px var(--accent); }
#power .sec-head > * { transition: opacity .5s, transform .5s; }
body.shooting #power .sec-head > * { opacity: 0; transform: translateY(-30px); }
.power-hint { color: var(--muted); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }

/* teams */
.team-detail { display: flex; gap: 22px; align-items: center; padding: 22px; margin-bottom: 16px; }
.team-detail img { width: 150px; height: 150px; object-fit: contain; flex: none; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--accent) 60%, transparent)); }
.td-info { flex: 1; min-width: 0; }
.td-identity { font-family: var(--marker); color: var(--accent2); font-size: 20px; }
.td-info h3 { font-size: 38px; margin: 2px 0 6px; }
.td-style { color: #cfc6da; font-size: 16px; margin-bottom: 12px; }
.td-style b { color: #fff; }
.td-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.stat { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.stat-top { display: flex; justify-content: space-between; color: #bdb4c9; }
.stat-top b { color: #fff; font-family: var(--display); font-weight: 400; font-size: 15px; }
.stat-bar { height: 5px; background: rgba(255, 255, 255, .1); margin-top: 4px; transform: skewX(-20deg); }
.stat-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); box-shadow: 0 0 10px var(--accent); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.team-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.team-btn { position: relative; aspect-ratio: 1; background: rgba(10, 8, 16, .6); border: 1px solid var(--line); padding: 6px; transition: transform .25s, border-color .25s, background .25s; clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%); }
.team-btn img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s, filter .3s; filter: grayscale(.5) brightness(.8); }
.team-btn:hover img { transform: scale(1.12) rotate(-3deg); filter: none; }
.team-btn.active { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 22%, rgba(10, 8, 16, .7)); box-shadow: 0 0 24px -4px var(--tc) inset; }
.team-btn.active img { filter: drop-shadow(0 0 10px var(--tc)); transform: scale(1.08); }
.team-btn:hover { transform: translateY(-4px); }

/* modes */
.mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: min(1180px, 100%); margin-top: 18vh; }
.mode { padding: 28px 22px 24px; text-align: left; transition: transform .35s, background .35s; overflow: hidden; }
.mode:hover { transform: translateY(-8px); background: rgba(22, 14, 30, .8); }
.mode-num { position: absolute; right: 14px; top: 6px; font-family: var(--display); font-size: 64px; color: rgba(255, 255, 255, .06); line-height: 1; }
.mode-ic { width: 54px; height: 54px; color: var(--accent); filter: drop-shadow(0 0 12px var(--accent)); margin-bottom: 14px; }
.mode h3 { font-size: 28px; }
.mode p { color: #c9c0d4; font-size: 16px; margin: 6px 0 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent2); border: 1px solid color-mix(in srgb, var(--accent2) 40%, transparent); padding: 4px 10px; }

/* tactics */
.tactics { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px; align-items: center; }
.pitch { position: relative; aspect-ratio: 3 / 4.2; background: linear-gradient(180deg, #11301f, #0b2016); border: 2px solid rgba(255, 255, 255, .5); overflow: hidden; }
.pitch-lines { position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 50%, transparent 17%, rgba(255,255,255,.45) 17.5%, rgba(255,255,255,.45) 18.5%, transparent 19%),
  linear-gradient(transparent calc(50% - 1px), rgba(255,255,255,.45) calc(50% - 1px), rgba(255,255,255,.45) calc(50% + 1px), transparent calc(50% + 1px)),
  repeating-linear-gradient(180deg, rgba(255,255,255,.03) 0 10%, transparent 10% 20%); }
.pitch-lines::before, .pitch-lines::after { content: ""; position: absolute; left: 28%; right: 28%; height: 13%; border: 2px solid rgba(255, 255, 255, .45); }
.pitch-lines::before { top: -2px; border-top: 0; }
.pitch-lines::after { bottom: -2px; border-bottom: 0; }
.pp { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--display); font-size: 12px; letter-spacing: .04em; box-shadow: 0 0 0 3px rgba(0, 0, 0, .5), 0 0 18px var(--accent); transition: left .7s cubic-bezier(.6, -0.2, .3, 1.3), top .7s cubic-bezier(.6, -0.2, .3, 1.3); }
.pp::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: ring 1.8s infinite; }
@keyframes ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.pp[data-i="0"] { background: var(--gold); color: #000; box-shadow: 0 0 0 3px rgba(0, 0, 0, .5), 0 0 18px var(--gold); }
.pp[data-i="0"]::after { border-color: var(--gold); }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.tab { flex: 1; font-family: var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 10px 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transform: skewX(-10deg); transition: all .2s; }
.tab.active, .tab:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 20px -4px var(--accent); }
.tactics-side h3 { font-size: 40px; }
.tactics-side p { color: #cfc6da; margin: 6px 0 14px; }
.f-meta { list-style: none; display: grid; gap: 6px; }
.f-meta li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 6px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #bdb4c9; }
.f-meta li b { color: #fff; }

/* journey */
#journey { justify-content: flex-end; }
.journey-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; width: 100%; max-width: 1280px; margin: 0 auto; }
.career, .tourney { padding: 30px; }
.career h2, .tourney h2 { font-size: clamp(36px, 4vw, 58px); }
.career > p, .tourney > p { color: #cfc6da; margin: 10px 0 18px; }
.ladder { list-style: none; position: relative; display: grid; gap: 14px; padding-left: 34px; }
.ladder::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--accent2), var(--accent)); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px var(--accent); }
.ladder li { position: relative; display: flex; flex-direction: column; }
.ladder li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.ladder li.top::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 16px var(--gold); }
.ladder b { font-family: var(--display); font-weight: 400; letter-spacing: .06em; font-size: 22px; text-transform: uppercase; }
.ladder span { color: var(--muted); font-size: 15px; }
.bracket { width: 100%; height: auto; overflow: visible; }
.bracket .bl { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 2.5; }
.bracket .win { fill: none; stroke: var(--accent); stroke-width: 4; filter: drop-shadow(0 0 6px var(--accent)); }
.bracket .slot { fill: rgba(0, 0, 0, .45); stroke: rgba(255, 255, 255, .18); }
.bracket text { font-family: var(--display); fill: #fff; letter-spacing: .14em; }

/* final */
#final { min-height: 120vh; }
.final-wrap { max-width: 1000px; }
.final-title { display: flex; flex-direction: column; font-size: clamp(56px, 9.5vw, 150px); line-height: .9; }
.final-title .hl { color: var(--accent); text-shadow: 0 0 40px var(--accent); }
.final-lead { color: #ddd5e6; font-size: 21px; max-width: 640px; margin: 22px auto 0; text-shadow: 0 2px 12px #000; }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 34px 0 44px; }
.platforms { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: -14px 0 34px; }
.platforms-label { font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #cfc6da; text-shadow: 0 2px 10px #000, 0 0 4px #000; }
.platforms ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.platforms li svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.platforms li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 18px; background: rgba(10, 7, 15, .72); border: 1px solid var(--line); border-bottom: 2px solid var(--accent); box-shadow: 0 8px 24px -14px var(--accent); backdrop-filter: blur(8px); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); text-align: left; backdrop-filter: blur(8px); }
.specs > div { background: rgba(10, 7, 15, .72); padding: 14px 18px; }
.specs dt { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.specs dd { font-family: var(--display); font-size: 19px; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #3dff8a; box-shadow: 0 0 10px #3dff8a; animation: blink 1.4s infinite; }

.footer { position: relative; z-index: 5; text-align: center; padding: 50px 20px 110px; background: linear-gradient(transparent, rgba(0, 0, 0, .9) 40%); }
.footer img { width: 200px; margin: 0 auto 14px; }
.footer p { font-size: 15px; letter-spacing: .1em; }

/* reveal base (GSAP drives it) */
.reveal { will-change: transform, opacity; }
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav { height: 62px; }
  .nav-links { display: none; }
  .nav-logo img { height: 42px; }
  .panel { padding: 96px 16px 80px; }
  .panel-right { align-items: stretch; }
  .panel-right > * { width: 100%; }
  #hero { justify-content: flex-end; padding-bottom: 110px; }
  .hero-logo { width: 88%; }
  .feature-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .team-detail { flex-direction: column; text-align: center; }
  .team-detail img { width: 120px; height: 120px; }
  .tactics { grid-template-columns: 1fr; }
  .pitch { width: 200px; margin: 0 auto; }
  .mode-grid { grid-template-columns: 1fr; margin-top: 8vh; }
  .specs { grid-template-columns: 1fr 1fr; }
  .hud { display: none; }
  .btn-xl { padding: 18px 28px; font-size: 18px; }
  .card { backdrop-filter: blur(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .ticker-track, .glitch::before, .glitch::after, .btn-primary::before, .hero-logo img { animation: none !important; }
}
