/* ============ THE BEST — night at the floodlit plateau ============ */
:root {
  --night-0: oklch(13% 0.02 268);
  --night-1: oklch(16.5% 0.024 266);
  --night-2: oklch(21% 0.028 264);
  --stone: oklch(80% 0.11 85);
  --stone-hi: oklch(88% 0.12 92);
  --stone-dp: oklch(62% 0.1 80);
  --laser: oklch(66% 0.24 350);
  --laser-soft: oklch(66% 0.24 350 / 0.16);
  --ink: oklch(95% 0.012 90);
  --ink-dim: oklch(75% 0.02 90);
  --line: oklch(80% 0.11 85 / 0.22);
  --line-soft: oklch(80% 0.11 85 / 0.1);
  --en: "Anton", sans-serif;
  --ar: "Alexandria", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--night-0);
  color: var(--ink);
  font-family: var(--ar);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.95;
  overflow-x: hidden;
}
::selection { background: var(--laser); color: var(--night-0); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
.en { font-family: var(--en); letter-spacing: 0.02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ar); font-weight: 600; font-size: 16px;
  padding: 15px 34px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.3s, color 0.3s;
  will-change: transform;
}
.btn-laser {
  background: var(--laser); color: oklch(98% 0.01 350);
  box-shadow: 0 8px 36px oklch(66% 0.24 350 / 0.35);
}
.btn-laser:hover { transform: translateY(-3px); box-shadow: 0 14px 48px oklch(66% 0.24 350 / 0.5); }
.btn-ghost { border-color: var(--line); color: var(--stone); background: transparent; }
.btn-ghost:hover { background: oklch(80% 0.11 85 / 0.08); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 19px 52px; font-size: 19px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: oklch(13% 0.02 268 / 0.88); backdrop-filter: blur(14px); border-color: var(--line-soft); padding-block: 10px; }
.nav-mark { font-family: var(--en); font-size: 22px; color: var(--stone); letter-spacing: 0.04em; white-space: nowrap; }
.nav-mark i { color: var(--laser); font-style: normal; font-size: 14px; vertical-align: super; margin-inline-start: 3px; }
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 30px); font-size: 14.5px; font-weight: 400; color: var(--ink-dim); }
.nav-links a { transition: color 0.25s; padding: 6px 2px; }
.nav-links a:hover { color: var(--stone-hi); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-burger i { display: block; width: 18px; height: 2px; background: var(--stone); transition: transform 0.3s; }
.nav.open .nav-burger i:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 64px; inset-inline: 16px; z-index: 49;
    flex-direction: column; gap: 4px; padding: 18px;
    background: oklch(16.5% 0.024 266 / 0.97); backdrop-filter: blur(18px);
    border: 1px solid var(--line-soft); border-radius: 20px;
    opacity: 0; pointer-events: none; transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.4s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { padding: 10px 8px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-burger { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(90px, 14vh, 140px) clamp(20px, 6vw, 80px) 120px;
  overflow: hidden;
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.pyramids { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: min(62vh, 620px); }
.beams { position: absolute; inset: 0; pointer-events: none; }
.beam {
  position: absolute; bottom: 26%; left: 28%;
  width: 2px; height: 130vh;
  background: linear-gradient(to top, oklch(66% 0.24 350 / 0.55), transparent 80%);
  transform-origin: bottom center; opacity: 0;
}
.beam.b2 { left: 29%; background: linear-gradient(to top, oklch(80% 0.11 85 / 0.4), transparent 75%); }
.beam.b3 { left: 27%; }
.hero-inner { position: relative; z-index: 2; margin-inline-end: auto; max-width: 640px; text-align: start; }
.wordmark em { display: block; font-style: normal; }
.hero-kicker { color: var(--stone); font-weight: 400; font-size: clamp(13px, 1.6vw, 16px); letter-spacing: 0.01em; margin-bottom: 6px; }
.wordmark {
  font-family: var(--en); font-weight: 400; color: var(--ink);
  font-size: clamp(84px, 17vw, 220px); line-height: 0.92; letter-spacing: 0.01em;
  display: flex; flex-direction: column; align-items: flex-start;
  direction: ltr; text-align: left;
}
.wordmark span { display: block; overflow: hidden; }
.wordmark .w2 { color: var(--stone); text-shadow: 0 0 70px oklch(80% 0.11 85 / 0.35); }
.hero-tag { font-size: clamp(20px, 3vw, 30px); font-weight: 600; color: var(--ink); margin-top: 18px; }
.hero-live {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--stone-hi); font-size: 14.5px; font-weight: 400;
}
.hero-live b { font-weight: 800; color: var(--ink); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--laser); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 oklch(66% 0.24 350 / 0.5); } 60% { box-shadow: 0 0 0 9px oklch(66% 0.24 350 / 0); } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.countdown { margin-top: 38px; }
.cd-label { font-size: 13.5px; color: var(--ink-dim); margin-bottom: 10px; font-weight: 400; }
.cd-grid { display: flex; gap: clamp(10px, 2vw, 22px); direction: ltr; justify-content: flex-end; }
.cd-cell { text-align: center; min-width: 64px; padding: 12px 8px 10px; border: 1px solid var(--line-soft); border-radius: 14px; background: oklch(16.5% 0.024 266 / 0.6); }
.cd-cell b { display: block; font-family: var(--en); font-weight: 400; font-size: clamp(26px, 4vw, 40px); color: var(--stone-hi); line-height: 1; }
.cd-cell span { font-size: 12px; color: var(--ink-dim); font-weight: 400; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line-soft); padding: 16px 0; overflow: hidden; background: var(--night-1); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 46s linear infinite; }
.marquee-track span { white-space: nowrap; color: var(--stone); font-weight: 400; font-size: 15.5px; }
.marquee-track span i { font-style: normal; color: var(--laser); margin-inline-start: 48px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- sections shared ---------- */
main section { padding: clamp(80px, 12vw, 150px) clamp(20px, 6vw, 80px); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-title { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; line-height: 1.3; }
.sec-title .en { color: var(--stone); font-weight: 400; font-size: 0.95em; }
.sec-sub { color: var(--ink-dim); margin-top: 10px; font-size: clamp(15px, 2vw, 17.5px); }

/* ---------- voting ---------- */
.voting { background: radial-gradient(80% 60% at 85% 0%, oklch(21% 0.028 264 / 0.55), transparent 70%); }
.closed-note {
  max-width: 760px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--night-1); color: var(--stone-hi); font-size: 17px; margin-bottom: 40px;
}
.field-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 5vw, 52px); }
.field-tab {
  font-family: var(--ar); font-weight: 600; font-size: 15px; color: var(--ink-dim);
  background: transparent; border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 10px 26px; cursor: pointer; transition: all 0.3s var(--ease);
}
.field-tab:hover { color: var(--stone-hi); border-color: var(--line); }
.field-tab.on { background: var(--stone); border-color: var(--stone); color: var(--night-0); }
.categories { display: grid; gap: clamp(26px, 4vw, 44px); }
.cat { border: 1px solid var(--line-soft); border-radius: 24px; background: oklch(16.5% 0.024 266 / 0.55); overflow: hidden; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 24px 28px 6px; }
.cat-head h3 { font-size: clamp(20px, 2.8vw, 26px); font-weight: 800; }
.cat-state { font-size: 13px; color: var(--ink-dim); font-weight: 400; white-space: nowrap; }
.cat-state.voted { color: var(--laser); font-weight: 600; }
.noms { list-style: none; padding: 14px 16px 20px; display: grid; gap: 6px; }
.nom {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 34px 52px 1fr auto auto; gap: 14px;
  padding: 12px 16px; border-radius: 16px; overflow: hidden;
  transition: background 0.3s;
}
.nom:hover { background: oklch(21% 0.028 264 / 0.5); }
.nom-fill {
  position: absolute; inset-block: 0; inset-inline-start: 0; z-index: 0;
  width: calc(var(--p) * 1%); border-radius: 16px;
  background: oklch(80% 0.11 85 / 0.1);
  transform-origin: right center;
}
.nom.is-leader .nom-fill { background: linear-gradient(to left, var(--laser-soft), oklch(66% 0.24 350 / 0.05)); }
.nom > *:not(.nom-fill) { position: relative; z-index: 1; }
.rank { font-family: var(--en); font-size: 21px; color: var(--stone-dp); text-align: center; }
.nom.is-leader .rank { color: var(--laser); }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: var(--night-0);
  background: linear-gradient(135deg, var(--stone-hi), var(--stone-dp));
  background-size: cover; background-position: center;
}
.nom-info b { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.5; }
.nom-info small { color: var(--ink-dim); font-size: 12.5px; font-weight: 400; }
.pct { font-family: var(--en); font-size: clamp(17px, 2.4vw, 22px); color: var(--stone-hi); min-width: 64px; text-align: left; direction: ltr; }
.nom.is-leader .pct { color: var(--laser); }
.vote-btn {
  font-family: var(--ar); font-weight: 600; font-size: 13.5px;
  color: var(--stone); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 22px;
  cursor: pointer; transition: all 0.3s var(--ease); white-space: nowrap;
}
.vote-btn:hover { background: var(--laser); border-color: var(--laser); color: oklch(98% 0.01 350); transform: scale(1.05); }
.vote-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.vote-btn.chosen { opacity: 1; background: var(--laser); border-color: var(--laser); color: oklch(98% 0.01 350); }
.crown { font-size: 18px; }
@media (max-width: 680px) {
  .nom { grid-template-columns: 24px 44px 1fr auto; grid-template-areas: "rank avatar info btn" "rank avatar pct btn"; row-gap: 2px; }
  .rank { grid-area: rank; font-size: 16px; }
  .avatar { grid-area: avatar; width: 44px; height: 44px; font-size: 15px; }
  .nom-info { grid-area: info; }
  .nom-info b { font-size: 15px; }
  .pct { grid-area: pct; font-size: 15px; min-width: 0; text-align: right; }
  .vote-btn { grid-area: btn; padding: 8px 16px; }
  .cat-head { padding: 20px 20px 2px; }
  .noms { padding: 10px 8px 14px; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(300px, 520px) 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-media img {
  border-radius: 26px; aspect-ratio: 4/5; object-fit: cover; width: 100%;
  filter: saturate(0.85) contrast(1.05);
}
.about-media::after {
  content: ""; position: absolute; inset: 0; border-radius: 26px;
  background: linear-gradient(15deg, oklch(13% 0.02 268 / 0.55), transparent 55%);
}
.about-badge {
  position: absolute; bottom: 22px; inset-inline-start: 22px; z-index: 2;
  background: oklch(13% 0.02 268 / 0.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px; padding: 14px 22px;
  display: flex; align-items: center; gap: 12px;
}
.about-badge b { font-size: 38px; color: var(--stone-hi); font-weight: 400; line-height: 1; }
.about-badge span { font-size: 13.5px; color: var(--ink-dim); font-weight: 400; }
.about-copy p { margin-bottom: 18px; color: var(--ink-dim); font-weight: 300; max-width: 62ch; }
.about-copy p b { color: var(--stone-hi); }
.about-copy .sec-title { margin-bottom: 22px; }
.about-points { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 12px; align-items: baseline; font-weight: 400; }
.about-points li::before { content: "✦"; color: var(--laser); font-size: 13px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-media img { aspect-ratio: 16/11; } }

/* ---------- scoreboard ---------- */
.scoreboard {
  background: linear-gradient(180deg, var(--stone-hi), var(--stone));
  color: var(--night-0); text-align: center;
}
.sb-kicker { font-weight: 800; font-size: clamp(16px, 2.4vw, 21px); margin-bottom: clamp(28px, 5vw, 48px); color: oklch(35% 0.06 80); }
.sb-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: clamp(28px, 6vw, 90px); }
.sb-item { display: flex; flex-direction: column; gap: 2px; }
.sb-item b { font-family: var(--en); font-weight: 400; font-size: clamp(64px, 11vw, 130px); line-height: 1; color: oklch(22% 0.04 75); }
.sb-item b sup { font-size: 0.4em; vertical-align: super; }
.sb-item span { font-weight: 600; font-size: clamp(14px, 2vw, 18px); color: oklch(35% 0.06 80); }

/* ---------- editions ---------- */
.editions { background: var(--night-0); }
.drag-hint { color: var(--laser); font-weight: 600; font-size: 0.85em; }
.ed-rail {
  display: flex; gap: 22px; overflow-x: auto; padding-bottom: 18px;
  scroll-snap-type: x mandatory; cursor: grab;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--stone-dp) transparent;
}
.ed-card {
  position: relative; flex: 0 0 min(420px, 84vw); scroll-snap-align: start;
  border: 1px solid var(--line-soft); border-radius: 26px; overflow: hidden;
  background: var(--night-1); padding: 34px 30px 30px; min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ed-card.has-img { background-size: cover; background-position: center; }
.ed-card.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(13% 0.02 268 / 0.92) 30%, oklch(13% 0.02 268 / 0.25)); }
.ed-card > * { position: relative; }
.ed-year { font-family: var(--en); font-weight: 400; font-size: 84px; line-height: 1; color: var(--stone); }
.ed-card.is-hl .ed-year { color: var(--laser); }
.ed-title { font-weight: 800; font-size: 20px; margin-top: 8px; }
.ed-venue { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--stone-hi); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; margin-top: 12px; width: fit-content; }
.ed-desc { color: var(--ink-dim); font-size: 14.5px; margin-top: 14px; font-weight: 300; line-height: 1.85; }

/* ---------- videos ---------- */
.videos { background: radial-gradient(70% 50% at 15% 100%, oklch(21% 0.028 264 / 0.5), transparent 70%); }
.video-stage { max-width: 1080px; }
.yt {
  position: relative; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); background: var(--night-1);
  box-shadow: 0 30px 90px oklch(0% 0 0 / 0.45);
  cursor: pointer;
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.6s var(--ease), opacity 0.4s; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt-play {
  position: absolute; inset: 0; margin: auto; width: 86px; height: 86px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: var(--laser); color: oklch(98% 0.01 350);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 50px oklch(66% 0.24 350 / 0.55);
  transition: transform 0.4s var(--ease);
}
.yt:hover .yt-play { transform: scale(1.12); }
.yt-play svg { margin-inline-start: 4px; }
.yt-title { position: absolute; bottom: 0; inset-inline: 0; padding: 70px 26px 20px; background: linear-gradient(to top, oklch(13% 0.02 268 / 0.9), transparent); font-weight: 600; font-size: 17px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 26px; max-width: 1080px; }
.video-grid:empty { display: none; }
.video-grid .yt-title { padding: 50px 18px 14px; font-size: 14.5px; }
.video-grid .yt-play { width: 56px; height: 56px; }

/* ---------- winners ---------- */
.year-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.year-chip {
  font-family: var(--en); font-size: 17px; letter-spacing: 0.04em;
  color: var(--ink-dim); background: none; border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 8px 24px; cursor: pointer; transition: all 0.3s;
}
.year-chip.on { color: var(--night-0); background: var(--stone); border-color: var(--stone); }
.winners-list { columns: 2; column-gap: clamp(28px, 5vw, 70px); max-width: 1100px; }
.win-group { break-inside: avoid; margin-bottom: 36px; }
.win-group h4 { font-size: 19px; font-weight: 800; color: var(--stone); margin-bottom: 10px; }
.win-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 11px 2px; border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.win-row span { color: var(--ink-dim); font-weight: 300; }
.win-row b { font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .winners-list { columns: 1; } }

/* ---------- final cta ---------- */
.final-cta {
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 120%, oklch(66% 0.24 350 / 0.16), transparent 70%),
    var(--night-1);
  border-block: 1px solid var(--line-soft);
}
.final-cta h2 { font-size: clamp(34px, 6.5vw, 72px); font-weight: 900; line-height: 1.35; }
.final-cta p { color: var(--ink-dim); margin: 14px 0 34px; font-size: clamp(15px, 2.2vw, 19px); }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 70px 24px 46px; }
.footer-mark { font-family: var(--en); font-size: 30px; color: var(--stone); }
.footer-mark i { color: var(--laser); font-style: normal; font-size: 16px; vertical-align: super; }
.footer-tag { color: var(--ink-dim); font-size: 14px; margin-top: 6px; }
.footer-social { display: flex; justify-content: center; gap: 16px; margin: 26px 0; }
.footer-social a {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--stone);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--stone); color: var(--night-0); transform: translateY(-3px); }
.footer-fine { font-size: 12.5px; color: oklch(55% 0.02 90); font-weight: 300; }
.footer-fine a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- toast & burst ---------- */
.toast {
  position: fixed; bottom: 28px; inset-inline-start: 50%; transform: translate(50%, 140%);
  z-index: 80; background: var(--stone); color: var(--night-0);
  font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 999px;
  box-shadow: 0 16px 50px oklch(0% 0 0 / 0.5);
  transition: transform 0.55s var(--ease); pointer-events: none; max-width: 90vw; text-align: center;
}
.toast.show { transform: translate(50%, 0); }
.toast.laser { background: var(--laser); color: oklch(98% 0.01 350); }
#burst { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .pulse { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
