/* ================================================
   PRÓXIMOS SORTEIOS - ESTILO THELOTTER
   ================================================ */

.proximos-sorteios-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Filtros */
.sorteios-filtros {
    text-align: center;
    margin-bottom: 50px;
}

.sorteios-filtros h2 {
    font-size: 2.5rem;
    color: #001E50;
    margin-bottom: 30px;
    font-weight: 800;
}

.filtros-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filtro-btn {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtro-btn:hover {
    border-color: #003087;
    color: #003087;
    transform: translateY(-2px);
}

.filtro-btn.active {
    background: linear-gradient(135deg, #003087 0%, #001E50 100%);
    color: white;
    border-color: #003087;
}

/* Grid de Sorteios */
.sorteios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Card de Sorteio */
.sorteio-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 48, 135, 0.12);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.sorteio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 48, 135, 0.2);
}

/* Header do Card */
.sorteio-header {
    background: linear-gradient(135deg, #003087 0%, #001E50 100%);
    padding: 25px;
    text-align: center;
    color: white;
}

.loteria-nome h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.premio-grande {
    margin-top: 15px;
}

.premio-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #FFB81C;
    margin-bottom: 8px;
}

.premio-valor {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Countdown */
.sorteio-countdown {
    background: #F5F5F5;
    padding: 30px 20px;
    text-align: center;
}

.countdown-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    background: white;
    border-radius: 8px;
    padding: 10px 8px;
    min-width: 55px;
    font-size: 2rem;
    font-weight: 800;
    color: #003087;
    box-shadow: 0 2px 8px rgba(0, 48, 135, 0.1);
    font-family: 'Courier New', monospace;
}

.countdown-text {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    font-weight: 600;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: #003087;
    margin: 0 -5px;
}

.data-sorteio {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

/* Informações */
.sorteio-info {
    padding: 20px 25px;
    border-bottom: 1px solid #E0E0E0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 18px;
    font-weight: 700;
    color: #001E50;
}

/* Botão de Ação */
.sorteio-action {
    padding: 20px 25px;
}

.btn-jogar-sorteio {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #00A859 0%, #00C853 100%);
    color: white;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.3);
}

.btn-jogar-sorteio:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 89, 0.4);
    color: white;
    text-decoration: none;
}

/* Badge de País */
.badge-pais {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

/* Animação de Entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Destaque para Sorteio Próximo */
.sorteio-card.proximo-hoje {
    border: 3px solid #FFB81C;
}

.sorteio-card.proximo-hoje::before {
    content: '🔥 SORTEIO HOJE!';
    display: block;
    background: #FFB81C;
    color: #001E50;
    text-align: center;
    padding: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Responsivo */
@media (max-width: 768px) {
    .sorteios-grid {
        grid-template-columns: 1fr;
    }
    
    .sorteios-filtros h2 {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
        min-width: 45px;
        padding: 8px 6px;
    }
    
    .countdown-text {
        font-size: 10px;
    }
    
    .premio-valor {
        font-size: 2.2rem;
    }
    
    .loteria-nome h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.3rem;
        min-width: 40px;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
}

/* Estados do Countdown */
.countdown-urgente .countdown-number {
    background: #FFB81C;
    color: #001E50;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Loading State */
.sorteio-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Empty State */
.sorteios-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.sorteios-empty h3 {
    font-size: 1.8rem;
    color: #999;
    margin-bottom: 15px;
}

.sorteios-empty p {
    font-size: 1.1rem;
}
