/* ─────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────── */
:root {
    --bg-page:        #0f1011;
    --bg-card:        #18191c;
    --bg-hover:       #212226;
    --bg-input:       #141517;
    --border:         rgba(255,255,255,0.07);
    --text-primary:   #e4e6eb;
    --text-secondary: #9aa0ab;
    --accent-blue:    #3b82f6;
    --accent-red:     #f43f5e;
    --accent-green:   #34d399;
    --accent-warning: #fb923c;
    --accent-purple:  #a78bfa;
    --radius-sm:      6px;
    --radius-md:      12px;
    --nav-h:          58px;
    --max-w:          1400px;
    --shadow:         0 4px 24px rgba(0,0,0,0.4);
}

body.light-theme {
    --bg-page:        #f0f2f5;
    --bg-card:        #ffffff;
    --bg-hover:       #f5f6f8;
    --bg-input:       #eaecf0;
    --border:         rgba(0,0,0,0.08);
    --text-primary:   #050505;
    --text-secondary: #65676b;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.55;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: inline-block; }
button { font-family: inherit; cursor: pointer; border: none; }
ul { list-style: none; }

/* ─────────────────────────────────────────────
   TOP NAV
   ───────────────────────────────────────────── */
.top-nav {
    height: var(--nav-h);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
    white-space: nowrap;
}
.brand-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo-img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-logo i { width: 22px; height: 22px; color: var(--accent-blue); }
.brand-logo span { color: var(--accent-blue); }

/* Desktop nav links */
.main-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
}
.main-links a {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color .2s;
    white-space: nowrap;
}
.main-links a:hover,
.main-links a.active { color: var(--text-primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Mobile hamburger – hidden on desktop */
.mob-menu-btn {
    display: none;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 6px;
    border-radius: var(--radius-sm);
    align-items: center;
}
.mob-menu-btn i { width: 20px; height: 20px; }

.btn { border-radius: var(--radius-sm); font-weight: 700; }
.pro-btn {
    background: linear-gradient(135deg,#10b981,#059669);
    color: #fff;
    padding: 7px 16px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: transform 0.2s, filter 0.2s;
}
.pro-btn:hover { transform: translateY(-1px); filter: brightness(1.1); }

.login-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.login-nav-btn:hover { background: var(--bg-hover); color: var(--text-primary) !important; border-color: var(--border); }
.theme-toggle { cursor: pointer; display:flex; align-items:center; }
.theme-toggle i { width: 20px; height: 20px; color: var(--text-secondary); }

/* ─────────────────────────────────────────────
   PAGE LAYOUT  (3-col on desktop, 1-col mobile)
   ───────────────────────────────────────────── */
.layout-container {
    max-width: var(--max-w);
    margin: 24px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 200px 1fr 260px;
    gap: 20px;
    align-items: start;
}

/* ─────────────────────────────────────────────
   LEFT SIDEBAR
   ───────────────────────────────────────────── */
.left-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); }

.section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px;
}
.mt-20 { margin-top: 20px; }

.league-list li,
.country-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: background .2s;
}
.league-list li:hover,
.country-list li:hover,
.league-list li.active { background: var(--bg-card); }
.league-list img { width: 18px; height: 18px; object-fit: contain; }
.flag { font-size: 16px; }

/* ─────────────────────────────────────────────
   CENTRE FEED
   ───────────────────────────────────────────── */
.matches-feed {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg-hover);
    border-bottom: 1px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}

.date-selector {
    display: flex;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.date-btn {
    background: transparent;
    border: none;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.date-btn.active,
.date-btn:hover { background: var(--bg-hover); color: var(--text-primary); }

/* Live Switch */
.live-toggle { display: flex; align-items: center; gap: 8px; }
.switch { position: relative; display: inline-block; width: 34px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: var(--border); transition: .3s; border-radius: 20px; }
.slider::before { content:''; position: absolute; width: 14px; height: 14px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s; }
input:checked + .slider { background: var(--accent-red); }
input:checked + .slider::before { transform: translateX(14px); }
.live-label { font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.pulse-dot { width: 6px; height: 6px; background: var(--accent-red); border-radius: 50%; animation: pulse 1.5s infinite; }

/* Spinner */
.spinner-container { text-align: center; padding: 40px 20px; color: var(--text-secondary); }
.spin-icon { width: 28px; height: 28px; animation: spin 1s linear infinite; }

/* League header row */
.league-header {
    background: var(--bg-hover);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}
.league-header img { width: 18px; height: 18px; object-fit: contain; }

/* API notice bar */
.api-notice {
    padding: 10px 14px;
    font-size: 12px;
    background: rgba(251,146,60,0.1);
    color: var(--accent-warning);
    border-left: 3px solid var(--accent-warning);
}

/* Match row */
.match-row {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background .15s;
    gap: 8px;
}
.match-row:hover { background: var(--bg-hover); }

.m-time {
    width: 44px;
    min-width: 44px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.m-time.live-red { color: var(--accent-red); }

.m-teams {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-right: 1px solid var(--border);
    padding-right: 12px;
    min-width: 0;
}
.m-team {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.m-team-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 13.5px;
    overflow: visible;        /* Don't clip form dots */
    flex: 1;
    min-width: 0;
}
.m-team-info img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.m-team-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;            /* Allow span to shrink and truncate */
    flex: 1;
}
.m-score {
    font-weight: 800;
    font-size: 14px;
    min-width: 20px;
    text-align: right;
    flex-shrink: 0;
}
.m-score.winning { color: var(--accent-green); }

.m-odds {
    display: flex;
    gap: 4px;
    padding-left: 12px;
    flex-shrink: 0;
}
.odd-box {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 4px 6px;
    text-align: center;
    min-width: 40px;
    font-size: 12px;
    line-height: 1.3;
    transition: border-color .2s;
}
.odd-box:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.odd-lbl { display: block; font-size: 10px; color: var(--text-secondary); font-weight: 700; }

.m-predict { flex-shrink: 0; padding-left: 8px; }
.pred-badge {
    background: rgba(59,130,246,0.1);
    color: var(--accent-blue);
    border-radius: 5px;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

/* Mock badge (when no PHP server) */
.mock-badge {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   RIGHT SIDEBAR WIDGETS
   ───────────────────────────────────────────── */
.right-sidebar { display: flex; flex-direction: column; gap: 0; }
.widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.mt-16 { margin-top: 16px; }
.accent-widget { border-color: rgba(16,185,129,.3); }

.widget-header {
    background: var(--bg-hover);
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.widget-header h4 { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.widget-header i { width: 15px; height: 15px; color: var(--text-secondary); }
.badge { background: var(--accent-red); color: #fff; padding: 2px 6px; font-size: 10px; font-weight: 800; border-radius: 4px; }
.widget-loading { text-align: center; padding: 20px; opacity: .5; }

.w-item { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.w-item:last-child { border-bottom: none; }
.w-match { font-size: 12px; color: var(--text-secondary); margin-bottom: 3px; }
.w-pick-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; }
.w-odd { color: var(--accent-blue); font-weight: 800; }
.w-conf { font-size: 11px; margin-top: 3px; }
.w-conf.high { color: var(--accent-green); }
.w-conf.med  { color: var(--accent-warning); }
.w-conf.low  { color: var(--accent-red); }

.acc-total { padding: 16px 14px; background: var(--bg-hover); border-bottom: 1px solid var(--border); text-align: center; }
.acc-title { font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--text-secondary); }
.acc-val { font-size: 30px; font-weight: 800; color: var(--accent-green); }
.w-btn-wrap { padding: 12px 14px; }

/* ─────────────────────────────────────────────
   HOMEPAGE – HERO
   ───────────────────────────────────────────── */
.hero-section {
    padding: 100px 20px 80px;
    text-align: center;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,.12) 0%, transparent 70%);
    border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 760px; margin: 0 auto; }
.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}
.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f43f5e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content > p { font-size: 18px; color: var(--text-secondary); max-width: 620px; margin: 0 auto 48px; line-height: 1.6; }

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary-large {
    background: var(--accent-blue);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    transition: filter .2s;
}
.btn-primary-large:hover { filter: brightness(1.15); }
.btn-secondary-large {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 15px;
    transition: background .2s;
}
.btn-secondary-large:hover { background: var(--bg-hover); }

/* ─────────────────────────────────────────────
   HOME – LIVE MATCH PREVIEW STRIP
   ───────────────────────────────────────────── */
.home-matches-section { padding: 40px 20px 0; }
.main-home-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
@media (max-width: 1024px) {
    .main-home-grid { grid-template-columns: 1fr; gap: 40px; }
}
.container { max-width: var(--max-w); margin: 0 auto; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; }
.view-all-link { display: flex; align-items: center; gap: 4px; color: var(--accent-blue); font-weight: 600; font-size: 13px; }
.view-all-link:hover { text-decoration: underline; }

.home-matches-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.hm-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: transform .2s, box-shadow .2s;
    display: block;
    cursor: pointer;
}
.hm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-blue); }
.hm-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    align-items: center;
}
.hm-league-logo { width: 14px; height: 14px; object-fit: contain; vertical-align: middle; margin-right: 5px; }
.hm-time { color: var(--accent-red); font-weight: 700; }
.hm-team { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; }
.hm-team-info { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.hm-logo { width: 22px; height: 22px; object-fit: contain; border-radius: 50%; background: var(--bg-hover); flex-shrink: 0; }
.hm-score { font-weight: 800; font-size: 16px; }

/* ─────────────────────────────────────────────
   HOME – FEATURES GRID
   ───────────────────────────────────────────── */
.realtime-preview-section { padding: 60px 20px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: block;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent-blue); }
.feature-icon {
    width: 48px; height: 48px;
    background: rgba(59,130,246,.1);
    color: var(--accent-blue);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.feature-icon i { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ─────────────────────────────────────────────
   FOOTER – FULL
   ───────────────────────────────────────────── */
.site-footer-full, .site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    margin-top: 60px;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-brand i { width: 20px; height: 20px; color: var(--accent-blue); }
.footer-brand span { color: var(--accent-red); }
.footer-col > p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text-secondary); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-secondary); transition: color .2s; }
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* Simple footer (homepage) */
.site-footer { padding: 24px 20px; text-align: center; font-size: 12px; color: var(--text-secondary); }

/* ─────────────────────────────────────────────
   STATS / PREDICTIONS / VALUE-BETS PAGES
   ───────────────────────────────────────────── */
.page-content {
    max-width: var(--max-w);
    margin: 30px auto;
    padding: 0 20px;
}
.panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}
.panel-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.panel-title i { width: 20px; height: 20px; }
.confidence { padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.conf-high { background: rgba(52,211,153,.15); color: var(--accent-green); }
.conf-med  { background: rgba(251,146,60,.15); color: var(--accent-warning); }
.conf-low  { background: rgba(244,63,94,.15); color: var(--accent-red); }
.premium-badge { background: var(--accent-red); color: #fff; padding: 2px 6px; font-size: 9px; font-weight: 800; border-radius: 99px; margin-left: 4px; vertical-align: middle; }

/* ─────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────── */
@keyframes spin  { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%  { box-shadow: 0 0 0 0 rgba(244,63,94,.6); }
                   70% { box-shadow: 0 0 0 6px transparent; } }

/* ─────────────────────────────────────────────
   RESPONSIVE – TABLET  ≤ 1024px
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .layout-container { grid-template-columns: 1fr 260px; }
    .left-sidebar { display: none; }
    .home-matches-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE – MOBILE  ≤ 768px
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Nav */
    .mob-menu-btn { display: flex; }
    
    .nav-actions { gap: 8px; }
    .pro-btn { padding: 6px 12px; font-size: 11px; }

    /* Layout – stack to single column */
    .layout-container {
        grid-template-columns: 1fr;
        margin: 12px auto;
        padding: 0 12px;
        gap: 20px;
    }
    
    /* Move sidebar widgets to bottom instead of hiding */
    .right-sidebar { 
        display: flex; 
        flex-direction: column; 
        gap: 20px;
        width: 100%;
    } 

    /* Match rows: don't hide, but restructure */
    .match-row {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    .m-time {
        text-align: left;
        width: auto;
        min-width: unset;
        font-size: 11px;
    }
    .m-teams {
        border-right: none;
        padding-right: 0;
    }
    .m-team-info { font-size: 15px; }
    .m-score { font-size: 16px; }
    
    .m-odds {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        min-width: unset !important;
        padding-left: 0 !important;
        border-left: none !important;
        border-top: 1px solid var(--border);
        padding-top: 12px !important;
        justify-content: space-between;
        align-items: center !important;
    }
    .m-odds-wrapper { gap: 8px; }
    .odd-box { min-width: 50px; padding: 6px; }
    
    .m-predict {
        padding-left: 0;
        margin-top: 4px;
    }
    .pred-badge { font-size: 12px; padding: 6px 10px; }
    
    .m-arrow { display: none; }

    /* Hero */
    .hero-section { padding: 60px 16px 50px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary-large, .btn-secondary-large { width: 100%; max-width: 300px; text-align: center; }

    /* Home match cards */
    .home-matches-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }

    /* Sections */
    .realtime-preview-section { padding: 40px 16px; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ─────────────────────────────────────────────
   LEAGUE SIDEBAR – functional
   ───────────────────────────────────────────── */
/* ─── Match Row Form & Predictions ─── */
.form-dots {
    display: flex;
    gap: 2px;
    flex-shrink: 0;           /* Never clip form dots */
    align-items: center;
}
.form-dot {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    font-size: 7.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    letter-spacing: 0;
}
.form-dot.win  { background: var(--accent-green); }
.form-dot.loss { background: var(--accent-red); }
.form-dot.draw { background: #64748b; }

.pred-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.pred-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    white-space: nowrap;
}

/* Removed hiding of form dots on mobile */

.league-sb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background .15s;
    position: relative;
}
.league-sb-item:hover { background: var(--bg-card); }
.league-sb-item.active {
    background: rgba(59,130,246,.1);
    color: var(--accent-blue);
    font-weight: 700;
}
.league-sb-item img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.sb-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 99px;
    color: var(--text-secondary);
}
.league-sb-item.active .sb-count { background: rgba(59,130,246,.2); color: var(--accent-blue); }
.lg-match-count { margin-left: auto; font-size: 11px; color: var(--text-secondary); flex-shrink: 0; }

/* ─────────────────────────────────────────────
   ODDS – source label
   ───────────────────────────────────────────── */
/* Odds column: label on top, then 3 boxes in a flex row */
.m-odds {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 145px;
    min-width: 145px;
    padding-left: 12px;
    flex-shrink: 0;
    border-left: 1px solid var(--border);
}
.odds-src, .odds-est {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
    padding: 2px 6px;
    border-radius: 3px;
}
.odds-src { background: rgba(52,211,153,.12); color: var(--accent-green); }
.odds-est { background: rgba(251,146,60,.12); color: var(--accent-warning); }

/* Odd boxes row (1, X, 2) sit horizontally */
.m-odds .odd-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
/* Make 3 odd-boxes next siblings of source label sit in a row */
.m-odds > .odd-box ~ .odd-box { margin-left: 0; }
.match-row .m-odds > :not(.odds-src):not(.odds-est) {
    display: flex;
    gap: 4px;
}
/* Simpler: target them directly */
.m-odds-wrapper { display: flex; gap: 4px; margin-top: 0; }

/* ─────────────────────────────────────────────
   RIGHT SIDEBAR – Aligned pick items
   ───────────────────────────────────────────── */
.pick-item {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}
.pick-item:last-child { border-bottom: none; }
.pick-match {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pick-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.pick-market { font-weight: 700; font-size: 13px; }
.pick-odd { font-weight: 800; color: var(--accent-blue); font-size: 14px; }
.pick-meta { display: flex; align-items: center; gap: 8px; }
.conf-pill {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 99px;
    letter-spacing: .4px;
}
.conf-pill.high { background: rgba(52,211,153,.15); color: var(--accent-green); }
.conf-pill.med  { background: rgba(251,146,60,.15);  color: var(--accent-warning); }
.conf-pill.low  { background: rgba(244,63,94,.15);   color: var(--accent-red); }
.pick-prob { font-size: 11px; color: var(--text-secondary); }

/* ─────────────────────────────────────────────
   ACCUMULATOR WIDGET
   ───────────────────────────────────────────── */
.w-conf {
    font-size: 11px;
    margin-top: 3px;
    font-weight: 600;
}
.w-conf.high { color: var(--accent-green); }
.w-conf.med  { color: var(--accent-warning); }
.w-conf.low  { color: var(--accent-red); }
.w-pick { font-weight: 700; font-size: 13px; }
.widget-loading { display: flex; justify-content: center; padding: 24px; opacity: .5; }

/* ─────────────────────────────────────────────
   MATCH ROW LINK (click to detail page)
   ───────────────────────────────────────────── */
.match-row-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.match-row-link:hover .match-row { background: var(--bg-hover); }


.match-row-link.is-locked .pred-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 11px;
}
.lock-text {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-blue);
}
.match-row-link:hover .m-arrow i { color: var(--accent-blue) !important; }
.m-arrow { flex-shrink: 0; padding-left: 4px; opacity: 0.5; transition: opacity .2s; }
/* Match Detail Logistics */
.st-team img, .h2h-match-team img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}
.st-team, .h2h-match-team {
    display: flex;
    align-items: center;
    gap: 8px;
}
.st-team img, .h2h-match-team img, .standings-table img {
    width: 20px !important;
    height: 20px !important;
    object-fit: contain;
    flex-shrink: 0;
}
.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.standings-table th {
    text-align: center;
    padding: 12px 8px;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    text-transform: uppercase;
}
.standings-table td {
    text-align: center;
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
}
.standings-table th:nth-child(2), .standings-table td:nth-child(2) {
    text-align: left;
    width: 35%;
}
.st-rank { font-weight: 800; color: var(--text-secondary); width: 30px; }
.st-team span { font-weight: 700; }
.st-pts { font-weight: 800; color: var(--accent-green); }

.form-dots-mini {
    display: flex;
    gap: 4px;
    justify-content: center;
}
/* Form Dot override for table */
.standings-table .form-dot {
    width: 14px;
    height: 14px;
    font-size: 8px;
}
.h2h-match-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
}
.h2h-match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}
.h2h-match-team { flex: 1; }
.h2h-match-team.a-team { justify-content: flex-end; text-align: right; }
.h2h-match-team.a-team img { margin-right: 0; margin-left: 8px; }
.h2h-match-score {
    font-size: 14px;
    font-weight: 800;
    padding: 6px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 6px;
    min-width: 50px;
    text-align: center;
    margin: 0 10px;
}

/* ─────────────────────────────────────────────
   PRO CONTENT GATING
   ───────────────────────────────────────────── */
.pro-blur {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
}
.pro-overlay {
    position: relative;
    overflow: hidden;
}
.pro-paywall {
    position: absolute;
    inset: 0;
    background: rgba(15, 16, 17, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 20px;
}
.pro-paywall h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.pro-paywall p { color: var(--text-secondary); margin-bottom: 20px; font-size: 14px; max-width: 300px; }

/* ─────────────────────────────────────────────
   MODAL & CHECKOUT
   ───────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.open { display: flex; }
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 480px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: var(--text-secondary);
}
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; }

.payment-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .2s;
}
.payment-method:hover { background: var(--bg-hover); border-color: var(--accent-blue); }
.payment-method.active { border-color: var(--accent-blue); background: rgba(59,130,246,0.05); }
.method-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(59,130,246,0.1); color: var(--accent-blue); }
.method-name { font-weight: 600; font-size: 15px; flex: 1; }

.checkout-summary {
    background: var(--bg-body);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 24px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.summary-total { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; font-weight: 800; font-size: 16px; }

.btn-full { width: 100%; padding: 14px; margin-top: 10px; }

/* ─────────────────────────────────────────────
   GLOBAL FOOTER FIX
   ───────────────────────────────────────────── */
.site-footer-full { margin-top: 100px; }


/* Sidebar Widget Fixes */
.mt-16 { margin-top: 16px; }
.right-sidebar .widget {
    overflow: hidden;
}

/* ─────────────────────────────────────────────
   AI DISPLAY — Confidence Badge
   ───────────────────────────────────────────── */
.conf-badge {
    min-width: 38px;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .4px;
}
.conf-high { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.conf-med  { background: rgba(251,146,60,0.15);  color: #fb923c; border: 1px solid rgba(251,146,60,0.3); }
.conf-low  { background: rgba(244,63,94,0.15);   color: #f43f5e; border: 1px solid rgba(244,63,94,0.3); }

/* ─────────────────────────────────────────────
   AI DISPLAY — Risk Badge
   ───────────────────────────────────────────── */
.risk-badge {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.risk-low  { background: rgba(52,211,153,0.12); color: #34d399; }
.risk-med  { background: rgba(251,146,60,0.12);  color: #fb923c; }
.risk-high { background: rgba(244,63,94,0.12);   color: #f43f5e; }

/* ─────────────────────────────────────────────
   AI DISPLAY — Also Consider Badge
   ───────────────────────────────────────────── */
.also-badge {
    margin-top: 3px;
    font-size: 9px;
    font-weight: 600;
    color: var(--accent-purple);
    opacity: .85;
}

/* ─────────────────────────────────────────────
   AI DISPLAY — Odds Winner Highlight
   ───────────────────────────────────────────── */
.odd-box-winner {
    background: rgba(59,130,246,0.18) !important;
    border-color: rgba(59,130,246,0.45) !important;
    color: #60a5fa !important;
    font-weight: 800;
    transform: scale(1.06);
}

/* ─────────────────────────────────────────────
   AI DISPLAY — Reasoning Button & Panel
   ───────────────────────────────────────────── */
.ai-reasoning-btn {
    position: absolute;
    top: 8px;
    right: 36px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(167,139,250,0.15);
    border: 1px solid rgba(167,139,250,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-purple);
    transition: background .2s;
    z-index: 2;
}
.ai-reasoning-btn:hover { background: rgba(167,139,250,0.28); }

.ai-reasoning-panel {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #1a1c22;
    border: 1px solid rgba(167,139,250,0.25);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: fadeIn .15s ease;
}
.ai-reasoning-panel.open { display: block; }

.ai-panel-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.ai-signal-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-secondary);
    padding: 3px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ai-signal-row i { width: 12px; height: 12px; flex-shrink: 0; margin-top: 1px; color: var(--accent-blue); }
.ai-signal-extra i { color: var(--accent-green); }
.ai-signal-row:last-child { border-bottom: none; }
.ai-signal-row strong { color: var(--text-primary); }

/* ─────────────────────────────────────────────
   AI DISPLAY — H2H Row
   ───────────────────────────────────────────── */
.h2h-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--accent-blue);
    font-weight: 700;
    margin-top: 4px;
}

/* ─────────────────────────────────────────────
   SMART FILTER BAR
   ───────────────────────────────────────────── */
.smart-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0 2px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2px;
}
.sf-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.sf-btn i { width: 12px; height: 12px; }
.sf-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: rgba(59,130,246,0.4);
}
.sf-btn.active {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
    border-color: rgba(59,130,246,0.4);
}
.sf-btn[data-filter="safe"].active   { background: rgba(52,211,153,0.12); color: #34d399; border-color: rgba(52,211,153,0.3); }
.sf-btn[data-filter="high-odds"].active { background: rgba(251,146,60,0.12); color: #fb923c; border-color: rgba(251,146,60,0.3); }
.sf-btn[data-filter="btts"].active   { background: rgba(167,139,250,0.12); color: #a78bfa; border-color: rgba(167,139,250,0.3); }
.sf-btn[data-filter="over25"].active { background: rgba(244,63,94,0.12);   color: #f43f5e; border-color: rgba(244,63,94,0.3); }

.sf-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 99px;
    background: rgba(255,255,255,0.08);
    font-size: 9px;
    font-weight: 800;
}

/* Make match-row position:relative for AI panel absolute positioning */
.match-row { position: relative; }

/* Fade-in keyframe for AI panel */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ── Persistent Promo Banner ──────────────────────────────────────────── */
#promo-float-banner {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 1000; /* Must be lower than nav overlay (1999) */
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #18191c 0%, #1e1f24 100%);
    border: 1px solid rgba(251,146,60,0.45);
    border-radius: 16px;
    padding: 14px 16px 14px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(251,146,60,0.1);
    animation: promoBannerIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
    max-width: 320px;
    cursor: default;
}
@keyframes promoBannerIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}
#promo-float-banner.hiding {
    animation: promoBannerOut 0.35s ease forwards;
}
@keyframes promoBannerOut {
    to { opacity: 0; transform: translateY(20px) scale(0.95); }
}
.promo-banner-icon {
    font-size: 26px;
    flex-shrink: 0;
    animation: promoPulse 2s ease-in-out infinite;
}
@keyframes promoPulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}
.promo-banner-body { flex: 1; min-width: 0; }
.promo-banner-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #fb923c;
    margin-bottom: 2px;
}
.promo-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.promo-banner-sub {
    font-size: 11px;
    color: #9aa0ab;
    white-space: nowrap;
}
.promo-banner-claim {
    flex-shrink: 0;
    padding: 8px 14px;
    background: linear-gradient(90deg, #fb923c, #f43f5e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: filter .2s, transform .15s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.promo-banner-claim::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
    animation: promoShimmer 2.5s ease-in-out infinite;
}
@keyframes promoShimmer {
    0%   { transform: translateX(-100%); }
    60%,100% { transform: translateX(100%); }
}
.promo-banner-claim:hover { filter: brightness(1.15); transform: translateY(-1px); }
.promo-banner-dismiss {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 18px;
    height: 18px;
    border: none;
    background: rgba(255,255,255,0.07);
    color: #9aa0ab;
    border-radius: 50%;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    transition: background .2s, color .2s;
}
.promo-banner-dismiss:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ─────────────────────────────────────────────
   MOBILE RESPONSIVENESS & NAVIGATION
   ───────────────────────────────────────────── */

/* Universal Scrollbar Hide for Swipeable UI */
.smart-filter-bar, .filter-bar, .date-selector, .tabs-inner, .acca-picks, .m-odds {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;    /* Firefox */
}
.smart-filter-bar::-webkit-scrollbar, 
.filter-bar::-webkit-scrollbar, 
.date-selector::-webkit-scrollbar, 
.tabs-inner::-webkit-scrollbar, 
.acca-picks::-webkit-scrollbar,
.m-odds::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 860px) {
    /* Force filters to single-line swipeable on mobile */
    .smart-filter-bar, .filter-bar, .date-selector {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px; /* Room for swipe */
    }
}

@media (max-width: 1024px) {
    .layout-container, 
    .main-home-grid,
    .footer-inner,
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    
    .layout-container {
        padding: 0 16px;
        margin: 16px auto 80px; /* Safe padding for floating things */
    }
    
    .left-sidebar, .right-sidebar {
        position: static;
        width: 100%;
        max-width: none;
    }

    /* Natural stack order for content */
    .left-sidebar { order: 2; }
    .matches-feed, .featured-col { order: 1; }
    .right-sidebar { order: 3; }
    
    .footer-inner { text-align: center; }
    .footer-brand { justify-content: center; }
}

@media (max-width: 860px) {
    .top-nav { z-index: 3000 !important; }
    .nav-container { display: flex !important; justify-content: space-between !important; align-items: center !important; height: var(--nav-h); padding: 0 16px; }
    .mob-menu-btn { display: flex !important; order: 0; margin-right: 12px; flex-shrink: 0; }
    .brand-logo { order: 1; position: static !important; transform: none !important; margin: 0; flex: 1; text-align: center; }
    .nav-actions { order: 2; margin-left: 12px; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
    .nav-actions .pro-btn { display: none !important; } /* Hidden on mobile header */

    /* Fix main links into mobile sidebar */
    .main-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important; right: -130% !important; left: auto !important;
        width: 300px !important;
        height: 100vh !important;
        background: var(--bg-card) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 80px 24px 24px !important;
        margin: 0 !important;
        gap: 0 !important;
        z-index: 2000 !important;
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
        box-shadow: -20px 0 50px rgba(0,0,0,0.6) !important;
        border-left: 1px solid var(--border) !important;
        overflow-y: auto !important;
        flex: none !important;
    }
    
    .main-links.open { right: 0 !important; }
    
    .main-links a {
        display: block !important;
        width: 100% !important;
        padding: 16px 0 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-bottom: 1px solid var(--border) !important;
        color: var(--text-primary) !important;
        white-space: normal !important;
    }
    .main-links a.active { color: var(--accent-blue); background: rgba(59,130,246,0.05); border-left: 3px solid var(--accent-blue); padding-left: 10px; }

    /* Mobile-only Pro Link */
    .main-links .mobile-pro-link {
        margin-top: auto;
        padding-top: 20px;
        margin-bottom: 20px;
        border-top: 1px solid var(--border);
        border-bottom: none;
    }
    .main-links .mobile-pro-btn {
        background: linear-gradient(135deg,#10b981,#059669);
        color: #fff !important;
        text-align: center;
        border-radius: var(--radius-sm);
        font-weight: 800;
        border-bottom: none !important;
    }

    /* Navigation Overlay */
    .main-links-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(5px);
        z-index: 1999;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    .main-links-overlay.show { display: block; opacity: 1; }

    /* Element scaling */
    .home-matches-grid { grid-template-columns: 1fr !important; }
    .m-teams { border-right: none; padding-right: 0; }
    .match-row { gap: 12px; padding: 12px; }
    .m-pred-wrap { flex-direction: column; align-items: flex-end; gap: 4px; }
    .m-pick-box { min-width: 90px; }
    
    .pro-acca-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 500px) {
    .nav-container { padding: 0 12px; }
    .brand-logo { font-size: 16px; margin: 0; }
    .brand-logo i { width: 18px; height: 18px; }
    .nav-actions { gap: 4px; }
    
    .feed-header { padding: 8px; flex-direction: column; align-items: stretch; }
    .date-selector { width: 100%; justify-content: space-between; }
    .date-btn { flex: 1; padding: 6px 4px; font-size: 11px; }
}
/* ─────────────────────────────────────────────
   RECENT WINNERS — CAROUSEL
   ───────────────────────────────────────────── */
.recent-winners-section {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 50%, rgba(59,130,246,0.05) 0%, transparent 70%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

.winners-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 0 30px;
    scroll-behavior: smooth;
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.winners-scroll::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
}

.winner-card {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.winner-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.winner-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    opacity: 0.6;
}

.winner-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.status-won {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.winner-odds {
    font-size: 18px;
    font-weight: 900;
    color: var(--accent-blue);
}

.winner-category {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.winner-date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.winner-picks-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.pick-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.pick-match {
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.pick-val {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 12px;
}

.carousel-nav {
    display: flex;
    gap: 12px;
}

.nav-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-dot:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

@media (max-width: 768px) {
    .winner-card { flex: 0 0 250px; padding: 20px; }
    .footer-inner { grid-template-columns: 1fr !important; gap: 30px; text-align: center; }
    .footer-col { align-items: center; display: flex; flex-direction: column; }
    .footer-brand { justify-content: center; }
}
