/* ============================================================
   KOKZDOTA × STAKE — Homepage (black / white / red)
   ============================================================ */

/* ============ TOKENS ============ */
:root {
  --ink:        #000000;   /* deepest — feature/winner boxes */
  --navy:       #f2f2f2;   /* PRIMARY TEXT (light) */
  --slate-700:  #d6d6d6;
  --slate-600:  #b0b0b0;
  --slate-500:  #8a8a8a;
  --slate-400:  #b0b0b0;
  --slate-300:  #d6d6d6;
  --line:       rgba(255,255,255,0.12);
  --paper:      #ffffff;

  --bg:         #0d0d0d;
  --card:       #161616;
  --card-2:     #1f1f1f;

  --primary:    #e8141f;   /* red — solid CTA buttons */
  --primary-ink:#ffffff;

  --accent:     #e8141f;   /* red — dots, kickers, fills, badges */
  --maroon:     #4a0e12;   /* dark red — accent shapes, winner border */

  --sh-sm: 0 1px 2px rgba(0,0,0,0.30), 0 1px 3px rgba(0,0,0,0.24);
  --sh-md: 0 2px 6px rgba(0,0,0,0.34), 0 12px 28px -14px rgba(0,0,0,0.6);
  --sh-lg: 0 4px 10px rgba(0,0,0,0.4), 0 28px 56px -20px rgba(0,0,0,0.72);
  --sh-inset: inset 0 0 0 1px var(--line);

  --r-lg: 8px;
  --r-md: 6px;
  --r-sm: 4px;
  --r-pill: 6px;
}

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

html { scroll-behavior: smooth; background: var(--bg); width: 100%; }
body {
  background: var(--bg);
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  width: 100%;
  overflow-x: hidden;
}

.mono { font-family: 'Space Mono', ui-monospace, monospace; }
.num { font-variant-numeric: tabular-nums; }

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-500);
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,20,31,0.18); }

h1, h2, h3 { font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; color: var(--navy); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 14px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: var(--r-pill);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s, color 0.16s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--sh-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-light { background: var(--paper); color: var(--ink); box-shadow: var(--sh-md); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

.btn-ghost { background: var(--card); color: var(--navy); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.btn-ghost:hover { border-color: var(--slate-300); transform: translateY(-2px); box-shadow: var(--sh-md); }

.btn-outline-light { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

/* ============ PRELOADER ============ */
#preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.preloader-out { opacity: 0; visibility: hidden; pointer-events: none; }
.pre-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pre-mark {
  width: 56px; height: 56px; border-radius: 6px;
  background: var(--primary); color: var(--primary-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 26px;
  box-shadow: var(--sh-md);
  animation: pre-pulse 1.6s ease-in-out infinite;
}
@keyframes pre-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.pre-text { text-align: center; }
.pre-name { display: block; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--paper); }
.pre-name .pre-x { color: var(--slate-400); font-style: italic; font-weight: 500; }
.pre-sub { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-500); }
.pre-bar { width: 160px; height: 4px; border-radius: var(--r-pill); background: rgba(255,255,255,0.08); overflow: hidden; }
.pre-bar-fill { display: block; height: 100%; width: 40%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), #ff5a63); animation: pre-load 1.4s ease-in-out infinite; }
@keyframes pre-load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.nav.nav-scrolled { box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 28px; width: auto; max-width: 100%; object-fit: contain; display: block; }
@media (max-width: 560px) {
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .brand-logo { height: 18px; }
  .nav .btn-primary { padding: 10px 14px; font-size: 12px; gap: 6px; }
}
@media (max-width: 380px) {
  .brand-logo { height: 15px; }
}
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: 0.01em; color: var(--paper); }
.brand-name .x { color: var(--accent); }
.brand-divider { width: 1px; height: 17px; background: var(--accent); display: inline-block; }
.brand-stake-logo { height: 16px; width: auto; display: block; opacity: 0.95; }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-link {
  font-size: 14px; font-weight: 600; color: var(--slate-600);
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--navy); background: rgba(255,255,255,0.07); }
.nav-link.nav-link-active { color: var(--navy); background: var(--card); box-shadow: var(--sh-sm); }

/* ============ HERO ============ */
.hero { padding: 200px 0 100px; position: relative; overflow: hidden; color: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 700px at 75% 50%, rgba(232,20,31,0.06), transparent 65%);
  pointer-events: none; z-index: 1;
}
.hero-diagonal {
  position: absolute; top: -60px; right: -100px; width: 560px; height: 400px;
  background: var(--maroon); opacity: 0.45;
  clip-path: polygon(28% 0, 100% 0, 62% 100%, 0% 100%);
  pointer-events: none; z-index: 0;
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.hero-img-col { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-img { position: relative; z-index: 0; width: 120%; max-width: none; max-height: 680px; object-fit: contain; object-position: bottom center; display: block; }
.hero-img-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
@media (max-width: 880px) { .hero-img-col { display: none; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate-400);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 14px; border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,20,31,0.2); }

.hero-title { font-family: 'Orbitron', 'Plus Jakarta Sans', sans-serif; font-size: clamp(48px, 7.6vw, 92px); font-weight: 900; color: var(--paper); letter-spacing: 0; line-height: 1; }
.hero-title-sub { display: block; margin-top: 4px; }
.hero-title .x { font-style: normal; font-weight: 700; color: var(--slate-400); }
.hero-title .stake { color: var(--accent); }
.hero-lede { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--slate-400); max-width: 520px; }

.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero-chips { margin-top: 28px; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-chip-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-500); }
.hero-chip-val { font-size: 18px; font-weight: 800; color: var(--paper); margin-top: 3px; }

.hero-code { margin-top: 28px; max-width: 260px; }
.hero-code .code-unit-val { flex: none; }
.hero-panel { margin-top: 32px; max-width: 440px; display: flex; flex-direction: column; gap: 16px; }

.code-unit {
  width: 100%;
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-sm); overflow: hidden;
  text-align: left; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.code-unit:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.code-unit:active { transform: translateY(0); }
.code-unit-val {
  flex: 1; padding: 15px 20px;
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 24px; letter-spacing: 0.06em;
  display: flex; align-items: center;
}
.code-unit-action {
  display: flex; align-items: center; gap: 8px; padding: 0 18px;
  font-weight: 700; font-size: 13px;
  border-left: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.045); color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.code-unit-action svg { width: 15px; height: 15px; flex: none; }
.code-unit.copied .code-unit-action { background: var(--accent); color: #ffffff; border-left-color: transparent; }

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============ SECTION HEAD ============ */
.sec { padding: 64px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); }
.sec-head h2 .accent { font-style: italic; font-weight: 500; color: var(--accent); }
.sec-sub { color: var(--slate-600); font-size: 15px; max-width: 410px; text-align: right; }
@media (max-width: 680px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; } .sec-sub { text-align: left; } }

/* ============ LEADERBOARD ============ */
.race-2col { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 16px; }

.race-prize {
  background: transparent; border: none; border-radius: 0;
  padding: 0; position: relative; overflow: visible;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 18px;
  box-shadow: none;
}
.race-prize > * { position: relative; z-index: 1; }
.rp-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.02; margin: 0; }
.rp-title .accent { font-style: italic; font-weight: 500; color: var(--accent); }

.race-clock {
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--sh-md);
  display: flex; flex-direction: column; gap: 14px;
}
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rc-label { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-500); }
.rc-date { font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; color: var(--slate-300); letter-spacing: 0.01em; }
.rc-clock { display: flex; align-items: center; gap: 8px; }
.rc-cell {
  flex: 1; text-align: center; position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 4px; overflow: hidden;
}
.rc-cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.4); }
.rc-cell b { display: block; position: relative; z-index: 1; font-family: 'Space Mono', monospace; font-size: clamp(20px,3vw,28px); font-weight: 700; line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.rc-cell span { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-500); margin-top: 9px; }
.rc-colon { font-size: 22px; font-weight: 700; color: var(--slate-600); }
@media (max-width: 420px){ .rc-cell { padding: 12px 3px; } .rc-colon { font-size: 16px; } }

.rc-bar { height: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,0.07); overflow: hidden; }
.rc-fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), #ff5a63); width: 0; box-shadow: 0 0 12px rgba(232,20,31,0.45); transition: width 1.4s cubic-bezier(0.22,1,0.36,1); }
.rc-prog-meta { display: flex; justify-content: space-between; margin-top: 11px; font-size: 12px; font-weight: 600; color: var(--slate-500); }
.rc-prog-meta b { color: var(--paper); font-weight: 800; }

/* ── Archive toggle ── */
.lb-toggle-wrap {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--sh-sm); margin: 8px 0 20px;
}
.lb-toggle-btn {
  font-size: 13px; font-weight: 700; color: var(--slate-500);
  padding: 8px 18px; border-radius: var(--r-pill);
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}
.lb-toggle-btn.lb-active { color: var(--ink); background: var(--paper); box-shadow: var(--sh-sm); }

/* ── Empty state ── */
.empty-board {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 64px 32px; text-align: center; box-shadow: var(--sh-md); margin-bottom: 16px;
}
.empty-board h3 { font-size: 22px; color: var(--slate-400); }
.empty-board p { margin-top: 8px; font-size: 14px; color: var(--slate-500); }

/* podium */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; align-items: end; }
@media (max-width: 760px){ .podium { grid-template-columns: 1fr; } }

.pod {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--sh-md); position: relative; overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
.pod:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.pod-rankbadge {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  background: var(--bg); color: var(--slate-600); border: 1px solid var(--line);
}
.pod-head { display: flex; align-items: center; gap: 15px; padding-right: 44px; }
.pod-head-text { min-width: 0; }
.pod-avatar {
  width: 64px; height: 64px; border-radius: 6px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 26px;
  background: var(--bg); color: var(--navy); border: 1px solid var(--line);
}
.pod-place { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 4px; }
.pod-name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.pod-divider { height: 1px; background: var(--line); margin: 20px 0; }
.pod-stats { display: flex; justify-content: space-between; align-items: flex-end; }
.pod-wager-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
.pod-wager { font-size: 22px; font-weight: 800; margin-top: 4px; }
.pod-prize {
  text-align: right;
  background: var(--bg); border-radius: var(--r-sm); padding: 10px 14px;
}
.pod-prize .p-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-500); }
.pod-prize .p-val { font-size: 20px; font-weight: 800; color: var(--accent); }

.pod.win { background: var(--card-2); border-color: var(--maroon); box-shadow: 0 0 0 1px rgba(232,20,31,0.18), var(--sh-lg); color: var(--paper); transform: translateY(-12px); }
.pod.win:hover { transform: translateY(-16px); }
@media (max-width: 760px){ .pod.win, .pod.win:hover { transform: none; } }
.pod.win .pod-avatar { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.pod.win .pod-name { color: var(--paper); }
.pod.win .pod-wager { color: var(--paper); }
.pod.win .pod-place { color: var(--slate-400); }
.pod.win .pod-wager-lbl { color: var(--slate-400); }
.pod.win .pod-divider { background: rgba(255,255,255,0.14); }
.pod.win .pod-rankbadge { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pod.win .pod-prize { background: rgba(255,255,255,0.06); }
.pod.win .pod-prize .p-lbl { color: var(--slate-400); }
.pod.win .pod-prize .p-val { color: var(--accent); }
.pod.win .crown { position: absolute; top: 18px; left: 24px; color: #f4c64c; }

/* runners table */
.runners {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); overflow: hidden;
}
.runners-head {
  display: grid; grid-template-columns: 70px 1fr 180px 160px;
  gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line);
  background: var(--card-2);
}
.runners-head span { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-500); }
.runners-head span:nth-child(3), .runners-head span:nth-child(4) { text-align: right; }

.runner {
  display: grid; grid-template-columns: 70px 1fr 180px 160px;
  gap: 16px; padding: 16px 28px; align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.runner:last-child { border-bottom: 0; }
.runner:hover { background: var(--card-2); }
.runner-rank { font-weight: 800; font-size: 16px; color: var(--slate-500); font-variant-numeric: tabular-nums; }
.runner-player { display: flex; align-items: center; gap: 14px; }
.runner-avatar {
  width: 40px; height: 40px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  background: var(--bg); color: var(--navy); border: 1px solid var(--line);
}
.runner-name { font-weight: 700; font-size: 15px; }
.runner-wager { text-align: right; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.runner-wager .cur { color: var(--slate-400); font-weight: 600; }
.runner-prize { text-align: right; }
.runner-prize .v { font-weight: 800; font-size: 16px; color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 680px){
  .runners-head { grid-template-columns: 44px 1fr 110px; }
  .runner { grid-template-columns: 44px 1fr 110px; }
  .runners-head span:nth-child(4), .runner-prize { display: none; }
}

.lb-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--slate-500); }
.lb-foot .sync { display: inline-flex; align-items: center; gap: 7px; }
.lb-foot .sync .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(232,20,31,0.16); animation: blink 2s infinite; }
.lb-foot .sync .d.syncing { animation: blink 0.7s infinite; }

/* ============ DISTRIBUTION ============ */
.dist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 760px){ .dist-grid { grid-template-columns: 1fr; } }
.dist-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--sh-sm); }
.dist-title { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.dist-desc { font-size: 13px; color: var(--slate-500); font-weight: 500; margin-bottom: 20px; }
.dist-row { display: grid; grid-template-columns: 72px 1fr 88px; gap: 14px; align-items: center; margin-bottom: 12px; }
.dist-row:last-child { margin-bottom: 0; }
.dist-rk { font-size: 13px; font-weight: 700; color: var(--slate-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dist-track { height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.dist-fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), #ff5a63); width: 0; box-shadow: 0 0 10px rgba(232,20,31,0.4); transition: width 1.2s cubic-bezier(0.22,1,0.36,1); }
.dist-fill.muted { background: var(--slate-400); box-shadow: none; }
.dist-val { text-align: right; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }

/* ============ STREAM ============ */
.stream-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
@media (max-width: 880px){ .stream-grid { grid-template-columns: 1fr; } }
.stream-player {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--sh-md); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.stream-status { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; z-index: 3; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-400); pointer-events: none; }
.stream-status .off { display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,0.6); padding: 5px 10px; border-radius: var(--r-pill); }
.stream-status .off .d { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-500); }
.stream-status .off .d.is-live { background: var(--accent); box-shadow: 0 0 0 3px rgba(232,20,31,0.2); animation: blink 2s infinite; }
.stream-status > span:last-child { background: rgba(0,0,0,0.6); padding: 5px 10px; border-radius: var(--r-pill); }
.stream-off { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; color: var(--paper); background: var(--ink); }
.stream-off-icon { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); display: inline-flex; align-items: center; justify-content: center; }
.stream-off-icon svg { fill: var(--paper); }
.stream-off h3 { color: var(--paper); font-size: 20px; }
.stream-off p { color: var(--slate-400); font-size: 13px; margin: 6px 0 18px; }

.gifters { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); display: flex; flex-direction: column; overflow: hidden; }
.gifters-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gifters-head .t { font-weight: 800; font-size: 14px; }
.gifters-nav { width: 26px; height: 26px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--slate-500); border: 1px solid var(--line); transition: color 0.15s, background 0.15s; flex: none; }
.gifters-nav svg { width: 14px; height: 14px; display: block; }
.gifters-nav:hover { color: var(--navy); background: var(--card-2); }
.gifters-list { padding: 6px; flex: 1; }
.gifters-loading, .gifters-empty { padding: 32px 12px; text-align: center; font-size: 12px; color: var(--slate-500); }
.gifter { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 6px 12px; border-radius: var(--r-sm); transition: background 0.15s; }
.gifter:hover { background: var(--card-2); }
.gifter-rk { font-weight: 800; font-size: 12px; color: var(--slate-500); text-align: center; }
.gifter-rk.top { color: var(--accent); }
.gifter-nm { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gifter-q { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; color: var(--slate-600); }
.gifters-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--slate-500); gap: 12px; }
.gifters-foot .sync { display: inline-flex; align-items: center; gap: 7px; }
.gifters-foot .sync .d { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-400); }
.gifters-foot .sync .d.is-live { background: var(--accent); box-shadow: 0 0 0 3px rgba(232,20,31,0.2); animation: blink 2s infinite; }
.gifters-foot a:hover { color: var(--navy); }

/* ============ BENEFITS ============ */
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px){ .ben-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .ben-grid { grid-template-columns: 1fr; } }
.ben {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-sm); transition: transform 0.18s, box-shadow 0.18s;
}
.ben:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.ben.feature { grid-column: span 1; background: var(--ink); border-color: var(--maroon); color: var(--paper); }
@media (max-width: 880px){ .ben.feature { grid-column: span 2; } }
@media (max-width: 560px){ .ben.feature { grid-column: span 1; } }
.ben-ico { width: 46px; height: 46px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ben-ico svg { stroke: var(--navy); fill: none; stroke-width: 1.8; }
.ben.feature .ben-ico { background: rgba(232,20,31,0.14); border-color: rgba(232,20,31,0.3); }
.ben.feature .ben-ico svg { stroke: var(--accent); }
.ben-big { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; color: var(--accent); }
.ben h3 { font-size: 18px; margin-bottom: 8px; }
.ben.feature h3 { color: var(--paper); }
.ben p { font-size: 14px; line-height: 1.55; color: var(--slate-600); }
.ben.feature p { color: var(--slate-400); }
.ben .chip { display: inline-block; font-family: 'Space Mono', monospace; font-weight: 700; font-size: 13px; background: var(--bg); border: 1px solid var(--line); padding: 1px 8px; border-radius: 4px; color: var(--accent); }
.ben.feature .chip { background: rgba(232,20,31,0.16); border-color: rgba(232,20,31,0.3); color: var(--paper); }

/* ============ HOW TO ============ */
.howto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px){ .howto-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .howto-grid { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); position: relative; transition: transform 0.18s, box-shadow 0.18s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.step-n { width: 40px; height: 40px; border-radius: 4px; background: var(--primary); color: var(--primary-ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin-bottom: 20px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--slate-600); }
.step p .chip { font-family: 'Space Mono', monospace; font-weight: 700; background: var(--bg); border: 1px solid var(--line); padding: 1px 7px; border-radius: 4px; color: var(--accent); }

/* ============ CTA ============ */
.cta-card { background: var(--ink); border: 1px solid var(--maroon); border-radius: var(--r-lg); padding: 56px; box-shadow: var(--sh-lg); color: var(--paper); position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(232,20,31,0.22), transparent 62%); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px){ .cta-inner { grid-template-columns: 1fr; } .cta-card { padding: 36px 28px; } }
.cta-card h2 { color: var(--paper); font-size: clamp(30px, 4.4vw, 50px); }
.cta-card h2 .accent { font-style: italic; font-weight: 500; color: var(--accent); }
.cta-card p { color: var(--slate-400); font-size: 15px; line-height: 1.6; margin-top: 14px; max-width: 460px; }
.cta-card p b { color: var(--paper); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { padding: 16px 24px; }

/* ============ FOOTER ============ */
footer { padding: 48px 0 56px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-meta { font-size: 12px; font-weight: 600; color: var(--slate-500); }
.foot-meta b { color: var(--navy); }
.foot-legal { margin-top: 20px; font-size: 12px; line-height: 1.6; color: var(--slate-500); max-width: none; text-align: center; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; font-size: 13px;
  box-shadow: var(--sh-lg);
  opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 100;
  display: inline-flex; align-items: center; gap: 9px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .c { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: none; }

@media (max-width: 880px){ .nav-links { display: none; } }
@media (prefers-reduced-motion: reduce){ *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; } html { scroll-behavior: auto; } }

/* ============ SOCIALS ============ */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .social-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .social-grid { grid-template-columns: 1fr; } }

.social-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.soc-icon {
  width: 52px; height: 52px; border-radius: 6px;
  background: var(--bg); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--soc-color, var(--navy)); flex: none;
}
.soc-name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.soc-desc { font-size: 14px; line-height: 1.55; color: var(--slate-600); flex: 1; }
.soc-btn { align-self: flex-start; font-size: 13px; padding: 10px 18px; margin-top: auto; }
