:root {
    --primary-color: #0a1128;
    --secondary-color: #1282a2;
    --accent-color: #ffd700;
    --success-color: #00c853;
    --danger-color: #ff1744;
    --neutral-color: #001f54;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --border-radius: 12px;
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Common Game Grid Styles */
.games-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
    padding: 1.5rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* Styles for game grid headers and content alignment */
.game-grid-header > div {
    text-align: center;
    font-weight: bold; /* Make headers bold */
    padding: 0.5rem;
    color: var(--accent-color); /* Use accent color for headers */
}

.game-row > .team-info { /* Targeting .team-info when it's a direct child of .game-row */
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center; 
}

.game-row > .team-info .team-logo {
    margin-right: 0; 
    margin-bottom: 0.25rem; 
}

.game-row > .score,
.game-row > .spread {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* The pick is in a direct div child of .game-row */
/* From live_demo.html, the pick is in the 4th div child of .game-row */
.game-row > div:nth-child(4) { 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styles for winning and losing teams */
.team-info.team-won .team-name {
    color: var(--success-color); /* Green for winners */
    font-weight: bold;
}

.team-info.team-lost .team-name {
    color: var(--danger-color); /* Red for losers */
    /* opacity: 0.85; */ /* Optional: if color is too harsh */
}

/* Game Card Styles */
.game-card {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    color: white;
    transition: all 0.2s ease;
    box-shadow: var(--box-shadow);
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.game-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.game-status {
    color: var(--accent-color);
    font-weight: 500;
}

/* Team Styles */
.game-teams {
    margin: 1rem 0;
}

.team {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.team.picked {
    background: var(--secondary-color);
}

.team-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin-right: 1rem;
    background: linear-gradient(135deg, var(--neutral-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-logo img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.team-name {
    flex-grow: 1;
    font-weight: 500;
    color: white;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.team-score {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-color);
    min-width: 40px;
    text-align: right;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Game Footer */
.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spread {
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
}

.pick-result {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.pick-result.won {
    background: var(--success-color);
    color: white;
}

.pick-result.lost {
    background: var(--danger-color);
    color: white;
}

/* Stats Section Styles */
.overall-stats {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

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

.stat-item {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    color: var(--gray-300);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* Weekly Stats Table */
.weekly-stats {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.table {
    color: white;
    margin: 0;
}

.table th {
    color: var(--accent-color);
    font-weight: 600;
    border-color: rgba(255, 255, 255, 0.1);
}

.table td {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal-content {
    background: var(--primary-color);
    color: white;
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: var(--accent-color);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Responsive Styles FOr LiveDemo*/
    :root {
        --primary-color: #0a1128;
        --secondary-color: #1282a2;
        --accent-color: #ffd700;
        --success-color: #00c853;
        --danger-color: #ff1744;
        --neutral-color: #001f54;
        --gray-100: #f8f9fa;
        --gray-200: #e9ecef;
        --gray-300: #dee2e6;
        --gray-600: #6c757d;
        --border-radius: 12px;
        --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .trading-dashboard {
        max-width: 1200px;
        margin: 1.5rem auto;
        padding: 0 1.5rem;
        background: var(--primary-color);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

    .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dashboard-title {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--accent-color);
    }

    .dashboard-title::before {
        content: '🏈';
        font-size: 1.25rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem;
        border-radius: 50%;
    }

    .week-selector {
        background: var(--neutral-color);
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 0.75rem 1.25rem;
        border-radius: var(--border-radius);
        font-size: 0.95rem;
        color: white;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .week-selector:hover {
        background: var(--secondary-color);
        border-color: transparent;
    }

    .week-selector:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(18, 130, 162, 0.5);
    }

    .games-container {
        background: rgba(255, 255, 255, 0.02);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        overflow: hidden;
    }

    .game-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 2fr 1.5fr;
        gap: 1.25rem;
        padding: 1rem 1.5rem;
        align-items: center;
    }

    .game-grid-header {
        color: var(--gray-300);
        padding: 1rem 1.5rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .game-time-section {
        background: rgba(255, 255, 255, 0.03);
        padding: 0.01rem .5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .game-time-header {
        margin: 0;
        color: var(--accent-color);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .game-row {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.2s ease;
        position: relative;
    }

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

    .game-row:hover {
        background-color: rgba(255, 255, 255, 0.03);
        transform: translateX(4px);
    }

    .game-row::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--secondary-color);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .game-row:hover::before {
        opacity: 1;
    }

    .team-info {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .team-logo {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--neutral-color) 0%, var(--secondary-color) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 0.8rem;
        font-weight: 600;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .team-logo img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }

    .team-name {
        font-weight: 500;
        color: white;
        font-size: 0.95rem;
        letter-spacing: 0.2px;
    }

    .score {
        font-weight: 700;
        font-size: 1.2rem;
        color: var(--accent-color);
        text-align: center;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .spread {
        color: var(--gray-300);
        font-size: 0.9rem;
        text-align: center;
        font-weight: 500;
    }

    .pick {
        padding: 0.6rem 1.25rem;
        border-radius: var(--border-radius);
        font-weight: 600;
        text-align: center;
        font-size: 0.85rem;
        display: inline-block;
        min-width: 110px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .pick:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .pick-won {
        background: var(--success-color);
        color: white;
    }

    .pick-lost {
        background: var(--danger-color);
        color: white;
    }

    .pick-pending {
        background: var(--neutral-color);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .pre-season-message {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        color: white;
        padding: 3rem 2rem;
        border-radius: var(--border-radius);
        margin: 3rem auto;
        max-width: 700px;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .pre-season-message h4 {
        margin: 0 0 1.5rem;
        font-size: 2rem;
        color: var(--accent-color);
    }

    .pre-season-message p {
        margin: 0;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .pre-season-message .small {
        margin-top: 1.5rem;
        opacity: 0.8;
        font-size: 0.9rem;
    }

    @media (max-width: 768px) {
        .trading-dashboard {
            padding: 0 0.5rem;
            margin: 1rem auto;
            font-size: 0.9rem;
        }

        .dashboard-header {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
            padding: 1rem;
        }

        .games-container {
            padding: 0.75rem;
        }

        .game-grid {
            display: flex !important;
            flex-direction: row !important;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            padding: 4px 8px;
        }

        .game-grid-header {
            display: none !important;
        }

        .team-info {
            display: flex;
            flex-direction: row;
            align-items: center;
            flex: 1;
            min-width: 0;
            max-width: 85px;
        }

        .team-info .team-logo {
            display: none;
        }

        .team-name {
            font-size: 0.85rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .team-name small {
            font-size: 0.75rem;
        }

        .score {
            text-align: center;
            font-size: 0.9rem;
            white-space: nowrap;
            width: 60px;
            flex-shrink: 0;
        }

        .pick {
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
            white-space: nowrap;
            flex-shrink: 0;
            width: 45px;
            text-align: center;
        }

        .pick-won, .pick-lost, .pick-pending {
            width: 45px;
            padding: 0.25rem 0.5rem;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

  

        .game-time-header.same-day {
            margin-left: 1rem;
            font-size: 0.85rem;
        }

        .game-time-section {
            padding: 0.01rem;
        }
    }
/* Season Results Specific Styles */
.results-dashboard {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    color: white;
}

/* Hero Stats Section */
.hero-stats {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.season-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.season-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.season-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-weight: 500;
    color: var(--accent-color);
}

/* Win Rate Circle */
.win-percentage-circle {
    position: relative;
    width: 160px;
    margin: 0 auto 2rem;
    text-align: center;
}

.circular-chart {
    width: 160px;
    height: 160px;
    transform: rotate(-90deg);
}

.circular-chart path:first-child {
    stroke-width: 3;
}

.percentage-indicator {
    stroke-linecap: round;
    animation: progress 1.5s ease-out forwards;
    stroke-width: 3;
}

.percentage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.win-rate-label {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gray-300);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.win-stat { color: var(--success-color); }
.loss-stat { color: var(--danger-color); }
.push-stat { color: var(--accent-color); }

.stat-label {
    color: var(--gray-300);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.stat-trend {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-300);
}

.trend-label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Weekly Performance Section */
.weekly-performance {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.btn-filter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-filter.active {
    background: var(--secondary-color);
    border-color: transparent;
    color: white;
}

/* Weekly Grid */
.weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.week-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.week-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.week-number {
    font-weight: 600;
    color: var(--accent-color);
}

.btn-view {
    color: var(--secondary-color);
    background: none;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}

.btn-view:hover {
    color: var(--accent-color);
}

.week-stats .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.week-stats .stat-row:last-child {
    border-bottom: none;
}

.win-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 1rem 0 0.5rem;
}

.win-progress {
    height: 100%;
    background: var(--success-color);
    border-radius: 2px;
    transition: width 1s ease-out;
}

.win-percentage {
    font-size: 0.75rem;
    color: var(--gray-300);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.cta-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .results-dashboard {
        padding: 0 1rem;
        margin: 1rem auto;
    }
    
    .season-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .weekly-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
/* Modern Sports Betting Results Styles */
:root {
    --primary-dark: #0a1128;
    --primary-light: #1a2942;
    --accent: #ffd700;
    --success: #10b981;
    --danger: #ef4444;
    --neutral: #64748b;
    --text-primary: #fff;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

.results-dashboard {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

/* Overview Card */
.overview-card {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.overview-header h1 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.premium-badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Stats Summary */
.stats-summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 100px;
}

.stat-header {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.highlight { color: var(--accent); }
.stat-value.success { color: var(--success); }
.stat-value.danger { color: var(--danger); }
.stat-value.neutral { color: var(--neutral); }

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    margin: 0 0.5rem;
}

/* Results Table */
.results-table-container {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.table-header h2 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.btn-filter {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-filter.active {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

.results-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.table-head {
    background: var(--primary-light);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr 1fr 0.5fr;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.table-body .table-row {
    color: var(--text-primary);
    transition: background-color 0.2s;
}

.table-body .table-row:hover {
    background: var(--primary-light);
}

.record {
    font-weight: 500;
}

.wins { color: var(--success); }
.losses { color: var(--danger); }
.pushes { color: var(--neutral); }

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress {
    background: var(--success);
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}

.progress-text {
    position: absolute;
    right: 0;
    top: -1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn-view {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: opacity 0.2s;
}

.btn-view:hover {
    opacity: 0.8;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-premium:hover {
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .overview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stats-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .stat-item {
        width: 100%;
    }

    .stat-divider {
        display: none;
    }

    .table-header {
        flex-direction: column;
        gap: 1rem;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem 0.75rem;
    }

    .table-head {
        display: none;
    }

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

    .cell::before {
        content: attr(data-label);
        font-weight: 500;
        color: var(--text-secondary);
    }
}

@media (max-width: 768px) {
    .trading-dashboard {
        padding: 0 0.5rem;
        margin: 1rem auto;
        font-size: 0.9rem;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }

    .games-container {
        padding: 0.75rem;
    }

    .game-grid {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 4px 8px;
    }

    .game-grid-header {
        display: none !important;
    }

    .team-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: 1;
        min-width: 0;
        max-width: 85px;
    }

    .team-info .team-logo {
        display: none; /* Hide team logos on mobile */
    }

    .team-name {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .team-name small {
        font-size: 0.75rem;
    }

    .score {
        text-align: center;
        font-size: 0.9rem;
        white-space: nowrap;
        width: 60px;
        flex-shrink: 0;
    }

    .pick {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
        width: 45px;
        text-align: center;
    }

    .pick-won, .pick-lost, .pick-pending {
        width: 45px;
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .game-time-header {
        font-size: 0.85rem;
    }

    .game-time-header.same-day {
        margin-left: 1rem;
        font-size: 0.85rem;
    }

    .game-time-section {
        padding: 0.1rem;
    }
}