:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.game-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--secondary-color);
    color: white;
}

.competition-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.game-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.game-status.fim-de-jogo {
    background-color: var(--dark-color);
}

.game-status.ao-vivo {
    background-color: var(--danger-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.game-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.game-score {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.game-score span {
    margin: 0 10px;
}

.game-info {
    padding: 15px;
    border-top: 1px solid #eee;
}

.game-date {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.game-date i {
    margin-right: 10px;
}

.game-channels h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--dark-color);
}

.channels-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.channel {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.channel img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsividade */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .game-teams {
        flex-direction: column;
    }
    
    .team {
        margin-bottom: 15px;
    }
    
    .game-score {
        margin: 15px 0;
    }
}