/* Jackpots showcase page (/jackpots). Reuses .top-jackpots / .tj-* leaderboard
   classes from past-winners.css; this file adds the page chrome + the #1 gold
   medal + the live/record dual hero, how-it-works, champions, and stats. */

.jp-page { color: #ddd; }
.jp-page .pg-hero-title {
    text-align: center; color: #fff; text-transform: uppercase;
    letter-spacing: .04em; font-size: 30px; margin: 0 0 6px;
}
.jp-page .pg-hero-sub {
    text-align: center; color: #9a9a9a; font-size: 14px;
    margin: 0 auto 26px; max-width: 540px; line-height: 1.55;
}
.jp-page .sec-title {
    text-align: center; color: #f2f2f2; text-transform: uppercase;
    letter-spacing: .06em; font-size: 20px; margin: 42px 0 16px;
}
.jp-page .sec-sub {
    text-align: center; color: #9a9a9a; font-size: 13px;
    max-width: 540px; margin: -8px auto 18px; line-height: 1.5;
}

/* #1 gold medal (leaderboard + champions) */
.tj-row.gold .tj-pos { background: linear-gradient(145deg,#ffe27a,#d6a32a); color: #2a1c00; }
.tj-row.gold { background: rgba(255,209,102,.05); }

/* Dual hero: all-time record + live this-round */
.jp-hero-grid { display: flex; gap: 16px; max-width: 720px; margin: 0 auto; }
.jp-card { flex: 1; min-width: 0; border-radius: 12px; padding: 20px 22px; }
.jp-card .eyebrow {
    font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
    font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 7px;
}
.jp-card .amount { font-size: 38px; font-weight: 800; line-height: 1.02; font-variant-numeric: tabular-nums; }
.jp-card .amount .unit { font-size: 13px; font-weight: 600; margin-left: 6px; }
.jp-card .meta { font-size: 13px; margin-top: 8px; }
.jp-card .meta a { text-decoration: none; font-weight: 600; }
.jp-record {
    background: linear-gradient(135deg,#33060a 0%,#1c0306 60%,#120000 100%);
    border: 1px solid rgba(255,209,102,.45); box-shadow: 0 8px 30px rgba(224,50,47,.16);
}
.jp-record .eyebrow { color: #E0322F; }
.jp-record .amount { color: #ffd166; text-shadow: 0 2px 14px rgba(255,209,102,.25); }
.jp-record .amount .unit { color: #c8a55a; }
.jp-record .meta { color: #bbb; }
.jp-record .meta strong { color: #fff; }
.jp-record .meta a { color: #ffe03a; }
.jp-live {
    background: linear-gradient(135deg,#06291a 0%,#04160e 60%,#0a0a0a 100%);
    border: 1px solid rgba(58,209,122,.4); display: flex; flex-direction: column;
}
.jp-live .eyebrow { color: #3ad17a; }
.jp-live .dot {
    width: 9px; height: 9px; border-radius: 50%; background: #3ad17a;
    box-shadow: 0 0 0 0 rgba(58,209,122,.7); animation: jpPulse 1.8s infinite;
}
@keyframes jpPulse {
    0%   { box-shadow: 0 0 0 0 rgba(58,209,122,.55); }
    70%  { box-shadow: 0 0 0 9px rgba(58,209,122,0); }
    100% { box-shadow: 0 0 0 0 rgba(58,209,122,0); }
}
.jp-live .amount { color: #7af0ad; }
.jp-live .amount .unit { color: #5aa17a; }
.jp-live .meta { color: #9fbfad; }
.jp-live .cta { margin-top: auto; padding-top: 14px; }
.jp-live .cta a {
    display: inline-block; background: #E0322F; color: #fff; text-decoration: none;
    font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 6px; letter-spacing: .02em;
}

/* How it works */
.jp-how { display: flex; gap: 14px; max-width: 720px; margin: 0 auto; }
.jp-how .how {
    flex: 1; background: #121212; border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px; padding: 18px; text-align: center;
}
.jp-how .ic { font-size: 26px; }
.jp-how h3 { color: #ffd166; font-size: 14px; margin: 10px 0 6px; letter-spacing: .02em; }
.jp-how p { color: #aaa; font-size: 12.5px; line-height: 1.5; margin: 0; }

/* Champions */
.champions .ch-name { flex: 0 0 auto; font-size: 14px; color: #fff; font-weight: 600; }
.champions .ch-wins {
    flex: 0 0 auto; font-size: 11px; color: #ffd166; background: rgba(255,209,102,.12);
    border: 1px solid rgba(255,209,102,.3); border-radius: 20px; padding: 2px 9px;
    font-weight: 700; margin-left: 8px;
}
.champions .ch-spacer { flex: 1 1 auto; }
.champions .ch-total {
    flex: 0 0 auto; font-size: 15px; font-weight: 700; color: #ffd166;
    font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right;
}
.champions .ch-total .lbl {
    display: block; font-size: 9.5px; color: #777; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; text-align: right;
}
/* Row enrichment: country flag + Active/Legend status badge */
.champions .ch-flag { margin-right: 7px; font-size: 14px; }
.champions .ch-badge {
    font-size: 9px; padding: 1px 7px; border-radius: 9px; margin-left: 9px;
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    vertical-align: middle; white-space: nowrap;
}
.champions .ch-badge.active { color: #6fe0a0; background: rgba(80,200,130,.13); border: 1px solid rgba(111,224,160,.3); }
.champions .ch-badge.legend { color: #c8a55a; background: rgba(200,165,90,.10); border: 1px solid rgba(200,165,90,.28); }
/* Most Feared: red kill-count pill instead of the gold jackpot pill */
.champions .ch-wins.feared { color: #ff7a6e; background: rgba(224,50,47,.12); border-color: rgba(224,50,47,.35); }

/* By the numbers */
.jp-stats { display: flex; gap: 14px; max-width: 720px; margin: 0 auto; }
.jp-stats .stat {
    flex: 1; background: linear-gradient(135deg,#1a1a1a,#111);
    border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 18px; text-align: center;
}
.jp-stats .num { font-size: 26px; font-weight: 800; color: #ffd166; font-variant-numeric: tabular-nums; }
.jp-stats .lbl { font-size: 11px; color: #9a9a9a; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* CTA */
.jp-cta { text-align: center; margin: 44px auto 0; }
.jp-cta a {
    display: inline-block; background: #E0322F; color: #fff; text-decoration: none;
    font-weight: 700; font-size: 15px; padding: 13px 30px; border-radius: 7px;
}
.jp-cta p { color: #888; font-size: 12.5px; margin-top: 12px; }

@media (max-width: 560px) {
    .jp-hero-grid, .jp-how, .jp-stats { flex-direction: column; }
    .jp-page .pg-hero-title { font-size: 24px; }
    .jp-card .amount { font-size: 32px; }
}
