
        :root {
            --purple-primary: #6b21a8;
            --purple-dark: #3b0764;
            --purple-light: #8b5cf6;
            --background: #0f0f1a;
            --card-bg: #1a1a2e;
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --live-color: #22c55e;
            --upcoming-color: #f59e0b;
            --finished-color: #dc2626;
            --featured-color: #fbbf24;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {            .date-display {
                font-size: 0.75rem;
                padding: 0.375rem 1rem;
            }
            
            .update-section {
                padding: 1rem;
                margin-bottom: 1.5rem;
            }
            
            .update-btn {
                padding: 0.625rem 1.5rem;
                font-size: 0.875rem;
                gap: 0.5rem;
            }
            
            .update-btn i {
                font-size: 1rem;
            }
        }

        body {
            background-color: var(--background);
            color: var(--text-primary);
            min-height: 100vh;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(107, 33, 168, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 20%);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1.5rem;
        }

        .header {
            text-align: center;
            margin-bottom: 1.5rem;
            position: relative;
            padding: 1rem;
            border-radius: 1rem;
            background: linear-gradient(to right, rgba(59, 7, 100, 0.3), rgba(107, 33, 168, 0.3));
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }
        
        .title {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem;
            color: #fff;
            margin-bottom: 0.5rem;
            text-shadow: 0 0 10px var(--purple-light), 0 0 20px var(--purple-primary);
            letter-spacing: 2px;
            position: relative;
            display: inline-block;
        }

        .title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--purple-primary), var(--purple-light));
            border-radius: 2px;
        }

        .controls-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            gap: 1rem;
            background: rgba(26, 26, 46, 0.7);
            padding: 1rem;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .date-display {
            display: inline-block;
            background: var(--purple-primary);
            color: var(--text-primary);
            padding: 0.5rem 1.5rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
            box-shadow: 0 2px 10px rgba(107, 33, 168, 0.3);
            transition: all 0.3s ease;
        }

        .date-display .fa-sync {
            animation: spin 1s linear infinite;
            color: rgba(255, 255, 255, 0.7);
        }

        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .filter-btn {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .filter-btn.active {
            background: var(--purple-primary);
            box-shadow: 0 2px 8px rgba(107, 33, 168, 0.4);
        }

        .filter-btn.live-filter.active {
            background: var(--live-color);
        }

        .filter-btn.upcoming-filter.active {
            background: var(--upcoming-color);
        }

        .filter-btn.finished-filter.active {
            background: var(--finished-color);
        }

        .filter-btn.featured-filter.active {
            background: var(--featured-color);
            color: #000;
        }

        .search-container {
            position: relative;
            flex-grow: 1;
            max-width: 300px;
        }

        .search-input {
            width: 100%;
            padding: 0.5rem 1rem 0.5rem 2.5rem;
            border-radius: 0.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
            font-size: 0.875rem;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--purple-light);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
        }

        .search-icon {
            position: absolute;
            left: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        .matches-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* Exatamente 3 colunas */
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .match-card {
            position: relative;
            background: var(--card-bg);
            border-radius: 0.75rem;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .match-card.updating {
            animation: cardPulse 1s ease-in-out infinite;
        }

        @keyframes cardPulse {
            0% { 
                opacity: 1; 
                transform: scale(1);
            }
            50% { 
                opacity: 0.7; 
                transform: scale(0.98);
            }
            100% { 
                opacity: 1; 
                transform: scale(1);
            }
        }

        .match-card.fresh-update {
            animation: freshGlow 2s ease-out;
        }

        @keyframes freshGlow {
            0% { 
                box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
            }
            50% { 
                box-shadow: 0 0 0 10px rgba(139, 92, 246, 0.3);
            }
            100% { 
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            }
        }

        .match-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
        }

        .match-header {
            padding: 1rem;
            text-align: center;
            background: rgba(0, 0, 0, 0.2);
            position: relative;
        }

        .competition-logo {
            width: 48px;
            height: 48px;
            border-radius: 0.5rem;
            margin-bottom: 0.5rem;
            object-fit: cover;
            background: rgba(255, 255, 255, 0.05);
            padding: 0.25rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .competition-name {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 500;
        }

        .match-time {
            display: inline-block;
            background: var(--purple-primary);
            color: var(--text-primary);
            padding: 0.25rem 0.75rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .match-time.live {
            background: var(--live-color);
            animation: blink 1s infinite;
        }

        .match-time.interval {
            background: #f59e0b; /* Cor laranja para intervalo */
            animation: blink 2s infinite; /* Pisca mais devagar que ao vivo */
        }

        .match-time.upcoming {
            background: var(--upcoming-color);
        }

        .match-time.finished {
            background: var(--finished-color);
        }

        .teams-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem;
            gap: 1rem;
            position: relative;
            flex-grow: 1;
        }

        .team {
            text-align: center;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .team-logo {
            width: 60px;
            height: 60px;
            border-radius: 30%;
            margin-bottom: 0.75rem;
            /*background: rgba(255, 255, 255, 0.05);*/
            padding: 0.25rem;
            object-fit: contain;
            /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);*/
            transition: transform 0.3s ease;
        }

        .match-card:hover .team-logo {
            transform: scale(1.1);
        }

        .team-name {
            font-size: 0.875rem;
            color: var(--text-primary);
            font-weight: 600;
            text-align: center;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            min-height: 2.5rem;
        }

        .vs {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin: 0 5px;
        }

        .channels {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            justify-content: center;
            padding: 1rem;
            background: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .channel {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.05);
            padding: 0.375rem 0.75rem;
            border-radius: 0.375rem;
            transition: transform 0.2s ease, background 0.2s ease;
        }

        .channel:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .channel-logo {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 0.5rem;
            object-fit: cover;
        }

        .channel-name {
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .footer {
            text-align: center;
            margin-top: 2rem;
            padding: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(26, 26, 46, 0.5);
            border-radius: 0.75rem;
        }

        .footer p {
            margin: 0.5rem 0;
            color: var(--text-secondary);
            font-size: 0.875rem;
        }

        .credits {
            color: var(--purple-light);
            margin-top: 1rem;
            font-weight: 600;
        }

        .featured-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--featured-color);
            color: #000;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: bold;
            z-index: 1;
            animation: blink 1s infinite;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .match-card.live {
            box-shadow: 0 0 0 2px var(--live-color), 0 5px 15px rgba(34, 197, 94, 0.3);
        }

        .match-card.interval {
            box-shadow: 0 0 0 2px #f59e0b, 0 5px 15px rgba(245, 158, 11, 0.3);
        }

        .match-card.featured {
            box-shadow: 0 0 0 2px var(--featured-color), 0 5px 15px rgba(251, 191, 36, 0.3);
        }

        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .score {
            color: var(--purple-light);
            font-weight: 700;
            font-size: 28px;
            min-width: 28px;
            text-align: center;
            text-shadow: 0 0 5px rgba(139, 92, 246, 0.5);
        }

        .score-container {
            display: flex;
            align-items: center;
            gap: 8px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            padding: 4px 12px;
            border-radius: 8px;
            padding-bottom: 25px;
            /*background: rgba(26, 26, 46, 0.7);*/
            /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);*/
        }

        .no-matches {
            grid-column: 1 / -1;
            text-align: center;
            padding: 3rem;
            background: rgba(26, 26, 46, 0.5);
            border-radius: 0.75rem;
            font-size: 1.25rem;
            color: var(--text-secondary);
        }

        .loading {
            grid-column: 1 / -1;
            text-align: center;
            padding: 3rem;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(139, 92, 246, 0.3);
            border-radius: 50%;
            border-top-color: var(--purple-light);
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Estilos para TV */
        @media (min-width: 1920px) {
            .container {
                max-width: 1800px;
            }
            
            .matches-grid {
                grid-template-columns: repeat(3, 1fr); /* Mantém 3 colunas na TV */
                gap: 2rem;
            }
            
            .title {
                font-size: 3.5rem;
            }
            
            .team-logo {
                width: 80px;
                height: 80px;
            }
            
            .team-name {
                font-size: 1.1rem;
            }
            
            .score {
                font-size: 36px;
            }
        }

        /* Estilos para tablet */
        @media (max-width: 1024px) {
            .container {
                
                padding: 0.5rem;
            }
            
            .controls-container {
                flex-direction: column;
                align-items: stretch;
            }
            
            .search-container {
                max-width: 100%;
                order: -1;
                margin-bottom: 1rem;
            }
            
            .filter-buttons {
                justify-content: center;
            }
            
            .matches-grid {
                grid-template-columns: repeat(3, 1fr); /* Mantém 3 colunas no tablet */
                gap: 1rem; /* Reduz o gap entre os cards */
            }
            
            /* Reduz tamanhos dos elementos para não ficar esticado */
            .match-header {
                padding: 0.75rem; /* Reduz padding */
            }
            
            .competition-logo {
                width: 40px; /* Reduz de 48px para 40px */
                height: 40px;
            }
            
            .competition-name {
                font-size: 0.75rem; /* Reduz fonte */
                margin-bottom: 0.25rem;
            }
            
            .match-time {
                padding: 0.2rem 0.6rem; /* Reduz padding */
                font-size: 0.75rem; /* Reduz fonte */
            }
            
            .teams-container {
                padding: 1rem; /* Reduz de 1.5rem para 1rem */
                gap: 0.75rem; /* Reduz gap */
            }
            
            .team-logo {
                width: 50px; /* Reduz de 60px para 50px */
                height: 50px;
                margin-bottom: 0.5rem; /* Reduz margem */
            }
            
            .team-name {
                font-size: 0.75rem; /* Reduz fonte */
                min-height: 2rem; /* Reduz altura mínima */
            }
            
            .score {
                font-size: 22px; /* Reduz de 28px para 22px */
            }
            
            .score-container {
                padding: 3px 10px; /* Reduz padding */
                padding-bottom: 20px;
            }
            
            .channels {
                padding: 0.75rem; /* Reduz padding */
                gap: 0.5rem; /* Reduz gap */
            }
            
            .channel {
                padding: 0.25rem 0.5rem; /* Reduz padding */
            }
            
            .channel-logo {
                width: 16px; /* Reduz de 20px para 16px */
                height: 16px;
                margin-right: 0.25rem;
            }
            
            .channel-name {
                font-size: 0.65rem; /* Reduz fonte */
            }
            
            .featured-badge {
                padding: 3px 8px; /* Reduz padding */
                font-size: 0.65rem; /* Reduz fonte */
                top: 8px;
                right: 8px;
            }
            
            .title {
                font-size: 2rem; /* Reduz fonte do título */
            }
            
            .filter-btn {
                font-size: 0.8rem; /* Reduz fonte dos botões */
                padding: 0.4rem 0.8rem;
            }
        }

        /* Estilos para celular */
        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }
            
            .matches-grid {
                gap: 1rem;
                grid-template-columns: 1fr; /* 1 coluna no celular */
            }

            .title {
                font-size: 1.75rem;
            }
            
            .filter-buttons {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .filter-btn {
                font-size: 0.75rem;
                padding: 0.4rem 0.8rem;
            }
            
            .team-logo {
                width: 50px;
                height: 50px;
            }
            
            .score {
                font-size: 24px;
            }
            
            .date-display {
                font-size: 0.75rem;
                padding: 0.4rem 1rem;
            }
        }

        /* Contador de jogos */
        .matches-count {
            background: rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .matches-count i {
            color: var(--purple-light);
        }

        /* Seção de atualização */
        .update-section {
            text-align: center;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(26, 26, 46, 0.7);
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .update-btn {
            background: linear-gradient(135deg, var(--purple-primary), var(--purple-light));
            border: none;
            color: var(--text-primary);
            padding: 0.75rem 2rem;
            border-radius: 0.75rem;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(107, 33, 168, 0.3);
        }

        .update-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .update-btn:hover::before {
            left: 100%;
        }

        .update-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(107, 33, 168, 0.4);
        }

        .update-btn:active {
            transform: translateY(0);
        }

        .update-btn i {
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }

        .update-btn:hover i {
            transform: rotate(180deg);
        }

        .update-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        .update-btn:disabled:hover i {
            transform: none;
        }

        .update-btn.loading {
            animation: pulse 2s infinite;
        }

        .update-result {
            margin-top: 1rem;
            font-size: 0.875rem;
            font-weight: 500;
            min-height: 1.25rem;
            transition: all 0.3s ease;
        }

        .update-result.success {
            color: var(--live-color);
            text-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
        }

        .update-result.error {
            color: var(--finished-color);
            text-shadow: 0 0 5px rgba(220, 38, 38, 0.3);
        }

        .update-result.loading {
            color: var(--upcoming-color);
            text-shadow: 0 0 5px rgba(245, 158, 11, 0.3);
        }

        /* Botão de voltar ao topo */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--purple-primary);
            color: var(--text-primary);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .back-to-top.visible {
            opacity: 1;
        }

        .back-to-top:hover {
            transform: translateY(-5px);
        }

        /* Animações e efeitos visuais */
        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        @keyframes shake {
            0% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            50% { transform: translateX(5px); }
            75% { transform: translateX(-5px); }
            100% { transform: translateX(0); }
        }

        /* Tooltip para canais */
        .channel {
            position: relative;
        }

        .channel:hover::after {
            content: "Assistir neste canal";
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--purple-dark);
            color: var(--text-primary);
            padding: 0.5rem;
            border-radius: 0.25rem;
            font-size: 0.75rem;
            white-space: nowrap;
            z-index: 10;
            margin-bottom: 0.5rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
        /* Indicador de auto-scroll pausado */
        .auto-scroll-status {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: rgba(26, 26, 46, 0.8);
            color: var(--text-primary);
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }
        
        .auto-scroll-status.visible {
            opacity: 1;
        }
        
        .auto-scroll-status i {
            color: var(--purple-light);
        }

        /* Toast de notificação */
        .update-toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, var(--live-color), #16a34a);
            color: white;
            padding: 1rem 1.5rem;
            border-radius: 0.75rem;
            font-size: 0.875rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.4s ease;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
        }

        .update-toast.show {
            opacity: 1;
            transform: translateX(0);
        }

        .update-toast i {
            font-size: 1.1rem;
        }
