/* ==========================================================
   HEX FIGHT SERIES — styles
   Palette: black / dark purple / white
   ========================================================== */

:root {
  --black: #07050c;
  --ink: #0d0915;
  --panel: #130d20;
  --purple-900: #1a0b33;
  --purple-700: #4c1d95;
  --purple-600: #6d28d9;
  --purple-500: #8b3ff0;
  --purple-400: #a855f7;
  --purple-300: #c084fc;
  --glow: rgba(168, 85, 247, .45);
  --white: #fff;
  --muted: #b9b3c8;
  --line: rgba(255, 255, 255, .1);

  --font-display: "Anton", "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --nav-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
body.menu-open { overflow: hidden; }

img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple-300); outline-offset: 3px; }

.skip { position: fixed; left: 8px; top: -60px; z-index: 200; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--purple-300); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--purple-400); }

.title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 5.6rem); line-height: .98; letter-spacing: .01em; margin-top: 14px;
}
.title b { font-weight: 400; color: transparent; -webkit-text-stroke: 1.5px var(--purple-400); }
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .word > span { display: inline-block; will-change: transform; }

.section { position: relative; padding: clamp(72px, 12vw, 150px) 0; }
.section__head { margin-bottom: clamp(32px, 6vw, 64px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 0 0 0 var(--glow), 0 10px 30px -10px var(--glow);
  transition: box-shadow .4s var(--ease), background .3s;
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { box-shadow: 0 0 0 6px rgba(168,85,247,.18), 0 14px 40px -8px var(--glow); }
.btn:hover::after { transform: translateX(120%); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost:hover { background: var(--white); color: var(--black); box-shadow: 0 10px 40px -10px rgba(255,255,255,.4); }

/* ---------- Ambient layers ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--purple-600), var(--purple-300), var(--white)); }

.grain {
  position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .05;
  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>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 130; pointer-events: none; mix-blend-mode: difference; }
  .cursor span { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--white); transition: transform .3s var(--ease); }
  .cursor.is-hover span { transform: scale(3.2); }
}

/* ---------- Load curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300; background: var(--black);
  display: grid; place-items: center;
}
.curtain__logo { animation: pulse 1.2s ease-in-out infinite; filter: drop-shadow(0 0 24px var(--glow)); }
@keyframes pulse { 50% { transform: scale(1.12); } }
.no-js .curtain { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(7,5,12,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 18px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__brand span { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
@media (min-width: 720px) { .nav__brand span { font-size: 13px; } }
.nav__links { display: none; gap: 30px; }
.nav__links a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--purple-400); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav > .nav__inner > .btn { display: none; }

.nav__toggle { position: relative; width: 46px; height: 46px; border: 0; background: transparent; z-index: 5; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (min-width: 980px) {
  .nav__links { display: flex; }
  .nav > .nav__inner > .btn { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: radial-gradient(120% 80% at 80% 0%, var(--purple-900), var(--black) 70%);
  clip-path: circle(0% at calc(100% - 34px) 34px); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 34px) 34px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 4rem); text-transform: uppercase; line-height: 1.15;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .3s;
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(1){transition-delay:.15s} .menu.is-open nav a:nth-child(2){transition-delay:.2s} .menu.is-open nav a:nth-child(3){transition-delay:.25s} .menu.is-open nav a:nth-child(4){transition-delay:.3s} .menu.is-open nav a:nth-child(5){transition-delay:.35s} .menu.is-open nav a:nth-child(6){transition-delay:.4s} .menu.is-open nav a:nth-child(7){transition-delay:.45s}
.menu nav a:hover, .menu nav a.is-active { color: var(--purple-300); }
.menu .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--nav-h) + 24px) 0 90px;
  background: radial-gradient(90% 70% at 50% 100%, var(--purple-900) 0%, var(--black) 70%);
}
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }

/* Cage photo background: dim base + a "lit" copy revealed under the cursor */
.hero { --mx: 68%; --my: 45%; }
.hero__bg { position: absolute; inset: 0; display: none; overflow: hidden; }
.hero.has-cage .hero__bg { display: block; }
.hero.has-cage .hero__grid { display: none; }
.hero__layer { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  position: absolute; inset: -5%; background: var(--cage) center / cover no-repeat;
  filter: brightness(.34) saturate(.75); will-change: transform;
}
.hero__layer--lit {
  -webkit-mask-image: radial-gradient(circle clamp(180px, 26vw, 380px) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
          mask-image: radial-gradient(circle clamp(180px, 26vw, 380px) at var(--mx) var(--my), #000 0%, rgba(0,0,0,.55) 45%, transparent 100%);
}
.hero__layer--lit .hero__img { filter: brightness(1.05) contrast(1.08) saturate(1.15); }
.hero__spot {
  position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle clamp(220px, 32vw, 460px) at var(--mx) var(--my), rgba(168,85,247,.42), rgba(109,40,217,.16) 45%, transparent 72%);
}
.hero__tint {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,5,12,.55) 0%, rgba(7,5,12,0) 22%, rgba(7,5,12,0) 68%, var(--black) 100%),
    linear-gradient(90deg, rgba(7,5,12,.9) 0%, rgba(7,5,12,.6) 42%, rgba(26,11,51,.15) 100%);
}
@media (max-width: 719px) {
  .hero__tint { background: linear-gradient(180deg, rgba(7,5,12,.7) 0%, rgba(7,5,12,.55) 55%, var(--black) 100%); }
}
.hero__glow {
  position: absolute; width: 90vmax; height: 90vmax; left: 50%; top: 60%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(139,63,240,.32), transparent 70%); pointer-events: none;
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.hero__title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.6rem, 17.5vw, 10.5rem); line-height: .9; letter-spacing: .005em; margin: 18px 0 22px; }
.line { display: block; overflow: hidden; padding: .04em 0 .06em; }
.line__inner { display: inline-block; will-change: transform; }
.hero__title b { font-weight: 400; color: transparent; -webkit-text-stroke: 2px var(--purple-400); }
.hero__sub { max-width: 560px; color: var(--white); font-size: clamp(.85rem, 2.4vw, 1.05rem); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta .btn { flex: 1 1 200px; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 460px; margin-top: 40px; }
.countdown div { border: 1px solid var(--line); background: rgba(19,13,32,.6); backdrop-filter: blur(8px); border-radius: 14px; padding: 14px 6px; text-align: center; }
.countdown b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; display: none; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 44px; background: linear-gradient(var(--purple-300), transparent); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 720px) { .hero__scroll { display: flex; } .hero__cta .btn { flex: 0 0 auto; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 3rem); text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--purple-400); }
.marquee i { width: 14px; height: 16px; background: var(--purple-400); clip-path: var(--hex); flex: none; }

/* ---------- Events ---------- */
.events { background: linear-gradient(var(--black), var(--ink)); overflow-x: clip; }
.next { display: grid; gap: 28px; border: 1px solid var(--line); border-radius: 24px; padding: 18px; background: linear-gradient(160deg, rgba(76,29,149,.28), rgba(13,9,21,.9) 60%); }
.next__poster { perspective: 900px; }
.next__poster-art {
  position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(168,85,247,.55), transparent 70%),
    linear-gradient(160deg, var(--purple-700), var(--black));
  transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform;
  box-shadow: 0 30px 80px -30px var(--glow);
}
.next__poster-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(60deg, transparent 0 38px, rgba(255,255,255,.04) 38px 39px); }
.next__poster-art span { position: relative; font-family: var(--font-display); font-size: clamp(6rem, 30vw, 12rem); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.next__poster-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(168,85,247,.16); border: 1px solid rgba(168,85,247,.5); color: var(--purple-300); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.next__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 8vw, 4rem); line-height: 1; text-transform: uppercase; margin: 16px 0 6px; }
.next__sub { color: var(--muted); font-size: 1.05rem; }
.next__sub:empty { display: none; }
.next__meta { display: grid; gap: 14px; margin: 26px 0 30px; }
.next__meta li { border-top: 1px solid var(--line); padding-top: 12px; }
.next__meta small { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.next__meta b { font-weight: 600; font-size: 1.05rem; }
.next__info .btn { width: 100%; }
@media (min-width: 820px) {
  .next { grid-template-columns: 5fr 6fr; gap: 56px; padding: 32px; align-items: center; }
  .next__info .btn { width: auto; }
}
@media (min-width: 1140px) {
  .next__meta { grid-template-columns: repeat(3, auto); justify-content: start; gap: 36px; }
}

/* Event rail: swipe on mobile, pinned horizontal scroll on desktop (via JS) */
.rail { margin-top: clamp(48px, 8vw, 90px); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 var(--gutter) 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail__track { display: flex; gap: 14px; width: max-content; }
.rail.is-pinned { overflow: visible; scroll-snap-type: none; padding: 0; height: 100vh; display: flex; align-items: center; margin-top: 0; }
.rail.is-pinned .rail__track { padding: 0 max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); gap: 24px; }

.ecard {
  position: relative; flex: none; scroll-snap-align: start; width: min(78vw, 320px); min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(19,13,32,.2), rgba(19,13,32,.95)), var(--panel);
  transition: border-color .4s, transform .5s var(--ease);
}
.ecard::before { content: attr(data-n); position: absolute; top: -6px; right: 12px; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(168,85,247,.35); transition: -webkit-text-stroke-color .4s; }
.ecard::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 0%, rgba(168,85,247,.35), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.ecard:hover { border-color: var(--purple-400); transform: translateY(-6px); }
.ecard:hover::after { opacity: 1; }
.ecard h3 { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.05; text-transform: uppercase; }
.ecard p { position: relative; z-index: 1; color: var(--muted); font-size: .95rem; }
.ecard .tag { position: relative; z-index: 1; align-self: flex-start; margin-bottom: 8px; }
.ecard .ecard__date { color: var(--white); font-weight: 600; }
.ecard .ecard__link { position: relative; z-index: 1; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--purple-300); }
@media (min-width: 820px) { .ecard { width: 380px; min-height: 460px; } }

/* ---------- Fighters ---------- */
.fighters { background: var(--ink); overflow: hidden; }
.fighters::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -30vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(109,40,217,.25), transparent 70%); pointer-events: none; }
.fighters__grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 720px) { .fighters__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.fighter { position: relative; background: none; border: 0; padding: 0; text-align: center; color: inherit; }
.fighter__hex {
  position: relative; aspect-ratio: 1 / 1.1547; clip-path: var(--hex); overflow: hidden;
  background: linear-gradient(160deg, var(--purple-700), var(--purple-900) 60%, var(--black));
  display: grid; place-items: center; transition: transform .6s var(--ease);
}
.fighter__hex::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 30%, rgba(192,132,252,.5), transparent 70%); }
.fighter__hex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fighter__hex > span { position: relative; font-family: var(--font-display); font-size: clamp(3rem, 12vw, 5.5rem); color: rgba(255,255,255,.9); }
.fighter__frame { position: absolute; inset: 0; filter: drop-shadow(0 0 0 transparent); transition: filter .5s; }
.fighter:hover .fighter__hex, .fighter:focus-visible .fighter__hex { transform: scale(1.04); }
.fighter__over {
  position: absolute; inset: 0; clip-path: var(--hex); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: rgba(7,5,12,.82); opacity: 0; transition: opacity .4s; pointer-events: none;
}
.fighter__over b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.6rem); color: var(--purple-300); letter-spacing: .04em; }
.fighter__over small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.fighter:hover .fighter__over, .fighter:focus-visible .fighter__over, .fighter.is-flipped .fighter__over { opacity: 1; }
.fighter__name { margin-top: 12px; font-family: var(--font-display); font-size: clamp(1.1rem, 4vw, 1.6rem); text-transform: uppercase; letter-spacing: .03em; }
.fighter__meta { color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.fighters__grid--solo { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.fighters__grid--solo .fighter { width: min(76vw, 340px); }
.fighters__soon { color: var(--muted); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.fighters__soon::before, .fighters__soon::after { content: ""; width: 28px; height: 1px; background: var(--purple-400); }
/* honeycomb offset on wide screens */
@media (min-width: 720px) { .fighters__grid .fighter:nth-child(even) { margin-top: 48px; } }

/* ---------- PPV ---------- */
.ppv { background: var(--black); }
.ppv__card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(420px, 70svh, 560px); border-radius: 24px; border: 1px solid rgba(168,85,247,.35);
  background: var(--panel); box-shadow: 0 40px 100px -50px var(--glow);
}
.ppv__media { position: absolute; inset: -8% 0; z-index: -2; background: linear-gradient(135deg, var(--purple-700), var(--black) 78%); will-change: transform; }
.ppv__media::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(60deg, transparent 0 34px, rgba(255,255,255,.045) 34px 35px); }
.ppv__media::after { content: ""; position: absolute; right: 10%; top: 50%; width: clamp(140px, 24vw, 280px); aspect-ratio: 1 / 1.1547; translate: 0 -50%; clip-path: var(--hex); background: rgba(255,255,255,.07); }
.ppv__media.has-img::before, .ppv__media.has-img::after { display: none; }
.ppv__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ppv__media img[hidden] { display: none; }
/* readability overlay for text over any image */
.ppv__card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(7,5,12,.92) 0%, rgba(7,5,12,.35) 60%, rgba(7,5,12,.1) 100%);
}
.ppv__body { display: grid; justify-items: start; gap: 14px; padding: clamp(24px, 5vw, 56px); width: 100%; max-width: 680px; }
.ppv__event { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: 1; text-transform: uppercase; }
.ppv__when { color: var(--muted); font-size: 1.05rem; margin-bottom: 8px; }
.ppv__body .btn { width: 100%; }
@media (min-width: 720px) {
  .ppv__body .btn { width: auto; }
  .ppv__card::after { background: linear-gradient(90deg, rgba(7,5,12,.92) 0%, rgba(7,5,12,.55) 48%, rgba(7,5,12,.05) 100%); }
}

/* Portrait image (poster): show it whole, beside the text */
.ppv__card--split {
  display: grid; align-items: center; min-height: 0; gap: 0;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(139,63,240,.35), transparent 65%),
    linear-gradient(135deg, var(--purple-900), var(--black) 80%);
}
.ppv__card--split::after { display: none; }
.ppv__card--split .ppv__media {
  position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px;
  margin: clamp(16px, 3vw, 32px); background: none; transform: none !important;
  box-shadow: 0 30px 80px -30px var(--glow);
}
.ppv__card--split .ppv__body { padding: 0 clamp(20px, 4vw, 32px) clamp(24px, 4vw, 32px); max-width: none; }
@media (min-width: 820px) {
  .ppv__card--split { grid-template-columns: 1.15fr .85fr; }
  .ppv__card--split .ppv__media { order: 2; margin: clamp(20px, 3vw, 40px); }
  .ppv__card--split .ppv__body { order: 1; padding: clamp(32px, 5vw, 64px); }
}

/* ---------- Watch (video cards, currently hidden) ---------- */
.watch__grid { display: grid; gap: 16px; }
.vcard { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, var(--purple-700), var(--black)); display: grid; place-items: center; cursor: pointer; text-align: left; padding: 0; color: inherit; width: 100%; }
.vcard::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(60deg, transparent 0 30px, rgba(255,255,255,.04) 30px 31px); }
.vcard img, .vcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vcard__play { position: relative; width: 78px; height: 78px; display: grid; place-items: center; background: var(--white); color: var(--black); clip-path: var(--hex); transition: transform .5s var(--ease), background .3s; z-index: 1; }
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard:hover .vcard__play { transform: scale(1.18); background: var(--purple-300); }
.vcard__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(7,5,12,.92)); z-index: 1; pointer-events: none; }
.vcard__cap small { color: var(--purple-300); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.vcard__cap h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; }
@media (min-width: 820px) {
  .watch__grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .vcard:nth-child(1) { grid-column: span 6; aspect-ratio: 21 / 9; }
  .vcard:nth-child(n+2) { grid-column: span 3; }
}

/* ---------- About / Stats ---------- */
.about { background: linear-gradient(var(--ink), var(--black)); }
.about__text { max-width: 900px; font-size: clamp(1.3rem, 4.4vw, 2.5rem); line-height: 1.3; font-weight: 500; }
.about__text .w { color: rgba(255,255,255,.18); transition: color .2s; }
.about__text .w.on { color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(40px, 7vw, 80px); }
.stat { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; overflow: hidden; background: linear-gradient(160deg, rgba(76,29,149,.25), transparent); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 10vw, 5rem); line-height: 1; background: linear-gradient(180deg, var(--white), var(--purple-300)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat small { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } .stat { padding: 30px 24px; } }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--black); }
.sponsors__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.sponsor { display: grid; place-items: center; min-height: 110px; background: var(--black); padding: 20px; color: var(--muted); font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; transition: background .4s, color .4s; }
.sponsor img { max-height: 46px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .7; transition: filter .4s, opacity .4s; }
.sponsor:hover { background: var(--panel); color: var(--white); }
.sponsor:hover img { filter: none; opacity: 1; }
.sponsors__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 40px; color: var(--muted); font-size: 1.1rem; }
@media (min-width: 820px) {
  .sponsors__grid { grid-template-columns: repeat(4, 1fr); }
  .sponsor { min-height: 150px; }
  .sponsors__cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Contact ---------- */
.contact { background: radial-gradient(80% 60% at 0% 100%, var(--purple-900), var(--black) 70%); }
.contact__wrap { display: grid; gap: 40px; }
.contact__intro p:not(.eyebrow) { margin-top: 18px; color: var(--muted); max-width: 420px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.socials a { display: inline-flex; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--purple-600); border-color: var(--purple-600); }
.form { display: grid; gap: 16px; border: 1px solid var(--line); border-radius: 24px; padding: 20px; background: rgba(13,9,21,.7); backdrop-filter: blur(10px); }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--black);
  color: var(--white); font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; transition: border-color .3s, box-shadow .3s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--purple-400); box-shadow: 0 0 0 4px rgba(168,85,247,.2); }
.form input.is-invalid, .form textarea.is-invalid { border-color: #f87171; }
.form__status { min-height: 1.4em; font-size: .95rem; color: var(--purple-300); }
@media (min-width: 900px) { .contact__wrap { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } .form { padding: 32px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__top { color: var(--white); }
.footer .nav__brand { margin: 0; color: var(--white); }
@media (min-width: 720px) { .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: var(--gutter); visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7,5,12,.82); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(760px, 100%); max-height: calc(100svh - 32px); overflow: auto; display: grid; gap: 24px; padding: 24px;
  border: 1px solid rgba(168,85,247,.4); border-radius: 24px; background: linear-gradient(160deg, var(--purple-900), var(--ink) 60%);
  opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .4s, transform .6s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7,5,12,.6); font-size: 26px; line-height: 1; }
.modal__art { width: min(220px, 60%); margin: 0 auto; aspect-ratio: 1 / 1.1547; clip-path: var(--hex); background: linear-gradient(160deg, var(--purple-600), var(--black)); display: grid; place-items: center; position: relative; overflow: hidden; }
.modal__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__art span { font-family: var(--font-display); font-size: 4.5rem; }
.modal__body h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 7vw, 3rem); text-transform: uppercase; line-height: 1; margin-top: 8px; }
.modal__nick { color: var(--purple-300); font-style: italic; margin-top: 4px; }
.modal__record { display: flex; gap: 12px; margin: 20px 0; }
.modal__record div { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; }
.modal__record b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; }
.modal__record small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.modal__body p:last-child { color: var(--muted); }
@media (min-width: 720px) { .modal__panel { grid-template-columns: 240px 1fr; align-items: center; padding: 36px; } .modal__art { width: 100%; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__glow, .curtain__logo, .hero__scroll span { animation: none; }
  * { scroll-behavior: auto !important; }
}
