/* ========================================
   Cores e variáveis globais
   ======================================== */
:root {
    --bg: #0a1418;
    --surface: #152832;
    --surface-light: #1e3744;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --primary: #00d4ff;
    --gold: #ffd700;
    --pitch: #0f4c3a;
    --border: rgba(255, 255, 255, 0.12);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto', sans-serif;
}

/* Fundo de relvado verde com textura subtil */
.pitch-bg {
    background:
        linear-gradient(135deg, rgba(15, 76, 58, 0.95) 0%, rgba(10, 40, 30, 0.98) 100%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grass" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><rect width="60" height="60" fill="%230f4c3a"/><path d="M0,30 Q15,20 30,30 T60,30" stroke="%231a6b52" stroke-width="3" fill="none"/><path d="M0,20 Q15,10 30,20 T60,20" stroke="%231a6b52" stroke-width="2" fill="none"/><path d="M0,40 Q15,30 30,40 T60,40" stroke="%231a6b52" stroke-width="2" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grass)"/></svg>') center/cover;
    opacity: 0.35;
    pointer-events: none;
}

h1 {
    font-family: 'Bebas Neue', cursive;
    color: white;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

.subtitle {
    color: rgba(255, 255, 255, 0.95);
}

#refresh-btn {
    background: linear-gradient(135deg, var(--primary), #00b4d8);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

#refresh-btn:hover {
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.6);
}

#status {
    color: var(--text-muted);
}

/* ========================================
   Tabela de jogos
   ======================================== */
#schedule-table {
    background: var(--surface);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border);
}

thead th {
    background: linear-gradient(90deg, #1e3744, #152832);
    color: white;
}

tbody td {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

tbody tr:hover {
    background: var(--surface-light);
}

tr[data-today="true"] {
    background: rgba(52, 199, 89, 0.18);
}

tr[data-today="true"] .time {
    color: var(--gold);
}

.time {
    color: var(--primary);
}

.date {
    color: var(--text-muted);
}

.competition {
    color: var(--text-muted);
}

.channel {
    color: var(--gold);
}

.today-badge {
    background: #34c759;
    color: white;
    box-shadow: 0 2px 6px rgba(52, 199, 89, 0.4);
}