/* Modal de Acesso Negado */
.loto-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #766f79a1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    animation: lotoFadeIn 0.3s ease-in-out;
}

@keyframes lotoFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.loto-modal-container {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    animation: lotoSlideUp 0.4s ease-out;
}

@keyframes lotoSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.loto-modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.loto-modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: lotoIconBounce 0.6s ease-in-out;
}

@keyframes lotoIconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.loto-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.loto-modal-message {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.loto-modal-countdown {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.loto-modal-countdown p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

.loto-modal-countdown strong {
    color: #2271b1;
    font-size: 18px;
}

.loto-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 25px;
    flex-direction: row;
    align-items: center;
    align-content: center;
}

.loto-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    min-width: 140px;
}

.loto-btn-primary {
    background: linear-gradient(135deg, #4de110 0%, #135e96 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.loto-btn-primary:hover {
    background: linear-gradient(135deg, #135e96 0%, #0a4a75 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 113, 177, 0.4);
    color: #ffffff;
}

.loto-btn-secondary {
    background: #f0f0f1;
    color: #2c3338;
    border: 1px solid #dcdcde;
}

.loto-btn-secondary:hover {
    background: #e5e5e6;
    color: #1d2327;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media screen and (max-width: 600px) {
    .loto-modal-content {
        padding: 30px 20px;
    }
    
    .loto-modal-icon {
        font-size: 48px;
    }
    
    .loto-modal-title {
        font-size: 24px;
    }
    
    .loto-modal-message {
        font-size: 15px;
    }
    
    .loto-modal-actions {
        flex-direction: column;
    }
    
    .loto-btn {
        width: 100%;
    }
}

/* Animação do countdown */
#loto-countdown {
    display: inline-block;
    animation: lotoCountdownPulse 1s ease-in-out infinite;
}

@keyframes lotoCountdownPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}