/* ============================
   Sports Widget – Dark Premium Gold
   Página escura + contraste forte
   ============================ */

/* ===== Fundo da página ===== */
body {
    margin: 0;
    padding: 0;
    background-color: #121212; /* fundo escuro da página */
    color: #f5d976;
    font-family: 'Inter', 'Roboto', Arial, sans-serif;
}

/* ===== Widget ===== */
.sports-widget.desktop {
    max-width: 1200px;
    margin: 40px auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #1a1a1a; /* widget mais contrastante */
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.8);
}

/* Header */
.widget-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,215,0,0.15);
}

.widget-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #ffd700; /* gold mais vibrante */
    letter-spacing: 0.5px;
}

/* Categorias */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.category-buttons button {
    padding: 8px 18px;
    border: none;
    border-radius: 20px;
    background-color: #222222; /* botão escuro */
    color: #f5d976;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
}

.category-buttons button.active {
    background: linear-gradient(45deg, #ffd700, #f5d976);
    color: #121212;
    font-weight: 600;
    box-shadow: 0 0 14px rgba(255,215,0,0.7);
}

.category-buttons button:hover:not(.active) {
    background-color: #2e2e2e;
}

/* Container de eventos */
.widget-container {
    padding-top: 12px;
}

.events-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Card de evento */
.event-card {
    background-color: #232323; /* mais contraste */
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.9);
    transition: transform 0.25s, box-shadow 0.25s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(255,215,0,0.5);
}

/* Times */
.teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    text-align: center;
}

.team img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 6px;
}

.vs {
    font-weight: 700;
    font-size: 1rem;
    color: #ffd700;
}

/* Meta info */
.meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #f5d976;
}

.meta img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.tournament {
    font-weight: 500;
}

.time {
    font-size: 0.85rem;
    color: #ffd700;
}

/* Status */
.status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.2s;
}

.status.scheduled { background-color: rgba(255,215,0,0.15); color: #f5d976; }
.status.live      { background-color: #d48806; color: #121212; }
.status.finished  { background-color: rgba(255,215,0,0.25); color: #f5d976; }

/* Botão Play */
.play-btn {
    margin-top: 10px;
    text-align: center;
    background: linear-gradient(45deg, #ffd700, #f5d976);
    color: #121212;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255,215,0,0.5);
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(255,215,0,0.8);
}

.event-empty {
    text-align: center;
    font-size: 1rem;
    color: #ffd700;
    padding: 24px 0;
}

/* Responsivo */
@media (max-width: 1024px) {
    .events-track {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .team img {
        width: 40px;
        height: 40px;
    }

    .play-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}
