/* Games List View */
#games-list-view {
    flex: 1;
    padding: 32px 24px 100px;
    overflow-y: auto;
    animation: fadeIn 0.4s ease-out;
}

#games-list-view::-webkit-scrollbar {
    display: none;
}

#games-list-view {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.games-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.games-list-header h2 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text-primary);
}

.live-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.games-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.game-summary-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    transition: all 0.2s;
    cursor: pointer;
}

.game-summary-card:hover,
.game-summary-card:active {
    transform: scale(0.98);
    border-color: var(--accent-primary);
    background: rgba(30, 41, 59, 1);
}

.game-summary-card.active-game {
    background: linear-gradient(135deg, rgba(30, 41, 59, 1) 0%, rgba(56, 189, 248, 0.1) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.card-status {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: var(--accent-success);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.card-status .status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-success);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

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

.card-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
}

.card-team-code {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.card-team-score {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-vs {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 12px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-footer svg {
    color: var(--accent-primary);
    opacity: 0.8;
}

/* Detail View Updates */
#game-detail-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideInright 0.3s ease-out;
}

@keyframes slideInright {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#scoreboard {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}


.back-btn {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}