:root {
  --bg: #0b0a1f;
  --bg2: #13112e;
  --card: #17143a;
  --card2: #221d4a50;
  --line: #2d2766;
  --text: #f1eeff;
  --muted: #a39cc9;
  --salt: #f6f3ff;
  --aqua: #b29dff;
  --aqua2: #6b4dff;
  --gold: #ffc65c;
  --silver: #cfd9e6;
  --bronze: #e39a62;
  --radius: 18px;
  --wrap: 1120px;
  --head: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 600px at 75% -5%, #4737b755, transparent 65%),
    radial-gradient(800px 500px at 0% 20%, #7b5cff18, transparent 60%),
    radial-gradient(900px 700px at 50% 115%, #b29dff12, transparent 60%),
    linear-gradient(180deg, #15123a, #0b0a1f 40%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #0b0a1ff2;
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.brand img { height: 42px; width: auto; filter: drop-shadow(0 0 14px #b29dff33); }
.brand span { display: none; }
.brand b { color: var(--aqua); font-weight: 800; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav .btn { padding: 10px 18px; font-size: 13px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-main { background: linear-gradient(135deg, var(--aqua), var(--aqua2)); color: #120a33; box-shadow: 0 8px 30px #b29dff40; }
.btn-main:hover { transform: scale(1.04); box-shadow: 0 10px 40px #b29dff66; }
.btn-ghost { border: 1px solid var(--line); background: #ffffff08; }
.btn-ghost:hover { background: #ffffff12; transform: scale(1.03); }

/* ---------- hero ---------- */
.hero { padding: 90px 0 60px; text-align: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #ffffff06;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 12px var(--aqua); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(38px, 7vw, 82px); line-height: 1.02; letter-spacing: -.02em;
  margin: 22px auto 18px; max-width: 900px;
}
.hero h1 .grad { background: linear-gradient(120deg, var(--salt), var(--aqua) 45%, var(--aqua2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 620px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.code-box {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 34px auto 0; padding: 10px 10px 10px 22px;
  border: 1px dashed #b29dff70; border-radius: 16px; background: #b29dff0c;
}
.code-box small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.code-box strong { font-family: var(--head); font-size: 20px; letter-spacing: .06em; color: var(--aqua); }
.code-box button { padding: 10px 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; transition: background .2s; }
.code-box button:hover { background: #2b2456; }

/* floating salt crystals */
.crystals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.crystals span {
  position: absolute; width: 14px; height: 14px; border-radius: 3px;
  background: linear-gradient(135deg, #ffffffcc, #d9ceff55);
  box-shadow: 0 0 18px #d9ceff55;
  animation: float 9s ease-in-out infinite;
  opacity: .55;
}
@keyframes float { 50% { transform: translateY(-22px) rotate(35deg); } }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-align: left;
}
.stat small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.stat strong { font-family: var(--head); font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.stat .accent { color: var(--gold); }

/* ---------- sections ---------- */
section { padding: 70px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head h2 { font-family: var(--head); font-weight: 800; font-size: clamp(28px, 4.5vw, 46px); letter-spacing: -.01em; line-height: 1.1; }
.sec-head p { color: var(--muted); margin-top: 10px; }
.eyebrow { color: var(--aqua); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; display: block; }

/* ---------- podium ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: end; }
.pod {
  position: relative; text-align: center;
  background: linear-gradient(180deg, var(--card), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 18px 24px;
  transition: transform .25s;
}
.pod:hover { transform: scale(1.02); }
.pod.r1 { padding-top: 42px; border-color: #ffc65c55; box-shadow: 0 20px 60px #ffc65c14; }
.pod.r2 { border-color: #cfd9e640; }
.pod.r3 { border-color: #e39a6245; }
.pod .medal {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 18px; color: #0a0f18;
}
.r1 .medal { background: var(--gold); box-shadow: 0 0 30px #ffc65c80; width: 56px; height: 56px; font-size: 22px; }
.r2 .medal { background: var(--silver); }
.r3 .medal { background: var(--bronze); }
.pod .vip { width: 72px; height: 45px; object-fit: contain; margin: 0 auto 10px; }
.pod .name { font-weight: 800; font-size: 18px; letter-spacing: .02em; word-break: break-all; }
.pod .lbl { color: var(--muted); font-size: 12px; margin-top: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.pod .wag { font-family: var(--head); font-size: 18px; font-weight: 700; margin-top: 2px; }
.pod .prize {
  display: inline-block; margin-top: 16px; padding: 8px 16px; border-radius: 999px;
  background: #ffc65c18; color: var(--gold); font-weight: 800; font-size: 16px;
}
.pod .extra { display: block; margin-top: 6px; color: var(--aqua); font-size: 12px; font-weight: 700; }

/* ---------- countdown ---------- */
.count { display: flex; gap: 10px; justify-content: center; margin: 0 auto 40px; }
.count div {
  min-width: 78px; padding: 14px 10px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.count b { display: block; font-family: var(--head); font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.count small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- table ---------- */
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 26px; }
.row {
  display: grid; grid-template-columns: 64px 1fr 1fr 1fr 1fr; align-items: center; gap: 10px;
  padding: 14px 22px; border-top: 1px solid var(--line);
}
.row.head { border-top: 0; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: #ffffff05; }
.row .rk { font-family: var(--head); font-weight: 700; color: var(--muted); }
.row .usr { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
.row .usr img { width: 45px; height: 28px; object-fit: contain; flex: none; }
.row .usr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .num { font-variant-numeric: tabular-nums; }
.row .pz { color: var(--gold); font-weight: 800; }
.row .vp { color: var(--aqua); font-weight: 700; }
.row.mute .pz, .row.mute .vp { color: var(--muted); font-weight: 500; }
.board-foot { display: flex; justify-content: center; padding: 18px; border-top: 1px solid var(--line); }

.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 14px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: #b29dff18; color: var(--aqua); font-family: var(--head); font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step p b { color: var(--aqua); }

/* ---------- info panels (leaderboard page) ---------- */
.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }
.tabs button.on { color: #120a33; background: var(--aqua); border-color: var(--aqua); }
.panel { display: none; max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; }
.panel.on { display: block; }
.panel ol, .panel ul { padding-left: 20px; color: var(--muted); }
.panel li { margin: 8px 0; }
.panel li b { color: var(--text); }

/* ---------- history ---------- */
.hist-bar { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hist-bar select {
  font: inherit; font-weight: 600; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 40px 12px 16px; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}

/* ---------- socials ---------- */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.soc {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s, border-color .2s;
}
.soc:hover { transform: scale(1.03); border-color: #b29dff66; }
.soc svg { width: 28px; height: 28px; flex: none; fill: var(--aqua); }
.soc b { display: block; font-size: 15px; }
.soc small { color: var(--muted); font-size: 13px; }

/* ---------- cta band ---------- */
.band {
  text-align: center; padding: 54px 28px; border-radius: 26px;
  background: linear-gradient(135deg, #b29dff1f, #8b5cff14 50%, #ffc65c12);
  border: 1px solid #b29dff40;
}
.band h2 { font-family: var(--head); font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 10px; }
.band p { color: var(--muted); margin-bottom: 26px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 46px 0 34px; margin-top: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
.foot-links a:hover { color: var(--text); }
.legal { color: #7a7399; font-size: 12.5px; margin-top: 28px; line-height: 1.7; }
.legal b { color: var(--muted); }

/* ---------- skeleton / states ---------- */
.skel { background: linear-gradient(90deg, #ffffff08, #ffffff14, #ffffff08); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 8px; color: transparent !important; }
@keyframes sk { to { background-position: -200% 0; } }
.err { text-align: center; color: var(--muted); padding: 30px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px);
  background: var(--aqua); color: #120a33; font-weight: 800; padding: 12px 20px; border-radius: 999px;
  opacity: 0; transition: .25s; pointer-events: none; z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ---------- lotto + vip ---------- */
.prize-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.prize-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; text-align: center; }
.prize-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.prize-card b { display: block; font-family: var(--head); font-size: 24px; color: var(--gold); margin-top: 6px; }
.prize-card span { display: block; margin-top: 8px; font-weight: 700; word-break: break-all; }
.prize-card.p1 { border-color: #ffc65c55; box-shadow: 0 16px 50px #ffc65c12; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.card h3 { font-family: var(--head); font-size: 17px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.card ul { list-style: none; color: var(--muted); }
.card li { padding: 7px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.card li:first-child { border-top: 0; }
.card li b { color: var(--text); white-space: nowrap; }
.card p { color: var(--muted); font-size: 15px; }
.proof { margin-top: 14px; display: grid; gap: 10px; }
.proof div { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.proof small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.proof code { display: block; font-size: 12.5px; color: var(--aqua); word-break: break-all; margin-top: 2px; }
.verify-out { margin-top: 12px; font-weight: 700; font-size: 14px; }
.verify-out .ok { color: var(--aqua); }
.verify-out .bad { color: #ff7a7a; }
.row.c4 { grid-template-columns: 64px 1fr 1fr 110px; }
.row.c3 { grid-template-columns: 90px 1fr 1fr; }
.row.c3 .rk { white-space: nowrap; }
.row.c3.on { background: #b29dff12; }
.row.c3.on .rk, .row.c3.on .vp { color: var(--aqua); }
.calc { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.calc input {
  font: inherit; font-weight: 700; font-size: 18px; color: var(--text); width: 240px; max-width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
}
.calc input:focus { outline: 2px solid var(--aqua); border-color: transparent; }
.calc-out { text-align: center; color: var(--muted); min-height: 26px; }
.calc-out b { color: var(--aqua); }
.ladder { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.ladder div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.ladder small { color: var(--muted); font-weight: 700; font-size: 12px; }
.ladder b { display: block; color: var(--gold); font-size: 17px; }


/* ---------- polish ---------- */
#salt { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.hero-home { padding: 70px 0 50px; text-align: left; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-home h1 { margin-left: 0; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.1; max-width: 560px; }
.hero-home p.lead { margin-left: 0; }
.hero-home .hero-cta { justify-content: flex-start; }
.hero-art { position: relative; aspect-ratio: 1 / .9; display: grid; place-items: center; }
.hero-art .halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, #7b5cff40, #b29dff14 45%, transparent 70%);
  animation: breathe 6s ease-in-out infinite; will-change: transform, opacity;
}
.hero-art .ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid #b29dff22; animation: spin 40s linear infinite; will-change: transform; }
.hero-art .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 16px var(--aqua); }
.hero-art .ring.r2 { inset: 16%; animation-duration: 28s; animation-direction: reverse; border-color: #7b5cff22; }
.hero-art .logo-big { position: relative; width: 92%; height: auto; filter: drop-shadow(0 18px 50px #7b5cff55); animation: bob 6s ease-in-out infinite; will-change: transform; }
.hero-art .cr { position: absolute; width: 70px; opacity: .9; filter: drop-shadow(0 0 18px #b29dff55); animation: drift 9s ease-in-out infinite; will-change: transform; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes drift { 50% { transform: translateY(-18px) rotate(14deg); } }
.hero-logo { width: min(340px, 80%); margin: 0 auto 6px; filter: drop-shadow(0 14px 40px #7b5cff55); }

.ticker { border-block: 1px solid var(--line); background: #13112e99; overflow: hidden; margin-top: 10px; }
.ticker-track { display: flex; gap: 46px; width: max-content; padding: 13px 0; animation: tick 45s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; color: var(--muted); }
.ticker-item b { color: var(--text); }
.ticker-item em { font-style: normal; color: var(--aqua); font-weight: 700; }
.ticker-item i { font-style: normal; color: var(--gold); font-weight: 800; font-family: var(--head); font-size: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* glassy cards with a soft gradient edge */
.stat, .step, .pod, .board, .card, .panel, .soc, .prize-card, .count div, .ladder div, .code-box {
  background: linear-gradient(180deg, #201a52cc, #130f33cc);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 10px 30px #00000033;
}
.stat, .step, .card, .soc { position: relative; overflow: hidden; }
.stat::after, .step::after, .card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, #b29dff66, transparent);
}
.step, .soc, .stat { transition: transform .25s, border-color .25s, box-shadow .25s; }
.step:hover, .stat:hover { transform: scale(1.02); border-color: #b29dff55; box-shadow: 0 16px 40px #7b5cff22; }
.pod.r1 { background: linear-gradient(180deg, #3a2f4acc, #130f33cc); }
.btn-main { color: #120a33; background: linear-gradient(135deg, #e3dbff, var(--aqua) 45%, var(--aqua2)); box-shadow: 0 8px 30px #7b5cff44; }
.btn-main:hover { box-shadow: 0 10px 44px #b29dff66; }
.sec-head h2 .script, .hero h1 .script { font-family: "Kaushan Script", cursive; font-weight: 400; letter-spacing: 0; }
.band { background: radial-gradient(600px 300px at 50% 0%, #7b5cff2e, transparent 70%), linear-gradient(135deg, #2a2170cc, #130f33cc); border-color: #b29dff40; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 160px; height: 120px; right: -20px; top: -10px; background: url(/assets/crystals.webp) center / contain no-repeat; opacity: .35; transform: rotate(12deg); }
.foot-top .brand img { height: 48px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- board switcher ---------- */
.board-tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 22px; border-radius: 999px; border: 1px solid var(--line); background: #13112ecc; }
.board-tabs a { padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.board-tabs a:hover { color: var(--text); }
.board-tabs a.on { color: #120a33; background: linear-gradient(135deg, #e3dbff, var(--aqua) 45%, var(--aqua2)); box-shadow: 0 6px 20px #7b5cff40; }
.board.novip .row { grid-template-columns: 64px 1fr 1fr 1fr; }


/* ---------- small note pill ---------- */
.shared-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content; margin: 0 auto 22px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid #b29dff40; background: #b29dff12;
  color: var(--text); font-size: 13px; font-weight: 600;
}
.shared-note svg { width: 18px; height: 18px; flex: none; fill: var(--aqua); }
.sec-head .shared-note { margin: 14px auto 8px; }
.hero-home .hero-note { margin: 14px 0 0; }


/* ---------- VIP transfer ---------- */
.btn-tg { background: #2aabee; color: #fff; box-shadow: 0 8px 30px #2aabee55; }
.btn-tg:hover { transform: scale(1.04); box-shadow: 0 10px 40px #2aabee88; }
.btn-tg svg { width: 22px; height: 22px; fill: currentColor; }
.hero-transfer h1 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; }
.xfer { position: relative; display: grid; gap: 14px; justify-items: center; padding: 10px; }
.xfer-card { width: min(360px, 100%); padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #201a52cc, #130f33cc); box-shadow: 0 14px 40px #00000040; }
.xfer-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.xfer-card b { display: block; font-family: var(--head); font-size: 20px; margin: 4px 0 12px; }
.xfer-card.from { opacity: .75; transform: rotate(-2deg); }
.xfer-card.to { border-color: #b29dff66; box-shadow: 0 18px 50px #7b5cff33; transform: rotate(1.5deg); }
.xfer-card.to b { color: var(--aqua); }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 26px; }
.bars i { width: 22px; border-radius: 4px; background: #a39cc955; }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 55%; } .bars i:nth-child(3) { height: 75%; } .bars i:nth-child(4) { height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips em { font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #b29dff1a; color: var(--aqua); }
.xfer-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.xfer-arrow span { width: 10px; height: 10px; border-right: 3px solid var(--aqua); border-bottom: 3px solid var(--aqua); transform: rotate(45deg); opacity: .25; animation: chev 1.5s infinite; }
.xfer-arrow span:nth-child(2) { animation-delay: .2s; } .xfer-arrow span:nth-child(3) { animation-delay: .4s; }
@keyframes chev { 50% { opacity: 1; } }
.get-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; padding: 36px; border-radius: 26px; border: 1px solid #b29dff33; background: radial-gradient(500px 300px at 0% 0%, #7b5cff22, transparent 70%), linear-gradient(180deg, #201a52cc, #130f33cc); }
.get-head h2 { font-family: var(--head); font-weight: 800; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.15; }
.checks { list-style: none; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 38px; color: var(--muted); }
.checks li b { display: block; color: var(--text); margin-bottom: 2px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23120a33'/%3E%3C/svg%3E") center / 16px no-repeat; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.timeline::before { content: ""; position: absolute; top: 11px; left: 12px; right: 12px; height: 2px; background: linear-gradient(90deg, var(--aqua), var(--aqua2)); opacity: .4; }
.timeline li { position: relative; padding-top: 40px; counter-increment: s; }
.timeline .dot { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 3px solid var(--aqua); box-shadow: 0 0 16px #b29dff66; }
.timeline h3::before { content: "Step " counter(s); display: block; color: var(--aqua); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.timeline h3 { font-size: 18px; margin-bottom: 6px; }
.timeline h3 span { color: var(--aqua); }
.timeline p { color: var(--muted); font-size: 15px; }
.timeline a { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #201a52cc, #130f33cc); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aqua); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 20px 16px; color: var(--muted); }
.contact-card { position: relative; overflow: hidden; text-align: center; max-width: 640px; margin: 0 auto; padding: 44px 28px; border-radius: 26px; border: 1px solid #2aabee66; background: radial-gradient(500px 260px at 50% 0%, #2aabee33, transparent 70%), linear-gradient(180deg, #201a52cc, #130f33cc); }
.contact-logo { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; background: #2aabee; box-shadow: 0 12px 40px #2aabee66; }
.contact-logo svg { width: 42px; height: 42px; fill: #fff; }
.contact-card h2 { font-family: var(--head); font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 8px; }
.contact-card p { color: var(--muted); margin-bottom: 24px; }
.contact-card small { display: block; margin-top: 18px; color: #7a7399; font-size: 12.5px; }


/* ---------- bounty reset notice ---------- */
.reset-card { max-width: 560px; margin: 26px auto 0; padding: 20px 22px 22px; border-radius: 20px; border: 1px solid #b29dff40; background: linear-gradient(135deg, #b29dff14, #7b5cff10); }
.reset-top { display: flex; gap: 14px; align-items: flex-start; text-align: left; margin-bottom: 16px; }
.reset-top svg { width: 30px; height: 30px; flex: none; fill: var(--aqua); margin-top: 2px; }
.reset-top b { display: block; font-size: 17px; margin-bottom: 2px; }
.reset-top span { color: var(--muted); font-size: 14.5px; }
.reset-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.reset-card .count { margin-bottom: 0; }


/* animations pause while their section is scrolled out of view (set by app.js) */
.offscreen, .offscreen * { animation-play-state: paused !important; }


/* ---------- home Discord help bar ---------- */
.help-bar {
  display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 12px 12px 14px;
  border-radius: var(--radius); border: 1px solid #2aabee55;
  background: linear-gradient(90deg, #2aabee26, #130f33cc 60%);
  transition: border-color .2s, transform .2s;
}
.help-bar:hover { border-color: #2aabeeaa; transform: scale(1.01); }
.help-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #2aabee; }
.help-ic svg { width: 22px; height: 22px; fill: #fff; }
.help-txt { flex: 1; color: var(--muted); font-size: 15px; }
.help-txt b { color: var(--text); }
.help-arrow { display: none; flex: none; color: #7fd0f7; font-size: 28px; line-height: 1; padding: 0 6px 3px; }
.help-btn { flex: none; padding: 9px 16px; border-radius: 999px; background: #2aabee; color: #fff; font-weight: 700; font-size: 14px; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .menu-btn { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #0b0a1ff5; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open .nav-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 40px; }
  .hero:not(.hero-home) h1 { font-size: clamp(26px, 9.5vw, 44px); }
  section { padding: 48px 0; }
  .stats { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; }
  .pod.r1 { order: -1; }
  .count div { min-width: 0; flex: 1; padding: 12px 4px; }
  .count b { font-size: 22px; }
  .row { grid-template-columns: 34px 1fr auto; padding: 12px 14px; gap: 8px; row-gap: 2px; }
  .row.head { display: none; }
  .row .usr { grid-column: 2; grid-row: 1; }
  .row .num { grid-column: 2; grid-row: 2; color: var(--muted); font-size: 13px; }
  .row .pz { grid-column: 3; grid-row: 1; text-align: right; }
  .row .vp { grid-column: 3; grid-row: 2; text-align: right; font-size: 12px; }
  .row .rk { grid-row: span 2; }
  .prize-grid { grid-template-columns: repeat(2, 1fr); }
  .prize-card.p1 { grid-column: span 2; }
  .info-grid { grid-template-columns: 1fr; }
  .card { padding: 22px 20px; }
  .row.c4 .num, .row.c3 .num { grid-column: auto; grid-row: auto; color: var(--text); font-size: 14px; }
  .row.c4 { grid-template-columns: 34px 1fr auto; }
  .row.c4 .usr { grid-column: 2; grid-row: 1; }
  .row.c4 .num { grid-column: 2; grid-row: 2; color: var(--muted); font-size: 13px; }
  .row.c4 .vp { grid-column: 3; grid-row: 1 / span 2; align-self: center; font-size: 13px; }
  .row.c3 { grid-template-columns: 64px 1fr auto; }
  .row.c3 .rk { font-size: 14px; }
  .row.c3 .rk { grid-row: auto; }
  .row.c3 .vp { grid-column: auto; grid-row: auto; font-size: 15px; }
  .hero-home { text-align: center; padding: 30px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 6px; }
  .hero-art { order: -1; width: 88%; margin: 0 auto; }
  .hero-home .hero-cta { justify-content: center; }
  .hero-home p.lead { margin-left: auto; }
  .hero-home .hero-note { margin: 12px auto 0; }
  .brand img { height: 36px; }
  .board-tabs a { padding: 9px 16px; }
  .board.novip .row { grid-template-columns: 34px 1fr auto; }
  .board.novip .row .pz { grid-row: 1 / span 2; align-self: center; }
  .get-panel { grid-template-columns: 1fr; padding: 26px 20px; gap: 20px; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { top: 12px; bottom: 12px; left: 11px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--aqua), var(--aqua2)); }
  .timeline li { padding: 0 0 0 42px; }
  .xfer { order: 2; margin-top: 10px; }
  .contact-card { padding: 36px 20px; }
  .reset-card { padding: 18px 16px; }
  .help-txt { font-size: 14px; line-height: 1.35; }
  .help-btn { display: none; }
  .help-arrow { display: block; }
  .code-box { flex-wrap: wrap; justify-content: center; padding: 14px; gap: 10px; }
  .panel { padding: 22px 20px; }
  .band { padding: 40px 20px; }
}

/* ---------- Pact ---------- */
.hero-home { position: relative; }
.hero-home::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, #0b0a1fcc 0%, #0b0a1f99 45%, #0b0a1f 100%), url("/assets/bg.jpg") center 30% / cover no-repeat;
  opacity: .55;
}
.hero-art { aspect-ratio: 1 / .75; }
.hero-art .logo-big { width: 100%; }
.collab { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.collab img { height: 24px; width: auto; }
.collab img + span + img { height: 36px; }
.collab span { color: var(--muted); font-weight: 700; }
.hero:not(.hero-home) .collab { justify-content: center; }
.perk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card.perk { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.perk-ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--head); font-weight: 800; font-size: 26px; color: #120a33;
  background: linear-gradient(135deg, #e3dbff, var(--aqua) 45%, var(--aqua2)); box-shadow: 0 10px 30px #7b5cff44;
}
.perk .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.perk h3 { font-family: var(--head); font-size: 24px; margin-bottom: 8px; }
.perk p { color: var(--muted); margin-bottom: 14px; }
.perk ul { list-style: none; display: grid; gap: 8px; }
.perk li { position: relative; padding-left: 24px; }
.perk li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
@media (max-width: 700px) {
  .perk-grid { grid-template-columns: 1fr; }
  .card.perk { padding: 24px 20px; }
  .collab { justify-content: center; }
  .collab img { height: 20px; }
  .collab img + span + img { height: 30px; }
  .hero-art { width: 100%; aspect-ratio: 1 / .5; }
}

/* ---------- contact tiles ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; }
.contact-tile {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, #201a52cc, #130f33cc);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 10px 30px #00000033; transition: transform .25s, border-color .25s;
}
.contact-tile.tg:hover { transform: scale(1.02); border-color: #2aabee88; }
.contact-tile.dc { border-color: #5865f255; }
.contact-tile.tg { border-color: #2aabee55; }
.contact-ic { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; }
.tg .contact-ic { background: #2aabee; box-shadow: 0 8px 24px #2aabee55; }
.dc .contact-ic { background: #5865f2; box-shadow: 0 8px 24px #5865f255; }
.contact-ic svg { width: 28px; height: 28px; fill: #fff; }
.contact-txt { flex: 1; min-width: 0; }
.contact-txt small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-txt b { font-family: var(--head); font-size: 20px; overflow-wrap: anywhere; }
.contact-btns { display: flex; gap: 8px; flex: none; }
.contact-go { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; }
.tg .contact-go { background: #2aabee; }
.dc .contact-go { background: #5865f2; }
.dc .contact-go.ghost { background: #ffffff10; border: 1px solid #5865f288; }
.dc .contact-go:hover { filter: brightness(1.12); }
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-tile { padding: 16px; gap: 12px; }
  .contact-ic { width: 44px; height: 44px; }
  .contact-txt b { font-size: 17px; }
  .contact-go { padding: 8px 12px; font-size: 13px; }
}
