/* World Cup 2026 LIVE — public page (wc-live-web-page-w5, FU-263).
   Design tokens come from tokens.css; brand stays #6366f1 + Inter.
   Animation is transform/opacity only. */

.wc-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 104px var(--space-6) var(--space-20);
}

/* === Hero — asymmetric split, left-aligned headline === */

.wc-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-8);
    align-items: end;
    padding: var(--space-10) 0 var(--space-8);
}

.wc-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: var(--space-2);
}

.wc-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.02;
    color: var(--text-primary);
}

.wc-sub {
    margin-top: var(--space-3);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 52ch;
}

.wc-live-strip {
    margin-top: var(--space-5);
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--accent-dim);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    padding: var(--space-2) var(--space-4);
}

.wc-hero-side {
    text-align: right;
    padding-bottom: var(--space-2);
    position: relative;
}

.wc-provenance {
    font-size: 13px;
    color: var(--text-secondary);
}

.wc-provenance-label { font-weight: 600; color: var(--text-primary); }

.wc-provenance-note {
    margin-top: var(--space-1);
    font-size: 12px;
    color: var(--text-muted);
}

.wc-provenance-foot {
    margin-top: var(--space-4);
    font-size: 12px;
    color: var(--text-muted);
}

.wc-unconfirmed {
    color: var(--state-warning);
    font-weight: 600;
}

.wc-banner-stale {
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-4);
    font-size: 14px;
    font-weight: 500;
    color: var(--state-warning);
    background: var(--state-warning-bg);
    border: 1px solid var(--state-warning);
    border-radius: var(--radius-sm);
}

/* === Sections === */

.wc-section { padding: var(--space-12) 0 0; }

.wc-section-head h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.wc-section-sub {
    margin-top: var(--space-1);
    font-size: 13px;
    color: var(--text-muted);
}

/* === Live now — elevation earned by being the live thing on the page === */

.wc-live-grid {
    margin-top: var(--space-5);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4);
}

.wc-match-card {
    background: var(--surface-1);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: var(--space-5);
}

.wc-match-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
}

.wc-team { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.wc-team-away { text-align: right; }

.wc-score {
    font-family: 'JetBrains Mono Variable', ui-monospace, monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.wc-match-state {
    margin-top: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 13px;
    color: var(--text-secondary);
}

.wc-minute { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; color: var(--text-primary); }

.wc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--state-error);
    animation: wc-pulse 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes wc-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.72); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
    .wc-live-dot { animation: none; }
}

.wc-events {
    margin-top: var(--space-4);
    list-style: none;
    border-top: 1px solid var(--border-subtle);
}

.wc-events li {
    padding: var(--space-2) 0;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.wc-event-min {
    font-family: 'JetBrains Mono Variable', ui-monospace, monospace;
    font-size: 12px;
    color: var(--text-muted);
    margin-right: var(--space-1);
}

.wc-event-assist { color: var(--text-muted); }

.wc-empty-inline { margin-top: var(--space-3); font-size: 13px; color: var(--text-muted); }

/* === Edit now — ranked list, divide lines, no card spam === */

.wc-recs { margin-top: var(--space-4); list-style: none; }

.wc-rec {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.wc-rec-rank { font-size: 18px; line-height: 1.4; flex: 0 0 auto; }

.wc-rec-subject { font-size: 15px; color: var(--text-primary); }
.wc-rec-team { color: var(--text-secondary); font-size: 13px; }

.wc-rec-why { margin-top: var(--space-1); font-size: 14px; line-height: 1.55; color: var(--text-secondary); max-width: 70ch; }

.wc-rec-hint { margin-top: var(--space-1); font-size: 12px; color: var(--text-muted); }

.wc-chip {
    display: inline-block;
    margin-left: var(--space-2);
    padding: 1px var(--space-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--radius-xs);
    vertical-align: middle;
}

.wc-chip-high { color: var(--state-success); background: var(--state-success-bg); }
.wc-chip-med  { color: var(--state-warning); background: var(--state-warning-bg); }
.wc-chip-low  { color: var(--text-secondary); background: var(--surface-2); }

/* === Schedule — dense rows, 1px separations === */

.wc-schedule { margin-top: var(--space-4); list-style: none; }

.wc-fixture {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.wc-fixture-teams { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; }

.wc-vs { font-size: 12px; color: var(--text-muted); }

.wc-tag-live { font-size: 12px; font-weight: 700; color: var(--state-error); margin-left: var(--space-2); }
.wc-tag-done { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-left: var(--space-2); }

.wc-fixture-meta {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    font-size: 13px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.wc-when { font-family: 'JetBrains Mono Variable', ui-monospace, monospace; color: var(--text-primary); }
.wc-rel { color: var(--accent-bright); }
.wc-stage { color: var(--text-muted); }
.wc-venue { color: var(--text-muted); }

/* === Golden Boot — asymmetric 2:1 columns === */

.wc-boot-grid {
    margin-top: var(--space-5);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-10);
}

.wc-boot-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: var(--space-6);
}

.wc-boot-col h3:first-child { margin-top: 0; }

.wc-boot-list { margin-top: var(--space-3); list-style: none; }

.wc-boot-list li {
    padding: var(--space-3) 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.wc-boot-list strong { color: var(--text-primary); }

.wc-empty { color: var(--text-muted); font-size: 14px; padding: var(--space-4) 0; }

/* === CTA — quiet band; the button carries the accent === */

.wc-cta {
    margin-top: var(--space-16);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    padding: var(--space-8);
    background: var(--surface-1);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.wc-cta-body h2 { font-size: 22px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }

.wc-cta-body p { margin-top: var(--space-2); font-size: 14px; color: var(--text-secondary); max-width: 56ch; }

.wc-cta-btn { flex: 0 0 auto; }

.wc-cta-btn:active { transform: translateY(1px); }

/* === Responsive collapse === */

@media (max-width: 768px) {
    .wc-page { padding: 92px var(--space-4) var(--space-12); }
    .wc-hero { grid-template-columns: 1fr; gap: var(--space-5); }
    .wc-hero-side { text-align: left; }
    .wc-boot-grid { grid-template-columns: 1fr; gap: var(--space-6); }
    .wc-fixture { flex-direction: column; gap: var(--space-2); }
    .wc-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .wc-title { font-size: 32px; }
    .wc-score { font-size: 22px; }
    .wc-live-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Spectacle layer (wc-live-page-spectacle-v1)
   One loud element — the kickoff countdown stage. Everything
   else whispers: floodlight wash, dim watermark, slow ribbon,
   3px heat bars, ghost podium. Animation transform/opacity only.
   ============================================================ */

/* --- floodlight wash behind the hero (subtle, pointer-inert) --- */

.wc-hero::before {
    content: '';
    position: absolute;
    inset: -140px -240px auto -240px;
    height: 540px;
    pointer-events: none;
    background:
        radial-gradient(640px 360px at 72% 0%, var(--accent-glow), transparent 70%),
        radial-gradient(520px 300px at 8% 12%, var(--accent-dim), transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.wc-hero-main, .wc-hero-side { position: relative; z-index: 1; }

.wc-watermark {
    position: absolute;
    top: -30px;
    right: -10px;
    font-size: clamp(120px, 20vw, 240px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* --- the hero stage: countdown / live scoreboard / connecting --- */

.wc-stage {
    display: inline-block;
    text-align: center;
    background: var(--surface-1);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-8);
    margin-bottom: var(--space-4);
    min-width: 300px;
}

.wc-stage-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.wc-stage-teams {
    margin-top: var(--space-3);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.wc-stage-vs { font-size: 11px; color: var(--text-muted); margin: 0 var(--space-1); }

.wc-cd {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.wc-cd-cell { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }

.wc-cd-cell b {
    font-family: 'JetBrains Mono Variable', ui-monospace, monospace;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.wc-cd-cell i {
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.wc-cd-sep {
    font-family: 'JetBrains Mono Variable', ui-monospace, monospace;
    font-size: 34px;
    line-height: 1.2;
    color: var(--text-disabled);
}

.wc-stage-sub { margin-top: var(--space-3); font-size: 12px; color: var(--text-secondary); }

.wc-stage-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-3);
}

.wc-stage-score {
    font-family: 'JetBrains Mono Variable', ui-monospace, monospace;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.wc-stage-team { font-size: 14px; font-weight: 600; color: var(--text-primary); max-width: 12ch; }

/* --- 48-nation ribbon (decorative marquee; content IS the data) --- */

.wc-ribbon {
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-3) 0;
}

.wc-ribbon-track {
    display: flex;
    width: max-content;
    animation: wc-marquee 90s linear infinite;
}

.wc-ribbon-half { white-space: nowrap; font-size: 20px; letter-spacing: 10px; padding-right: 10px; opacity: 0.9; }

@keyframes wc-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- section system: eyebrows + staggered rise --- */

.wc-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: var(--space-1);
}

.wc-rise {
    animation: wc-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes wc-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Edit Now ranked board: numerals + medals + heat bars --- */

.wc-rec .wc-rec-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 36px;
    flex: 0 0 auto;
}

.wc-rec-num {
    font-family: 'JetBrains Mono Variable', ui-monospace, monospace;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-disabled);
}

.wc-rec-medal { font-size: 15px; line-height: 1; }

.wc-heat {
    display: block;
    height: 3px;
    max-width: 280px;
    margin: var(--space-2) 0;
    background: var(--surface-2);
    border-radius: 2px;
    overflow: hidden;
}

.wc-heat-fill { display: block; height: 100%; background: var(--accent); border-radius: 2px; }

/* --- schedule polish --- */

.wc-when { font-size: 15px; }

.wc-rel {
    background: var(--accent-dim);
    color: var(--accent-bright);
    border-radius: var(--radius-xs);
    padding: 1px var(--space-2);
    font-size: 12px;
}

.wc-fixture { transition: transform 0.18s ease; }

.wc-fixture:hover { transform: translateY(-1px); }

/* --- Golden Boot ghost podium (tier-D ghost convention) --- */

.wc-empty-podium {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
}

.wc-podium { display: flex; align-items: flex-end; gap: var(--space-2); height: 56px; }

.wc-podium i {
    display: block;
    width: 34px;
    background: var(--tier-d-bg);
    border: 1px dashed var(--tier-d-border);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.wc-podium i:nth-child(1) { height: 60%; }
.wc-podium i:nth-child(2) { height: 95%; }
.wc-podium i:nth-child(3) { height: 42%; }

/* --- CTA presence --- */

.wc-cta-body h2 { font-size: 28px; }

/* --- motion + viewport guards --- */

@media (prefers-reduced-motion: reduce) {
    .wc-ribbon-track { animation: none; }
    .wc-rise { animation: none; }
    .wc-fixture { transition: none; }
}

@media (max-width: 768px) {
    .wc-watermark { display: none; }
    .wc-stage { display: block; min-width: 0; }
    .wc-cd-cell b { font-size: 34px; }
    .wc-stage-score { font-size: 34px; }
    .wc-hero::before { inset: -100px -60px auto -60px; height: 380px; }
}

/* --- legal small print (wc-legal-shield-v1) --- */

.wc-disclaimer {
    margin-top: var(--space-8);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 88ch;
}

/* --- live-feed scorer overlay label (boot-freshness v1) --- */

.wc-overlay-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-3) 0 var(--space-2);
}
