/* ============ SWORD — ink-and-blood cartoon loading cinematic + page ============ */

:root {
  --paper: #f2e9d6;
  --paper-2: #e9dcbc;
  --panel: #f8f1e0;
  --ink: #241a12;
  --ink-soft: rgba(36, 26, 18, 0.55);
  --ink-faint: rgba(36, 26, 18, 0.18);
  --red: #d92b1f;
  --red-deep: #9c1a0e;
  --red-dark: #7e130a;
  --gold: #e8b431;
  --brush: "Ma Shan Zheng", "Kalam", cursive;
  --hand: "Kalam", cursive;
}

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

/* smooth scrolling is driven by the eased engine in main.js — native smooth
   would fight it, so keep the browser on instant jumps here */
html { scroll-behavior: auto; }

/* anchored sections clear the floating navbar */
#leaderboard, #rewards, #socials { scroll-margin-top: 96px; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hand);
}
body {
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1100px 700px at 18% -10%, #f7efdc 0%, transparent 60%),
    radial-gradient(900px 650px at 108% 28%, #e9d9b4 0%, transparent 55%),
    radial-gradient(800px 800px at 50% 118%, #ecdcb6 0%, transparent 60%),
    var(--paper);
}

/* paper fibre grain over the page (below nav, above content) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.48 0 0 0 0 0.36 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.loading { overflow: hidden; }

::selection { background: var(--red); color: var(--panel); }

.page { position: relative; z-index: 1; }

/* ============ Floating navbar — it is painted, not spawned ============ */

.nav-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  pointer-events: none;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
  padding: 0 26px 0 10px;
  border-radius: 999px;
  background: var(--panel);
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  box-shadow: 0 0 0 rgba(36, 26, 18, 0);
  transition: opacity 0.45s ease 0.3s, box-shadow 0.45s ease 0.3s;
}
.nav.formed {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  box-shadow: 4px 5px 0 rgba(36, 26, 18, 0.88);
  animation: nav-float 7s ease-in-out 2s infinite;
}

/* the brush stroke that draws the pill */
.nav-draw {
  position: absolute;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  overflow: visible;
  pointer-events: none;
}
.nav-draw path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: url(#rough);
}
.nav.formed .nav-draw path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.75s cubic-bezier(0.5, 0, 0.3, 1) 0.05s;
}

@keyframes nav-float {
  0%, 100% { transform: translateY(0) rotate(-0.3deg); }
  50%      { transform: translateY(-4px) rotate(0.3deg); }
}

/* logo stamp — the blood drop becomes the seal */
.nav-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 34% 28%, #f2603f 0%, var(--red) 48%, var(--red-dark) 100%);
  border: 2.5px solid var(--ink);
  box-shadow: 2px 3px 0 rgba(36, 26, 18, 0.85);
  opacity: 0;
  transform: scale(0) rotate(-32deg);
  transition: opacity 0.3s ease 0.4s, transform 0.5s cubic-bezier(0.2, 1.5, 0.3, 1) 0.4s;
}
.nav.formed .nav-logo { opacity: 1; transform: scale(1) rotate(0deg); }

/* wordmark — letters paint in one by one */
.nav-word {
  font-family: var(--brush);
  font-size: 24px;
  line-height: 1;
  padding-top: 4px;
  color: var(--ink);
}
.nav-word .wl {
  display: inline-block;
  opacity: 0;
  transform: translateY(9px) rotate(9deg);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 1.4, 0.3, 1);
}
.nav.formed .wl { opacity: 1; transform: none; }
.nav.formed .wl:nth-child(1) { transition-delay: 0.60s; }
.nav.formed .wl:nth-child(2) { transition-delay: 0.68s; }
.nav.formed .wl:nth-child(3) { transition-delay: 0.76s; }
.nav.formed .wl:nth-child(4) { transition-delay: 0.84s; }
.nav.formed .wl:nth-child(5) { transition-delay: 0.92s; }

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.2, 1.6, 0.3, 1) 0.98s;
}
.nav.formed .nav-dot { transform: scale(1); }

/* links stamp in with a little splat dot under each */
.nav-link {
  position: relative;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px) scale(1.35);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.2, 1.5, 0.3, 1), color 0.2s;
}
.nav.formed .nav-link { opacity: 1; transform: none; }
.nav.formed .nav-link:nth-of-type(1) { transition-delay: 1.02s, 1.02s, 0s; }
.nav.formed .nav-link:nth-of-type(2) { transition-delay: 1.12s, 1.12s, 0s; }
.nav.formed .nav-link:nth-of-type(3) { transition-delay: 1.22s, 1.22s, 0s; }

.nav-link::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: -5px;
  height: 4px;
  border-radius: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { transform: scaleX(1); }

@media (max-width: 640px) {
  .nav { gap: 15px; padding-right: 18px; height: 52px; }
  .nav-word { font-size: 20px; }
  .nav-dot { display: none; }
  .nav-link { font-size: 13.5px; }
}

/* ============ Loader ============ */

.loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--paper);
  overflow: hidden;
  transition: background 1.2s ease;
}
.loader.done {
  background: transparent;
  pointer-events: none;
}

#gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: filter 1s ease, opacity 1.15s ease;
}
body.artistic #gl {
  filter: saturate(0.72) contrast(1.07) sepia(0.2);
}
.loader.done #gl {
  opacity: 0;
}

.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 88% 74% at 50% 46%, transparent 55%, rgba(36, 26, 18, 0.34) 100%);
  transition: opacity 1s ease;
}
body.artistic .vignette {
  background: radial-gradient(ellipse 88% 74% at 50% 46%, transparent 48%, rgba(36, 26, 18, 0.5) 100%);
}

.grain {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.32 0 0 0 0 0.22 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  transition: opacity 1.2s ease;
}
body.artistic .grain { opacity: 0.3; }

/* letterbox bars — fat ink strokes */
.bar {
  position: absolute;
  left: -2vw;
  right: -2vw;
  height: 7vh;
  background: #1d140d;
  z-index: 6;
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.3, 1);
}
.bar-top { top: 0; transform: translateY(-104%) rotate(-0.6deg); }
.bar-bot { bottom: 0; transform: translateY(104%) rotate(-0.6deg); }
.loader.cine .bar-top { transform: rotate(-0.6deg); }
.loader.cine .bar-bot { transform: rotate(-0.6deg); }

/* impact flash */
.flash {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 46% 44%, rgba(236, 64, 38, 0.55) 0%, rgba(190, 30, 16, 0.25) 40%, transparent 72%);
}

/* blood splats */
.splats {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}
.splat {
  position: absolute;
  display: block;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  transition: opacity 0.8s ease;
}
.splats.fade .splat:not(.flyer) { opacity: 0; }
.splat img { width: 100%; height: 100%; display: block; }

.flyer .dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f2603f 0%, var(--red) 48%, var(--red-dark) 100%);
  border: 3px solid var(--ink);
  box-shadow: 2px 3px 0 rgba(36, 26, 18, 0.85);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.flyer.to-dot .dot { opacity: 1; }
.flyer.to-dot img { opacity: 0; transition: opacity 0.28s ease; }
.flyer.gone { display: none; }

/* HUD */
.hud {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.hud.gone { opacity: 0; }

.progress {
  position: absolute;
  left: 34px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.progress-label {
  font-family: var(--hand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.progress-track {
  width: 170px;
  height: 12px;
  background: var(--panel);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(to right, var(--red-dark), var(--red) 60%, #f2603f);
}

.skip {
  position: absolute;
  right: 34px;
  bottom: 26px;
  pointer-events: auto;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: var(--panel);
  border: 2.5px solid var(--ink-faint);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.6s ease, color 0.2s, border-color 0.2s, transform 0.2s;
}
.skip.show { opacity: 1; }
.skip:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.fadeblack {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #140e08;
  pointer-events: none;
}

/* ============ Hero — sword above the leaderboard ============ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 104px 18px 70px;
}

.emblem {
  position: relative;
  width: min(300px, 66vw);
  aspect-ratio: 1;
}

.enso {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.9) rotate(-12deg);
  transition: opacity 0.7s ease 0.15s, transform 1s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.15s;
}
.emblem.shown .enso { opacity: 0.95; transform: none; }

.hero-sword {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 96%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease;
  animation: sword-bob 5.5s ease-in-out infinite;
}
.emblem.shown .hero-sword { opacity: 1; }

@keyframes sword-bob {
  0%, 100% { transform: translate(-50%, -52%) rotate(-1.4deg); }
  50%      { transform: translate(-50%, -48%) rotate(1.4deg); }
}

.tip-drip {
  position: absolute;
  left: 50%;
  top: 95%;
  width: 8px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50% 50% 60% 60%;
  background: var(--red);
  opacity: 0;
}
.emblem.shown .tip-drip { animation: drip-fall 3.8s ease-in 1.4s infinite; }
@keyframes drip-fall {
  0%   { transform: translateY(0) scale(0.4); opacity: 0; }
  10%  { transform: translateY(0) scale(1); opacity: 1; }
  55%  { transform: translateY(64px) scale(0.9); opacity: 1; }
  68%  { transform: translateY(74px) scale(0.5); opacity: 0; }
  100% { transform: translateY(74px); opacity: 0; }
}

.hero-tag {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 12px 0 28px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}
.hero.on .hero-tag { opacity: 1; transform: none; }

/* ---- leaderboard ---- */

.board {
  position: relative;
  width: min(880px, 94vw);
  background: var(--panel);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 7px 7px 0 rgba(36, 26, 18, 0.9);
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0.7s ease 0.4s, transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.1) 0.4s;
}
.board::before { /* stacked sheet underneath */
  content: "";
  position: absolute;
  inset: 7px -7px -7px 7px;
  z-index: -1;
  background: var(--paper-2);
  border: 3px solid var(--ink);
  border-radius: 20px;
  transform: rotate(-0.5deg);
}
.hero.on .board { opacity: 1; transform: none; }

.board-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 20px 22px 16px;
  border-bottom: 3px solid var(--ink);
}
.board-head-l { text-align: left; }
.board-head-r {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.board-title {
  font-family: var(--brush);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
}
.board-sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.board-sub b { color: var(--red-deep); }
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--red-deep);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--panel);
}
.live-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.55); opacity: 0.55; }
}

.race-chip {
  font-weight: 700;
  font-size: 13px;
  color: var(--panel);
  background: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  transition: transform 0.18s, background 0.18s;
}
.race-chip:hover { background: var(--red); transform: translateY(-1px) rotate(-1deg); }

.board-timer {
  font-size: 13px;
  color: var(--ink-soft);
  border: 2px dashed var(--ink-faint);
  border-radius: 999px;
  padding: 5px 13px;
}

/* ---- visual countdown strip ---- */
.board-countdown {
  display: flex;
  justify-content: center;
  padding: 14px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.board-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  padding: 0;
  background: none;
}

.ct-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  background: rgba(220, 60, 60, 0.07);
  border: 1px solid rgba(220, 80, 80, 0.2);
  border-radius: 10px;
  padding: 8px 10px 6px;
}

.ct-block b {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ct-block em {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.ct-sep {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 14px;
}

/* ---- the podium: five plinths, tallest in the middle ---- */

.podium-wrap {
  position: relative;
  padding: 30px 18px 0;
  background:
    radial-gradient(120% 80% at 50% 108%, rgba(217, 43, 31, 0.07) 0%, transparent 62%);
}

.podium {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
}

.pod {
  --h: 34px;              /* plinth height, overridden per rank */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  transform: rotate(var(--tilt, 0deg));
  animation: pod-rise 0.72s cubic-bezier(0.18, 1.1, 0.28, 1.02) both;
  animation-delay: calc(0.45s + var(--slot) * 90ms);
}
@keyframes pod-rise {
  from { opacity: 0; transform: translateY(38px) rotate(calc(var(--tilt, 0deg) - 2deg)) scale(0.94); }
  to   { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
}

.pod-1 { --h: 86px; }
.pod-2 { --h: 62px; }
.pod-3 { --h: 50px; }
.pod-4 { --h: 34px; }
.pod-5 { --h: 26px; }

/* the card that sits on top of the plinth */
.pod-card {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 8px 11px;
  background: var(--panel);
  border: 3px solid var(--ink);
  border-radius: 16px 16px 6px 6px;
  box-shadow: 4px 4px 0 rgba(36, 26, 18, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pod:hover .pod-card {
  transform: translate(-2px, -3px);
  box-shadow: 7px 7px 0 rgba(36, 26, 18, 0.9);
}

.pod-1 .pod-card {
  background: linear-gradient(180deg, #fff8e6 0%, var(--panel) 55%);
  border-width: 3.5px;
  box-shadow: 5px 5px 0 rgba(36, 26, 18, 0.92), 0 0 0 6px rgba(232, 180, 49, 0.22);
  padding: 15px 9px 13px;
}

/* champion banner, tilted like a taped-on strip */
.pod-crown {
  margin-bottom: 7px;
  font-family: var(--brush);
  font-size: 15px;
  line-height: 1;
  color: var(--panel);
  background: var(--red);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 13px 6px;
  box-shadow: 2px 3px 0 rgba(36, 26, 18, 0.85);
  transform: rotate(-2.6deg);
  white-space: nowrap;
  animation: crown-sway 5s ease-in-out 1.6s infinite;
}
@keyframes crown-sway {
  0%, 100% { transform: rotate(-2.6deg); }
  50%      { transform: rotate(1.8deg) translateY(-2px); }
}

.pod-crest { display: block; width: 62px; margin: -4px 0 1px; }
.pod-crest svg { width: 100%; height: auto; display: block; }
.pod-1 .pod-crest { width: 76px; }

.pod-av {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.8px solid var(--ink);
  background: var(--ink);
  color: var(--panel);
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 2px 2px 0 rgba(36, 26, 18, 0.6);
}
.pod-1 .pod-av { width: 50px; height: 50px; font-size: 21px; background: var(--red); }
.pod-2 .pod-av, .pod-3 .pod-av { background: var(--red-deep); }

.pod-name {
  max-width: 100%;
  margin-top: 5px;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.15;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pod-1 .pod-name { font-size: 18px; }
.pod-2 .pod-name, .pod-3 .pod-name { font-size: 16px; }

.pod-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pod-wager {
  margin-top: 7px;
  font-weight: 700;
  font-size: 13.5px;
  text-align: center;
  line-height: 1.1;
}
.pod-wager small {
  display: block;
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pod-1 .pod-wager { font-size: 16px; }

.pod-prize {
  margin-top: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--panel);
  background: var(--red-deep);
  border: 2.2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px 4px;
  white-space: nowrap;
}
.pod-1 .pod-prize {
  font-size: 17px;
  padding: 4px 16px 5px;
  background: var(--gold);
  color: var(--ink);
}
.pod-4 .pod-prize, .pod-5 .pod-prize {
  font-size: 12.5px;
  background: var(--panel);
  color: var(--red-deep);
}

/* the plinth itself — a stone block with the rank carved in */
.pod-plinth {
  position: relative;
  width: 100%;
  height: var(--h);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  padding-bottom: 5px;
  margin-top: -3px;
  background:
    repeating-linear-gradient(-46deg, rgba(36, 26, 18, 0.07) 0 2px, transparent 2px 7px),
    var(--paper-2);
  border: 3px solid var(--ink);
  border-top-width: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 4px 4px 0 rgba(36, 26, 18, 0.9);
}
.pod-1 .pod-plinth { background:
    repeating-linear-gradient(-46deg, rgba(156, 26, 14, 0.1) 0 2px, transparent 2px 7px),
    #f0dfae; }

.pod-rank {
  font-family: var(--brush);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1;
  color: var(--ink);
}
.pod-1 .pod-rank { font-size: clamp(28px, 3.6vw, 44px); color: var(--red-deep); }
.pod-ord {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transform: translateY(-0.65em);
}
.pod-1 .pod-ord { font-size: 13px; color: var(--red-deep); }

/* inked ground line the plinths stand on */
.podium-floor {
  margin: 0 4px;
  height: 12px;
  opacity: 0.75;
}
.podium-floor svg { width: 100%; height: 100%; display: block; }

/* ---- the chasing pack ---- */

.pack { padding-top: 8px; }
.pack-head {
  display: block;
  padding: 4px 22px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border-top: 2px dashed var(--ink-faint);
  animation: row-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
  animation-delay: calc(0.9s + var(--i) * 55ms);
}
@keyframes row-in {
  from { opacity: 0; transform: translateX(-18px) rotate(-0.8deg); }
  60%  { opacity: 1; transform: translateX(3px) rotate(0.3deg); }
  to   { opacity: 1; transform: none; }
}
.row:hover { background: rgba(217, 43, 31, 0.06); }

.rank {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  background: var(--panel);
  color: var(--ink-soft);
}

.pname {
  display: flex;
  align-items: center;
  min-width: 0;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
}
.avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-right: 11px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--red);
  color: var(--panel);
  font-style: normal;
  font-size: 15px;
}
.avatar { background: var(--ink); }

.wager { text-align: right; font-weight: 700; font-size: 15px; }
.wager small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.prize {
  min-width: 68px;
  text-align: right;
  font-weight: 700;
  font-size: 15px;
  color: var(--red-deep);
}

.board-foot {
  padding: 14px 20px 16px;
  border-top: 2px dashed var(--ink-faint);
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.board-foot a { color: var(--ink-soft); text-decoration-color: var(--red); }
.board-foot a:hover { color: var(--ink); }
.board-foot b { color: var(--red-deep); }

/* ---- the fine print ---- */
.rules {
  width: min(880px, 94vw);
  margin-top: 20px;
  background: var(--panel);
  border: 2.5px dashed var(--ink-faint);
  border-radius: 16px;
  padding: 16px 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.6s, transform 0.7s ease 0.6s;
}
.hero.on .rules { opacity: 1; transform: none; }
.rules-title {
  font-family: var(--brush);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 6px;
}
.rules ul { list-style: none; }
.rules li {
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 3px 0 3px 22px;
}
.rules li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 10px;
  height: 5px;
  border-radius: 4px;
  background: var(--red);
  transform: rotate(-8deg);
}
.rules li b { color: var(--ink); }

/* ============ Extras — the armoury rack ============ */

.rewards {
  max-width: 940px;
  margin: 0 auto;
  padding: 96px 20px 30px;
  text-align: center;
}

.sec-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--panel);
  background: var(--ink);
  border-radius: 999px;
  padding: 5px 15px 6px;
  transform: rotate(-1.4deg);
}

/* 3 columns; the flagship claims two of them on the first row */
.perk-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}

.perk {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 16px;
  background: var(--panel);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 5px 0 rgba(36, 26, 18, 0.9);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
/* faint hatch in the corner so the cards read as paper, not boxes */
.perk::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(36, 26, 18, 0.06) 0 2px, transparent 2px 9px);
  transform: rotate(6deg);
}
.perk:hover {
  transform: translate(-2px, -3px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 rgba(36, 26, 18, 0.9);
}

/* the flagship takes a 2×2 block, so 1 hero + 5 perks fill a 3×3 grid exactly */
.perk-hero {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: center;
  background: linear-gradient(150deg, #fff8e6 0%, var(--panel) 62%);
  box-shadow: 5px 5px 0 rgba(36, 26, 18, 0.92), 0 0 0 6px rgba(232, 180, 49, 0.2);
}
.perk-hero::after { width: 200px; height: 200px; right: -50px; bottom: -50px; }

/* the little taped label at the top-right */
.perk-tag {
  position: absolute;
  top: 13px;
  right: -6px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--panel);
  background: var(--red-deep);
  border: 2px solid var(--ink);
  border-radius: 5px;
  padding: 3px 14px 4px 10px;
  transform: rotate(3deg);
  box-shadow: 2px 2px 0 rgba(36, 26, 18, 0.55);
}
.perk-hero .perk-tag { background: var(--gold); color: var(--ink); }

.perk-fig {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.perk-hero .perk-fig { width: 60px; height: 60px; }
.perk-fig svg { width: 100%; height: 100%; display: block; }

.perk-num {
  display: block;
  font-family: var(--brush);
  font-size: 46px;
  line-height: 0.9;
  color: var(--red);
}
.perk-num i { font-style: normal; font-size: 0.56em; margin-left: 1px; }
.perk-hero .perk-num { font-size: 78px; }

.perk-title {
  margin-top: 8px;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.15;
}
.perk-hero .perk-title { font-size: 22px; }

.perk-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.perk-hero .perk-desc { font-size: 15.5px; max-width: 46ch; }
.perk-desc b { color: var(--ink); }

.perk-note {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--red-deep);
}
.perk-note::before { content: "— "; }

/* the flagship's note sits on its own baseline, not pushed to the tall card's floor */
.perk-hero .perk-note { margin-top: 18px; padding-top: 0; font-size: 12.5px; }

/* the 95/5 split, drawn as an inked bar */
.split { margin-top: 20px; }
.split-bar {
  position: relative;
  display: flex;
  height: 30px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(36, 26, 18, 0.85);
}
.split-bar i {
  display: grid;
  place-items: center;
  width: 0;
  animation: split-fill 1.1s cubic-bezier(0.2, 0.9, 0.2, 1) 0.35s forwards;
}
@keyframes split-fill { to { width: var(--w); } }
.split-you {
  background: linear-gradient(100deg, var(--red-deep) 0%, var(--red) 55%, #f2603f 100%);
  border-right: 3px solid var(--ink);
}
.split-you b {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--panel);
  opacity: 0;
  animation: fade-in 0.4s ease 1.1s forwards;
}
@keyframes fade-in { to { opacity: 1; } }
.split-me {
  background: repeating-linear-gradient(-45deg, rgba(36, 26, 18, 0.16) 0 2px, transparent 2px 6px), var(--paper-2);
}

.split-keys {
  display: flex;
  gap: 18px;
  margin-top: 9px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.split-keys span { display: inline-flex; align-items: center; gap: 6px; }
.split-keys em {
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 3px;
}
.k-you { background: var(--red); }
.k-me { background: var(--paper-2); }

.perk-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 6px;
}
.perk-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.perk-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 8px;
  width: 11px;
  height: 4.5px;
  border-radius: 4px;
  background: var(--red);
  transform: rotate(-8deg);
}

.cta-btn {
  display: inline-block;
  margin-top: 34px;
  font-weight: 700;
  font-size: 19px;
  color: var(--panel);
  background: var(--red);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 6px 0 rgba(36, 26, 18, 0.9);
  padding: 15px 34px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.cta-btn:hover { transform: translate(-2px, -2px) rotate(-0.5deg); box-shadow: 8px 8px 0 rgba(36, 26, 18, 0.9); background: #e8392a; }
.cta-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 rgba(36, 26, 18, 0.9); }

/* ============ Socials ============ */

.socials {
  max-width: 880px;
  margin: 0 auto;
  padding: 84px 20px 60px;
  text-align: center;
}

.sec-title {
  font-family: var(--brush);
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.05;
}
.sec-sub { margin-top: 8px; font-size: 16px; color: var(--ink-soft); }

.soc-row {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.soc {
  width: 132px;
  height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 26px;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(36, 26, 18, 0.9);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.soc-lbl { font-weight: 700; font-size: 13px; }
.soc:hover {
  background: var(--red);
  color: var(--panel);
  transform: rotate(-3deg) scale(1.06);
  box-shadow: 7px 7px 0 rgba(36, 26, 18, 0.9);
}

.foot {
  margin-top: 40px;
  padding-bottom: 34px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ============ reveal / instant / fallback ============ */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.on { opacity: 1; transform: none; }

body.nogl #gl { display: none; }
body.nogl .loader { background: var(--paper); }

.instant *, .instant *::before, .instant *::after {
  transition-duration: 0.01s !important;
  animation-duration: 0.01s !important;
  animation-delay: 0s !important;
}

@media (prefers-reduced-motion: reduce) {
  .nav.formed { animation: none; }
  .hero-sword { animation: none; }
  .emblem.shown .tip-drip { animation: none; }
  .pod-crown { animation: none; }
}

/* tablet — the flagship goes full width, podium tightens */
@media (max-width: 860px) {
  .perk-grid { grid-template-columns: 1fr 1fr; }
  .perk-hero { grid-column: 1 / -1; }
  .perk-hero .perk-num { font-size: 64px; }
  .podium { gap: 7px; }
  .pod-crest { width: 48px; }
  .pod-1 .pod-crest { width: 58px; }
  .pod-crown { font-size: 12px; padding: 4px 10px 5px; }
}

/* phone — five plinths won't fit side by side, so re-stack:
   1st spans the top, then 2·3, then 4·5. still a podium, still stepped. */
@media (max-width: 620px) {
  .hero { padding-top: 92px; }
  .board-head { padding: 16px 15px 13px; }
  .board-head-r { gap: 7px; }
  .board-title { font-size: 30px; }
  .race-chip, .board-timer, .live-chip { font-size: 11px; padding: 4px 10px; }

  .podium-wrap { padding: 22px 11px 0; }
  .podium {
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 9px 8px;
  }
  /* markup order is 5·3·1·2·4 — place them explicitly */
  .pod-1 { grid-area: 1 / 1 / 2 / 7; }
  .pod-2 { grid-area: 2 / 1 / 3 / 4; }
  .pod-3 { grid-area: 2 / 4 / 3 / 7; }
  .pod-4 { grid-area: 3 / 1 / 4 / 4; }
  .pod-5 { grid-area: 3 / 4 / 4 / 7; }

  .pod-1 { --h: 52px; }
  .pod-2 { --h: 44px; }
  .pod-3 { --h: 38px; }
  .pod-4 { --h: 30px; }
  .pod-5 { --h: 26px; }

  /* 1st reads as a wide banner card on phone: crest+avatar left, details right */
  .pod-1 .pod-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "crest name  prize"
      "crest wager prize";
    align-items: center;
    justify-items: start;
    column-gap: 12px;
    row-gap: 0;
    padding: 12px 14px;
    text-align: left;
  }
  .pod-1 .pod-crest { grid-area: crest; width: 46px; margin: 0; }
  .pod-1 .pod-av { display: none; }
  .pod-1 .pod-name { grid-area: name; font-size: 17px; margin: 0; text-align: left; }
  .pod-1 .pod-label { display: none; }
  .pod-1 .pod-wager { grid-area: wager; font-size: 13px; margin: 0; text-align: left; }
  .pod-1 .pod-wager small { letter-spacing: 0.14em; }
  .pod-1 .pod-prize { grid-area: prize; margin: 0; justify-self: end; }

  .pod-crown { font-size: 12.5px; }
  .pod-name { font-size: 13.5px; }
  .pod-av { width: 34px; height: 34px; font-size: 15px; }
  .pod-1 .pod-av { width: 42px; height: 42px; font-size: 18px; }
  .pod-crest { width: 44px; }
  .pod-wager { font-size: 12.5px; }
  .pod-1 .pod-wager { font-size: 14px; }
  .pod-prize { font-size: 12px; padding: 3px 10px 4px; }
  .pod-1 .pod-prize { font-size: 15px; }
  .pod-label { font-size: 9px; letter-spacing: 0.12em; }

  .row { grid-template-columns: 34px 1fr auto auto; gap: 9px; padding: 9px 12px; }
  .rank { width: 29px; height: 29px; font-size: 13px; }
  .avatar { width: 28px; height: 28px; font-size: 13px; margin-right: 8px; }
  .pname { font-size: 14px; }
  .wager { font-size: 13px; }
  .prize { font-size: 13px; min-width: 54px; }

  .perk-grid { grid-template-columns: 1fr; }
  .perk-hero .perk-num { font-size: 58px; }
  .perk-hero .perk-title { font-size: 19px; }
  .cta-btn { font-size: 16px; padding: 13px 22px; }
}

/* ============ Red-dark theme — minimal ============ */

:root {
  --paper: #0e0707;
  --paper-2: #140b0b;
  --panel: #180909;
  --ink: #f0e8e8;
  --ink-soft: rgba(210, 170, 170, 0.65);
  --ink-faint: rgba(200, 80, 80, 0.1);
  --red: #e03030;
  --red-deep: #f05050;
  --red-dark: #8c1414;
  --gold: #e8b84b;
  --surface: rgba(24, 8, 8, 0.8);
  --surface-strong: rgba(14, 4, 4, 0.92);
  --line: rgba(200, 60, 60, 0.14);
  --brush: "Inter", system-ui, sans-serif;
  --hand: "Inter", system-ui, sans-serif;
}

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hand);
}

body {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(200, 30, 30, 0.11), transparent 58%),
    #0e0707;
}

body::after { display: none; }

::selection { background: var(--red); color: #0e0707; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---- nav ---- */
.nav-wrap { top: 16px; }

.nav {
  gap: 20px;
  height: 48px;
  padding: 0 20px 0 8px;
  background: rgba(14, 4, 4, 0.88);
  border: 1px solid rgba(200, 60, 60, 0.16);
  box-shadow: none;
  backdrop-filter: blur(22px);
}

.nav.formed { box-shadow: none; animation: none; }
.nav-draw { display: none; }

.nav-logo {
  width: 30px;
  height: 30px;
  background: var(--red);
  border: 0;
  box-shadow: none;
}
.nav-logo svg { stroke: #0e0707; }
.nav-logo svg path:first-child, .nav-logo svg circle { fill: #0e0707; }

.nav-word { padding-top: 0; font-size: 16px; font-weight: 700; letter-spacing: 0.06em; }
.nav-dot { width: 4px; height: 4px; background: var(--red); }

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.nav-link::after { bottom: -3px; height: 1px; background: var(--red); }
.nav-link:hover, .nav-link.active { color: var(--ink); }

/* ---- loader ---- */
.loader { background: var(--paper); }
.bar { background: #080202; }
.fadeblack { background: #080202; }
.vignette, body.artistic .vignette {
  background: radial-gradient(ellipse 88% 74% at 50% 46%, transparent 52%, rgba(4, 0, 0, 0.5) 100%);
}
.grain { opacity: 0.04; mix-blend-mode: soft-light; }
body.artistic .grain { opacity: 0.08; }
.progress-track { height: 6px; background: var(--surface-strong); border: 1px solid var(--line); }
.progress-track i { background: linear-gradient(90deg, var(--red-dark), var(--red)); }
.skip { background: var(--surface-strong); border: 1px solid var(--line); color: var(--ink-soft); }
.loader.done .vignette, .loader.done .grain, .loader.done .bar,
.loader.done .splats, .loader.done .hud { opacity: 0; visibility: hidden; }

/* ---- hero: shrink it, keep it simple ---- */
.hero { padding-top: 90px; }
.emblem { width: min(160px, 42vw); }
.enso circle { stroke: var(--red); stroke-width: 8px; filter: none; opacity: 0.5; }
.hero-sword { opacity: 0.85; }

.hero-tag {
  margin: 6px 0 22px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* hide noisy decorative elements */
.pod-crest,
.pod-crown,
.pod-label,
.board-sub,
.podium-floor { display: none !important; }

/* ---- board ---- */
.board {
  background: rgba(20, 5, 5, 0.82);
  border: 1px solid rgba(200, 60, 60, 0.14);
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.board::before { display: none; }

.board-head {
  align-items: center;
  padding: 18px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.board-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: var(--ink);
}

.live-chip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--red-deep);
  font-size: 11px;
  padding: 3px 10px;
}
.live-chip i { background: var(--red); }

.race-chip {
  color: #0e0707;
  background: var(--red);
  border: 0;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  box-shadow: none;
}
.race-chip:hover { background: var(--red-deep); transform: translateY(-1px); }

/* ---- countdown: one slim row ---- */
.board-countdown {
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

.board-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  padding: 0;
  background: none;
}

.ct-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px 5px;
}

.ct-block b {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.ct-block em {
  font-style: normal;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.ct-sep {
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 12px;
  user-select: none;
}

/* ---- podium ---- */
.podium-wrap {
  padding: 22px 16px 0;
  background: none;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 10px;
}

.pod-1 { --h: 56px; }
.pod-2 { --h: 38px; }
.pod-3 { --h: 28px; }
.pod-4, .pod-5 { display: none; }

.pod { --tilt: 0deg !important; }

.pod-card {
  background: rgba(200, 60, 60, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px 10px 4px 4px;
  box-shadow: none;
  padding: 12px 8px 10px;
  gap: 3px;
}

.pod-1 .pod-card {
  background: rgba(200, 50, 50, 0.1);
  border-color: rgba(200, 60, 60, 0.28);
  padding: 14px 10px 12px;
}

.pod-2 .pod-card {
  background: rgba(200, 60, 60, 0.06);
  border-color: rgba(200, 60, 60, 0.18);
}

.pod-3 .pod-card {
  background: rgba(200, 60, 60, 0.03);
}

.pod:hover .pod-card {
  transform: translateY(-2px);
  border-color: rgba(200, 60, 60, 0.36);
}

/* avatars */
.pod-av {
  width: 36px;
  height: 36px;
  font-size: 15px;
  background: rgba(200, 60, 60, 0.2);
  border: 1px solid rgba(200, 60, 60, 0.3);
  color: var(--red-deep);
  font-weight: 700;
  box-shadow: none;
}
.pod-1 .pod-av {
  width: 44px;
  height: 44px;
  font-size: 19px;
  background: var(--red);
  border: 0;
  color: #0e0707;
}

.avatar {
  background: rgba(200, 60, 60, 0.18);
  border: 1px solid rgba(200, 60, 60, 0.25);
  color: var(--red-deep);
  font-weight: 700;
  box-shadow: none;
}

/* name / wager / prize */
.pod-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}
.pod-1 .pod-name { font-size: 15px; font-weight: 700; }
.pod-2 .pod-name, .pod-3 .pod-name { font-size: 13px; }

.pod-wager {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 2px;
}
.pod-wager small { display: none; }
.pod-1 .pod-wager { font-size: 12px; }

.pod-prize {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red-deep);
  background: rgba(200, 60, 60, 0.1);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 10px 3px;
  box-shadow: none;
}

.pod-1 .pod-prize {
  font-size: 13px;
  color: var(--gold);
  background: rgba(232, 184, 75, 0.1);
  border-color: rgba(232, 184, 75, 0.25);
  padding: 3px 12px 4px;
}

.pod-2 .pod-prize { color: var(--red-deep); background: rgba(200, 60, 60, 0.1); border-color: var(--line); }
.pod-3 .pod-prize { color: var(--ink-soft); background: transparent; border-color: var(--line); }

/* plinths */
.pod-plinth, .pod-1 .pod-plinth, .pod-2 .pod-plinth, .pod-3 .pod-plinth {
  background: rgba(200, 60, 60, 0.06);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: none;
}

.pod-rank, .pod-1 .pod-rank, .pod-ord, .pod-1 .pod-ord { color: var(--ink-soft); }
.pod-1 .pod-rank { color: var(--red-deep); }
.pod-1 .pod-ord { color: var(--red-deep); }

/* ---- chasing pack rows ---- */
.pack { padding-top: 0; }
.pack-head {
  display: block;
  padding: 10px 20px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.row {
  border-top: 1px solid rgba(200, 60, 60, 0.08);
  padding: 9px 18px;
  gap: 12px;
}
.row:hover { background: rgba(200, 50, 50, 0.05); }

.rank {
  width: 30px;
  height: 30px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.pname { font-size: 15px; font-weight: 600; }

.wager { font-size: 13px; font-weight: 600; }
.wager small { color: var(--ink-soft); letter-spacing: 0.12em; }

.prize {
  font-size: 13px;
  font-weight: 700;
  color: var(--red-deep);
  min-width: 60px;
}

/* ---- board footer ---- */
.board-foot {
  padding: 12px 20px 14px;
  border-top: 1px solid rgba(200, 60, 60, 0.08);
  font-size: 12px;
  color: var(--ink-soft);
}
.board-foot a { color: var(--ink-soft); text-decoration-color: var(--red); }
.board-foot a:hover { color: var(--ink); }
.board-foot b { color: var(--red-deep); }

/* ---- rules ---- */
.rules {
  margin-top: 12px;
  background: transparent;
  border: 1px solid rgba(200, 60, 60, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
}
.rules-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.rules li { color: var(--ink-soft); font-size: 13px; }
.rules li b { color: var(--ink); }
.rules li::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  transform: none;
}

/* ---- extras section ---- */
.sec-eyebrow {
  color: var(--red-deep);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  transform: none;
  letter-spacing: 0.2em;
  font-size: 10px;
}

.sec-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.sec-sub { color: var(--ink-soft); font-size: 15px; }

.perk-grid { gap: 10px; }

.perk, .perk-hero {
  background: rgba(18, 5, 5, 0.7);
  border: 1px solid rgba(200, 60, 60, 0.12);
  border-radius: 14px;
  box-shadow: none;
}
.perk::after { display: none; }
.perk:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 60, 60, 0.26);
  background: rgba(22, 6, 6, 0.85);
}

.perk-tag, .perk-hero .perk-tag {
  top: 12px; right: 12px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  transform: none;
  box-shadow: none;
  font-size: 9px;
}

.perk-fig svg [filter] { filter: none; }
.perk-fig svg [stroke="#241a12"] { stroke: rgba(200, 80, 80, 0.25); }
.perk-fig svg [fill="#d92b1f"], .perk-fig svg [fill="#f2603f"] { fill: var(--red); }
.perk-fig svg [fill="#e8b431"] { fill: var(--gold); }
.perk-fig svg [fill="#f8f1e0"], .perk-fig svg [fill="#e6edf3"] { fill: var(--ink); }
.perk-fig svg [stroke="#9c1a0e"], .perk-fig svg [stroke="#d92b1f"] { stroke: var(--red-dark); }

.perk-num { font-weight: 800; letter-spacing: -0.04em; color: var(--red); }
.perk-title { line-height: 1.2; color: var(--ink); font-size: 15px; }
.perk-desc { color: var(--ink-soft); font-size: 13px; }
.perk-desc b { color: var(--ink); }
.perk-note { color: var(--ink-soft); font-size: 11px; }

.split-bar { height: 24px; border: 1px solid var(--line); box-shadow: none; }
.split-you { background: linear-gradient(90deg, var(--red-dark), var(--red)); border-right: 1px solid var(--line); }
.split-you b { color: #0e0707; }
.split-me { background: rgba(200, 60, 60, 0.06); }
.split-keys em { border: 1px solid var(--line); }
.k-you { background: var(--red); }
.k-me { background: rgba(200, 60, 60, 0.08); }
.perk-list li::before { background: var(--red); height: 3px; transform: none; }

/* ---- CTA ---- */
.cta-btn {
  color: #0e0707;
  background: var(--red);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: none;
  padding: 14px 32px;
}
.cta-btn:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: none; }
.cta-btn:active { transform: translateY(0); }

/* ---- socials ---- */
.soc-row { gap: 10px; }
.soc {
  background: rgba(18, 5, 5, 0.7);
  border: 1px solid rgba(200, 60, 60, 0.12);
  border-radius: 14px;
  box-shadow: none;
  color: var(--ink);
}
.soc:hover {
  color: #0e0707;
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: none;
}

.foot { color: var(--ink-soft); font-size: 13px; }

/* ---- mobile ---- */
@media (max-width: 640px) {
  .nav { gap: 12px; padding-right: 14px; }
  .nav-word { font-size: 15px; }
  .nav-link { font-size: 11.5px; }
  .hero { padding-top: 82px; }
  .emblem { width: min(140px, 40vw); }
  .board, .rules { width: 100%; }
  .board-head { padding: 16px 16px 14px; }
  .board-title { font-size: 24px; }

  .podium { gap: 7px; }
  .podium-wrap { padding: 18px 12px 0; }

  .pod-1 .pod-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "av name  prize"
      "av wager prize";
    align-items: center;
    justify-items: start;
    column-gap: 10px;
    row-gap: 0;
    padding: 10px 12px;
    text-align: left;
  }
  .pod-1 .pod-av { grid-area: av; }
  .pod-1 .pod-name { grid-area: name; font-size: 14px; margin: 0; text-align: left; }
  .pod-1 .pod-wager { grid-area: wager; margin: 0; text-align: left; }
  .pod-1 .pod-prize { grid-area: prize; margin: 0; justify-self: end; }

  .pod-name { font-size: 12px; }
  .pod-av { width: 32px; height: 32px; font-size: 13px; }
  .pod-1 .pod-av { width: 38px; height: 38px; font-size: 16px; }
  .pod-wager { font-size: 10px; }
  .pod-prize { font-size: 11px; padding: 2px 8px; }
  .pod-1 .pod-prize { font-size: 12px; }

  .ct-block { min-width: 38px; padding: 5px 6px 4px; }
  .ct-block b { font-size: 17px; }
  .ct-sep { font-size: 14px; }

  .row { gap: 8px; padding: 8px 12px; }
  .rank { width: 26px; height: 26px; font-size: 12px; }
  .avatar { width: 26px; height: 26px; font-size: 12px; margin-right: 7px; }
  .pname { font-size: 13px; }
  .wager { font-size: 12px; }
  .prize { font-size: 12px; min-width: 50px; }

  .perk-grid { grid-template-columns: 1fr; }
  .perk-hero .perk-num { font-size: 52px; }
  .cta-btn { font-size: 15px; padding: 12px 20px; }
}





