/* ========================================
   Promotional Modal Styles
   ======================================== */

.promo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.promo-modal-content {
    position: relative;
    background-color: var(--bg-card);
    margin: auto;
    padding: 0;
    border-radius: var(--border-radius-lg);
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s ease-out;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    padding: 0;
}

.promo-modal-close:hover,
.promo-modal-close:focus {
    background: rgba(255, 0, 0, 0.8);
    transform: rotate(90deg);
}

.promo-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    max-height: 90vh;
    object-fit: contain;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .promo-modal-content {
        max-width: 95%;
        max-height: 85vh;
    }
    
    .promo-modal-close {
        width: 40px;
        height: 40px;
        font-size: 30px;
        top: 5px;
        right: 5px;
    }
    
    .promo-modal-image {
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .promo-modal-content {
        max-width: 98%;
        max-height: 80vh;
    }
    
    .promo-modal-close {
        width: 35px;
        height: 35px;
        font-size: 25px;
    }
}
