/* =========================================================
   Inflow Cricket Carnival — Homepage
   ========================================================= */
:root {
  --bg: #060608;
  --bg-2: #0b0b0f;
  --panel: #111116;
  --panel-2: #16161d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f3ee;
  --muted: #9b968e;
  --blood: #e10600;
  --blood-deep: #7a0400;
  --ember: #ff4a00;
  --flame: #ff8a00;
  --gold: #ffc533;
  --green: #3fd15a;
  --fire: linear-gradient(100deg, #ffd34d 0%, #ff8a00 30%, #ff3d00 60%, #e10600 100%);
  --fire-v: linear-gradient(180deg, #ffe27a 0%, #ff8a00 40%, #ff2a00 75%, #a30000 100%);
  --display: "Anton", "Impact", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --script: "Permanent Marker", cursive;
  --skew: -12deg;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.fire-text {
  background: var(--fire);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 3px;
  background: var(--fire);
  transform: skewX(var(--skew));
}
.kicker--live, .kicker--green { color: var(--green); }
.kicker--live::before, .kicker--green::before { background: var(--green); }
.lead { color: var(--muted); max-width: 620px; margin: 18px auto 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--cond);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: skewX(var(--skew));
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
.btn > * { transform: skewX(calc(var(--skew) * -1)); }
.btn--blood {
  background: linear-gradient(100deg, #ff5a00, var(--blood) 60%, #b30000);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(225, 6, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--blood::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn--blood:hover { transform: skewX(var(--skew)) translateY(-3px); box-shadow: 0 18px 40px -8px rgba(255, 60, 0, 0.85); }
.btn--blood:hover::before { transform: translateX(120%); }
.btn--ghost {
  color: var(--text);
  border: 2px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--flame); color: var(--flame); transform: skewX(var(--skew)) translateY(-3px); }
.btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn--live {
  padding: 11px 20px; font-size: 0.9rem;
  background: rgba(225, 6, 0, 0.12);
  border: 1.5px solid rgba(225, 6, 0, 0.6);
  color: #fff;
}
.btn--live:hover { background: var(--blood); }
.btn--live .live-dot { transform: none; }

.live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff2020;
  box-shadow: 0 0 0 0 rgba(255, 32, 32, 0.8);
  animation: pulse 1.4s infinite;
  display: inline-block;
}
.kicker--live .live-dot { background: var(--green); animation-name: pulseG; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 32, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 32, 32, 0); } }
@keyframes pulseG { 0% { box-shadow: 0 0 0 0 rgba(63, 209, 90, 0.8); } 70% { box-shadow: 0 0 0 10px rgba(63, 209, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 209, 90, 0); } }

.pill {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem;
  transform: skewX(var(--skew));
}
.pill--blood { background: var(--blood); color: #fff; }

.link-arrow {
  font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); transition: color 0.2s;
}
.link-arrow span { display: inline-block; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--flame); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: #000;
  overflow: hidden;
}
.intro__count {
  position: relative; z-index: 2;
  font-family: var(--display);
  font-size: clamp(8rem, 30vw, 22rem);
  line-height: 1;
  background: var(--fire-v);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 60, 0, 0.6));
}
.intro__count.slam { animation: slam 0.42s var(--ease); }
.intro__count.is-word { font-size: clamp(5rem, 20vw, 16rem); letter-spacing: 0.02em; }
@keyframes slam {
  0% { transform: scale(2.6); opacity: 0; filter: blur(12px); }
  55% { transform: scale(0.92); opacity: 1; filter: blur(0); }
  100% { transform: scale(1); }
}
.intro__slice {
  position: absolute; inset: -20%;
  background: var(--bg);
  z-index: 1;
  transition: transform 0.7s cubic-bezier(0.8, 0, 0.2, 1);
}
.intro__slice--a { clip-path: polygon(0 0, 100% 0, 100% 38%, 0 62%); background: #0a0000; }
.intro__slice--b { clip-path: polygon(0 62%, 100% 38%, 100% 100%, 0 100%); background: #000; }
.intro.is-out { pointer-events: none; background: transparent; }
.intro.is-out .intro__count { opacity: 0; transform: scale(1.4); transition: all 0.3s; }
.intro.is-out .intro__slice--a { transform: translate(-30%, -110%) rotate(-8deg); }
.intro.is-out .intro__slice--b { transform: translate(30%, 110%) rotate(-8deg); }
.intro.is-gone { display: none; }
.intro__skip {
  position: absolute; bottom: 28px; right: 28px; z-index: 3;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700;
  color: var(--muted);
}
.intro__skip:hover { color: #fff; }
.shake { animation: shake 0.45s; }
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  15% { transform: translate(-10px, 6px) rotate(-0.6deg); }
  30% { transform: translate(9px, -7px) rotate(0.5deg); }
  45% { transform: translate(-7px, -4px); }
  60% { transform: translate(6px, 5px); }
  80% { transform: translate(-3px, 2px); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--fire);
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 120;
  box-shadow: 0 0 12px rgba(255, 80, 0, 0.8);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, transform 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  width: min(1320px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  transform: skewX(var(--skew));
  box-shadow: 4px 4px 0 var(--blood);
}
.brand__logo img { height: 22px; width: auto; transform: skewX(calc(var(--skew) * -1)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.03em; }
.brand__text small { font-family: var(--cond); font-weight: 700; color: var(--flame); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.7rem; margin-top: 4px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-family: var(--cond); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
  background: var(--fire); transform: scaleX(0) skewX(var(--skew)); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1) skewX(var(--skew)); }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform 0.3s, opacity 0.3s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; right: 16px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(255, 60, 0, 0.22), transparent 60%),
    radial-gradient(40% 50% at 15% 100%, rgba(225, 6, 0, 0.18), transparent 70%),
    linear-gradient(180deg, #0a0506 0%, var(--bg) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: 50%; translate: 0 -50%;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.25), transparent 60%);
  filter: blur(40px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: 0.55; transform: scale(1.08); } }
.hero__bgtext {
  position: absolute; right: -2vw; bottom: -6vw;
  font-family: var(--display);
  font-size: 34vw; line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.04);
  user-select: none;
  z-index: 0;
}
.hero__slashes span {
  position: absolute; z-index: 1;
  height: 2px; width: 60vw;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 0, 0.9), transparent);
  transform: rotate(-24deg);
  opacity: 0;
  animation: slash 6s infinite;
}
.hero__slashes span:nth-child(1) { top: 30%; left: -10%; animation-delay: 1.2s; }
.hero__slashes span:nth-child(2) { top: 62%; left: 30%; animation-delay: 3.1s; height: 3px; }
.hero__slashes span:nth-child(3) { top: 12%; left: 50%; animation-delay: 4.6s; }
@keyframes slash {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  4% { opacity: 1; clip-path: inset(0 0 0 0); }
  10% { opacity: 0; clip-path: inset(0 0 0 100%); }
  100% { opacity: 0; }
}

.hero__inner {
  position: relative; z-index: 2;
  width: min(1320px, 100% - 48px); margin-inline: auto;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center;
}
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 90, 0, 0.4);
  background: rgba(255, 60, 0, 0.08);
  font-family: var(--cond); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #ffb27a;
  transform: skewX(var(--skew));
}
.tag__dot { width: 8px; height: 8px; background: var(--ember); box-shadow: 0 0 10px var(--ember); transform: rotate(45deg); }

.hero__title {
  position: relative;
  margin: 22px 0 18px;
  font-family: var(--display); font-weight: 400;
  text-transform: uppercase;
  line-height: 0.86;
}
.hero__line { display: block; font-size: clamp(4rem, 10.5vw, 9.6rem); letter-spacing: 0.005em; }
.hero__line--sm {
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  letter-spacing: 0.32em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}
.hero__line--fire {
  background: var(--fire-v);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255, 60, 0, 0.45));
}
.hero__script {
  position: absolute;
  right: 2%; bottom: -18px;
  font-family: var(--script);
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  color: var(--gold);
  text-transform: none;
  transform: rotate(-9deg);
  text-shadow: 0 0 24px rgba(255, 197, 51, 0.55), 3px 3px 0 #7a0400;
}

/* glitch */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; width: 100%;
  pointer-events: none;
  opacity: 0;
}
.glitch::before { color: #ff1e00; -webkit-text-fill-color: #ff1e00; transform: translate(-4px, 0); mix-blend-mode: screen; }
.glitch::after { color: #00e1ff; -webkit-text-fill-color: rgba(0, 225, 255, 0.6); transform: translate(4px, 0); mix-blend-mode: screen; }
.glitch.is-glitching::before { opacity: 0.85; animation: glitchA 0.35s steps(2) both; }
.glitch.is-glitching::after { opacity: 0.7; animation: glitchB 0.35s steps(2) both; }
@keyframes glitchA {
  0% { clip-path: inset(10% 0 70% 0); transform: translate(-6px, 0); }
  50% { clip-path: inset(55% 0 20% 0); transform: translate(5px, 0); }
  100% { clip-path: inset(30% 0 50% 0); transform: translate(-3px, 0); }
}
@keyframes glitchB {
  0% { clip-path: inset(65% 0 10% 0); transform: translate(6px, 0); }
  50% { clip-path: inset(15% 0 60% 0); transform: translate(-5px, 0); }
  100% { clip-path: inset(40% 0 35% 0); transform: translate(3px, 0); }
}

.hero__sub { max-width: 520px; margin-top: 34px; color: #c9c3ba; font-size: 1.1rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }

.countdown {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.countdown__label { display: flex; flex-direction: column; line-height: 1.1; }
.countdown__label span { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; font-size: 1rem; }
.countdown__label small { color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
.countdown__boxes { display: flex; gap: 10px; }
.cd {
  min-width: 74px;
  padding: 10px 8px 8px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-2);
  border-bottom: 3px solid var(--blood);
  transform: skewX(var(--skew));
}
.cd b, .cd i { display: block; transform: skewX(calc(var(--skew) * -1)); }
.cd b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.cd i { font-style: normal; font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; color: var(--muted); margin-top: 4px; }
.cd b.tick { animation: tick 0.3s var(--ease); }
@keyframes tick { 0% { transform: skewX(12deg) translateY(-8px); opacity: 0.2; color: var(--flame); } }

/* hero art */
.hero__art {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 600px;
  justify-self: center;
  transform-style: preserve-3d;
  transition: transform 0.2s linear;
}
.art__ring {
  position: absolute; inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 140, 0, 0.35);
  animation: spin 40s linear infinite;
}
.art__ring--2 {
  inset: 18%;
  border: 2px solid transparent;
  border-top-color: var(--ember);
  border-right-color: rgba(255, 74, 0, 0.3);
  animation-duration: 6s;
  filter: drop-shadow(0 0 10px var(--ember));
}
@keyframes spin { to { transform: rotate(360deg); } }
.art__bats {
  position: absolute; inset: 10%;
  overflow: visible;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7));
  animation: batsIn 1s var(--ease) both;
  animation-delay: var(--intro-delay, 0s);
}
@keyframes batsIn { from { transform: scale(0.6) rotate(-20deg); opacity: 0; } }
.art__ball {
  position: absolute;
  width: 34%; aspect-ratio: 1;
  left: 33%; top: 30%;
  filter: drop-shadow(0 0 40px rgba(255, 50, 0, 0.75)) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
  animation: ballFloat 4s ease-in-out infinite;
  z-index: 3;
}
.art__ball svg { width: 100%; height: 100%; animation: spin 3s linear infinite; }
@keyframes ballFloat { 50% { transform: translateY(-18px) rotate(4deg); } }
.art__trail {
  position: absolute; z-index: 2;
  left: -18%; top: 20%;
  width: 72%; height: 30%;
  transform: rotate(22deg);
  transform-origin: 100% 50%;
  animation: ballFloat 4s ease-in-out infinite;
  pointer-events: none;
}
.art__trail span {
  position: absolute; right: 0; top: 50%;
  height: 46%; width: 100%;
  translate: 0 -50%;
  background: linear-gradient(90deg, transparent 0%, rgba(225, 6, 0, 0.35) 30%, rgba(255, 90, 0, 0.85) 70%, #ffe9a8 100%);
  clip-path: polygon(0 48%, 100% 0, 100% 100%, 0 52%);
  filter: blur(6px);
  animation: flicker 0.15s infinite alternate;
}
.art__trail span:nth-child(2) { height: 80%; width: 80%; opacity: 0.55; filter: blur(16px); animation-delay: 0.05s; }
.art__trail span:nth-child(3) { height: 18%; width: 110%; opacity: 0.9; filter: blur(2px); background: linear-gradient(90deg, transparent, rgba(255, 200, 80, 0.9)); }
@keyframes flicker { to { opacity: 0.7; transform: scaleY(1.15); } }
.art__stumps {
  position: absolute; bottom: 4%; left: 50%; translate: -50% 0;
  width: 26%; height: 30%;
  display: flex; justify-content: space-between; align-items: flex-end;
  z-index: 1;
  opacity: 0.85;
}
.art__stumps span {
  width: 12%; height: 100%;
  background: linear-gradient(90deg, #6b4220, #e6c08a 45%, #8a5a2c);
  border-radius: 6px 6px 2px 2px;
}
.art__stumps i {
  position: absolute; top: -4%;
  height: 7%; width: 42%;
  background: linear-gradient(180deg, #ffd38a, #b07a3a);
  border-radius: 8px;
}
.art__stumps i:nth-of-type(1) { left: 4%; transform: rotate(-6deg); }
.art__stumps i:nth-of-type(2) { right: 4%; transform: rotate(4deg); }
.art__badge {
  position: absolute; z-index: 4;
  right: 2%; top: 10%;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  border-left: 4px solid var(--gold);
  transform: skewX(var(--skew));
  animation: ballFloat 5s ease-in-out infinite reverse;
}
.art__badge > * { transform: skewX(calc(var(--skew) * -1)); }
.art__badge b { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 400; color: var(--gold); }
.art__badge span { font-family: var(--cond); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; line-height: 1.15; }

.hero__scroll {
  position: absolute; z-index: 3;
  left: 50%; bottom: 7%; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--cond); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll i { width: 2px; height: 40px; background: linear-gradient(var(--ember), transparent); animation: drip 1.6s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Tapes ---------- */
.tapes { position: relative; height: 170px; margin-top: -60px; z-index: 5; overflow: hidden; pointer-events: none; }
.tape {
  position: absolute; left: -5%; width: 110%;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}
.tape--red { top: 40px; background: var(--fire); transform: rotate(-3deg); z-index: 2; }
.tape--dark { top: 64px; background: #0e0e12; border-block: 2px solid var(--gold); transform: rotate(2.2deg); }
.tape__track {
  display: inline-block;
  font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.06em; line-height: 1;
  animation: marquee 30s linear infinite;
}
.tape--red .tape__track { color: #160000; }
.tape--dark .tape__track { color: var(--gold); }
.tape__track--rev { animation-direction: reverse; animation-duration: 36s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .kicker { justify-content: center; }

/* ---------- Live ---------- */
.live { padding: 40px 0 70px; }
.live__card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: linear-gradient(135deg, #14090a, #0d0d12 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.live__card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255, 70, 0, 0.6), transparent 40%, transparent 70%, rgba(225, 6, 0, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.live__screen {
  position: relative;
  min-height: 380px;
  background:
    radial-gradient(70% 60% at 50% 110%, rgba(60, 170, 70, 0.55), transparent 70%),
    radial-gradient(30% 30% at 20% 10%, rgba(255, 255, 255, 0.35), transparent 70%),
    radial-gradient(30% 30% at 80% 10%, rgba(255, 255, 255, 0.3), transparent 70%),
    linear-gradient(180deg, #0c1410, #08210f 70%, #0f3a17);
  overflow: hidden;
}
.live__screen::after {
  content: ""; position: absolute; left: 50%; bottom: -10%; width: 16%; height: 70%;
  translate: -50% 0;
  background: linear-gradient(180deg, #c9b383, #a48d5c);
  transform: perspective(300px) rotateX(55deg);
  opacity: 0.55;
}
.live__noise {
  position: absolute; inset: 0; z-index: 1;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  animation: scan 8s linear infinite;
}
@keyframes scan { to { background-position: 0 100px; } }
.live__play {
  position: absolute; z-index: 2; left: 50%; top: 45%; translate: -50% -50%;
  width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blood);
  box-shadow: 0 0 0 10px rgba(225, 6, 0, 0.25), 0 0 60px rgba(225, 6, 0, 0.8);
  transition: transform 0.3s var(--ease);
  cursor: pointer;
}
.live__play svg { width: 34px; margin-left: 5px; }
.live__card:hover .live__play { transform: scale(1.1); }
.live__badge {
  position: absolute; z-index: 2; top: 18px; left: 18px;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: var(--blood);
  font-family: var(--cond); font-weight: 800; letter-spacing: 0.2em; font-size: 0.85rem;
}
.live__badge .live-dot { background: #fff; }
.live__score {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
  border-left: 4px solid var(--gold);
}
.live__score div { padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.live__score b { font-family: var(--display); font-weight: 400; letter-spacing: 0.05em; }
.live__score span { font-family: var(--cond); font-weight: 700; font-size: 1.1rem; }
.live__score em { color: var(--muted); font-style: normal; font-size: 0.9rem; }
.live__info { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.live__info .h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.live__info p { color: var(--muted); margin: 14px 0 6px; }
.live__meta { display: flex; gap: 28px; margin: 14px 0 26px; flex-wrap: wrap; }
.live__meta small { display: block; color: var(--muted); font-family: var(--cond); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.75rem; }
.live__meta b { font-family: var(--cond); font-size: 1.15rem; font-weight: 700; }

/* ---------- Stats ---------- */
.stats { padding: 20px 0 20px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat { padding: 34px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line-2); transform: skewX(var(--skew)); }
.stat b {
  display: block;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1;
  background: var(--fire-v); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--muted); font-size: 0.9rem; }

/* ---------- Team badge ---------- */
.badge {
  --c1: #e10600; --c2: #ff8a00;
  position: relative;
  width: 64px; aspect-ratio: 0.86;
  display: grid; place-items: center;
  flex: none;
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge b {
  position: relative; z-index: 1;
  font-family: var(--display); font-weight: 400;
  font-size: 1.25rem; letter-spacing: 0.02em; color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  margin-top: -6%;
}
.badge--xl { width: clamp(120px, 16vw, 190px); }
.badge--xl b { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.badge--lg { width: 88px; }
.badge--lg b { font-size: 1.7rem; }
.badge--sm { width: 44px; }
.badge--sm b { font-size: 0.68rem; }

/* ---------- Clash ---------- */
.clash {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 36px 40px 32px;
  border: 1px solid var(--line);
  isolation: isolate;
  margin-bottom: 28px;
}
.clash__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(105deg, rgba(14, 116, 195, 0.35) 0%, transparent 45%, transparent 55%, rgba(225, 6, 0, 0.4) 100%),
    radial-gradient(40% 80% at 50% 50%, rgba(255, 120, 0, 0.25), transparent 70%),
    #0c0c10;
}
.clash__bg::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 50%; width: 6px;
  background: linear-gradient(180deg, transparent, #fff, var(--flame), transparent);
  transform: rotate(14deg);
  box-shadow: 0 0 30px 6px rgba(255, 120, 0, 0.7);
  opacity: 0.85;
}
.clash__flash {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 55%, #fff, rgba(255, 140, 0, 0.6) 20%, transparent 55%);
  opacity: 0;
  pointer-events: none;
}
.clash.is-hit .clash__flash { animation: flash 0.7s ease-out; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.clash__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.clash__when { font-family: var(--cond); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #cfc8bf; }
.clash__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 30px 0; }
.clash__team { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1.4), opacity 0.5s; }
.clash__team h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.4rem); text-transform: uppercase; line-height: 1; margin-top: 8px; }
.clash__team span { color: var(--muted); font-family: var(--cond); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; }
.clash:not(.is-in) .clash__team--a { transform: translateX(-60%); opacity: 0; }
.clash:not(.is-in) .clash__team--b { transform: translateX(60%); opacity: 0; }
.clash__vs { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vs {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(4rem, 9vw, 8rem); line-height: 0.8;
  background: var(--fire-v); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 80, 0, 0.6));
  transform: skewX(var(--skew));
}
.clash:not(.is-in) .vs { transform: scale(3) skewX(var(--skew)); opacity: 0; }
.clash .vs { transition: transform 0.5s var(--ease) 0.6s, opacity 0.3s 0.6s; }
.clash__round { font-family: var(--cond); letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; font-size: 0.8rem; color: var(--gold); }
.clash__foot { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Match grid ---------- */
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.match {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.match::before {
  content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 120, 0, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.match:hover { transform: translateY(-6px); border-color: rgba(255, 90, 0, 0.5); box-shadow: 0 24px 50px -20px rgba(255, 60, 0, 0.45); }
.match:hover::before { left: 120%; }
.match__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.match__round { font-family: var(--cond); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; color: var(--flame); }
.match__status { font-family: var(--cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; padding: 3px 10px; border: 1px solid var(--line-2); color: var(--muted); }
.match__status--live { border-color: var(--blood); color: #fff; background: var(--blood); }
.match__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.match__team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.match__team strong { font-family: var(--cond); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1; }
.match__vs { font-family: var(--display); color: var(--muted); font-size: 1.4rem; transform: skewX(var(--skew)); }
.match:hover .badge { animation: jitter 0.3s 2; }
@keyframes jitter { 25% { transform: translate(-2px, 1px) rotate(-3deg); } 75% { transform: translate(2px, -1px) rotate(3deg); } }
.match__info { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-2); display: grid; gap: 6px; font-size: 0.9rem; color: var(--muted); }
.match__info span { display: flex; align-items: center; gap: 8px; }
.match__info svg { width: 15px; height: 15px; color: var(--flame); flex: none; }

/* ---------- Results ---------- */
.results { background: linear-gradient(180deg, transparent, rgba(225, 6, 0, 0.05), transparent); }
.result-list { display: grid; gap: 14px; }
.result {
  display: grid;
  grid-template-columns: 130px 1fr auto 1fr 200px;
  align-items: center;
  gap: 20px;
  padding: 18px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid transparent;
  border-radius: 10px;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.result:hover { border-left-color: var(--ember); transform: translateX(6px); background: var(--panel-2); }
.result__round { font-family: var(--cond); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--muted); }
.result__round b { display: block; color: var(--text); font-size: 0.95rem; }
.result__side { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.result__side--b { flex-direction: row-reverse; text-align: right; }
.result__side div { display: flex; flex-direction: column; line-height: 1.15; }
.result__side strong { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 1.15rem; }
.result__side span { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.03em; }
.result__side.is-loser { opacity: 0.45; }
.result__side.is-winner strong::after { content: " ✦"; color: var(--gold); }
.result__vs { font-family: var(--display); color: var(--ember); font-size: 1.3rem; padding: 0 10px; transform: skewX(var(--skew)); }
.result__potm { font-size: 0.85rem; color: var(--muted); text-align: right; }
.result__potm b { display: block; color: var(--gold); font-family: var(--cond); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Road ---------- */
.road__track {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  padding-top: 20px;
}
.road__line { position: absolute; left: 6%; right: 6%; top: 52px; height: 4px; background: var(--line); }
.road__line i { display: block; height: 100%; width: 100%; background: var(--fire); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease); box-shadow: 0 0 16px rgba(255, 80, 0, 0.8); }
.road__track.is-in .road__line i { transform: scaleX(1); }
.road__step { position: relative; text-align: center; padding: 0 8px; }
.road__step b {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto 18px;
  font-family: var(--display); font-weight: 400; font-size: 1.5rem;
  background: var(--bg);
  border: 2px solid var(--line-2);
  transform: rotate(45deg);
  position: relative; z-index: 1;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.road__track.is-in .road__step b { border-color: var(--ember); box-shadow: 0 0 22px rgba(255, 74, 0, 0.5); }
.road__step h4 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.road__step p { color: var(--muted); font-size: 0.9rem; }
.road__step--final .trophy {
  width: 84px; height: 84px; margin: -10px auto 12px;
  display: grid; place-items: center;
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 24px rgba(255, 197, 51, 0.7));
  animation: ballFloat 3s ease-in-out infinite;
}
.road__step--final h4 { color: var(--gold); }
.road__step b span { transform: rotate(-45deg); }

/* ---------- Teams ---------- */
.teams__filter input {
  width: 280px; max-width: 100%;
  padding: 13px 18px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  color: var(--text);
  font: inherit;
  transform: skewX(var(--skew));
  outline: none;
  transition: border-color 0.2s;
}
.teams__filter input:focus { border-color: var(--flame); }
.team-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.team--host { grid-column: span 2; grid-row: span 2; justify-content: center; background: radial-gradient(circle at 50% 40%, rgba(14, 116, 195, 0.25), transparent 70%), var(--panel); }
.team.team--host strong { font-family: var(--display); font-weight: 400; font-size: 2.4rem; }
.team {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 12px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}
.team::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--fire); transform: scaleX(0); transition: transform 0.35s var(--ease);
}
.team::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120px 120px at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 0, 0.22), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.team:hover { border-color: rgba(255, 90, 0, 0.45); background: var(--panel-2); }
.team:hover::after { transform: scaleX(1); }
.team:hover::before { opacity: 1; }
.team strong { font-family: var(--cond); font-weight: 700; font-size: 1.08rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1; position: relative; }
.team small { color: var(--muted); font-size: 0.75rem; font-family: var(--cond); letter-spacing: 0.16em; text-transform: uppercase; position: relative; }
.team .badge { transition: transform 0.35s var(--ease); }
.team:hover .badge { transform: translateZ(30px) scale(1.08); }
.team.is-hidden { display: none; }
.team--host { border-color: rgba(255, 197, 51, 0.4); }
.team--host small { color: var(--gold); }
.team-grid__empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--muted); }

/* ---------- Quiz ---------- */
.quiz__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.quiz__copy p { color: var(--muted); margin-top: 18px; max-width: 460px; }
.quiz__perks { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.quiz__perks li { padding: 10px 16px; border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--muted); }
.quiz__perks b { color: var(--text); font-family: var(--cond); font-size: 1.05rem; letter-spacing: 0.06em; margin-right: 4px; }
.quiz__card {
  position: relative;
  padding: 34px;
  background: linear-gradient(160deg, #10131a, #0b0b0f);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(63, 209, 90, 0.08);
}
.quiz__card::before {
  content: "?"; position: absolute; right: 18px; top: -30px;
  font-family: var(--display); font-size: 9rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(63, 209, 90, 0.18);
  pointer-events: none;
}
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.quiz__timer { flex: 1; max-width: 160px; height: 5px; background: var(--line-2); overflow: hidden; }
.quiz__timer i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--green), var(--gold), var(--blood)); transform-origin: left; }
.quiz__card h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.35; margin: 22px 0; position: relative; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opts button {
  padding: 16px;
  text-align: left;
  border: 1.5px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--cond); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.quiz__opts button:hover:not(:disabled) { border-color: var(--flame); transform: translateY(-2px); }
.quiz__opts button.is-right { border-color: var(--green); background: rgba(63, 209, 90, 0.15); color: #b9ffc6; }
.quiz__opts button.is-wrong { border-color: var(--blood); background: rgba(225, 6, 0, 0.18); animation: shake 0.4s; }
.quiz__opts button:disabled { cursor: default; }
.quiz__result { min-height: 28px; margin: 16px 0; font-family: var(--cond); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Gallery ---------- */
.gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.gal__item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gal__item--big { grid-column: span 2; grid-row: span 2; }
.gal__art { position: absolute; inset: 0; transition: transform 0.8s var(--ease); }
.gal__item:hover .gal__art { transform: scale(1.08); }
.gal__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85)); }
.gal__art--1 {
  background:
    radial-gradient(18% 14% at 18% 12%, rgba(255, 255, 255, 0.85), transparent 70%),
    radial-gradient(18% 14% at 82% 12%, rgba(255, 255, 255, 0.8), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(255, 140, 0, 0.5), transparent),
    repeating-linear-gradient(100deg, rgba(0, 0, 0, 0.3) 0 3px, transparent 3px 22px),
    linear-gradient(180deg, #1b0b06, #3b1305 55%, #0e2c12);
}
.gal__art--2 { background: radial-gradient(circle at 30% 40%, #ff6a3d, transparent 40%), linear-gradient(135deg, #2a0805, #0b0b10); }
.gal__art--3 { background: radial-gradient(circle at 50% 45%, #ffd25a 0, #c27b00 18%, transparent 40%), radial-gradient(circle at 50% 100%, #3d1a00, #0b0b10 70%); }
.gal__art--4 { background: repeating-linear-gradient(-30deg, #0f3a17 0 30px, #11461b 30px 60px), #0f3a17; }
.gal__art--5 { background: conic-gradient(from 90deg at 50% 60%, #0e74c3, #e10600, #ff8a00, #3fd15a, #0e74c3); filter: saturate(0.7) brightness(0.55); }
.gal__play {
  position: absolute; left: 50%; top: 45%; translate: -50% -50%; z-index: 2;
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: background 0.3s, transform 0.3s var(--ease);
}
.gal__play svg { width: 30px; margin-left: 4px; }
.gal__item:hover .gal__play { background: var(--blood); border-color: var(--blood); transform: scale(1.1); }
.gal__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; line-height: 1.2; }
.gal__cap small { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.18em; color: var(--flame); font-weight: 700; font-size: 0.75rem; margin-bottom: 4px; }
.gal__cap b { font-family: var(--cond); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; }
.gal__item--big .gal__cap b { font-family: var(--display); font-weight: 400; font-size: 2rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 150px 0;
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  margin: 40px 0;
}
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 50% 120%, rgba(255, 120, 0, 0.6), transparent 70%),
    radial-gradient(80% 60% at 50% 0%, rgba(120, 0, 0, 0.7), transparent),
    linear-gradient(180deg, #2a0000, #0a0000);
}
.cta__bg::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-55deg, transparent 0 40px, rgba(0, 0, 0, 0.18) 40px 42px);
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__inner .kicker { color: var(--gold); }
.cta__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  line-height: 0.88; text-transform: uppercase;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
}
.cta__title .fire-text { text-shadow: none; filter: drop-shadow(0 6px 24px rgba(255, 140, 0, 0.45)); background: linear-gradient(180deg, #fff3b0, #ffc533 50%, #ff7a00); -webkit-background-clip: text; background-clip: text; }
.cta p { max-width: 560px; margin: 26px auto 0; color: #e8d5cc; }
.cta .hero__ctas { justify-content: center; }
.cta .btn--blood { background: #fff; color: #9a0000; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Sponsors ---------- */
.sponsors { padding: 60px 0 80px; }
.sponsors__label { text-align: center; color: var(--muted); font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.9rem; margin-bottom: 26px; }
.sponsors__label b { color: var(--text); }
.sponsors__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sp {
  height: 88px; display: grid; place-items: center;
  border: 1.5px dashed var(--line-2); border-radius: 10px;
  font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.25); font-weight: 700;
  transition: border-color 0.3s, color 0.3s;
}
.sp:hover { border-color: var(--flame); color: var(--flame); }
.sp--main { background: #fff; border: 0; padding: 18px; }
.sp--main img { max-height: 44px; width: auto; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #040405; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__note { color: var(--muted); font-size: 0.92rem; margin-top: 18px; max-width: 360px; }
.footer h5 { font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.85rem; color: var(--flame); margin-bottom: 14px; }
.footer__grid > div:not(:first-child) a { display: block; color: var(--muted); padding: 4px 0; transition: color 0.2s, transform 0.2s; }
.footer__grid > div:not(:first-child) a:hover { color: #fff; transform: translateX(4px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: #6d6862; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 0.9s; }
.tag.reveal.is-in { transform: skewX(var(--skew)); }
.tag.reveal { transform: translateY(40px) skewX(var(--skew)); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 9px; font-size: 0.95rem; }
  .result { grid-template-columns: 1fr auto 1fr; }
  .result__round, .result__potm { grid-column: 1 / -1; text-align: center; }
  .result__round { order: -1; }
}
@media (max-width: 960px) {
  .nav__links {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(6, 6, 8, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 0; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__burger { display: block; }
  .btn--live { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; order: -1; margin-top: -20px; }
  .hero__copy { text-align: left; }
  .live__card { grid-template-columns: 1fr; }
  .live__info { padding: 32px; }
  .match-grid { grid-template-columns: 1fr 1fr; }
  .road__track { grid-template-columns: 1fr; gap: 26px; }
  .road__line { left: 50%; right: auto; top: 0; bottom: 0; width: 4px; height: auto; translate: -50% 0; }
  .road__line i { transform-origin: top; transform: scaleY(0); }
  .road__track.is-in .road__line i { transform: scaleY(1); }
  .road__step { background: var(--bg); padding: 10px; }
  .quiz__wrap { grid-template-columns: 1fr; gap: 40px; }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 200px 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .stat:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .nav__inner { width: calc(100% - 24px); gap: 12px; }
  .brand__text { display: none; }
  .btn--live { padding: 9px 14px; font-size: 0.8rem; }
  .hero { padding-top: 100px; }
  .hero__line { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero__line--sm { font-size: 1.4rem; letter-spacing: 0.4em; }
  .hero__art { max-width: 270px; margin: -10px auto -20px; }
  .art__badge { padding: 8px 12px; right: -6%; }
  .art__badge b { font-size: 1.8rem; }
  .tag { font-size: 0.72rem; letter-spacing: 0.14em; }
  .hero__sub { font-size: 1rem; margin-top: 28px; }
  .clash__round { white-space: nowrap; }
  .hero__script { right: 0; bottom: -14px; }
  .countdown__boxes { gap: 6px; }
  .cd { min-width: 62px; }
  .cd b { font-size: 1.8rem; }
  .match-grid { grid-template-columns: 1fr; }
  .clash { padding: 26px 18px; }
  .clash__row { gap: 6px; }
  .clash__meta { justify-content: center; text-align: center; }
  .result { padding: 16px; gap: 12px; }
  .result__side { gap: 8px; }
  .result__side .badge { display: none; }
  .quiz__opts { grid-template-columns: 1fr; }
  .quiz__card { padding: 24px; }
  .gal { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
  .gal__item--big { grid-column: auto; grid-row: span 1; }
  .sponsors__row { grid-template-columns: 1fr 1fr; }
  .sp--main { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .tape__track { font-size: 1.3rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
