/* BetWise - Professional Football Predictions */
/* Inspired by Forebet.com design patterns */

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    /* Colors - Darker, more professional */
    --bg-primary: #080b10;
    --bg-secondary: #0d1117;
    --bg-card: #161b22;
    --bg-elevated: #1c2128;
    --bg-hover: #21262d;
    --bg-input: #0d1117;

    /* Text */
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-link: #58a6ff;

    /* Accent Colors */
    --accent-green: #00d26a;
    --accent-blue: #58a6ff;
    --accent-gold: #d4a012;

    /* Confidence Colors */
    --confidence-high: #00d26a;
    --confidence-medium: #f0883e;
    --confidence-low: #f85149;

    /* Borders */
    --border-default: #30363d;
    --border-muted: #21262d;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Manrope', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.6875rem;
    --text-sm: 0.8125rem;
    --text-base: 0.9375rem;
    --text-lg: 1.125rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;
    --text-5xl: 4rem;
    --text-hero: clamp(3rem, 10vw, 5rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Layout */
    --max-width: 1400px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}

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

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ==========================================================================
   Header - Modern Professional Design
   ========================================================================== */

/* Skip Link - Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--accent-green);
    color: #000;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-sm);
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: var(--space-2);
    outline: 2px solid var(--text-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Wins Ticker - Top Bar
   ========================================================================== */
.wins-ticker {
    background: linear-gradient(90deg, var(--accent-green) 0%, #00b85c 100%);
    overflow: hidden;
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
}

.wins-ticker::before,
.wins-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
}

.wins-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--accent-green) 0%, transparent 100%);
}

.wins-ticker::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, #00b85c 100%);
}

.ticker-track {
    display: flex;
    animation: ticker-scroll 30s linear infinite;
    will-change: transform;
}

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

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.win-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 24px;
    white-space: nowrap;
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 600;
}

.win-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.win-match {
    font-weight: 700;
}

.win-result {
    opacity: 0.8;
    font-weight: 500;
}

.win-type {
    background: rgba(0,0,0,0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

/* Header Container */
.site-header {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(13, 17, 23, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    transition: color 0.2s ease;
}

.logo:hover .logo-text {
    color: var(--accent-green);
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 900px) {
    .nav-desktop {
        display: flex;
        flex: 1;
        justify-content: center;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-list a.active {
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.nav-list a:hover .nav-icon,
.nav-list a.active .nav-icon {
    opacity: 1;
}

/* Chevron for dropdown */
.chevron {
    margin-left: var(--space-1);
    transition: transform 0.2s ease;
}

.nav-list li:hover .chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-list li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.nav-dropdown a:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* Social Icons */
.social-icons {
    display: none;
}

@media (min-width: 600px) {
    .social-icons {
        display: flex;
        align-items: center;
        gap: var(--space-2);
    }
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.social-icon:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

/* CTA Button */
.btn-cta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0088cc 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
    color: #fff;
}

.btn-cta svg {
    flex-shrink: 0;
}

.btn-text {
    display: none;
}

@media (min-width: 480px) {
    .btn-text {
        display: inline;
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: var(--bg-hover);
}

@media (min-width: 900px) {
    .menu-toggle {
        display: none;
    }
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 22px;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animated hamburger to X */
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.nav-mobile:not([hidden]) {
    max-height: 500px;
    opacity: 1;
}

.nav-mobile-list {
    list-style: none;
    padding: var(--space-2) var(--space-4);
    margin: 0;
}

.nav-mobile-list li a {
    display: block;
    padding: var(--space-3) var(--space-2);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-mobile-list li a:hover,
.nav-mobile-list li a.active {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-mobile-list li a.active {
    color: var(--accent-green);
}

.nav-mobile-divider {
    height: 1px;
    background: var(--border-default);
    margin: var(--space-2) 0;
}

.nav-mobile-footer {
    padding: var(--space-3) var(--space-4) var(--space-4);
    border-top: 1px solid var(--border-default);
}

.btn-alerts-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, var(--accent-green) 0%, #00a854 100%);
    color: #fff;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-alerts-mobile:hover {
    background: linear-gradient(135deg, #00e676 0%, var(--accent-green) 100%);
    color: #fff;
}

/* Focus States - Accessibility */
.nav-list a:focus-visible,
.social-icon:focus-visible,
.btn-cta:focus-visible,
.menu-toggle:focus-visible,
.logo:focus-visible {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* ==========================================================================
   Date Navigation
   ========================================================================== */
.date-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-3) 0;
}

.date-nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    gap: var(--space-2);
}

.date-nav-btn {
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.date-nav-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.date-nav-btn.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--bg-primary);
    font-weight: 600;
}

/* ==========================================================================
   Hero V2 - Conversion Optimized
   ========================================================================== */
.hero-v2 {
    position: relative;
    overflow: hidden;
    padding: var(--space-4) 0 var(--space-8);
    min-height: 480px;
}

/* Background Layers */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        var(--bg-secondary) 0%,
        rgba(13, 17, 23, 0.95) 50%,
        var(--bg-primary) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 800px 400px at 50% 0%, rgba(0, 210, 106, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 600px 300px at 80% 100%, rgba(88, 166, 255, 0.05) 0%, transparent 60%);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Top Bar: Date Nav + Trust */
.hero-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.date-nav-inline {
    display: flex;
    gap: var(--space-1);
    background: var(--bg-card);
    padding: var(--space-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.date-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.date-tab:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.date-tab.active {
    background: var(--accent-green);
    color: var(--bg-primary);
    font-weight: 600;
}

.trust-badge-inline {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(0, 210, 106, 0.1);
    border: 1px solid rgba(0, 210, 106, 0.2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--accent-green);
}

/* Main Hero Content */
.hero-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    margin-bottom: var(--space-6);
}

@media (min-width: 900px) {
    .hero-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }
}

/* Hero Text */
.hero-text {
    text-align: center;
}

@media (min-width: 900px) {
    .hero-text {
        text-align: left;
    }
}

.hero-date-display {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-4);
}

.date-weekday {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.date-full {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-4);
}

.headline-accent {
    color: var(--accent-green);
    display: inline-block;
    position: relative;
}

.headline-accent::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: linear-gradient(90deg, var(--accent-green), transparent);
    opacity: 0.3;
    border-radius: 2px;
}

.hero-subheadline {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .hero-subheadline {
        margin: 0;
    }
}

/* Hero Metrics Grid */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

@media (min-width: 600px) {
    .hero-metrics {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) {
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.metric-card:hover {
    border-color: var(--border-default);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.metric-card.primary {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.15) 0%, rgba(0, 210, 106, 0.05) 100%);
    border-color: rgba(0, 210, 106, 0.3);
}

.metric-card.accent {
    background: linear-gradient(135deg, rgba(212, 160, 18, 0.15) 0%, rgba(212, 160, 18, 0.05) 100%);
    border-color: rgba(212, 160, 18, 0.3);
}

.metric-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.metric-card.primary .metric-value {
    color: var(--accent-green);
}

.metric-card.accent .metric-value {
    color: var(--accent-gold);
}

.metric-label {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

.metric-badge {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    padding: 2px 6px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-badge.gold {
    background: rgba(212, 160, 18, 0.2);
    color: var(--accent-gold);
}

/* CTA Section */
.hero-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, var(--accent-green) 0%, #00a854 100%);
    color: var(--bg-primary);
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 210, 106, 0.35);
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 210, 106, 0.45);
    color: var(--bg-primary);
}

.hero-cta-primary svg {
    animation: bounce-down 1.5s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Quick Pick */
.hero-quick-pick {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
}

.quick-pick-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.quick-pick-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-pick-link:hover {
    border-color: var(--accent-green);
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.quick-pick-tip {
    padding: 2px 8px;
    background: rgba(0, 210, 106, 0.15);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--accent-green);
}

.quick-pick-prob {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Social Proof Strip */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.proof-item svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.proof-divider {
    width: 1px;
    height: 16px;
    background: var(--border-default);
}

@media (max-width: 600px) {
    .proof-divider {
        display: none;
    }

    .hero-social-proof {
        gap: var(--space-3);
    }

    .proof-item span {
        display: none;
    }
}

/* Old hero classes kept for backward compatibility */
.hero {
    display: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-1);
}

/* ==========================================================================
   Prediction Type Tabs
   ========================================================================== */
.prediction-tabs {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-3) 0;
    position: sticky;
    top: 52px;
    z-index: 90;
}

.tabs-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    gap: var(--space-1);
    overflow-x: auto;
}

.tab-btn {
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.tab-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--bg-card);
    color: var(--accent-green);
    font-weight: 600;
}

/* ==========================================================================
   Featured Match - TOP PICK
   ========================================================================== */
.featured-section {
    padding: var(--space-6) var(--space-4);
    background: var(--bg-primary);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: var(--space-3);
}

.section-label::before {
    content: '';
    width: 4px;
    height: 16px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.featured-card {
    background: var(--bg-card);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: 0 0 40px rgba(212, 160, 18, 0.1);
}

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

.featured-league {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.featured-kickoff {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--accent-blue);
}

.featured-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.featured-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    text-align: center;
}

.featured-team:first-child {
    justify-self: end;
}

.featured-team:last-child {
    justify-self: start;
}

.featured-team img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.featured-team-name {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.form-badge {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    letter-spacing: 0.15em;
}

/* Featured Score Display */
.featured-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
}

.score-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
    text-shadow: 0 0 30px rgba(0, 210, 106, 0.5);
}

.score-dash {
    font-size: var(--text-3xl);
    font-weight: 300;
    color: var(--text-muted);
}

/* 1X2 Probability Bars */
.prob-bars-container {
    display: flex;
    height: 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-5);
    background: var(--bg-elevated);
}

.prob-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-width: 60px;
    padding: 0 var(--space-3);
    transition: flex-grow 0.3s ease;
}

.prob-bar span {
    font-size: var(--text-sm);
    font-weight: 700;
}

.prob-bar.home {
    background: var(--confidence-high);
    color: var(--bg-primary);
}

.prob-bar.draw {
    background: var(--confidence-medium);
    color: var(--bg-primary);
}

.prob-bar.away {
    background: var(--confidence-low);
    color: white;
}

/* Featured Tip */
.featured-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5);
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
}

.tip-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.tip-value {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-primary);
}

.tip-type {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tip-confidence {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid;
}

.tip-confidence.high {
    border-color: var(--confidence-high);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.3);
}

.tip-confidence.medium {
    border-color: var(--confidence-medium);
    box-shadow: 0 0 20px rgba(240, 136, 62, 0.3);
}

.tip-confidence.low {
    border-color: var(--confidence-low);
    box-shadow: 0 0 20px rgba(248, 81, 73, 0.3);
}

.tip-percent {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
}

.tip-confidence.high .tip-percent { color: var(--confidence-high); }
.tip-confidence.medium .tip-percent { color: var(--confidence-medium); }
.tip-confidence.low .tip-percent { color: var(--confidence-low); }

.featured-cta {
    display: block;
    width: 100%;
    padding: var(--space-4);
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.15s;
}

.featured-cta:hover {
    background: #e6b012;
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   League Navigation
   ========================================================================== */
.league-nav-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-3) 0;
    position: sticky;
    top: 98px;
    z-index: 85;
}

.league-pills {
    display: flex;
    gap: var(--space-2);
    padding: 0 var(--space-4);
    overflow-x: auto;
    scrollbar-width: none;
}

.league-pills::-webkit-scrollbar {
    display: none;
}

.league-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.15s;
}

.league-pill:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.league-pill.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.pill-count {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 2px 6px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Matches Section
   ========================================================================== */
.predictions-section {
    padding: var(--space-8) 0;
}

.league-block {
    margin-bottom: var(--space-8);
}

.league-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border: 1px solid var(--border-default);
    border-bottom: none;
}

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

.league-title h2 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
}

.league-country-tag {
    font-size: var(--text-xs);
    font-weight: 500;
    padding: var(--space-1) var(--space-2);
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.league-count {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ==========================================================================
   Matches Table
   ========================================================================== */
.matches-table-wrapper {
    border: 1px solid var(--border-default);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.matches-table {
    width: 100%;
    border-collapse: collapse;
}

.matches-table thead {
    background: var(--bg-elevated);
}

.matches-table th {
    padding: var(--space-3) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-default);
}

.matches-table th.text-center {
    text-align: center;
}

.matches-table tbody tr {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-muted);
    transition: background 0.1s;
}

.matches-table tbody tr:last-child {
    border-bottom: none;
}

.matches-table tbody tr:hover {
    background: var(--bg-hover);
}

.matches-table td {
    padding: var(--space-3);
    vertical-align: middle;
}

/* Time Column */
.col-time {
    width: 70px;
}

.match-time {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--accent-blue);
}

/* Match Column */
.col-match {
    min-width: 200px;
}

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

.team-row img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.team-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-mini {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Predicted Score */
.col-score {
    width: 80px;
    text-align: center;
}

.predicted-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--accent-green);
    min-width: 60px;
}

/* 1X2 Probabilities */
.col-1x2 {
    width: 130px;
    text-align: center;
}

.prob-grid {
    display: flex;
    gap: 2px;
}

.prob-cell {
    flex: 1;
    padding: var(--space-2) var(--space-1);
    background: var(--bg-elevated);
    font-size: var(--text-sm);
    font-weight: 700;
    text-align: center;
    color: var(--text-secondary);
}

.prob-cell:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.prob-cell:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prob-cell.highlight {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.prob-cell.highlight-draw {
    background: var(--confidence-medium);
    color: var(--bg-primary);
}

.prob-cell.highlight-away {
    background: var(--confidence-low);
    color: white;
}

/* H/D/A Badge */
.col-tip {
    width: 60px;
    text-align: center;
}

.hda-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: var(--text-sm);
    font-weight: 800;
}

.hda-badge.home {
    background: rgba(0, 210, 106, 0.15);
    color: var(--confidence-high);
    border: 2px solid var(--confidence-high);
}

.hda-badge.draw {
    background: rgba(240, 136, 62, 0.15);
    color: var(--confidence-medium);
    border: 2px solid var(--confidence-medium);
}

.hda-badge.away {
    background: rgba(248, 81, 73, 0.15);
    color: var(--confidence-low);
    border: 2px solid var(--confidence-low);
}

/* Over/Under */
.col-ou {
    width: 70px;
    text-align: center;
}

.ou-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 700;
}

.ou-indicator.over {
    background: rgba(0, 210, 106, 0.15);
    color: var(--confidence-high);
}

.ou-indicator.under {
    background: rgba(240, 136, 62, 0.15);
    color: var(--confidence-medium);
}

/* Average Goals */
.col-avg {
    width: 60px;
    text-align: center;
}

.avg-goals {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-secondary);
}

/* Odds */
.col-odds {
    width: 140px;
    text-align: center;
}

.odds-display {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.odds-display span {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-1) var(--space-2);
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    min-width: 40px;
    text-align: center;
}

/* Link */
.col-link {
    width: 50px;
    text-align: center;
}

.match-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.15s;
}

.match-link:hover {
    background: var(--accent-blue);
    color: white;
}

/* ==========================================================================
   Value Bets Section
   ========================================================================== */
.value-bets-section {
    padding: var(--space-8) 0;
    background: var(--bg-secondary);
}

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

.section-header h2 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
}

.section-header h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent-green);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.value-bets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-4);
}

.value-bet-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: all 0.15s;
}

.value-bet-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(0, 210, 106, 0.1);
}

.vb-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.vb-match {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.vb-tip {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.vb-edge {
    padding: var(--space-2) var(--space-3);
    background: rgba(0, 210, 106, 0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--accent-green);
}

.vb-stats {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
    padding: var(--space-3);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
}

.vb-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vb-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vb-value {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
}

.vb-link {
    display: block;
    width: 100%;
    padding: var(--space-3);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.15s;
}

.vb-link:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* ==========================================================================
   Trust Section
   ========================================================================== */
.trust-section {
    padding: var(--space-12) var(--space-4);
    background: var(--bg-card);
    border-top: 1px solid var(--border-default);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.trust-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    color: var(--accent-green);
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.trust-text strong {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
}

.trust-text span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-default);
    padding: var(--space-8) var(--space-4);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-container p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.disclaimer {
    font-size: var(--text-xs) !important;
    max-width: 600px;
    margin: 0 auto var(--space-4);
    line-height: 1.6;
}

.generated-info {
    font-size: var(--text-xs) !important;
}

/* ==========================================================================
   Empty State
   ========================================================================== */
.empty-state {
    text-align: center;
    padding: var(--space-16);
}

.empty-state h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.empty-state p {
    color: var(--text-secondary);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.hide-mobile {
    display: table-cell;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .col-odds,
    .col-avg {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Hero V2 mobile adjustments */
    .hero-v2 {
        min-height: auto;
        padding: var(--space-3) 0 var(--space-6);
    }

    .hero-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-3);
    }

    .date-nav-inline {
        justify-content: center;
    }

    .trust-badge-inline {
        justify-content: center;
    }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .metric-card {
        padding: var(--space-3);
    }

    .metric-value {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-cta-primary {
        width: 100%;
        justify-content: center;
        padding: var(--space-4) var(--space-6);
    }

    .featured-teams {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .featured-team {
        flex-direction: row;
        justify-content: center !important;
    }

    .featured-score {
        padding: var(--space-3);
    }

    .score-number {
        font-size: var(--text-4xl);
    }

    .prob-bars-container {
        flex-direction: column;
        height: auto;
    }

    .prob-bar {
        height: 32px;
        width: 100% !important;
    }

    .hide-mobile {
        display: none;
    }

    .col-1x2 {
        display: none;
    }

    .value-bets-grid {
        grid-template-columns: 1fr;
    }

    .league-nav-bar {
        top: 52px;
    }

    .prediction-tabs {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Hero V2 extra small adjustments */
    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-subheadline {
        font-size: var(--text-sm);
    }

    .date-tab {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }

    .quick-pick-link {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .col-tip {
        display: none;
    }

    .team-name {
        max-width: 100px;
        font-size: var(--text-xs);
    }

    .form-mini {
        display: none;
    }

    .predicted-score {
        font-size: var(--text-lg);
        padding: var(--space-1) var(--space-2);
        min-width: 50px;
    }

    .featured-card {
        padding: var(--space-4);
    }

    .tip-confidence {
        width: 60px;
        height: 60px;
    }

    .tip-percent {
        font-size: var(--text-base);
    }
}

/* ===================================
   SOCIAL LINKS
   =================================== */
.social-links {
    display: flex;
    gap: var(--space-2);
    margin-left: auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.social-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.social-link.telegram:hover {
    background: #229ed9;
    color: white;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

/* ===================================
   ACCUMULATOR SECTION
   =================================== */
.accumulator-section {
    padding: var(--space-8) 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.accumulator-card {
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.acca-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    background: linear-gradient(135deg, rgba(212, 160, 18, 0.15) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.acca-label {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.acca-odds {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.acca-odds strong {
    color: var(--accent-green);
    font-size: var(--text-lg);
    font-weight: 800;
}

.acca-picks {
    padding: var(--space-4) var(--space-5);
}

.acca-pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.acca-pick:last-child {
    border-bottom: none;
}

.acca-pick-match {
    flex: 1;
}

.acca-time {
    font-size: var(--text-xs);
    color: var(--text-muted);
    display: block;
}

.acca-teams {
    font-weight: 600;
    color: var(--text-primary);
}

.acca-pick-tip {
    text-align: center;
    padding: 0 var(--space-4);
}

.acca-tip-value {
    display: block;
    font-weight: 700;
    color: var(--accent-green);
}

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

.acca-pick-prob {
    font-weight: 700;
    color: var(--text-primary);
    min-width: 50px;
    text-align: right;
}

.acca-footer {
    padding: var(--space-4) var(--space-5);
    background: var(--bg-tertiary);
    text-align: center;
}

.acca-returns {
    margin-bottom: var(--space-2);
}

.returns-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.returns-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--accent-green);
    margin-left: var(--space-2);
}

.acca-disclaimer {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
}

.acca-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.2s ease;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.telegram {
    background: #229ed9;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===================================
   PAGE WRAPPERS - Consistent spacing for all pages
   =================================== */
.page-wrapper,
.hub-page {
    padding: var(--space-8) 0 var(--space-12);
}

/* Consistent full-width centered content layout for all pages */
.page-wrapper > .container,
.hub-page > .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* ===================================
   HUB PAGES (BTTS, Over 2.5, League)
   =================================== */

.hub-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.hub-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-3) 0;
}

.hub-subtitle {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.hub-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.hub-stat {
    text-align: center;
}

.hub-stat .stat-number {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent-green);
}

.hub-stat .stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hub-stat.win .stat-number {
    color: var(--confidence-high);
}

.hub-stat.loss .stat-number {
    color: var(--confidence-low);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.filter-tab {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* Hub Table */
.hub-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin-bottom: var(--space-6);
    border: 1px solid var(--border-default);
}

.hub-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
}

.hub-table th {
    padding: var(--space-3) var(--space-3);
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-default);
}

.hub-table td {
    padding: var(--space-3) var(--space-3);
    border-bottom: 1px solid var(--border-muted);
    vertical-align: middle;
}

.hub-table tr:last-child td {
    border-bottom: none;
}

.hub-row:hover {
    background: var(--bg-elevated);
}

.match-teams {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.match-teams .vs {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.league-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.league-tag.small {
    font-size: 10px;
    padding: 2px 6px;
}

/* BTTS Badge */
.btts-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 700;
}

.btts-badge.yes {
    background: rgba(0, 210, 106, 0.15);
    color: var(--confidence-high);
}

.btts-badge.no {
    background: rgba(248, 81, 73, 0.15);
    color: var(--confidence-low);
}

/* O/U Badge Large */
.ou-badge-large {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 700;
}

.ou-badge-large.over {
    background: rgba(0, 210, 106, 0.15);
    color: var(--confidence-high);
}

.ou-badge-large.under {
    background: rgba(240, 136, 62, 0.15);
    color: var(--confidence-medium);
}

.avg-goals-value {
    font-weight: 700;
    color: var(--text-primary);
}

.prob-value {
    font-weight: 700;
    color: var(--accent-green);
}

.confidence-pill {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
}

.confidence-pill.high {
    background: rgba(0, 210, 106, 0.15);
    color: var(--confidence-high);
}

.confidence-pill.medium {
    background: rgba(240, 136, 62, 0.15);
    color: var(--confidence-medium);
}

.confidence-pill.low {
    background: rgba(248, 81, 73, 0.15);
    color: var(--confidence-low);
}

.view-link {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.view-link:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* Hub FAQ */
.hub-faq {
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.hub-faq h2 {
    font-size: 18px;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.faq-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-4);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-item summary::after {
    content: "+";
    font-size: var(--text-lg);
    color: var(--text-muted);
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    padding: 0 var(--space-4) var(--space-4);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Hub Related */
.hub-related {
    margin-top: var(--space-6);
}

.hub-related h2 {
    font-size: 18px;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

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

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

.related-card {
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    transition: all 0.2s ease;
    text-decoration: none;
}

.related-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.related-card h3 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.related-card p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   LEAGUES INDEX PAGE
   =================================== */
.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

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

.league-card {
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
}

.league-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.league-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.league-card-header .league-flag {
    border-radius: 2px;
}

.league-card-header h2 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.league-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.league-matches {
    background: var(--bg-elevated);
    padding: 2px 8px;
    border-radius: 9999px;
}

/* ===================================
   ABOUT PAGE
   =================================== */
.about-content {
    max-width: 800px;
}

.about-section {
    margin-bottom: var(--space-8);
}

.about-section h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.about-section p {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.how-item {
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.how-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    margin-bottom: var(--space-3);
}

.how-item h3 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.how-item p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.leagues-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.leagues-list li {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-muted);
}

.disclaimer-section {
    background: var(--bg-card);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.disclaimer-section h2 {
    color: var(--accent-gold);
}

.age-notice {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-4);
}

/* ===================================
   RESULTS PAGE
   =================================== */
.results-stats {
    gap: var(--space-6);
}

.accuracy-breakdown {
    margin-bottom: var(--space-8);
}

.accuracy-breakdown h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

.accuracy-card {
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
}

.accuracy-card h3 {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.accuracy-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.accuracy-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: var(--radius-full);
}

.accuracy-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--accent-green);
}

.results-table .hub-row.win {
    background: rgba(0, 210, 106, 0.05);
}

.results-table .hub-row.loss {
    background: rgba(248, 81, 73, 0.05);
}

.final-score {
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--text-primary);
}

.tip-text {
    display: block;
    font-weight: 600;
}

.tip-prob {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.result-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 700;
}

.result-badge.win {
    background: rgba(0, 210, 106, 0.15);
    color: var(--confidence-high);
}

.result-badge.loss {
    background: rgba(248, 81, 73, 0.15);
    color: var(--confidence-low);
}

.monthly-stats {
    margin-bottom: var(--space-8);
}

.monthly-stats h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.monthly-card {
    background: var(--bg-card);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
}

.monthly-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.monthly-stat {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.monthly-stat:last-child {
    border-bottom: none;
}

.monthly-stat .label {
    color: var(--text-secondary);
}

.monthly-stat .value {
    font-weight: 700;
}

.monthly-stat .value.positive {
    color: var(--confidence-high);
}

.monthly-stat .value.negative {
    color: var(--confidence-low);
}

.results-disclaimer {
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
}

.results-disclaimer p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* ===================================
   LEAGUE PAGE
   =================================== */
.league-header-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.league-logo {
    border-radius: var(--radius-lg);
}

.league-info-section {
    background: var(--bg-card);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
}

.league-info-section h2 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.league-info-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   MATCH DETAIL PAGE ENHANCEMENTS
   =================================== */
.form-display {
    display: flex;
    gap: var(--space-1);
    margin: var(--space-2) 0;
}

.form-char {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
}

.form-char.win {
    background: rgba(0, 210, 106, 0.2);
    color: var(--confidence-high);
}

.form-char.draw {
    background: rgba(139, 148, 158, 0.2);
    color: var(--text-secondary);
}

.form-char.loss {
    background: rgba(248, 81, 73, 0.2);
    color: var(--confidence-low);
}

.predicted-score-large {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.predicted-score-large .score {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--accent-green);
}

.predicted-score-large .dash {
    font-size: var(--text-3xl);
    color: var(--text-muted);
}

.score-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.prob-section {
    background: var(--bg-card);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
}

.prob-section h2 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.prob-bars-horizontal {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

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

.prob-row .prob-label {
    width: 120px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.prob-bar-wrapper {
    flex: 1;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.prob-bar-fill {
    height: 100%;
    border-radius: var(--radius-md);
    transition: width 0.5s ease;
}

.prob-bar-fill.home {
    background: var(--confidence-high);
}

.prob-bar-fill.draw {
    background: var(--text-muted);
}

.prob-bar-fill.away {
    background: var(--accent-blue);
}

.prob-row .prob-value {
    width: 50px;
    text-align: right;
    font-weight: 700;
}

.faq-section {
    margin: var(--space-8) 0;
}

.faq-section h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.related-section {
    margin: var(--space-8) 0;
}

.related-section h2 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.related-links {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.related-link {
    padding: var(--space-2) var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
}

.related-link:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* ===================================
   FOOTER ENHANCEMENTS
   =================================== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
}

.footer-section h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: var(--space-2);
}

.footer-section a {
    font-size: var(--text-sm);
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
}

/* Mobile adjustments for new sections */
@media (max-width: 768px) {
    .hub-stats {
        gap: var(--space-4);
    }

    .hub-stat .stat-number {
        font-size: var(--text-2xl);
    }

    .acca-pick {
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .acca-pick-match {
        width: 100%;
    }

    .social-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .accuracy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hub-header h1 {
        font-size: var(--text-2xl);
    }

    .filter-tabs {
        gap: var(--space-1);
    }

    .filter-tab {
        padding: var(--space-1) var(--space-2);
        font-size: var(--text-xs);
    }

    .hub-table th,
    .hub-table td {
        padding: var(--space-2);
        font-size: var(--text-xs);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   QUICK FILTERS BAR - Sticky Combined Navigation
   ========================================================================== */
.quick-filters {
    position: sticky;
    top: 52px;
    z-index: 95;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
    transition: box-shadow 0.2s ease;
}

.quick-filters.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.quick-filters-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

@media (min-width: 900px) {
    .quick-filters-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Prediction Type Filters */
.filter-type-group {
    display: flex;
    gap: var(--space-1);
    background: var(--bg-card);
    padding: var(--space-1);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-type-group::-webkit-scrollbar {
    display: none;
}

.filter-type-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.filter-type-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.filter-type-btn.active {
    background: var(--accent-green);
    color: var(--bg-primary);
    font-weight: 600;
}

.filter-type-btn .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 var(--space-1);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 700;
}

.filter-type-btn.active .count {
    background: rgba(0, 0, 0, 0.2);
}

/* League Pills Scroll */
.filter-league-group {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: var(--space-1);
}

.filter-league-group::-webkit-scrollbar {
    display: none;
}

.filter-league-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.filter-league-pill:hover {
    background: var(--bg-hover);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.filter-league-pill.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.filter-league-pill img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   STATS / SOCIAL PROOF BAR
   ========================================================================== */
.stats-bar {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-6) 0;
}

.stats-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

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

@media (min-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-green);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    color: var(--accent-green);
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-value.green { color: var(--accent-green); }
.stat-value.gold { color: var(--accent-gold); }
.stat-value.blue { color: var(--accent-blue); }

.stat-desc {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-1);
    padding: 2px 6px;
    background: rgba(0, 210, 106, 0.1);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-green);
}

.stat-trend.down {
    background: rgba(248, 81, 73, 0.1);
    color: var(--confidence-low);
}

/* ==========================================================================
   TELEGRAM CTA SECTION
   ========================================================================== */
.telegram-cta-section {
    padding: var(--space-10) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.telegram-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.telegram-cta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-8);
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 136, 204, 0.05) 100%);
    border: 2px solid rgba(0, 136, 204, 0.3);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.telegram-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.1) 0%, transparent 60%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.telegram-icon-large {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 136, 204, 0.4);
}

.telegram-icon-large svg {
    width: 36px;
    height: 36px;
    color: white;
}

.telegram-cta-content {
    position: relative;
    z-index: 1;
}

.telegram-cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.telegram-cta-content p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

.telegram-cta-benefits {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.cta-benefit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.cta-benefit svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.telegram-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: white;
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

.telegram-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 136, 204, 0.5);
    color: white;
}

.telegram-cta-btn svg {
    flex-shrink: 0;
}

.telegram-cta-members {
    position: relative;
    z-index: 1;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.telegram-cta-members strong {
    color: var(--text-primary);
}

/* ==========================================================================
   TRUST PILLARS - Enhanced Design
   ========================================================================== */
.trust-pillars {
    padding: var(--space-10) 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.trust-pillars-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.trust-pillars-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.trust-pillars-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.trust-pillars-header p {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

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

@media (min-width: 600px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pillar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-6);
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s ease;
}

.pillar-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.15) 0%, rgba(0, 210, 106, 0.05) 100%);
    border: 1px solid rgba(0, 210, 106, 0.2);
    border-radius: var(--radius-lg);
    color: var(--accent-green);
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
}

.pillar-content h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.pillar-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section-home {
    padding: var(--space-10) 0;
    background: var(--bg-primary);
}

.faq-section-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.faq-section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.faq-section-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.faq-section-header p {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-accordion-item:hover {
    border-color: var(--border-default);
}

.faq-accordion-item[open] {
    border-color: var(--accent-green);
}

.faq-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    list-style: none;
}

.faq-accordion-trigger::-webkit-details-marker {
    display: none;
}

.faq-accordion-trigger h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    padding-right: var(--space-4);
}

.faq-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-elevated);
    border-radius: 50%;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.faq-accordion-item[open] .faq-accordion-icon {
    background: var(--accent-green);
    color: var(--bg-primary);
    transform: rotate(45deg);
}

.faq-accordion-content {
    padding: 0 var(--space-5) var(--space-5);
}

.faq-accordion-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   ENHANCED SECTION SPACING (8pt Grid)
   ========================================================================== */
.section-spacing-sm { padding: var(--space-6) 0; }
.section-spacing-md { padding: var(--space-8) 0; }
.section-spacing-lg { padding: var(--space-10) 0; }
.section-spacing-xl { padding: var(--space-12) 0; }

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-default), transparent);
    margin: var(--space-6) 0;
}

/* ==========================================================================
   ENHANCED FOOTER
   ========================================================================== */
.footer-enhanced {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-default);
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-10) var(--space-4) var(--space-8);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--space-6);
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--text-primary);
}

.footer-brand-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: var(--space-2);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.footer-social-link.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.footer-nav h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-nav a {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-nav a:hover {
    color: var(--accent-green);
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-default);
    padding: var(--space-5) var(--space-4);
}

.footer-bottom-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-disclaimer {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
}

.footer-copyright {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.footer-meta {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ==========================================================================
   ACCESSIBILITY UTILITIES
   ========================================================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden:focus,
.visually-hidden:active {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ==========================================================================
   NEW COMPACT DESIGN SYSTEM (v2)
   Data-dense, scannable, mobile-first
   ========================================================================== */

/* --------------------------------------------------------------------------
   COMPACT HERO
   -------------------------------------------------------------------------- */
.hero-compact {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-4) 0;
}

.hero-compact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.hero-left {
    flex: 1;
    min-width: 200px;
}

.hero-date-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-2);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.hero-compact h1 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.hero-tagline {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin: var(--space-1) 0 0;
}

.hero-stats {
    display: flex;
    gap: var(--space-2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    min-width: 60px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 2px;
}

.hero-stat.highlight .hero-stat-value { color: var(--accent-green); }
.hero-stat.gold .hero-stat-value { color: var(--accent-gold); }

/* --------------------------------------------------------------------------
   FILTERS BAR (Sticky)
   -------------------------------------------------------------------------- */
.filters-bar {
    position: sticky;
    top: 52px;
    z-index: 90;
    background: rgba(8, 11, 16, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-default);
    transition: box-shadow 0.2s ease;
}

.filters-bar.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.filters-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 2px;
    background: var(--bg-card);
    padding: 2px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-default);
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--accent-green);
    color: #000;
    font-weight: 600;
}

.filter-tab span {
    font-size: var(--text-xs);
    opacity: 0.8;
}

.league-chips {
    display: flex;
    gap: var(--space-1);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.league-chips::-webkit-scrollbar { display: none; }

.league-chip {
    padding: var(--space-1) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 999px;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.league-chip:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.league-chip.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

/* --------------------------------------------------------------------------
   MAIN CONTENT (Two-Column Layout)
   -------------------------------------------------------------------------- */
.main-content {
    background: var(--bg-primary);
    min-height: 60vh;
}

.main-content-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-4);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 900px) {
    .main-content-inner {
        grid-template-columns: 1fr 320px;
    }
}

@media (min-width: 1100px) {
    .main-content-inner {
        grid-template-columns: 1fr 360px;
    }
}

/* --------------------------------------------------------------------------
   PREDICTIONS COLUMN
   -------------------------------------------------------------------------- */
.predictions-column {
    min-width: 0;
}

/* Featured Pick (Compact Inline) */
.featured-pick {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.1) 0%, rgba(0, 210, 106, 0.02) 100%);
    border: 1px solid rgba(0, 210, 106, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.featured-pick-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--accent-green);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.featured-pick-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-width: 0;
    flex-wrap: wrap;
}

.featured-pick-match {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

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

.featured-team img {
    flex-shrink: 0;
}

.featured-vs {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.featured-pick-tip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.tip-badge {
    padding: var(--space-1) var(--space-2);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.tip-prob {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--accent-green);
}

.featured-pick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.featured-pick-link:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
}

/* League Section */
.league-section {
    margin-bottom: var(--space-4);
}

.league-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--border-default);
    margin-bottom: var(--space-2);
}

.league-section-header h2 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.league-meta {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Matches Grid */
.matches-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Match Card (Compact Row) */
.match-card {
    display: grid;
    grid-template-columns: 45px 1fr auto auto auto;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.match-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-default);
}

@media (max-width: 600px) {
    .match-card {
        grid-template-columns: 40px 1fr auto auto;
        padding: var(--space-2);
    }

    .match-card-prediction {
        display: none;
    }
}

.match-card-time {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.match-card-teams {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.match-team {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-primary);
    min-width: 0;
}

.match-team img {
    flex-shrink: 0;
}

.match-team span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-indicator {
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}

.form-indicator.good { color: var(--accent-green); }
.form-indicator.bad { color: var(--confidence-low); }

.match-card-prediction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pred-score {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.pred-probs {
    display: flex;
    gap: 2px;
}

.pred-probs .prob {
    width: 22px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: 2px;
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
}

.pred-probs .prob.active {
    background: var(--accent-green);
    color: #000;
}

.match-card-tips {
    display: flex;
    gap: 3px;
}

.tip-chip {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.tip-chip.home { background: rgba(0, 210, 106, 0.15); color: var(--accent-green); }
.tip-chip.draw { background: rgba(139, 148, 158, 0.15); color: var(--text-secondary); }
.tip-chip.away { background: rgba(88, 166, 255, 0.15); color: var(--accent-blue); }
.tip-chip.over { background: rgba(212, 160, 18, 0.15); color: var(--accent-gold); }
.tip-chip.under { background: rgba(139, 148, 158, 0.15); color: var(--text-secondary); }
.tip-chip.btts { background: rgba(0, 210, 106, 0.15); color: var(--accent-green); }

.match-card-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.match-card-link:hover {
    background: var(--accent-blue);
    color: #fff;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-10);
    text-align: center;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: var(--space-3);
    opacity: 0.5;
}

.empty-state p {
    font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   SIDEBAR
   -------------------------------------------------------------------------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

@media (min-width: 900px) {
    .sidebar {
        position: sticky;
        top: 110px;
        align-self: start;
    }
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-default);
}

.sidebar-card-header h3 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-card-header h3 svg {
    color: var(--text-muted);
}

/* Accumulator Card */
.acca-odds {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 800;
    color: var(--accent-gold);
}

.acca-picks {
    padding: var(--space-2);
}

.acca-pick-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    transition: background 0.15s ease;
}

.acca-pick-row:hover {
    background: var(--bg-hover);
}

.acca-pick-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.acca-pick-teams {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.acca-pick-time {
    font-size: 10px;
    color: var(--text-muted);
}

.acca-pick-tip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.acca-tip-value {
    padding: 2px 6px;
    background: rgba(0, 210, 106, 0.15);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-green);
}

.acca-tip-prob {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.acca-footer {
    padding: var(--space-3);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-default);
}

.acca-return {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.acca-return strong {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--accent-gold);
}

/* Value Bets Card */
.value-picks {
    padding: var(--space-2);
}

.value-pick-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.15s ease;
}

.value-pick-row:hover {
    background: var(--bg-hover);
}

.value-pick-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.value-pick-match {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.value-pick-tip {
    font-size: 10px;
    color: var(--text-muted);
}

.value-edge {
    padding: 2px 6px;
    background: rgba(0, 210, 106, 0.15);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Telegram Card */
.telegram-card {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 136, 204, 0.05) 100%);
    border-color: rgba(0, 136, 204, 0.3);
}

.telegram-card-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
}

.telegram-icon {
    color: #0088cc;
    flex-shrink: 0;
}

.telegram-card-content div {
    display: flex;
    flex-direction: column;
}

.telegram-card-content strong {
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.telegram-card-content span {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.telegram-btn {
    display: block;
    padding: var(--space-2) var(--space-3);
    margin: 0 var(--space-3) var(--space-3);
    background: #0088cc;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
}

.telegram-btn:hover {
    background: #006699;
    color: #fff;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-badge svg {
    color: var(--accent-green);
}

/* --------------------------------------------------------------------------
   TRUST STRIP (Footer)
   -------------------------------------------------------------------------- */
.trust-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-default);
    padding: var(--space-3) 0;
}

.trust-strip-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    text-align: center;
}

.trust-strip p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   ANSWER ENGINE - Revolutionary Findability Design
   Based on: Cognitive load theory, F-pattern scanning, Search-first UX
   Grid: 8pt system (4px base)
   ========================================================================== */

/* --------------------------------------------------------------------------
   COMMAND CENTER - Search-First Hero
   The primary interaction point. Answers before questions.
   -------------------------------------------------------------------------- */
.command-center {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-8) 0 var(--space-6);
    position: relative;
}

.command-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-green) 50%, transparent 100%);
    opacity: 0.3;
}

.command-center-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Context Bar - Date + Stats */
.context-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    flex-wrap: wrap;
}

.context-date {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 210, 106, 0.1);
    border: 1px solid rgba(0, 210, 106, 0.2);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.context-date svg {
    color: var(--accent-green);
}

.context-stats {
    display: flex;
    gap: var(--space-4);
}

.context-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.context-stat strong {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.context-stat::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--border-default);
    border-radius: 50%;
    margin-right: 4px;
}

.context-stat:first-child::before {
    display: none;
}

/* Search Box - The Primary Input */
.search-box {
    position: relative;
    margin-bottom: var(--space-4);
}

.search-input {
    width: 100%;
    padding: 18px 24px 18px 56px;
    background: var(--bg-card);
    border: 2px solid var(--border-default);
    border-radius: 16px;
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    color: var(--text-primary);
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-green);
    background: var(--bg-elevated);
    box-shadow: 0 4px 24px rgba(0, 210, 106, 0.15), 0 0 0 4px rgba(0, 210, 106, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.search-input:focus ~ .search-icon {
    color: var(--accent-green);
}

.search-hints {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    flex-wrap: wrap;
}

.search-hint {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.search-hint:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--accent-green);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   INSTANT ANSWERS BAR
   Immediate value - no scrolling needed
   -------------------------------------------------------------------------- */
.instant-answers {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-4) 0;
}

.instant-answers-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

@media (max-width: 1100px) {
    .instant-answers-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .instant-answers-inner {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
}

/* Answer Card */
.answer-card {
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.answer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-default);
    transition: background 0.2s ease;
}

.answer-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.answer-card:hover::before {
    background: var(--accent-green);
}

.answer-card.featured {
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(0, 210, 106, 0.3);
}

.answer-card.featured::before {
    background: var(--accent-green);
}

.answer-card.acca {
    background: linear-gradient(135deg, rgba(212, 160, 18, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(212, 160, 18, 0.3);
}

.answer-card.acca::before {
    background: var(--accent-gold);
}

.answer-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.answer-card.featured .answer-label {
    color: var(--accent-green);
}

.answer-card.acca .answer-label {
    color: var(--accent-gold);
}

.answer-label svg {
    width: 14px;
    height: 14px;
}

.answer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.answer-teams {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.answer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.answer-meta span:nth-child(2) {
    opacity: 0.4;
}

.answer-tip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-muted);
}

.answer-tip-value {
    padding: 6px 12px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
}

.answer-card.featured .answer-tip-value {
    background: var(--accent-green);
    color: #000;
}

.answer-tip-prob {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--accent-green);
}

.answer-card.acca .answer-tip-prob {
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   SMART FILTERS - Glanceable, One-tap Filtering
   -------------------------------------------------------------------------- */
.smart-filters {
    position: sticky;
    top: 52px;
    z-index: 90;
    background: rgba(8, 11, 16, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-3) 0;
    transition: box-shadow 0.2s ease;
}

.smart-filters.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.smart-filters-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Filter Groups */
.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-right: var(--space-4);
    border-right: 1px solid var(--border-default);
}

.filter-group-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: var(--space-2);
    white-space: nowrap;
}

/* Smart Chip */
.smart-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.15s ease;
}

.smart-chip:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.smart-chip.active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
    font-weight: 600;
}

.smart-chip .chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
}

.smart-chip.active .chip-count {
    background: rgba(0, 0, 0, 0.25);
}

/* League Scroll */
.league-scroll {
    flex: 1;
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
    margin-left: var(--space-2);
}

.league-scroll::-webkit-scrollbar {
    display: none;
}

.league-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.league-tag:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.league-tag.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
}

.league-tag img {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   PREDICTIONS STREAM - Dense, Scannable Match List
   -------------------------------------------------------------------------- */
.predictions-stream {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-6) var(--space-4);
}

/* League Group */
.league-group {
    margin-bottom: var(--space-6);
}

.league-group:last-child {
    margin-bottom: 0;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-default);
}

.section-divider h2 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.section-divider h2 img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-count {
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.section-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-default) 0%, transparent 100%);
}

/* Match Row - Ultra Dense */
.match-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.match-row:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-blue);
    transform: translateX(4px);
}

.match-row.expanded {
    border-color: var(--accent-green);
    background: var(--bg-elevated);
}

@media (min-width: 768px) {
    .match-row {
        grid-template-columns: 56px 1fr 140px auto auto;
        gap: var(--space-5);
    }
}

/* Time Column */
.match-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: var(--space-2);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    min-width: 52px;
}

.match-time-value {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.match-time-date {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Teams Column */
.match-teams {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

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

.match-team-row img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.match-team-name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-form {
    display: flex;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
    padding: 4px 6px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

.form-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--text-muted);
}

.form-dot.w { background: var(--accent-green); }
.form-dot.d { background: var(--accent-gold); }
.form-dot.l { background: var(--confidence-low); }

/* Prediction Column */
.match-prediction {
    display: none;
}

@media (min-width: 768px) {
    .match-prediction {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}

.pred-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--text-primary);
}

.pred-prob-bar {
    display: flex;
    width: 80px;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

.pred-prob-bar span {
    height: 100%;
}

.pred-prob-bar .home { background: var(--accent-green); }
.pred-prob-bar .draw { background: var(--text-muted); }
.pred-prob-bar .away { background: var(--accent-blue); }

/* Tips Column */
.match-tips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tip-tag {
    padding: 6px 10px;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tip-tag.result-1 { background: rgba(0, 210, 106, 0.12); color: var(--accent-green); border: 1px solid rgba(0, 210, 106, 0.2); }
.tip-tag.result-x { background: rgba(139, 148, 158, 0.12); color: var(--text-secondary); border: 1px solid rgba(139, 148, 158, 0.2); }
.tip-tag.result-2 { background: rgba(88, 166, 255, 0.12); color: var(--accent-blue); border: 1px solid rgba(88, 166, 255, 0.2); }
.tip-tag.over { background: rgba(212, 160, 18, 0.12); color: var(--accent-gold); border: 1px solid rgba(212, 160, 18, 0.2); }
.tip-tag.under { background: rgba(139, 148, 158, 0.12); color: var(--text-secondary); border: 1px solid rgba(139, 148, 158, 0.2); }
.tip-tag.btts { background: rgba(0, 210, 106, 0.12); color: var(--accent-green); border: 1px solid rgba(0, 210, 106, 0.2); }
.tip-tag.best {
    background: var(--accent-green);
    color: #000;
    border: 1px solid var(--accent-green);
    box-shadow: 0 2px 8px rgba(0, 210, 106, 0.3);
}

/* Expand Arrow */
.match-expand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.match-row:hover .match-expand {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.match-expand svg {
    transition: transform 0.2s ease;
}

.match-row.expanded .match-expand {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
}

.match-row.expanded .match-expand svg {
    transform: rotate(180deg);
}

/* Expandable Details */
.match-details {
    display: none;
    grid-column: 1 / -1;
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-default);
}

.match-row.expanded .match-details {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-4);
    padding: var(--space-3);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-2);
}

.detail-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-value {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
}

.detail-value.highlight {
    color: var(--accent-green);
}

.match-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-5);
    background: var(--accent-blue);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.match-link:hover {
    background: #4d9aff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 166, 255, 0.4);
}

/* --------------------------------------------------------------------------
   QUICK SIDEBAR - Sticky Utilities
   -------------------------------------------------------------------------- */
@media (min-width: 1100px) {
    .predictions-stream {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: var(--space-6);
    }

    .predictions-main {
        min-width: 0;
    }

    .predictions-sidebar {
        position: sticky;
        top: 120px;
        align-self: start;
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }
}

@media (max-width: 1099px) {
    .predictions-sidebar {
        display: none;
    }
}

/* Sidebar Module */
.sidebar-module {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sidebar-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-default);
}

.sidebar-module-header h3 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.sidebar-module-header h3 svg {
    color: var(--accent-gold);
}

.sidebar-module-badge {
    padding: 2px 8px;
    background: var(--accent-gold);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    color: #000;
}

.sidebar-picks {
    padding: var(--space-2);
}

.sidebar-pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.15s ease;
}

.sidebar-pick:hover {
    background: var(--bg-hover);
}

.sidebar-pick-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.sidebar-pick-match {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-pick-time {
    font-size: 10px;
    color: var(--text-muted);
}

.sidebar-pick-tip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.sidebar-pick-value {
    padding: 2px 6px;
    background: rgba(0, 210, 106, 0.15);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-green);
}

.sidebar-pick-odds {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
}

.sidebar-module-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3);
    background: rgba(212, 160, 18, 0.05);
    border-top: 1px solid var(--border-muted);
}

.sidebar-return {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.sidebar-return-value {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--accent-gold);
}

/* Telegram Module */
.telegram-module {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 136, 204, 0.05) 100%);
    border-color: rgba(0, 136, 204, 0.3);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
}

.telegram-module svg {
    color: #0088cc;
}

.telegram-module-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.telegram-module-text strong {
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.telegram-module-text span {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

.telegram-module-btn {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    background: #0088cc;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.15s ease;
}

.telegram-module-btn:hover {
    background: #006699;
    color: #fff;
}

/* --------------------------------------------------------------------------
   EMPTY STATE & LOADING
   -------------------------------------------------------------------------- */
.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) var(--space-4);
    text-align: center;
}

.no-results svg {
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

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

.no-results p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    max-width: 400px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE POLISH
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
    .command-center {
        padding: var(--space-4) 0 var(--space-3);
    }

    .search-input {
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-3) var(--space-3) 44px;
    }

    .context-stats {
        display: none;
    }

    .instant-answers-inner {
        gap: var(--space-2);
    }

    .answer-card {
        min-width: 160px;
        padding: var(--space-2);
    }

    .smart-filters-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .filter-group-label {
        display: none;
    }

    .match-row {
        padding: var(--space-2);
        gap: var(--space-2);
    }
}

/* ==========================================================================
   INDEX2 - Revolutionary Dashboard Design

   Design Philosophy:
   - Software-like architecture (Stripe, Linear, Notion)
   - Maximum 5 key metrics visible at once
   - Table-based data presentation
   - Monochromatic with single accent (#00d26a)
   - Typography-driven hierarchy
   - Generous whitespace (8pt grid)
   - Zero decorative elements
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.page-header {
    border-bottom: 1px solid var(--border-muted);
    background: var(--bg-primary);
}

.page-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-4) var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* Top row: Title + Metrics */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-6);
}

/* Left side: Title + Date */
.header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Bottom row: League pills */
.header-leagues {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 calc(-1 * var(--space-8));
    padding: 0 var(--space-8);
}

.header-leagues::-webkit-scrollbar {
    display: none;
}

/* Screen reader only - for hidden search */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.title-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.title-row h1 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.accuracy-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
    border-radius: var(--radius-sm);
}

.date-row {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.date-row time {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 400;
}

.date-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
}

.date-arrow:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

/* Right side: Metrics */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.header-right .metric {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
}

.header-right .metric:hover {
    background: var(--bg-elevated);
}

.header-right .metric.active {
    background: var(--bg-card);
}

.header-right .metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.header-right .metric-icon.highlight {
    color: var(--accent-green);
}

.header-right .metric-value {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.header-right .metric-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.header-right .metric-divider {
    width: 1px;
    height: 24px;
    background: var(--border-muted);
}

.page-actions {
    display: flex;
    gap: var(--space-3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    background: var(--bg-elevated);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--bg-primary);
    background: var(--accent-green);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-primary:hover {
    background: #00c45f;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Metrics Bar
   -------------------------------------------------------------------------- */
.metrics-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-muted);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.metrics-bar::-webkit-scrollbar {
    display: none;
}

.metrics-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-4) var(--space-8);
    display: flex;
    align-items: stretch;
    gap: var(--space-4);
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
    min-width: 90px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    text-align: center;
}

.metric.clickable {
    cursor: pointer;
    transition: all 0.15s ease;
}

.metric.clickable:hover {
    background: var(--bg-card);
}

.metric.clickable:active {
    transform: scale(0.98);
}

.metric.clickable.active {
    background: var(--bg-card);
    box-shadow: inset 0 0 0 1px var(--accent-green);
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-1);
}

.metric.clickable:hover .metric-icon {
    color: var(--text-primary);
}

.metric-icon.highlight {
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
}

.metric-value {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.metric-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.metric.highlight .metric-value {
    color: var(--accent-green);
}

.metric.highlight .metric-icon {
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
}

.metric-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.metric-sub {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 400;
}

.metric-divider {
    width: 1px;
    align-self: stretch;
    background: var(--border-default);
    margin: var(--space-2) 0;
}

/* --------------------------------------------------------------------------
   Filter Bar
   -------------------------------------------------------------------------- */
.filter-bar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-muted);
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-4) var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.filter-group label {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-3);
    padding-right: var(--space-8);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-green);
}

.filter-search {
    margin-left: auto;
}

.search-input {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-4);
    width: 240px;
    transition: all 0.15s ease;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-green);
    background: var(--bg-elevated);
}

/* --------------------------------------------------------------------------
   Search Section
   -------------------------------------------------------------------------- */
.search-section {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-muted);
    padding: var(--space-4) 0;
}

.search-section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.search-container {
    position: relative;
    max-width: 600px;
}

.search-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4) var(--space-3) calc(var(--space-4) + 28px);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 210, 106, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-shortcut {
    position: absolute;
    right: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
    background: var(--bg-elevated);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
}

/* --------------------------------------------------------------------------
   Main Layout (Two Column with Sidebar)
   -------------------------------------------------------------------------- */
.main-layout {
    background: var(--bg-primary);
    min-height: 60vh;
    padding-top: var(--space-6);
}

.main-layout-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-6);
    align-items: start;
}

.matches-column {
    min-width: 0;
}

/* Accumulator Sidebar */
.acca-sidebar {
    position: sticky;
    top: var(--space-4);
    max-height: calc(100vh - var(--space-8));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* Sidebar Cards Base */
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

/* Stats Card */
.stats-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-muted);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border-muted);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: var(--bg-card);
}

.stat-box.highlight .stat-number {
    color: var(--accent-green);
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Tip of the Day Card */
.tip-card {
    background: linear-gradient(135deg, rgba(240, 136, 62, 0.08) 0%, rgba(217, 119, 6, 0.03) 100%);
    border: 1px solid rgba(240, 136, 62, 0.2);
    border-radius: var(--radius-lg);
    overflow: visible;
}

.tip-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, #f0883e 0%, #d97706 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: -1px -1px 0 -1px;
}

.tip-icon {
    color: white;
    flex-shrink: 0;
}

.tip-header-text {
    display: flex;
    flex-direction: column;
}

.tip-label {
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.tip-sublabel {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.8);
}

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

.tip-match-info {
    margin-bottom: var(--space-4);
}

.tip-league-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #f0883e;
    background: rgba(240, 136, 62, 0.15);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-2);
}

.tip-teams {
    display: block;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.tip-prediction-box {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: var(--space-3);
}

.tip-prediction-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.tip-prediction-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tip-prediction-value {
    font-size: var(--text-base);
    font-weight: 700;
    color: #f0883e;
}

.tip-confidence-meter {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.confidence-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #f0883e 0%, #22c55e 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.confidence-text {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: right;
}

.tip-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: #f0883e;
    text-decoration: none;
    border-top: 1px solid rgba(240, 136, 62, 0.15);
    transition: all 0.15s ease;
}

.tip-card-action:hover {
    background: rgba(240, 136, 62, 0.1);
}

.tip-card-action svg {
    transition: transform 0.15s ease;
}

.tip-card-action:hover svg {
    transform: translateX(3px);
}

/* Value Bets Card */
.value-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-muted);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.value-count {
    margin-left: auto;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.value-list {
    padding: var(--space-2);
}

.value-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: background 0.15s ease;
}

.value-item:hover {
    background: var(--bg-secondary);
}

.value-teams {
    font-size: var(--text-xs);
    color: var(--text-primary);
    font-weight: 500;
}

.value-badge {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.15);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

/* Acca Card */
.acca-card {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: visible;
    flex-shrink: 0;
}

.acca-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--accent-green) 0%, #00a854 100%);
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: -1px -1px 0 -1px;
}

.acca-card-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: var(--text-base);
}

.acca-card-badge {
    font-size: var(--text-xs);
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.acca-card-picks {
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.acca-card-pick {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    border-left: 3px solid var(--accent-green);
}

.acca-pick-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-1);
}

.acca-pick-league {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.acca-pick-time {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.acca-pick-teams {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.acca-pick-selection {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.acca-pick-tip {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.acca-pick-odds {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.acca-pick-confidence {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--accent-green);
    margin-left: auto;
}

.acca-card-summary {
    padding: var(--space-3) var(--space-4);
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-muted);
    border-bottom: 1px solid var(--border-muted);
}

.acca-combined {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acca-combined-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.acca-combined-value {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

.acca-card-returns {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.acca-stake-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acca-stake-row label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.acca-stake-input-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 0 var(--space-2);
}

.acca-currency {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.acca-stake-input {
    width: 80px;
    padding: var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    text-align: right;
}

.acca-stake-input::-webkit-inner-spin-button,
.acca-stake-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.acca-return-row,
.acca-profit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acca-return-label,
.acca-profit-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.acca-return-value {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.acca-profit-value {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

.acca-card-action {
    padding: 0 var(--space-4) var(--space-4);
}

.acca-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-3);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: white;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.acca-copy-btn:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.acca-sidebar .acca-disclaimer {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border-muted);
    margin: 0;
}

/* Empty Acca State */
.acca-empty-state {
    padding: var(--space-8) var(--space-4);
    text-align: center;
    color: var(--text-muted);
}

.acca-empty-state svg {
    margin-bottom: var(--space-3);
    opacity: 0.5;
}

.acca-empty-state p {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-1);
}

.acca-empty-state span {
    font-size: var(--text-xs);
}

/* Responsive: Hide sidebar on mobile */
@media (max-width: 1024px) {
    .main-layout-inner {
        grid-template-columns: 1fr;
    }

    .acca-sidebar {
        position: relative;
        top: 0;
        max-height: none;
        margin-top: var(--space-6);
    }
}

/* Table Header - Hidden on mobile, grid on desktop */
.table-header {
    display: none;
    grid-template-columns: 55px 1fr 55px 90px 65px 50px 50px 50px 36px;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-default);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (min-width: 1024px) {
    .table-header {
        display: grid;
    }
}

/* Table Body */
.table-body {
    display: flex;
    flex-direction: column;
}

/* Date Section Header */
.date-section-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-muted);
    position: sticky;
    top: 0;
    z-index: 10;
}

.date-section-header .date-label {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.date-section-header .date-full {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.date-section-header .date-count {
    margin-left: auto;
    font-size: var(--text-xs);
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* Date Section Container */
.date-section {
    margin-bottom: var(--space-2);
}

.date-matches {
    display: flex;
    flex-direction: column;
}

/* Hidden matches (after first 10) */
.table-row.hidden-match {
    display: none;
}

.date-section.expanded .table-row.hidden-match {
    display: grid;
}

/* Filtered out matches (from search/filters) */
.table-row.filtered-out {
    display: none !important;
}

/* Load More Button */
.load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-default);
}

.load-more-btn svg {
    transition: transform 0.2s ease;
}

.date-section.expanded .load-more-btn {
    display: none;
}

/* Table Row - Card on mobile, grid on desktop */
.table-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-3);
    margin: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    position: relative;
}

@media (min-width: 1024px) {
    .table-row {
        display: grid;
        grid-template-columns: 55px 1fr 55px 90px 65px 50px 50px 50px 36px;
        gap: var(--space-2);
        align-items: center;
        padding: var(--space-3) var(--space-4);
        margin: 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid var(--border-muted);
        border-radius: 0;
    }
}

.table-row:hover {
    background: var(--bg-secondary);
}

.table-row.strong {
    background: rgba(0, 210, 106, 0.03);
}

.table-row.strong:hover {
    background: rgba(0, 210, 106, 0.06);
}

/* Time Column */
.td-time {
    display: flex;
    align-items: center;
}

.time-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

/* Match Column */
.td-match {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.match-info {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

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

.vs {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 400;
}

.league-name {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Prediction Column */
.td-prediction {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.score {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Confidence Column */
.td-confidence {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.confidence-bar {
    flex: 1;
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.confidence-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 36px;
    text-align: right;
}

/* Tips Column */
.td-tips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tip-text {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.tip-secondary {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
    padding: 2px 6px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
}

/* Action Column - Expand Indicator */
.td-action {
    display: flex;
    justify-content: center;
    align-items: center;
}

.expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.table-row:hover .expand-icon {
    color: var(--text-secondary);
}

.table-row.expanded .expand-icon {
    transform: rotate(180deg);
    color: var(--accent-green);
}

/* Row Details (Expandable) */
.row-details {
    display: none;
    grid-column: 1 / -1;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-muted);
    margin-top: var(--space-4);
}

.table-row.expanded .row-details {
    display: block;
}

.details-content {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.detail-link {
    margin-left: auto;
    font-size: var(--text-sm);
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
}

.detail-link:hover {
    text-decoration: underline;
}

/* Empty State */
.empty-state {
    padding: var(--space-16) var(--space-8);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   Accumulator Section
   -------------------------------------------------------------------------- */
.acca-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-muted);
    margin-top: var(--space-8);
}

.acca-section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-8);
}

.acca-header {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.acca-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.acca-meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.acca-table {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.acca-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.acca-match {
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.acca-tip {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--accent-green);
}

.acca-footer {
    display: flex;
    gap: var(--space-8);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-default);
}

.acca-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.acca-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.acca-value {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--accent-green);
}

/* --------------------------------------------------------------------------
   Page Footer
   -------------------------------------------------------------------------- */
.page-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-8);
    text-align: center;
}

.page-footer p {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Index2 Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .page-header-inner,
    .metrics-bar-inner,
    .league-pills-inner,
    .filter-bar-inner,
    .data-section-inner,
    .acca-section-inner {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .table-header,
    .table-row {
        grid-template-columns: 60px 1fr 100px 120px 48px;
    }

    .th-tips,
    .td-tips {
        display: none;
    }

    .filter-bar-inner {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .filter-search {
        width: 100%;
        margin-left: 0;
        margin-top: var(--space-2);
    }

    .search-input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .page-actions {
        width: 100%;
    }

    .page-actions a {
        flex: 1;
        justify-content: center;
    }

    .metrics-bar-inner {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .metric-divider {
        display: none;
    }

    .metric {
        min-width: calc(50% - var(--space-2));
    }

    .table-header {
        display: none;
    }

    .table-row {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        padding: var(--space-4);
    }

    .td-time {
        order: 1;
    }

    .td-match {
        order: 2;
        width: 100%;
    }

    .match-info {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }

    .vs {
        display: none;
    }

    .team-name {
        font-size: var(--text-base);
    }

    .td-prediction,
    .td-confidence {
        order: 3;
    }

    .td-action {
        position: absolute;
        top: var(--space-4);
        right: var(--space-4);
    }

    .table-row {
        position: relative;
    }

    .details-content {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .detail-group {
        min-width: calc(50% - var(--space-2));
    }

    .detail-link {
        width: 100%;
        margin-left: 0;
        margin-top: var(--space-4);
        text-align: center;
        padding: var(--space-3);
        background: var(--bg-elevated);
        border-radius: var(--radius-md);
    }
}

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

    .metric-value {
        font-size: var(--text-lg);
    }

    .acca-footer {
        flex-direction: column;
        gap: var(--space-4);
    }
}

/* ==========================================================================
   INDEX2 v2 - Enhanced Features
   ========================================================================== */

/* --------------------------------------------------------------------------
   League Filters (Tab-style)
   -------------------------------------------------------------------------- */
.league-pills {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-muted);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    text-align: left;
}

.league-pills::-webkit-scrollbar {
    display: none;
}

.league-pills-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2) var(--space-8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.league-scroll {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    min-width: 0;
}

.league-scroll::-webkit-scrollbar {
    display: none;
}

.league-search {
    position: relative;
    flex-shrink: 0;
}

.league-search .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.league-search .search-input {
    width: 160px;
    padding: var(--space-2) var(--space-3);
    padding-left: 32px;
    font-size: var(--text-sm);
    color: var(--text-primary);
    background: var(--bg-elevated);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.league-search .search-input:focus {
    outline: none;
    border-color: var(--accent-green);
    width: 200px;
}

.league-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-align: left;
}

.league-pill:hover {
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.league-pill.active {
    color: var(--text-primary);
    background: var(--bg-card);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.league-pill .league-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Filter Tabs
   -------------------------------------------------------------------------- */
.filter-tabs {
    display: flex;
    gap: var(--space-1);
    background: var(--bg-secondary);
    padding: var(--space-1);
    border-radius: var(--radius-md);
}

.filter-tab {
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-tab:hover {
    color: var(--text-primary);
}

.filter-tab.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* Enhanced Search */
.filter-search {
    position: relative;
    margin-left: auto;
}

.filter-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.filter-search .search-input {
    padding-left: 40px;
}

/* --------------------------------------------------------------------------
   Enhanced Table Grid
   -------------------------------------------------------------------------- */
.table-header {
    grid-template-columns: 60px 1fr 70px 90px 80px 60px 60px 80px 40px;
}

.table-row {
    grid-template-columns: 60px 1fr 70px 90px 80px 60px 60px 80px 40px;
}

/* Odds header */
.th-odds {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Match Column - Stacked teams with logos */
.match-teams {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    white-space: nowrap;
}

.team-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.team-logo-placeholder {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.home-team {
    font-weight: 500;
}

.away-team {
    color: var(--text-secondary);
}

.league-name {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.league-flag-small {
    width: 14px;
    height: 10px;
    object-fit: cover;
    border-radius: 1px;
    flex-shrink: 0;
}

/* 1X2 Result Badge */
.td-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.result-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.result-badge.result-1 {
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
}

.result-badge.result-x {
    color: var(--text-muted);
    background: var(--bg-elevated);
}

.result-badge.result-2 {
    color: var(--accent-blue);
    background: rgba(88, 166, 255, 0.1);
}

.result-prob {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Predicted Score */
.td-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.predicted-score {
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
}

.expected-goals {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* BTTS Badge */
.td-btts,
.td-over {
    display: flex;
    justify-content: center;
}

.btts-badge,
.over-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.btts-yes,
.over-yes {
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
}

.btts-no,
.over-no {
    color: var(--text-muted);
    background: var(--bg-elevated);
}

/* Confidence Meter */
.confidence-meter {
    width: 100%;
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
    overflow: hidden;
}

.confidence-meter .confidence-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 2px;
}

/* Team Info - name + form */
.team-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* Form Dots (WWDLW) */
.form-dots {
    display: flex;
    gap: 3px;
}

.form-dot {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    border-radius: 2px;
}

.form-dot.form-w {
    color: #fff;
    background: var(--accent-green);
}

.form-dot.form-d {
    color: var(--text-primary);
    background: var(--text-muted);
}

.form-dot.form-l {
    color: #fff;
    background: var(--accent-red, #f85149);
}

/* Odds Column */
.td-odds {
    display: flex;
    justify-content: center;
    align-items: center;
}

.odds-row {
    display: flex;
    gap: 4px;
}

.odd {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    padding: 2px 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
}

.odd.odd-highlight {
    color: var(--text-primary);
    background: rgba(0, 210, 106, 0.15);
    font-weight: 500;
}

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

/* Value Badge */
.value-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-green), #00b894);
    border-radius: 2px;
    margin-left: var(--space-2);
}

/* --------------------------------------------------------------------------
   Enhanced Row Details
   -------------------------------------------------------------------------- */
.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.details-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.details-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Probability Bars */
.prob-bars {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.prob-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.prob-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    width: 40px;
}

.prob-bar {
    flex: 1;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
}

.prob-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.prob-fill.home {
    background: var(--accent-green);
}

.prob-fill.draw {
    background: var(--text-muted);
}

.prob-fill.away {
    background: var(--accent-blue);
}

.prob-value {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    width: 32px;
    text-align: right;
}

/* Details Stats */
.details-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.stat-value.text-green {
    color: var(--accent-green);
}

/* Quick Tips */
.quick-tips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.quick-tip {
    display: inline-flex;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
    border-radius: 100px;
}

/* --------------------------------------------------------------------------
   Enhanced Accumulator
   -------------------------------------------------------------------------- */
.acca-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-6);
}

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

.acca-title h2 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.acca-badge {
    display: inline-flex;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--accent-green);
    background: rgba(0, 210, 106, 0.1);
    border-radius: 100px;
}

.acca-odds-display {
    text-align: right;
}

.acca-odds-value {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent-green);
}

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

/* Acca Picks */
.acca-picks {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.acca-pick {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-green);
}

.acca-pick-match {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.acca-pick-time {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.acca-pick-teams {
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.acca-pick-tip {
    display: flex;
    align-items: center;
}

.acca-pick-value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-green);
}

/* Acca Returns */
.acca-returns {
    margin-bottom: var(--space-3);
}

.acca-return-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-mono);
}

.acca-return-stake {
    font-size: var(--text-base);
    color: var(--text-muted);
}

.acca-return-arrow {
    color: var(--text-muted);
}

.acca-return-value {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--accent-green);
}

.acca-disclaimer {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Stats Summary Cards
   -------------------------------------------------------------------------- */
.stats-summary {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-muted);
    padding: var(--space-8) 0;
}

.stats-summary-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-8);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.stat-card-value {
    font-family: var(--font-mono);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.stat-card-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.stat-card-bar {
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
    overflow: hidden;
}

.stat-card-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-16);
    text-align: center;
    color: var(--text-muted);
}

.empty-state svg {
    margin-bottom: var(--space-4);
    opacity: 0.4;
}

.empty-title {
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.empty-hint {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.empty-actions {
    display: flex;
    gap: var(--space-3);
}

.empty-actions .btn-secondary,
.empty-actions .btn-primary {
    padding: var(--space-3) var(--space-5);
}

/* --------------------------------------------------------------------------
   Enhanced Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .league-pills-inner {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .league-search .search-input {
        width: 120px;
    }

    .league-search .search-input:focus {
        width: 140px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 50px 1fr 60px 70px 50px 50px 40px;
    }

    .th-odds,
    .td-odds,
    .th-confidence,
    .td-confidence {
        display: none;
    }

    .form-dots {
        display: none;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header-inner {
        padding: var(--space-3) var(--space-4);
        gap: var(--space-2);
    }

    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }

    .header-left {
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .header-right::-webkit-scrollbar {
        display: none;
    }

    .header-right .metric {
        flex-shrink: 0;
        padding: var(--space-1) var(--space-2);
    }

    .header-right .metric-icon {
        display: none;
    }

    .header-right .metric-value {
        font-size: var(--text-base);
    }

    .header-right .metric-divider {
        display: none;
    }

    .header-right .btn-primary {
        display: none;
    }

    .header-leagues {
        margin: 0 calc(-1 * var(--space-4));
        padding: 0 var(--space-4);
    }

    .league-scroll {
        width: 100%;
        justify-content: flex-start;
    }

    .league-search {
        width: 100%;
    }

    .league-search .search-input {
        width: 100%;
    }

    .league-search .search-input:focus {
        width: 100%;
    }

    .table-header {
        display: none;
    }

    .table-row {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-3);
        padding: var(--space-4);
    }

    .td-time {
        order: 1;
        width: 50px;
    }

    .td-match {
        order: 2;
        flex: 1;
    }

    .td-result {
        order: 3;
        flex-direction: row;
        gap: var(--space-2);
    }

    .td-score {
        order: 4;
    }

    .td-btts {
        order: 5;
    }

    .td-over {
        order: 6;
    }

    .td-odds {
        display: none;
    }

    .td-action {
        order: 7;
        position: absolute;
        top: var(--space-4);
        right: var(--space-4);
    }

    .value-badge {
        display: none;
    }

    .table-row {
        position: relative;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .acca-header {
        flex-direction: column;
        gap: var(--space-4);
    }

    .acca-odds-display {
        text-align: left;
    }

    .stats-summary-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-actions {
        flex-wrap: wrap;
    }

    .page-actions a {
        flex: 1 1 auto;
        min-width: calc(50% - var(--space-2));
        text-align: center;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .filter-tab {
        flex: 1;
        text-align: center;
    }

    .acca-pick {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .acca-pick-match {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-page {
    background: var(--bg-primary);
    min-height: 60vh;
    padding: var(--space-8) 0;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.about-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.about-header h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.about-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.about-section h2 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--accent-green);
    display: inline-block;
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.how-item {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
}

.how-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 210, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3);
    color: var(--accent-green);
}

.how-item h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.how-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

.leagues-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin-top: var(--space-3);
}

.leagues-list li {
    color: var(--text-secondary);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.disclaimer-section {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.disclaimer-section h2 {
    color: #f0883e;
    border-bottom-color: #f0883e;
}

.disclaimer-section a {
    color: var(--text-link);
}

.age-notice {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-3);
}

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

    .leagues-list {
        grid-template-columns: 1fr;
    }

    .about-header h1 {
        font-size: var(--text-2xl);
    }
}

/* ==========================================================================
   Enhanced Mobile Responsiveness
   ========================================================================== */

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .header-inner {
        padding: var(--space-3) var(--space-4);
    }

    .logo-text {
        font-size: var(--text-base);
    }

    .btn-cta .btn-text {
        display: none;
    }

    .btn-cta {
        padding: var(--space-2);
    }
}

/* Mobile Match Cards */
@media (max-width: 640px) {
    .match-row {
        padding: var(--space-3);
    }

    .match-teams {
        font-size: var(--text-sm);
    }

    .match-meta {
        flex-wrap: wrap;
        gap: var(--space-1);
    }

    .prediction-badge {
        font-size: 10px;
        padding: 3px 6px;
    }

    .odds-value {
        font-size: var(--text-xs);
    }
}

/* Mobile Search */
@media (max-width: 600px) {
    .search-section {
        padding: var(--space-3) var(--space-4);
    }

    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .search-shortcut {
        display: none;
    }
}

/* Mobile Footer */
@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .footer-section h4 {
        font-size: var(--text-sm);
    }

    .footer-section li {
        font-size: var(--text-xs);
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom p {
        font-size: var(--text-xs);
    }
}

/* Mobile Acca Card */
@media (max-width: 640px) {
    .acca-card-header {
        padding: var(--space-3);
    }

    .acca-card-title {
        font-size: var(--text-sm);
    }

    .acca-card-picks {
        padding: var(--space-2);
    }

    .acca-card-pick {
        padding: var(--space-2);
    }

    .acca-pick-teams {
        font-size: var(--text-sm);
    }

    .acca-pick-bet {
        font-size: var(--text-xs);
    }
}

/* Mobile Page Header */
@media (max-width: 640px) {
    .page-header {
        padding: var(--space-4);
    }

    .page-header h1 {
        font-size: var(--text-xl);
    }

    .page-header-metrics {
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .metric-item {
        min-width: calc(50% - var(--space-2));
    }
}

/* Mobile Date Sections */
@media (max-width: 640px) {
    .date-section-header {
        padding: var(--space-2) var(--space-3);
    }

    .date-label {
        font-size: var(--text-sm);
    }

    .date-count {
        font-size: var(--text-xs);
    }
}

/* Ensure touch targets are large enough */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-mobile-list a {
        padding: var(--space-4);
    }
}

/* Fix horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
}

.main-layout-inner,
.page-header-inner,
.footer-container,
.about-container {
    overflow-x: hidden;
}

/* ==========================================================================
   MOBILE-FIRST HOMEPAGE STYLES
   ========================================================================== */

/* Mobile Base (default) */
@media (max-width: 767px) {
    /* Page Header Mobile */
    .page-header {
        padding: var(--space-4);
    }

    .page-header-inner {
        flex-direction: column;
        gap: var(--space-4);
    }

    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
        width: 100%;
    }

    .header-left {
        text-align: center;
    }

    .header-left h1 {
        font-size: var(--text-xl);
    }

    .title-row {
        justify-content: center;
    }

    .date-row {
        justify-content: center;
    }

    /* Metrics Grid on Mobile */
    .header-right {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-2);
        width: 100%;
    }

    .metric-divider {
        display: none;
    }

    .metric {
        flex-direction: column;
        padding: var(--space-2);
        background: var(--bg-secondary);
        border-radius: var(--radius-md);
        min-width: unset;
    }

    .metric-icon {
        display: none;
    }

    .metric-value {
        font-size: var(--text-lg);
    }

    .metric-label {
        font-size: 10px;
    }

    /* League Pills Horizontal Scroll */
    .header-leagues {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--space-2);
        margin: 0 calc(var(--space-4) * -1);
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .header-leagues::-webkit-scrollbar {
        display: none;
    }

    .league-pill {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Search Section Mobile */
    .search-section {
        padding: var(--space-3) var(--space-4);
    }

    .search-container {
        max-width: 100%;
    }

    .search-input {
        font-size: 16px; /* Prevents iOS zoom */
        padding: var(--space-3);
    }

    .search-shortcut {
        display: none;
    }

    /* Main Layout Mobile - Single Column */
    .main-layout {
        padding-top: var(--space-4);
    }

    .main-layout-inner {
        grid-template-columns: 1fr;
        padding: 0 var(--space-4);
    }

    /* Hide Table Header on Mobile */
    .table-header {
        display: none !important;
    }

    /* Transform Table Rows to Cards */
    .table-row {
        display: flex !important;
        flex-direction: column;
        gap: var(--space-3);
        padding: var(--space-4);
        margin-bottom: var(--space-2);
        background: var(--bg-card);
        border: 1px solid var(--border-muted);
        border-radius: var(--radius-lg);
        position: relative;
    }

    .table-row.hidden-match {
        display: none !important;
    }

    .date-section.expanded .table-row.hidden-match {
        display: flex !important;
    }

    /* Card Header: Time + League */
    .td-time {
        position: absolute;
        top: var(--space-3);
        right: var(--space-3);
    }

    .time-value {
        font-size: var(--text-xs);
        background: var(--bg-secondary);
        padding: 2px 6px;
        border-radius: var(--radius-sm);
    }

    /* Teams Display */
    .td-match {
        width: 100%;
        padding-right: 60px; /* Space for time */
    }

    .match-teams {
        flex-direction: column;
        gap: var(--space-1);
    }

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

    .team-logo, .team-logo-placeholder {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }

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

    .match-meta {
        margin-top: var(--space-1);
    }

    .league-badge {
        font-size: 10px;
    }

    /* Predictions Row */
    .td-result, .td-odds, .td-score, .td-btts, .td-over, .td-confidence {
        display: inline-flex;
        align-items: center;
        gap: var(--space-1);
    }

    .predictions-row {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
        margin-top: var(--space-2);
        padding-top: var(--space-2);
        border-top: 1px solid var(--border-muted);
    }

    .prediction-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: var(--bg-secondary);
        padding: var(--space-2) var(--space-3);
        border-radius: var(--radius-md);
        min-width: 60px;
    }

    .prediction-item .label {
        font-size: 9px;
        color: var(--text-muted);
        text-transform: uppercase;
    }

    .prediction-item .value {
        font-size: var(--text-sm);
        font-weight: 600;
        color: var(--text-primary);
    }

    /* Action Button */
    .td-action {
        position: absolute;
        bottom: var(--space-3);
        right: var(--space-3);
    }

    /* Date Section Headers Mobile */
    .date-section-header {
        padding: var(--space-3);
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .date-section-header .date-label {
        font-size: var(--text-sm);
    }

    .date-section-header .date-full {
        font-size: var(--text-xs);
    }

    .date-section-header .date-count {
        font-size: 10px;
    }

    /* Load More Button Mobile */
    .load-more-btn {
        margin: var(--space-3);
        padding: var(--space-3);
        font-size: var(--text-sm);
    }

    /* Sidebar Mobile */
    .acca-sidebar {
        position: relative;
        top: 0;
        max-height: none;
        margin-top: var(--space-6);
        padding: 0;
    }

    /* Acca Card Mobile */
    .acca-card {
        margin: 0;
    }

    .acca-card-header {
        padding: var(--space-3);
    }

    .acca-card-title {
        font-size: var(--text-sm);
    }

    .acca-card-picks {
        padding: var(--space-2);
        gap: var(--space-2);
    }

    .acca-card-pick {
        padding: var(--space-3);
    }

    .acca-pick-teams {
        font-size: var(--text-sm);
    }

    .acca-pick-league {
        font-size: 10px;
    }

    .acca-pick-bet {
        font-size: var(--text-xs);
    }

    .acca-card-summary {
        padding: var(--space-3);
        flex-direction: column;
        gap: var(--space-3);
    }

    .acca-summary-item {
        justify-content: space-between;
        width: 100%;
    }

    .stake-input-row {
        flex-direction: column;
        gap: var(--space-2);
    }

    .stake-input {
        width: 100%;
        font-size: 16px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4);
    }

    .footer-section h4 {
        font-size: var(--text-sm);
        margin-bottom: var(--space-2);
    }

    .footer-section ul {
        gap: var(--space-1);
    }

    .footer-section a {
        font-size: var(--text-xs);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }

    .footer-bottom p {
        font-size: var(--text-xs);
    }
}

/* Very Small Screens */
@media (max-width: 374px) {
    .header-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .prediction-item {
        min-width: 50px;
        padding: var(--space-1) var(--space-2);
    }
}

/* ==========================================================================
   MOBILE CARD LAYOUT FOR MATCH ROWS
   ========================================================================== */

/* Mobile Card Structure */
@media (max-width: 1023px) {
    /* Card Header - Time positioned top right */
    .table-row .td-time {
        position: absolute;
        top: var(--space-3);
        right: var(--space-3);
    }

    .table-row .time-value {
        font-size: 11px;
        background: var(--bg-elevated);
        padding: 2px 8px;
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
    }

    /* Teams Section */
    .table-row .td-match {
        width: calc(100% - 70px);
    }

    .table-row .match-teams {
        display: flex;
        flex-direction: column;
        gap: var(--space-1);
    }

    .table-row .team-row {
        display: flex;
        align-items: center;
        gap: var(--space-2);
    }

    .table-row .team-logo,
    .table-row .team-logo-placeholder {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

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

    .table-row .form-dots {
        display: none;
    }

    .table-row .league-name {
        font-size: 10px;
        margin-top: var(--space-1);
    }

    /* Predictions Row - Flex wrap */
    .table-row .td-result,
    .table-row .td-odds,
    .table-row .td-score,
    .table-row .td-btts,
    .table-row .td-over,
    .table-row .td-confidence {
        display: inline-flex;
        align-items: center;
        background: var(--bg-secondary);
        padding: var(--space-1) var(--space-2);
        border-radius: var(--radius-sm);
        gap: var(--space-1);
    }

    /* Create a wrapper for predictions on mobile */
    .table-row::after {
        content: '';
        display: block;
        clear: both;
    }

    /* Result Badge */
    .table-row .result-badge {
        font-size: 11px;
        padding: 2px 6px;
    }

    .table-row .result-prob {
        font-size: 10px;
    }

    /* Odds */
    .table-row .odds-row {
        gap: var(--space-1);
    }

    .table-row .odd {
        font-size: 10px;
        padding: 1px 4px;
    }

    /* Score */
    .table-row .predicted-score {
        font-size: var(--text-sm);
        font-weight: 600;
    }

    .table-row .expected-goals {
        font-size: 10px;
    }

    /* BTTS & Over badges */
    .table-row .btts-badge,
    .table-row .over-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Confidence meter - hide on mobile */
    .table-row .td-confidence {
        display: none;
    }

    /* Action button */
    .table-row .td-action {
        position: absolute;
        bottom: var(--space-3);
        right: var(--space-3);
    }

    .table-row .expand-icon {
        opacity: 0.5;
    }

    /* Row Details - Full width on mobile */
    .table-row .row-details {
        width: 100%;
        margin-top: var(--space-2);
        padding-top: var(--space-2);
        border-top: 1px solid var(--border-muted);
    }

    .table-row .details-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    /* Page Header Mobile */
    .page-header {
        padding: var(--space-4);
    }

    .page-header-inner {
        padding: 0;
    }

    .header-top {
        flex-direction: column;
        gap: var(--space-3);
    }

    .header-left {
        text-align: center;
    }

    .header-left h1 {
        font-size: var(--text-lg);
    }

    .title-row {
        justify-content: center;
        gap: var(--space-2);
    }

    .accuracy-badge {
        font-size: 10px;
        padding: 2px 6px;
    }

    .date-row {
        justify-content: center;
        font-size: var(--text-xs);
    }

    /* Metrics - 2x2 Grid */
    .header-right {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-2);
        width: 100%;
    }

    .metric-divider {
        display: none;
    }

    .metric {
        flex-direction: column;
        align-items: center;
        padding: var(--space-2);
        background: var(--bg-card);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-muted);
        gap: 2px;
    }

    .metric-icon {
        display: none;
    }

    .metric-value {
        font-size: var(--text-base);
        font-weight: 700;
    }

    .metric-label {
        font-size: 9px;
        text-transform: uppercase;
    }

    /* League Pills - Horizontal Scroll */
    .header-leagues {
        display: flex;
        gap: var(--space-2);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: var(--space-2) 0;
        margin: 0 -var(--space-4);
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .header-leagues::-webkit-scrollbar {
        display: none;
    }

    .league-pill {
        flex-shrink: 0;
        font-size: 11px;
        padding: var(--space-2) var(--space-3);
        white-space: nowrap;
    }

    /* Search Section */
    .search-section {
        padding: var(--space-3) var(--space-4);
    }

    .search-section-inner {
        padding: 0;
    }

    .search-container {
        max-width: 100%;
    }

    .search-input {
        font-size: 16px;
        padding: var(--space-3);
    }

    .search-shortcut {
        display: none;
    }

    /* Main Layout */
    .main-layout {
        padding-top: var(--space-3);
    }

    .main-layout-inner {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: 0;
    }

    .matches-column {
        padding: 0;
    }

    /* Date Section */
    .date-section-header {
        padding: var(--space-3) var(--space-4);
        margin: 0;
    }

    .date-section-header .date-label {
        font-size: var(--text-xs);
    }

    .date-section-header .date-full {
        font-size: 11px;
    }

    .date-section-header .date-count {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* Load More */
    .load-more-btn {
        margin: var(--space-2) var(--space-4);
    }

    /* Sidebar / Acca */
    .acca-sidebar {
        padding: 0 var(--space-4);
        margin-top: var(--space-4);
    }

    .acca-card {
        border-radius: var(--radius-lg);
    }

    .acca-card-header {
        padding: var(--space-3);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .acca-card-title {
        font-size: var(--text-sm);
    }

    .acca-card-badge {
        font-size: 10px;
    }

    .acca-card-picks {
        padding: var(--space-2);
    }

    .acca-card-pick {
        padding: var(--space-2);
    }

    .acca-pick-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }

    .acca-pick-teams {
        font-size: var(--text-xs);
    }

    .acca-pick-league {
        font-size: 10px;
    }

    .acca-pick-bet {
        font-size: var(--text-xs);
    }

    .acca-card-summary {
        padding: var(--space-3);
    }

    .stake-calculator {
        flex-direction: column;
        gap: var(--space-2);
    }

    .stake-input {
        width: 100%;
        font-size: 16px;
    }

    .acca-card-action {
        padding: var(--space-3);
        font-size: var(--text-sm);
    }
}

/* Extra small screens */
@media (max-width: 374px) {
    .header-right {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-value {
        font-size: var(--text-sm);
    }

    .table-row {
        padding: var(--space-2);
        margin: var(--space-1) var(--space-2);
    }
}

/* ==========================================================================
   MOBILE-FIRST HOMEPAGE (index3.html)
   2025-2026 UI/UX Guidelines Implementation
   ========================================================================== */

/* Mobile Header */
.mobile-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-primary);
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-muted);
}

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

.header-title h1 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
}

.match-count {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-xl);
}

/* League Filters - Horizontal Scroll */
.league-filters {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--space-2);
    margin: 0 calc(var(--space-4) * -1);
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.league-filters::-webkit-scrollbar {
    display: none;
}

.league-chip {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-xl);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.league-chip:hover,
.league-chip.active {
    background: var(--accent-green);
    color: var(--bg-primary);
    border-color: var(--accent-green);
}

.chip-flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    margin: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-muted);
}

.search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* Matches Container */
.matches-container {
    padding: 0 var(--space-4);
    padding-bottom: 100px;
}

/* Date Section */
.date-section {
    margin-bottom: var(--space-6);
}

.date-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) 0;
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-muted);
}

.date-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.date-count {
    font-size: var(--text-xs);
    color: var(--text-muted);
    background: var(--bg-card);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

/* Match Cards */
.match-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.match-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.match-card:hover {
    background: var(--bg-elevated);
    border-color: var(--border-default);
}

.match-card:active {
    transform: scale(0.98);
}

.match-card.high-conf {
    border-left: 3px solid var(--accent-green);
}

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

.card-league {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.league-icon {
    width: 14px;
    height: 10px;
    object-fit: cover;
    border-radius: 2px;
}

.card-time {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

/* Card Teams */
.card-teams {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

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

.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.team-initial {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.team-name {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card Predictions */
.card-predictions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-muted);
}

.pred-main {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.pred-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-md);
}

.pred-badge.pred-1 {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.pred-badge.pred-x {
    background: var(--text-muted);
    color: var(--bg-primary);
}

.pred-badge.pred-2 {
    background: var(--accent-blue);
    color: var(--bg-primary);
}

.pred-conf {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.pred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pred-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pred-value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.pred-value.yes {
    color: var(--accent-green);
}

.pred-value.no {
    color: var(--text-muted);
}

/* Card Arrow */
.card-arrow {
    position: absolute;
    right: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.match-card:hover .card-arrow {
    opacity: 1;
}

/* Load More Button */
.load-more {
    width: 100%;
    padding: var(--space-3);
    margin-top: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
}

.load-more:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Floating Acca Button */
.fab-acca {
    position: fixed;
    bottom: 80px;
    right: var(--space-4);
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-gold), #b8860b);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 160, 18, 0.4);
    transition: all 0.2s ease;
    z-index: 90;
}

.fab-acca:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(212, 160, 18, 0.5);
}

.fab-acca svg {
    color: var(--bg-primary);
}

.fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--accent-green);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* Acca Bottom Sheet */
.acca-sheet {
    position: fixed;
    inset: 0;
    z-index: 200;
}

.acca-sheet[hidden] {
    display: none;
}

.sheet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.sheet-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sheet-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-muted);
}

.sheet-header h2 {
    flex: 1;
    font-size: var(--text-lg);
    font-weight: 700;
    margin: 0;
}

.sheet-badge {
    font-size: var(--text-xs);
    color: var(--text-muted);
    background: var(--bg-card);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.sheet-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-md);
}

.sheet-close:hover {
    background: var(--bg-card);
}

/* Sheet Picks */
.sheet-picks {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-4);
}

.acca-pick {
    padding: var(--space-3);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
}

.pick-match {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.pick-bet {
    font-size: var(--text-sm);
    color: var(--accent-green);
}

.pick-odds {
    color: var(--text-muted);
}

/* Sheet Summary */
.sheet-summary {
    padding: var(--space-4);
    background: var(--bg-card);
    border-top: 1px solid var(--border-muted);
}

.summary-row,
.stake-row,
.returns-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.summary-row span:first-child,
.stake-row label,
.returns-row span:first-child {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.odds-value {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--accent-gold);
}

.stake-input-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-secondary);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-muted);
}

.stake-input-wrap .currency {
    color: var(--text-muted);
}

.stake-input-wrap input {
    width: 80px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    outline: none;
}

.returns-value {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--accent-green);
}

.returns-row {
    margin-bottom: 0;
}

/* Sheet Action Button */
.sheet-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: calc(100% - var(--space-8));
    margin: var(--space-4);
    padding: var(--space-4);
    background: var(--accent-green);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 52px;
}

.sheet-action:hover {
    background: #00ba5e;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-muted);
    padding: var(--space-2) 0;
    padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
    z-index: 100;
}

.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-2);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.2s ease;
    min-height: 44px;
}

.nav-tab:hover,
.nav-tab.active {
    color: var(--accent-green);
}

.nav-tab svg {
    flex-shrink: 0;
}

/* Desktop Enhancements */
@media (min-width: 768px) {
    .mobile-header {
        padding: var(--space-6);
    }

    .header-title h1 {
        font-size: var(--text-2xl);
    }

    .league-filters {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .search-bar {
        margin: var(--space-4) var(--space-6);
        max-width: 400px;
    }

    .matches-container {
        padding: 0 var(--space-6);
        max-width: 1200px;
        margin: 0 auto;
    }

    .match-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .bottom-nav {
        display: none;
    }

    .fab-acca {
        bottom: var(--space-6);
        right: var(--space-6);
    }

    .sheet-content {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: var(--radius-xl);
        bottom: var(--space-6);
        max-height: 70vh;
    }
}

@media (min-width: 1024px) {
    .match-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .match-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   MATCH DETAIL PAGE STYLES
   ============================================ */

/* Match Detail Page */
.match-detail {
    display: block;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Breadcrumb - Consistent across all pages */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.breadcrumb a,
.breadcrumb span {
    display: inline-flex;
    align-items: center;
    line-height: 1.4;
}

.hub-page .breadcrumb,
.page-wrapper .breadcrumb {
    justify-content: center;
    margin-bottom: var(--space-6);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-green);
}

/* Match Header */
.match-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.match-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--space-3) 0;
}

.league-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.league-info .league-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.league-name {
    font-weight: 600;
    color: var(--text-secondary);
}

.league-country {
    color: var(--text-muted);
}

.match-date {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
}

/* Teams Display */
.teams-display {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4);
    align-items: center;
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

@media (max-width: 600px) {
    .teams-display {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.team-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.team-card h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.team-logo-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-muted);
}

.form-display {
    display: flex;
    gap: 4px;
}

.form-char {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.form-char.win {
    background: rgba(0, 210, 106, 0.2);
    color: var(--accent-green);
}

.form-char.draw {
    background: rgba(139, 148, 158, 0.2);
    color: var(--text-secondary);
}

.form-char.loss {
    background: rgba(248, 81, 73, 0.2);
    color: var(--confidence-low);
}

.team-stats {
    font-size: 13px;
    color: var(--text-muted);
}

/* Match Center - Predicted Score */
.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.predicted-score-large {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.predicted-score-large .score {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
}

.predicted-score-large .dash {
    font-size: 32px;
    color: var(--text-muted);
}

.score-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Probability Section */
.prob-section {
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.prob-section h2 {
    font-size: 18px;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.prob-bars-horizontal {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.prob-row {
    display: grid;
    grid-template-columns: 120px 1fr 50px;
    align-items: center;
    gap: var(--space-3);
}

@media (max-width: 500px) {
    .prob-row {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-1);
    }

    .prob-label {
        font-size: 12px;
        flex: 0 0 auto;
        min-width: 0;
    }

    .prob-value {
        font-size: 12px;
        margin-left: auto;
    }

    .prob-bar-wrapper {
        flex: 0 0 100%;
        order: 3;
    }
}

.prob-label {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prob-bar-wrapper {
    height: 8px;
    background: var(--bg-elevated);
    border-radius: 4px;
    overflow: hidden;
}

.prob-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.prob-bar-fill.home {
    background: var(--accent-green);
}

.prob-bar-fill.draw {
    background: var(--text-muted);
}

.prob-bar-fill.away {
    background: var(--accent-blue);
}

.prob-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

/* Predictions Section */
.predictions-section {
    margin-bottom: var(--space-6);
}

.predictions-section h2 {
    font-size: 20px;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

/* Match Detail Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: var(--text-xs);
        gap: 4px 6px;
    }
}

@media (max-width: 600px) {
    .match-header h1 {
        font-size: 22px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 11px;
    }

    .match-header h1 {
        font-size: 20px;
    }

    .predicted-score-large .score {
        font-size: 36px;
    }

    .predicted-score-large .dash {
        font-size: 24px;
    }

    .team-card img,
    .team-logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .team-card h2 {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .breadcrumb {
        font-size: 10px;
    }

    .match-header h1 {
        font-size: 18px;
    }

    .predicted-score-large .score {
        font-size: 28px;
    }
}

.tip-card {
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.tip-card.high {
    border-color: var(--accent-green);
    background: linear-gradient(135deg, var(--bg-card), rgba(0, 210, 106, 0.05));
}

.tip-card.medium {
    border-color: var(--accent-gold);
}

.tip-card h3 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    font-weight: 500;
}

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

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

.confidence-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.tip-card.high .confidence-badge {
    background: rgba(0, 210, 106, 0.15);
    color: var(--accent-green);
}

.tip-card.medium .confidence-badge {
    background: rgba(212, 160, 18, 0.15);
    color: var(--accent-gold);
}

.tip-card.low .confidence-badge {
    background: rgba(139, 148, 158, 0.15);
    color: var(--text-muted);
}

.probability-bar {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: var(--space-2);
}

.probability-bar .bar-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 3px;
}

.tip-card.medium .probability-bar .bar-fill {
    background: var(--accent-gold);
}

.tip-card.low .probability-bar .bar-fill {
    background: var(--text-muted);
}

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

/* Value Bets Section */
.value-bets-section {
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--bg-card), rgba(0, 210, 106, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid var(--accent-green);
}

.value-bets-section h2 {
    color: var(--accent-green);
    margin-bottom: var(--space-2);
}

.value-intro {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: var(--space-4);
}

.value-bets-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.value-bet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
}

.vb-type {
    font-weight: 600;
    color: var(--text-primary);
}

.vb-odds {
    color: var(--text-muted);
    margin-left: 8px;
}

.vb-metrics {
    display: flex;
    gap: var(--space-3);
}

.vb-edge {
    font-weight: 600;
}

.edge-positive {
    color: var(--accent-green);
}

.vb-kelly {
    color: var(--text-muted);
    font-size: 13px;
}

/* Analysis Section */
.analysis-section {
    margin-bottom: var(--space-6);
}

.analysis-section h2 {
    font-size: 20px;
    margin-bottom: var(--space-4);
}

.analysis-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.analysis-text p {
    margin-bottom: var(--space-3);
}

/* Stats Section */
.stats-section {
    margin-bottom: var(--space-6);
}

.stats-section h2 {
    font-size: 20px;
    margin-bottom: var(--space-4);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-3);
}

.stat-item {
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-default);
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    margin-bottom: var(--space-6);
}

.faq-section h2 {
    font-size: 20px;
    margin-bottom: var(--space-4);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-default);
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-4);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
}

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

.faq-item summary::before {
    content: '+';
    margin-right: 10px;
    font-weight: 400;
}

.faq-item[open] summary::before {
    content: '−';
}

.faq-item p {
    padding: 0 var(--space-4) var(--space-4);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.cta-section h2 {
    margin-bottom: var(--space-4);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #00e676;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* Related Section */
.related-section {
    margin-bottom: var(--space-6);
}

.related-section h2 {
    font-size: 18px;
    margin-bottom: var(--space-4);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.related-link {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.related-link:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* ============================================
   HOMEPAGE - Unified Layout
   ============================================ */

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-2);
}

.page-subtitle {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

/* Search Section */
.search-section {
    margin-bottom: var(--space-6);
}

.search-input-simple {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: var(--text-base);
    outline: none;
    transition: border-color 0.2s;
}

.search-input-simple:focus {
    border-color: var(--accent-green);
}

.search-input-simple::placeholder {
    color: var(--text-muted);
}

/* Best Picks Section */
.best-picks-section {
    margin-bottom: var(--space-6);
}

.best-picks-section h2 {
    font-size: 18px;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.best-picks-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.best-pick-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.2s;
}

.best-pick-card:hover {
    border-color: var(--accent-green);
}

.pick-teams {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.pick-teams .vs {
    font-size: 11px;
    color: var(--text-muted);
}

.pick-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.pick-tip {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.pick-value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-green);
}

.pick-prob {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.quick-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.quick-link:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.quick-count {
    background: var(--bg-elevated);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 11px;
    color: var(--text-muted);
}

/* Matches Section */
.matches-section {
    margin-bottom: var(--space-6);
}

.matches-section h2 {
    font-size: 18px;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

/* League Block */
.league-block {
    margin-bottom: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.league-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-default);
}

.league-header .league-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.league-header h3 {
    flex: 1;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.league-count {
    font-size: var(--text-xs);
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Match Card */
.matches-list {
    display: flex;
    flex-direction: column;
}

.match-card {
    display: grid;
    grid-template-columns: 50px 1fr auto auto;
    gap: var(--space-3);
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-muted);
    text-decoration: none;
    transition: background 0.2s;
}

.match-card:last-child {
    border-bottom: none;
}

.match-card:hover {
    background: var(--bg-elevated);
}

.match-time-col .time {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
}

.match-teams-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.team-row img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.team-row span {
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.match-pred-col .pred-score {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.match-tips-col {
    display: flex;
    gap: 4px;
}

.tip-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-secondary);
}

.tip-badge.high {
    background: rgba(0, 210, 106, 0.15);
    color: var(--accent-green);
}

.tip-badge.over {
    background: rgba(88, 166, 255, 0.15);
    color: var(--accent-blue);
}

.tip-badge.btts {
    background: rgba(212, 160, 18, 0.15);
    color: var(--accent-gold);
}

/* Disclaimer */
.disclaimer {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
}

.disclaimer p {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .match-card {
        grid-template-columns: 45px 1fr auto;
    }
    
    .match-pred-col {
        display: none;
    }
    
    .quick-links {
        flex-direction: column;
    }
}
