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

:root {
  --ink:        #050308;
  --ink-2:      #0A0712;
  --panel:      #120C1E;
  --panel-2:    #1A1228;
  --line:       #2B2140;
  --line-hi:    #4A3768;

  --volt:       #9B5CF6;
  --volt-hot:   #D946EF;
  --spark:      #37E6FF;
  --hazard:     #FFB020;
  --live:       #33FF9C;

  --paper:      #F3EFFB;
  --paper-dim:  #A79BC4;

  --f-display: 'Rajdhani', sans-serif;
  --f-body: 'Manrope', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(.16,.84,.44,1);
  --notch: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --notch-sm: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
svg { display: block; }

::selection { background: var(--volt-hot); color: var(--ink); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--line-hi); }
::-webkit-scrollbar-thumb:hover { background: var(--volt); }

:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; }

.bg-ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 92% -8%, rgba(217,70,239,.16), transparent 60%),
    radial-gradient(ellipse 800px 640px at -5% 60%, rgba(155,92,246,.14), transparent 62%),
    linear-gradient(180deg, var(--ink), var(--ink-2) 45%, var(--ink));
}
.bg-ambient::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(155,92,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,92,246,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 50% at 82% 0%, black 8%, transparent 68%);
}

#cursorGlow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,70,239,.13), transparent 70%);
  transform: translate(-50%,-50%);
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s;
}
#cursorGlow.on { opacity: 1; }
#sparkCanvas { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

#loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s var(--ease), visibility .5s;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-logo { width: 60px; height: 60px; border-radius: 50%; filter: drop-shadow(0 0 24px rgba(217,70,239,.55)); animation: loaderPulse 1.3s ease-in-out infinite; }
@keyframes loaderPulse { 0%,100% { filter: drop-shadow(0 0 14px rgba(155,92,246,.4)); } 50% { filter: drop-shadow(0 0 30px rgba(217,70,239,.75)); } }
.loader-text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--paper-dim); }
.loader-bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; position: relative; }
.loader-bar::after {
  content: ""; position: absolute; inset: 0; width: 36%;
  background: linear-gradient(90deg, transparent, var(--spark), transparent);
  animation: loaderSweep 1s ease-in-out infinite;
}
@keyframes loaderSweep { 0% { left: -36%; } 100% { left: 100%; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(5,3,8,.35);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s, padding .3s;
}
.nav.scrolled { background: rgba(8,5,14,.86); backdrop-filter: blur(16px); border-bottom-color: var(--line); padding: 11px 40px; }

.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 0 8px rgba(155,92,246,.5)); }
.nav-brand-name {
  font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: .04em;
  color: var(--paper); text-transform: uppercase;
}
.nav-brand-name em { font-style: normal; color: var(--volt-hot); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.lnk {
  position: relative; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper-dim); transition: color .25s, background .25s;
  padding: 8px 14px; border-radius: 2px;
}
.lnk:hover { color: var(--paper); background: rgba(155,92,246,.1); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  clip-path: var(--notch-sm); font-family: var(--f-display); text-transform: uppercase;
  transition: transform .22s var(--ease), filter .22s, box-shadow .22s;
}
.btn-nav svg, .btn-nav img { width: 22px; height: 22px; }
.btn-nav-kick { background: var(--panel-2); color: var(--paper); border: 1px solid var(--line-hi); }
.btn-nav-kick:hover { border-color: var(--spark); color: var(--spark); transform: translateY(-1px); }
.btn-nav-blox { background: linear-gradient(135deg, var(--volt), var(--volt-hot)); color: #0A0512; box-shadow: 0 0 0 1px rgba(217,70,239,.3); }
.btn-nav-blox:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-nav-blox img { filter: brightness(0); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--paper); transition: transform .3s, opacity .3s; }
.hamburger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.x span:nth-child(2) { opacity: 0; }
.hamburger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0 0 auto 0; z-index: 90; top: 0;
  background: rgba(6,4,10,.98); backdrop-filter: blur(20px);
  padding: 100px 32px 32px; display: flex; flex-direction: column; gap: 22px;
  transform: translateY(-100%); transition: transform .4s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-family: var(--f-display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.m-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.m-cta .btn-nav { justify-content: center; padding: 14px; align-items: center;}

.hero {
  position: relative; z-index: 2;
  min-height: 90vh; display: grid; grid-template-columns: 1.15fr .95fr;
  align-items: center;
  padding: 54px 40px 40px; gap: 40px;
  max-width: 1360px; margin: 0 auto;
}

.hero-numeral-left, .hero-numeral-right { display: none; }

.hero-copy { max-width: 600px; position: relative; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--spark); margin-bottom: 20px;
  border: 1px solid rgba(55,230,255,.3); padding: 6px 12px 6px 10px;
  background: rgba(55,230,255,.05);
}
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--live); box-shadow: 0 0 8px var(--live); animation: blink 1.6s infinite; flex-shrink: 0; }
@keyframes blink { 50% { opacity: .25; } }

.hero h1 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(46px, 6vw, 84px);
  line-height: .92; letter-spacing: -.01em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 em {
  display: block; font-style: normal; font-weight: 700;
  background: linear-gradient(100deg, var(--volt-hot) 0%, var(--volt) 45%, var(--spark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 16px; color: var(--paper-dim); max-width: 480px; margin-bottom: 28px; }
.hero-lead b { color: var(--paper); font-weight: 700; }

.code-block {
  display: flex; align-items: stretch; gap: 0;
  background: var(--ink-2); border: 1px solid var(--line-hi);
  max-width: 440px; overflow: hidden; font-family: var(--f-mono);
  position: relative;
}
.code-block::before { content: "›"; display: flex; align-items: center; padding: 0 0 0 16px; color: var(--live); font-size: 18px; font-weight: 700; }
.code-block-row { flex: 1; padding: 13px 14px; display: flex; flex-direction: column; gap: 3px; }
.cb-tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--paper-dim); text-transform: uppercase; }
.cb-code { font-family: var(--f-display); font-size: 19px; font-weight: 700; letter-spacing: .12em; color: var(--paper); }
.cb-copy {
  align-self: stretch; padding: 0 20px; display: flex; align-items: center; gap: 8px;
  background: var(--volt-hot); color: #0A0512;
  font-size: 12px; font-weight: 700; letter-spacing: .03em; font-family: var(--f-display); text-transform: uppercase;
  transition: filter .2s, background .2s;
}
.cb-copy:hover { filter: brightness(1.15); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 26px; font-size: 13.5px; font-weight: 700; letter-spacing: .03em;
  font-family: var(--f-display); text-transform: uppercase;
  clip-path: var(--notch-sm);
  transition: transform .22s var(--ease), filter .22s, box-shadow .22s, background .22s;
}
.btn-primary { background: linear-gradient(135deg, var(--volt), var(--volt-hot)); color: #0A0512; box-shadow: 0 8px 28px -8px rgba(217,70,239,.55); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 32px -6px rgba(217,70,239,.7); }
.btn-ghost { background: transparent; border: 1px solid var(--line-hi); color: var(--paper); }
.btn-ghost:hover { border-color: var(--spark); color: var(--spark); transform: translateY(-2px); }

.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-shard {
  position: absolute; width: 460px; height: 460px; z-index: -1;
  background: conic-gradient(from 210deg, rgba(155,92,246,.2), transparent 38%, rgba(217,70,239,.13), transparent 78%);
  filter: blur(48px); border-radius: 50%;
}

.pool-card {
  width: 100%; max-width: 400px;
  background: var(--panel);
  border: 1px solid var(--line-hi);
  clip-path: var(--notch);
  position: relative; overflow: hidden;
}
.pool-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--spark), var(--volt-hot), var(--spark));
  background-size: 200% 100%; animation: pcShift 3s linear infinite;
}
@keyframes pcShift { to { background-position: -200% 0; } }
.pool-card-tag {
  display: flex; align-items: center; gap: 7px; justify-content: space-between;
  padding: 13px 20px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper-dim); border-bottom: 1px solid var(--line);
}
.pct-dot { width: 6px; height: 6px; background: var(--live); box-shadow: 0 0 8px var(--live); border-radius: 50%; }
.pool-card-inner { padding: 24px 20px 0; }
.pool-card-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.pool-card-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pool-card-brand span { font-family: var(--f-mono); font-size: 16px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); }

.pool-card-amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.pca-num { font-family: var(--f-display); font-size: 48px; font-weight: 700; letter-spacing: -.01em; color: var(--paper); }
.pca-plus { font-family: var(--f-display); font-size: 30px; font-weight: 700; color: var(--volt-hot); }
.pca-unit { font-family: var(--f-mono); font-size: 14px; color: var(--paper-dim); margin-left: 4px; }
.pool-card-usd { font-size: 12.5px; color: var(--paper-dim); margin-bottom: 20px; font-family: var(--f-mono); }

/*
.pool-card-inner::after {
  content: "";
  display: block; height: 34px; margin-bottom: 4px;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(155,92,246,.14) 5px, rgba(155,92,246,.14) 6px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 34'%3E%3Cpolyline points='0,20 20,20 30,6 40,28 50,20 90,20 100,10 112,26 124,14 136,20 200,20 212,4 224,30 236,20 400,20' fill='none' stroke='%23D946EF' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 100% 100%;
  opacity: .8;
}
*/
.pool-card-strip { display: flex; border-top: 1px solid var(--line); margin: 0 -20px; padding: 0 20px; }
.pcs-item { flex: 1; text-align: center; padding: 14px 4px; border-right: 1px solid var(--line); }
.pcs-item:last-child { border-right: none; }
.pcs-num { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--paper); }
.pcs-lbl { font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); }

.stats-bar {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--ink-2); overflow: hidden; padding: 13px 0;
}
.ticker-track { display: flex; width: max-content; animation: tickerScroll 28s linear infinite; }
.ticker-item { display: flex; align-items: center; gap: 10px; padding: 0 32px; white-space: nowrap; font-family: var(--f-mono); }
.ticker-dot { width: 5px; height: 5px; background: var(--live); box-shadow: 0 0 8px var(--live); border-radius: 50%; flex-shrink: 0; }
.ticker-num { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--paper); }
.ticker-label { font-family: var(--f-mono); font-size: 10.5px; color: var(--paper-dim); letter-spacing: .05em; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

main > section, #prizes, #how-to-join, #community { position: relative; z-index: 2; max-width: 1300px; margin: 0 auto; padding: 108px 40px; }
.section-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--spark); margin-bottom: 14px;
}
.section-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--spark); }
.section-title {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 54px);
  text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 16px;
}
.section-sub { font-size: 15px; color: var(--paper-dim); max-width: 620px; }
.soon-badge {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,176,32,.14); color: var(--hazard); border: 1px solid rgba(255,176,32,.4); padding: 3px 10px; margin-left: 4px;
}

.lb-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }

.countdown-pill {
  display: flex; align-items: center; gap: 14px;
  background: var(--panel); border: 1px solid var(--line-hi);
  clip-path: var(--notch-sm); padding: 12px 20px;
}
.countdown-label { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); }
#countdown { display: flex; align-items: baseline; gap: 3px; font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--spark); }
#countdown small { font-size: 9.5px; color: var(--paper-dim); margin-right: 4px; font-family: var(--f-mono); font-weight: 500; }
.countdown-sep { color: var(--line-hi); }

.lb-tabs { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.lb-tab {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px; background: var(--panel); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--paper-dim); clip-path: var(--notch-sm);
  font-family: var(--f-mono);
  transition: border-color .2s, color .2s;
}
.lb-tab.selected { border-color: var(--volt); color: var(--paper); }
.lb-tab-badge { font-family: var(--f-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-dim); }
.lb-tab.selected .lb-tab-badge { color: var(--volt-hot); }

.podium-grid { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; margin-bottom: 44px; align-items: end; }
.pcard {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-hi);
  clip-path: var(--notch); padding: 28px 20px 22px; text-align: center;
}
.pcard.first {
  border-color: var(--volt-hot); padding-top: 42px;
  box-shadow: 0 0 44px -16px rgba(217,70,239,.45);
}
.crown-svg { width: 24px; height: 24px; color: var(--hazard); position: absolute; top: 14px; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 0 8px rgba(255,176,32,.6)); }
.p-rankbadge {
  display: inline-block; font-family: var(--f-mono); font-weight: 700; font-size: 11px;
  color: var(--spark); border: 1px solid var(--line-hi); padding: 3px 10px; margin-bottom: 14px;
}
.pcard.first .p-rankbadge { border-color: var(--volt-hot); color: var(--volt-hot); }
.p-av {
  width: 60px; height: 60px; margin: 0 auto 14px; background: var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 21px; color: var(--paper);
  clip-path: var(--notch-sm); border: 1px solid var(--line-hi); overflow: hidden;
}
.pcard.first .p-av { width: 72px; height: 72px; border-color: var(--volt-hot); font-size: 25px; }
.p-av img { width: 100%; height: 100%; object-fit: cover; }
.p-uname { font-family: var(--f-display); font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.p-wlabel { font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); margin-bottom: 2px; }
.wag-num { font-family: var(--f-mono); font-size: 13.5px; color: var(--paper); margin-bottom: 14px; display: block; }
.wag-num.small { font-size: 12px; margin-bottom: 0; }
.wu { color: var(--paper-dim); }
.p-prize { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.p-fc { font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--volt-hot); }
.p-usd { font-family: var(--f-mono); font-size: 10.5px; color: var(--paper-dim); }

.board-wrap-v2 { border: 1px solid var(--line); background: var(--ink-2); }
.board-head-v2, .board-row {
  display: grid; grid-template-columns: 56px 1fr 160px 150px; align-items: center;
  padding: 13px 22px; gap: 10px;
}
.board-head-v2 { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); border-bottom: 1px solid var(--line); }
.board-row { border-bottom: 1px solid var(--line); transition: background .2s; }
.board-row:last-child { border-bottom: none; }
.board-row:hover { background: rgba(155,92,246,.06); }
.br-rank { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--paper-dim); }
.br-who { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.br-mini {
  width: 30px; height: 30px; flex-shrink: 0; background: var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 11.5px;
  clip-path: var(--notch-sm); overflow: hidden;
}
.br-mini.lit { border: 1px solid var(--volt-hot); }
.br-mini img { width: 100%; height: 100%; object-fit: cover; }
.br-name { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-prize { display: flex; flex-direction: column; gap: 1px; text-align: right; }
.br-prize.none { color: var(--paper-dim); text-align: right; }
.bp-fc { font-family: var(--f-display); font-weight: 700; font-size: 13px; color: var(--volt-hot); }
.bp-usd { font-family: var(--f-mono); font-size: 10px; color: var(--paper-dim); }
.board-data-note { font-family: var(--f-mono); font-size: 11px; color: var(--paper-dim); margin-top: 16px; text-align: center; }

#prizes { padding-top: 100px; }

.prize-chart {
  display: grid;
  grid-template-columns: repeat(68, 1fr);
  gap: 0;
  margin: 40px 0 32px;
}

.prize-chart .pbar:nth-child(-n+3) {
  grid-column: span 68 / span 68;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line-hi);
  clip-path: var(--notch);
  padding: 28px 16px 22px;
  position: relative;
  height: auto;
  margin-bottom: 10px;
}

.prize-chart .pbar:nth-child(1) { grid-column: 24 / span 20; grid-row: 1; border-color: var(--hazard); box-shadow: 0 0 44px -16px rgba(255,176,32,.4); padding-top: 34px; }
.prize-chart .pbar:nth-child(2) { grid-column: 1 / span 22; grid-row: 1; }
.prize-chart .pbar:nth-child(3) { grid-column: 46 / span 22; grid-row: 1; }

.prize-chart .pbar:nth-child(-n+3) .pbar-rank {
  order: -1;
  font-family: var(--f-mono); font-weight: 700; font-size: 11px;
  color: var(--spark); border: 1px solid var(--line-hi); padding: 3px 10px;
  border-radius: 20px; letter-spacing: .04em;
}
.prize-chart .pbar:nth-child(1) .pbar-rank { border-color: var(--hazard); color: var(--hazard); }
.prize-chart .pbar:nth-child(-n+3) .pbar-rank::before { content: "RANK "; }

.prize-chart .pbar:nth-child(-n+3) .pbar-amt {
  order: 2;
  font-family: var(--f-display); font-size: 28px; font-weight: 700; color: var(--paper);
}
.prize-chart .pbar:nth-child(1) .pbar-amt { font-size: 34px; color: var(--hazard); }

.prize-chart .pbar:nth-child(-n+3) .pbar-col {
  order: 3; width: 44px; height: 3px !important; min-height: 3px;
  border-radius: 2px; margin-top: 2px;
  background: linear-gradient(90deg, var(--volt), var(--volt-hot));
}
.prize-chart .pbar:nth-child(1) .pbar-col { width: 60px; background: linear-gradient(90deg, var(--hazard), var(--volt-hot)); }

.prize-chart .pbar:nth-child(n+4) {
  grid-column: span 4 / span 4;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: 190px;
  padding: 14px 4px 12px;
  transition: background .2s;
}
.prize-chart .pbar:nth-child(n+4):hover { background: var(--panel-2); }
.prize-chart .pbar:nth-child(20) { border-right: 1px solid var(--line); }
.prize-chart .pbar:nth-child(n+4) .pbar-amt {
  order: 1;
  font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; color: var(--paper);
  white-space: nowrap;
}
.prize-chart .pbar:nth-child(n+4) .pbar-col {
  order: 2;
  width: 16px;
  min-height: 4px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--volt-hot), var(--volt));
}
.prize-chart .pbar:nth-child(n+4) .pbar-rank {
  order: 3;
  font-family: var(--f-mono); font-size: 9.5px; color: var(--paper-dim);
}
.prize-chart .pbar:nth-child(n+4) .pbar-rank::before { content: "#"; }

.tier-legend { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 34px; background: var(--line); border: 1px solid var(--line); }
.tier-legend-item { display: flex; align-items: center; gap: 10px; background: var(--panel); padding: 12px 18px; font-size: 12.5px; flex: 1; min-width: 200px; }
.tier-legend-swatch { width: 8px; height: 8px; background: var(--volt-hot); flex-shrink: 0; border-radius: 50%; box-shadow: 0 0 6px var(--volt-hot); }
.tier-legend-text { color: var(--paper-dim); font-family: var(--f-mono); font-size: 11.5px; }
.tier-legend-text b { color: var(--paper); font-family: var(--f-display); font-size: 13px; }

.prize-notice {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; font-family: var(--f-mono); color: var(--paper-dim); border-top: 1px solid var(--line); padding-top: 22px;
}
.prize-notice svg { flex-shrink: 0; margin-top: 1px; color: var(--hazard); }

.htj-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.rail { display: flex; flex-direction: column; gap: 0; margin-top: 32px; position: relative; }
.rail-step { display: flex; gap: 20px; padding: 20px 0; position: relative; }
.rail-step:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 56px; bottom: -8px; width: 1px;
  background: repeating-linear-gradient(180deg, var(--line-hi) 0 4px, transparent 4px 8px);
}
.rail-num {
  width: 42px; height: 42px; flex-shrink: 0; background: var(--panel); border: 1px solid var(--line-hi);
  display: flex; align-items: center; justify-content: center; color: var(--spark);
  clip-path: var(--notch-sm); position: relative;
}
.rail-step[data-flow="4"] .rail-num { color: var(--live); border-color: var(--live); }
.rail-num svg { width: 17px; height: 17px; }
.rail-body { display: flex; flex-direction: column; gap: 4px; padding-top: 5px; }
.rail-body strong { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; }
.rail-body span { font-size: 13px; color: var(--paper-dim); }

.ticket-dock { margin-top: 32px; }
.shard-card {
  background: var(--panel);
  border: 1px solid var(--line-hi);
  clip-path: var(--notch);
  overflow: hidden; position: relative;
}
.shard-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--spark), var(--volt-hot));
}
.ticket-half { padding: 24px 24px 0; }
.ticket-half:last-child { padding-bottom: 24px; padding-top: 18px; }
.partner-logo-display { font-family: var(--f-display); font-weight: 700; font-size: 20px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.partner-logo-display span { color: var(--volt-hot); }
.partner-tagline { font-family: var(--f-mono); font-size: 11.5px; color: var(--paper-dim); margin-top: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.code-display { display: flex; align-items: center; gap: 12px; background: var(--ink-2); border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 14px; }
.code-label { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); }
.code-value { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--volt-hot); letter-spacing: .08em; flex: 1; }
.code-copy-btn { color: var(--paper-dim); font-size: 16px; transition: color .2s; }
.code-copy-btn:hover { color: var(--spark); }

.signal-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 36px; background: var(--line); border: 1px solid var(--line); }
.signal-node {
  background: var(--panel);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
  transition: background .25s, transform .2s var(--ease);
  position: relative;
}
.signal-node::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--volt-hot); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.signal-node:hover { background: var(--panel-2); transform: translateY(-2px); }
.signal-node:hover::after { transform: scaleX(1); }
.signal-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--ink-2); border: 1px solid var(--line-hi); clip-path: var(--notch-sm); }
.signal-icon svg, .signal-icon img { width: 17px; height: 17px; }
.icon-blox { color: var(--volt-hot); }
.icon-kick { color: #53FC18; }
.icon-x { color: var(--paper); }
.icon-discord { color: #5865F2; }
.icon-youtube { color: #FF0033; }
.icon-instagram { color: #E1306C; }
.signal-platform { font-family: var(--f-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.signal-handle { font-family: var(--f-mono); font-size: 11px; color: var(--paper-dim); }

footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 64px 40px 26px; max-width: 1300px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; margin-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.footer-brand-name { font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; }
.footer-brand-name em { font-style: normal; color: var(--volt-hot); }
.footer-brand-tag { font-size: 13px; color: var(--paper-dim); max-width: 310px; margin-bottom: 20px; }
.footer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; background: linear-gradient(135deg, var(--volt), var(--volt-hot)); color: #0A0512;
  font-family: var(--f-display); text-transform: uppercase;
  font-size: 12px; font-weight: 700; clip-path: var(--notch-sm); width: fit-content;
  transition: filter .2s;
}
.footer-cta:hover { filter: brightness(1.12); }
.footer-col-title { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--spark); margin-bottom: 16px; }
.footer-link { display: block; font-size: 13px; color: var(--paper-dim); padding: 6px 0; transition: color .2s; }
.footer-link:hover { color: var(--volt-hot); }
.footer-status-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-family: var(--f-mono); margin-bottom: 6px; }
.footer-status-dot { width: 7px; height: 7px; background: var(--live); box-shadow: 0 0 8px var(--live); border-radius: 50%; }
.footer-status-sub { font-size: 11px; color: var(--paper-dim); margin-top: -4px; font-family: var(--f-mono); }
.footer-soc { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer-soc a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.footer-soc a:hover { border-color: var(--volt); }
.footer-soc svg { width: 14px; height: 14px; color: var(--paper-dim); }
.footer-soc a[class="bloxflip-link"] div {
  width: 14px; height: 14px; background-color: var(--paper-dim);
  -webkit-mask: url(bloxflip-logo-white.svg) no-repeat center;
  mask: url(bloxflip-logo-white.svg) no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.footer-divider { height: 1px; background: var(--line); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-copyright { font-family: var(--f-mono); font-size: 11px; color: var(--paper-dim); white-space: nowrap; }
.footer-disclaimer { font-size: 11px; color: var(--paper-dim); max-width: 640px; line-height: 1.6; font-family: var(--f-mono); }
.footer-disclaimer b { color: var(--paper-dim); font-weight: 700; }

#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--panel-2); border: 1px solid var(--volt); color: var(--paper);
  padding: 13px 24px; font-size: 13px; font-weight: 600; clip-path: var(--notch-sm);
  font-family: var(--f-mono);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow: 0 10px 40px -10px rgba(217,70,239,.4);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; padding: 40px 24px; text-align: left; gap: 40px; }
  .htj-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .podium-grid { grid-template-columns: 1fr; gap: 14px; }
  .pcard.first { order: -1; padding-top: 30px; }
  .board-head-v2, .board-row { grid-template-columns: 40px 1fr 110px; }
  .bh-wag-v2, .br-wag { display: none; }
  .pool-card { max-width: none; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  main > section, #prizes, #how-to-join, #community { padding: 66px 20px; }
  footer { padding: 46px 20px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-brand-tag { max-width: none; margin-left: auto; margin-right: auto; }
  .footer-cta { margin: 0 auto; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-status-row { justify-content: center; }
  .footer-soc { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-disclaimer { max-width: none; }
  .code-block { flex-direction: column; }
  .code-block::before { display: none; }
  .cb-copy { padding: 12px; justify-content: center; }
  .prize-chart { grid-template-columns: 1fr; }
  .prize-chart .pbar:nth-child(-n+3) { grid-column: 1 / -1 !important; }
  .prize-chart .pbar:nth-child(1) { grid-row: 1; }
  .prize-chart .pbar:nth-child(2) { grid-row: 2; }
  .prize-chart .pbar:nth-child(3) { grid-row: 3; }

  /* Ranks 4-20: stack vertically (column), each item becomes a horizontal bar */
  .prize-chart .pbar:nth-child(n+4) {
    grid-row: auto;
    grid-column: 1 / -1 !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: auto;
    width: 100%;
    padding: 10px 14px;
    gap: 12px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
  .prize-chart .pbar:nth-child(20) { border-bottom: 1px solid var(--line); }
  .prize-chart .pbar:nth-child(n+4) .pbar-rank {
    order: 0;
    flex-shrink: 0;
    width: 30px;
  }
  .prize-chart .pbar:nth-child(n+4) .pbar-col {
    order: 1;
    flex: 1 1 auto;
    max-width: 140px;
    height: 8px !important;
    min-height: 8px;
    border-radius: 2px;
    background: var(--line);
    position: relative;
  }
  .prize-chart .pbar:nth-child(n+4) .pbar-col::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: var(--fill, 100%);
    border-radius: 2px;
    background: linear-gradient(90deg, var(--volt-hot), var(--volt));
  }
  .prize-chart .pbar:nth-child(n+4) .pbar-amt {
    order: 2;
    flex-shrink: 0;
    text-align: right;
  }
  .signal-rail {grid-template-columns: repeat(1, 1fr);}
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

@media (max-width: 460px) {
  .hero-shard { display: none; }
}
