:root {
            --bg-color-1: #0a0a1a;
            --bg-color-2: #50505a;
            --card-bg: rgba(255, 255, 255, 0.05);
            --card-border: rgba(255, 255, 255, 0.1);
            --text-color: #f0f0f0;
            --accent-color: #40ffb3;
            --live-color: #a9ff40;
        }

        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Roboto', sans-serif;
            background: radial-gradient(circle at center, var(--bg-color-2) 0%, var(--bg-color-1) 100%);
            color: var(--text-color);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .container {
            width: 1920px;
            height: 1080px;
            max-width: 100vw;
            max-height: 100vh;
            margin: auto;
            display: flex;
            flex-direction: column;
            padding: 30px;
            overflow: hidden;
            box-sizing: border-box;
        }
        .logo {
            width: 300px; /* Ajuste o tamanho da logo */
            height: auto;
            margin-bottom: 10px; /* Adicione um pequeno espaço abaixo da logo */
        }
        .header {
            text-align: center;
            margin-bottom: 20px;
            text-shadow: 0 0 10px rgba(0, 224, 255, 0.3);
        }

            .header h1 {
                font-size: 3rem;
                font-weight: 700;
                margin-bottom: 5px;
                letter-spacing: 2px;
            }

            .header p {
                font-size: 1.1rem;
                opacity: 0.8;
            }

        .stats-bar, .filters {
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            padding: 15px 30px;
            margin-bottom: 20px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        }

        .stats-bar {
            display: flex;
            justify-content: space-around;
            gap: 30px;
            text-align: center;
        }

        .stat-number {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--accent-color);
            text-shadow: 0 0 8px rgba(0, 224, 255, 0.5);
        }

        .stat-label {
            font-size: 0.9rem;
            opacity: 0.7;
            text-transform: uppercase;
        }

        .filters {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .filter-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .filter-tab {
            padding: 15px 15px;
            border: none;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            cursor: pointer;
            font-size: 1rem;
            text-transform: uppercase;
            transition: all 0.3s ease;
            font-weight: 500;
        }

            .filter-tab:hover:not(.active) {
                background: rgba(255, 255, 255, 0.2);
            }

            .filter-tab.active {
                background: var(--accent-color);
                color: var(--bg-color-1);
                transform: translateY(-3px);
                box-shadow: 0 5px 15px rgba(0, 224, 255, 0.4);
            }

        .search-box {
            width: 90%;          
            padding: 15px 25px;
            border: 1px solid var(--card-border);
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-color);
            font-size: 1.2rem;
            outline: none;
            transition: border-color 0.3s ease;
        }

            .search-box::placeholder {
                color: rgba(255, 255, 255, 0.5);
            }

            .search-box:focus {
                border-color: var(--accent-color);
                box-shadow: 0 0 10px rgba(0, 224, 255, 0.3);
            }

        .matches-grid {
            flex: 2;
            overflow-y: auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 5px;
            padding: 10px;
            margin-top: 10px;
            scrollbar-width: thin;
            scrollbar-color: var(--accent-color) var(--card-bg);
        }

            .matches-grid::-webkit-scrollbar {
                width: 8px;
            }

            .matches-grid::-webkit-scrollbar-track {
                background: var(--card-bg);
                border-radius: 10px;
            }

            .matches-grid::-webkit-scrollbar-thumb {
                background-color: var(--accent-color);
                border-radius: 10px;
                border: 2px solid var(--bg-color-1);
            }


        .match-card {
            background: var(--card-bg);
            backdrop-filter: blur(8px);
            border: 1px solid var(--card-border);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            height: 250px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

            .match-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 0 5px rgba(0, 224, 255, 0.3), 0 0 7px rgba(0, 0, 0, 0.5);
            }

            .match-card.live {
                box-shadow: 0 0 20px var(--live-color), inset 0 0 5px var(--live-color);
                animation: live-pulse 2s infinite ease-in-out;
            }

        @keyframes live-pulse {
            0% {
                box-shadow: 0 0 1px var(--live-color), inset 0 0 5px var(--live-color);
            }

            50% {
                box-shadow: 0 0 2px var(--live-color), inset 0 0 5px var(--live-color);
            }

            100% {
                box-shadow: 0 0 2px var(--live-color), inset 0 0 5px var(--live-color);
            }
        }

        .live-indicator {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: var(--live-color);
            color: black;
            padding: 5px 12px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .match-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .league-info {
            font-size: 0.9rem;
            color: var(--accent-color);
            text-shadow: 0 0 5px rgba(0, 224, 255, 0.5);
        }

        .continent-tag {
            background: var(--accent-color);
            color: var(--bg-color-1);
            padding: 4px 10px;
            border-radius: 10px;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .teams-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin: auto;
        }

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

        .team-logo {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            padding: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

            .team-logo img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

        .team-name {
            font-weight: 700;
            margin-top: 10px;
            font-size: 1.1rem;
        }

        .team-score {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-color);
            text-shadow: 0 0 10px var(--accent-color);
        }

        .vs-divider {
            font-size: 1.5rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.4);
        }

        .match-time {
            text-align: center;
            margin-top: 15px;
            padding-top: 10px;
            border-top: 1px solid var(--card-border);
        }

        .time, .status {
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--accent-color);
            text-shadow: 0 0 5px rgba(0, 224, 255, 0.5);
        }

        .date {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        .loading, .error, .no-matches {
            text-align: center;
            color: var(--text-color);
            font-size: 1.2rem;
            margin: 50px 0;
            padding: 30px;
            border-radius: 15px;
            background: var(--card-bg);
            backdrop-filter: blur(8px);
            border: 1px solid var(--card-border);
        }

/* ... (mantenha todos os estilos existentes) ... */

/* Adicione estas classes no final do arquivo */

/* Estilos para logos */
.team-logo {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Loading animation */
.logo-loading, .logo-lazy {
    opacity: 0.6;
    filter: brightness(0.8);
    animation: logo-pulse 1.5s infinite ease-in-out;
}

@keyframes logo-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.logo-loaded {
    animation: logo-appear 0.5s ease-out;
}

@keyframes logo-appear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-error {
    opacity: 0.4;
    filter: grayscale(1) brightness(0.7);
}
.continent-tag {
    background: var(--accent-color);
    color: var(--bg-color-1);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-default {
    filter: brightness(0.8) saturate(0.5);
}

        /* ⚽ NOVOS ESTILOS PARA O MODAL ⚽ */
        .modal {
            display: none; /* Inicia escondido */
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            justify-content: center;
            align-items: center;
            transition: opacity 0.3s ease, transform 0.3s ease;
            opacity: 0;
            transform: scale(0.95);
        }

            .modal.show {
                display: flex;
                opacity: 1;
                transform: scale(1);
            }

        .modal-content {
            background: var(--bg-color-2);
            border: 2px solid var(--accent-color);
            box-shadow: 0 0 20px var(--accent-color);
            padding: 40px;
            border-radius: 20px;
            width: 90%;
            max-width: 600px;
            text-align: center;
            position: relative;
        }

            .modal-content h2 {
                font-size: 2.5rem;
                margin-bottom: 20px;
                color: var(--accent-color);
                text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
            }

        .modal-match-details {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin: 20px 0;
        }

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

        .modal-vs {
            font-size: 2rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.5);
            margin: 0 10px;
        }

        .modal-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

            .modal-buttons button {
                padding: 15px 30px;
                font-size: 1.1rem;
                font-weight: 700;
                border: none;
                border-radius: 30px;
                cursor: pointer;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

                .modal-buttons button:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
                }

        #cancel-btn {
            background-color: var(--live-color);
            color: rgb(0, 0, 0);
        }

        #confirm-btn {
            background-color: var(--accent-color);
            color: var(--bg-color-1);
        }
        .btn-logout { background: #ff4d4d; color: white; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-weight: bold; }
