/**
 * 2025 Mario Machado. Todos os direitos reservados
 */
.promotion-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(240, 240, 240, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.promotion-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promotion-modal {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.promotion-modal-overlay.active .promotion-modal {
    transform: translateY(0);
    opacity: 1;
}

.promotion-modal-header {
    background-color: #f59e0b;
    padding: 20px 30px;
    text-align: center;
}

.promotion-modal-header h2 {
    font-size: 28px;
    color: white;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.promotion-modal-body {
    padding: 30px;
    text-align: center;
}

.promotion-percentage {
    font-size: 60px;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.promotion-terms {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-weight: 500;
}

.promotion-description {
    color: white;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.promotion-modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.promotion-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 14px;
}

.promotion-btn-primary {
    background-color: #f59e0b;
    color: white;
}

.promotion-btn-primary:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.promotion-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.promotion-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.promotion-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.promotion-close::before,
.promotion-close::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 2px;
    background-color: white;
}

.promotion-close::before {
    transform: rotate(45deg);
}

.promotion-close::after {
    transform: rotate(-45deg);
}

/* Animation for entrance */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.promotion-modal.animated .promotion-percentage {
    animation: pulse 2s infinite ease-in-out;
}

@media (max-width: 768px) {
    .promotion-modal {
        width: 95%;
    }
    
    .promotion-modal-header h2 {
        font-size: 24px;
    }
    
    .promotion-percentage {
        font-size: 48px;
    }
    
    .promotion-terms {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .promotion-modal-header {
        padding: 15px 20px;
    }
    
    .promotion-modal-body {
        padding: 20px;
    }
    
    .promotion-modal-header h2 {
        font-size: 20px;
    }
    
    .promotion-percentage {
        font-size: 40px;
    }
    
    .promotion-terms {
        font-size: 14px;
    }
    
    .promotion-modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .promotion-btn {
        width: 100%;
    }
} 