/* ─────────────────────────────────────────────────────────────────
   Ranking + hero styles
   Shared by: index.html and all vertical ranking pages
   (crypto.html, uk.html, no-kyc.html, pay-n-play.html).
   Loaded AFTER styles.css.
   ───────────────────────────────────────────────────────────────── */

.hero { padding: 72px 0 36px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 56px; align-items: end; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 26px;
  font-family: "JetBrains Mono", monospace; font-weight: 500;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); position: relative; box-shadow: 0 0 8px var(--accent); }
.eyebrow .dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--accent); opacity: 0.4; animation: pulse 1.6s ease-out infinite; }

h1.headline {
  font-family: "Geist", sans-serif; font-weight: 800;
  font-size: clamp(48px, 6.6vw, 86px); line-height: 0.95; letter-spacing: -0.035em;
  margin: 0 0 22px; color: var(--ink); text-wrap: balance;
}
h1.headline em {
  font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400;
  color: var(--accent); letter-spacing: -0.01em;
  text-shadow: 0 0 32px color-mix(in oklch, var(--accent), transparent 55%);
}
.lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 520px; text-wrap: pretty; }
.lede b { color: var(--ink); }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; align-items: center; flex-wrap: wrap; }

.hero-stats {
  margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden;
}
.hero-stats .stat { padding: 16px 18px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat b { font-family: "JetBrains Mono", monospace; font-size: 26px; font-weight: 600; color: var(--ink); display: block; letter-spacing: -0.02em; }
.hero-stats .stat b .unit { color: var(--accent); font-size: 16px; margin-left: 2px; }
.hero-stats .stat span { font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

/* Leader card */
.leader-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.leader-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); box-shadow: var(--accent-glow); }
.leader-head { display: flex; justify-content: space-between; align-items: center; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.leader-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.leader-head .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 1.4s ease-in-out infinite; }
.leader-row { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.leader-row .num { font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 26px; color: var(--accent); line-height: 1; text-shadow: 0 0 14px color-mix(in oklch, var(--accent), transparent 50%); }
.leader-row .lc-logo { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-family: "Instrument Serif", serif; font-size: 22px; line-height: 1; color: var(--ink); border: 1px solid var(--line); background: linear-gradient(135deg, oklch(0.45 0.16 25), oklch(0.28 0.12 25)); }
.leader-row .lc-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.leader-row .lc-name b { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.leader-row .lc-name span { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.leader-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.leader-stat .label { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.leader-stat b { font-family: "JetBrains Mono", monospace; font-size: 38px; font-weight: 700; color: var(--accent); line-height: 1; letter-spacing: -0.03em; text-shadow: 0 0 18px color-mix(in oklch, var(--accent), transparent 55%); }
.leader-stat b .unit { font-size: 18px; color: var(--ink-2); margin-left: 2px; text-shadow: none; }
.leader-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.leader-mini .m { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.leader-mini .m b { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--ink); display: block; line-height: 1.1; }
.leader-mini .m span { font-size: 9px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; display: block; margin-top: 5px; }
.leader-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; padding: 11px 14px; font: 700 12px/1 "Geist", sans-serif; cursor: pointer; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: var(--accent-glow); margin-top: 2px; }
.leader-cta:hover { transform: translateY(-1px); }

/* TICKER */
.ticker { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; position: relative; height: 44px; display: flex; align-items: center; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 200px; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-label { position: absolute; left: 0; top: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 0 18px; background: var(--accent); color: var(--accent-ink); font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; box-shadow: var(--accent-glow); }
.ticker-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-ink); animation: blink 1.2s ease-in-out infinite; }
.ticker-track { display: flex; gap: 0; padding-left: 220px; animation: scroll 60s linear infinite; white-space: nowrap; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.ticker-track .tk-item { display: inline-flex; align-items: center; gap: 10px; padding-right: 40px; }
.ticker-track .tk-item .amt { color: var(--ink); font-weight: 600; }
.ticker-track .tk-item .t { color: var(--accent); font-weight: 700; }
.ticker-track .tk-item .sep { color: var(--line); padding: 0 0 0 4px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* RANKING */
.ranking { padding: 56px 0 32px; position: relative; }
.ranking-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.ranking-head .title { display: flex; flex-direction: column; gap: 8px; }
.ranking-head h2 { font-family: "Geist", sans-serif; font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1; margin: 0; letter-spacing: -0.03em; }
.ranking-head h2 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.005em; }
.ranking-head .sub { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.ranking-head .sub .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 8px; padding: 8px 12px; font: 600 12px/1 "Geist", sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 160ms ease; letter-spacing: 0.02em; text-transform: uppercase; }
.chip:hover { color: var(--ink); border-color: color-mix(in oklch, var(--accent) 40%, var(--line)); }
.chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: var(--accent-glow); }
.chip .count { font-family: "JetBrains Mono", monospace; font-size: 10px; padding: 2px 5px; border-radius: 4px; background: color-mix(in oklch, currentColor 18%, transparent); font-weight: 600; }

.table { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.7); }
.table-header { display: grid; grid-template-columns: 70px 1.5fr 1.4fr 1.3fr 1fr 150px; align-items: center; padding: 12px 22px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table-header .sortable { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.table-header .sortable:hover { color: var(--ink-2); }
.table-header .sortable.active { color: var(--accent); }

.rows { position: relative; }
.rows .row { display: grid; grid-template-columns: 70px 1.5fr 1.4fr 1.3fr 1fr 150px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line-2); will-change: transform; background: var(--surface); position: relative; }
.rows .row:last-child { border-bottom: none; }
.rows .row:hover { background: var(--surface-2); }
.rows .row.top1 { background: linear-gradient(90deg, color-mix(in oklch, var(--accent) 10%, var(--surface)), var(--surface) 65%); }
.rows .row.top1::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); box-shadow: var(--accent-glow); }
.rows .row.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { background: color-mix(in oklch, var(--accent) 22%, var(--surface)); } 100% { background: var(--surface); } }
.rows .row.top1.flash { animation: flash-top 1.2s ease-out; }
@keyframes flash-top { 0% { background: color-mix(in oklch, var(--accent) 28%, var(--surface)); } 100% { background: linear-gradient(90deg, color-mix(in oklch, var(--accent) 10%, var(--surface)), var(--surface) 65%); } }

.rk { display: flex; align-items: center; gap: 10px; }
.rk .num { font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 22px; color: var(--ink-2); width: 30px; line-height: 1; }
.rows .row.top1 .rk .num { color: var(--accent); text-shadow: 0 0 14px color-mix(in oklch, var(--accent), transparent 50%); }
.rk .delta { font-family: "JetBrains Mono", monospace; font-size: 10px; font-weight: 700; width: 18px; text-align: center; color: var(--muted); }
.rk .delta.up { color: var(--accent); }
.rk .delta.down { color: var(--warn); }

.casino { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo { width: 42px; height: 42px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: "Instrument Serif", serif; font-size: 22px; line-height: 1; color: var(--ink); border: 1px solid var(--line); }
.casino .name { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.casino .name b { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.casino .name .meta { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.casino .name .meta .geo { color: var(--ink-2); }
.casino .name .meta .dotsep { opacity: 0.5; }

.payout-time { display: flex; flex-direction: column; gap: 6px; }
.payout-time .big { display: flex; align-items: baseline; gap: 6px; }
.payout-time b { font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 24px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.rows .row.top1 .payout-time b { color: var(--accent); text-shadow: 0 0 14px color-mix(in oklch, var(--accent), transparent 60%); }
.payout-time .pace { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.payout-time .pace.fast { color: var(--accent); }
.payout-time .bar { position: relative; height: 3px; width: 130px; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.payout-time .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 999px; box-shadow: 0 0 8px color-mix(in oklch, var(--accent), transparent 50%); }

.method { display: flex; flex-direction: column; gap: 4px; }
.method .tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; border: 1px solid color-mix(in oklch, var(--accent) 30%, var(--line)); background: color-mix(in oklch, var(--accent), transparent 88%); color: var(--accent); border-radius: 5px; padding: 4px 8px; font-size: 11px; font-weight: 600; font-family: "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: 0.06em; }
.method small { font-size: 11px; color: var(--muted); font-family: "JetBrains Mono", monospace; }

.verified { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-family: "JetBrains Mono", monospace; }
.verified .live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 8px var(--accent); animation: blink 1.4s ease-in-out infinite; }
.verified b { color: var(--ink-2); font-weight: 500; }

.row-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 8px; padding: 0 14px; background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 12px; text-decoration: none; transition: all 200ms ease; border: 1px solid var(--line); letter-spacing: 0.02em; text-transform: uppercase; font-family: "Geist", sans-serif; }
.row-cta:hover { border-color: var(--accent); color: var(--accent); }
.rows .row.top1 .row-cta { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: var(--accent-glow); }
.rows .row.top1 .row-cta:hover { transform: translateY(-1px); }
.row-cta-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.row-cta-wrap small { font-family: "JetBrains Mono", monospace; font-size: 9px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

.ranking-foot { padding: 14px 22px; font-size: 11px; color: var(--muted); font-family: "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--bg-2); border-top: 1px solid var(--line); }

.method-strip { padding: 64px 0 32px; position: relative; }
.method-strip h3 { font-family: "Geist", sans-serif; font-weight: 800; font-size: clamp(28px, 3vw, 38px); margin: 0 0 8px; letter-spacing: -0.025em; }
.method-strip h3 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--accent); }
.method-strip .sub { color: var(--muted); margin-bottom: 28px; font-size: 14px; max-width: 560px; line-height: 1.55; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.step { padding: 22px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: none; }
.step .n { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--accent); letter-spacing: 0.18em; font-weight: 700; margin-bottom: 14px; }
.step h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.logo.c1  { background: linear-gradient(135deg, oklch(0.45 0.16 25),  oklch(0.28 0.12 25));  }
.logo.c2  { background: linear-gradient(135deg, oklch(0.35 0.16 260), oklch(0.22 0.12 260)); }
.logo.c3  { background: linear-gradient(135deg, oklch(0.45 0.14 150), oklch(0.28 0.1 150));  }
.logo.c4  { background: linear-gradient(135deg, oklch(0.4 0.16 320),  oklch(0.25 0.12 320)); }
.logo.c5  { background: linear-gradient(135deg, oklch(0.5 0.14 70),   oklch(0.32 0.1 70));   }
.logo.c6  { background: linear-gradient(135deg, oklch(0.4 0.14 200),  oklch(0.25 0.1 200));  }
.logo.c7  { background: linear-gradient(135deg, oklch(0.45 0.16 350), oklch(0.28 0.12 350)); }
.logo.c8  { background: linear-gradient(135deg, oklch(0.4 0.12 40),   oklch(0.25 0.08 40));  }
.logo.c9  { background: linear-gradient(135deg, oklch(0.45 0.14 180), oklch(0.28 0.1 180));  }
.logo.c10 { background: linear-gradient(135deg, oklch(0.4 0.14 290),  oklch(0.25 0.1 290));  }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .leader-card { max-width: 420px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:nth-child(2) { border-right: none; }
  .hero-stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .table-header, .rows .row { grid-template-columns: 60px 1.6fr 1.2fr 1fr 130px; }
  .table-header .col-verified, .rows .row .verified { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .table-header, .rows .row { grid-template-columns: 50px 1.4fr 1fr 110px; padding: 14px; }
  .table-header .col-method, .rows .row .method { display: none; }
}

/* ── Casino logo colours ─────────────────────────────────────── */
.logo.leovegas    { background: linear-gradient(135deg, oklch(0.48 0.18 25),  oklch(0.30 0.14 25));  }
.logo.casumo      { background: linear-gradient(135deg, oklch(0.45 0.18 155), oklch(0.28 0.14 155)); }
.logo.mrq         { background: linear-gradient(135deg, oklch(0.42 0.16 260), oklch(0.26 0.12 260)); }
.logo.bet365      { background: linear-gradient(135deg, oklch(0.38 0.16 145), oklch(0.24 0.12 145)); }
.logo.paddypower  { background: linear-gradient(135deg, oklch(0.42 0.18 145), oklch(0.26 0.14 145)); }
.logo.betsson     { background: linear-gradient(135deg, oklch(0.42 0.16 220), oklch(0.26 0.12 220)); }
.logo.mrgreen     { background: linear-gradient(135deg, oklch(0.40 0.18 155), oklch(0.25 0.14 155)); }
.logo.williamhill { background: linear-gradient(135deg, oklch(0.38 0.14 240), oklch(0.24 0.10 240)); }
.logo.unibet      { background: linear-gradient(135deg, oklch(0.40 0.16 240), oklch(0.25 0.12 240)); }

/* ── TESTING QUEUE ────────────────────────────────────────────── */
.testing-queue {
  border-top: 1px dashed var(--line);
  padding: 22px 22px 18px;
  background: var(--bg-2);
}
.tq-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.tq-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tq-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--muted);
  letter-spacing: 0.1em; opacity: 0.6;
}
.tq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.tq-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 9px; padding: 10px 14px;
  transition: border-color 180ms ease;
}
.tq-card:hover { border-color: color-mix(in oklch, var(--accent) 30%, var(--line)); }
.tq-initial {
  width: 32px; height: 32px; border-radius: 7px; flex: none;
  display: grid; place-items: center;
  font-family: "Instrument Serif", serif; font-size: 18px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line);
}
.tq-info {
  display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0;
}
.tq-info b {
  font-size: 13px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tq-info span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.tq-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  flex: none;
}
.tq-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex: none;
  box-shadow: 0 0 6px var(--gold);
  animation: blink 2s ease-in-out infinite;
}

@media (max-width: 640px) {
  .tq-grid { grid-template-columns: 1fr 1fr; }
  .tq-card { padding: 8px 10px; gap: 8px; }
}

.logo.coral      { background: linear-gradient(135deg, oklch(0.40 0.18 20),  oklch(0.25 0.14 20));  }
.logo.ladbrokes  { background: linear-gradient(135deg, oklch(0.38 0.16 15),  oklch(0.24 0.12 15));  }
.logo.unibet     { background: linear-gradient(135deg, oklch(0.40 0.16 240), oklch(0.25 0.12 240)); }
.logo.betfred    { background: linear-gradient(135deg, oklch(0.38 0.18 30),  oklch(0.24 0.14 30));  }
.logo.grosvenor  { background: linear-gradient(135deg, oklch(0.35 0.12 145), oklch(0.22 0.08 145)); }
