/* Promo Modal Styles - Mobile-first design */

.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.promo-modal-overlay.closing {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.promo-modal-content {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.8);
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

@keyframes modalPop {
    to {
        transform: scale(1);
    }
}

.promo-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.promo-modal-close:hover {
    background: rgba(238, 138, 4, 0.9);
    border-color: #ee8a04;
    transform: rotate(90deg);
}

.promo-modal-image-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.promo-modal-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.promo-modal-image-container:hover .promo-modal-image {
    transform: scale(1.05);
}

.promo-modal-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ee8a04 0%, #ff9f1a 100%);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(238, 138, 4, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.promo-modal-cta {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.promo-modal-title {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.promo-modal-subtitle {
    color: #ee8a04;
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.promo-modal-button {
    display: inline-block;
    background: linear-gradient(135deg, #ee8a04 0%, #ff9f1a 100%);
    color: #000;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 138, 4, 0.3);
    cursor: pointer;
    border: none;
}

.promo-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 138, 4, 0.5);
    background: linear-gradient(135deg, #ff9f1a 0%, #ee8a04 100%);
}

.promo-modal-button:active {
    transform: translateY(0);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .promo-modal-overlay {
        padding: 15px;
    }

    .promo-modal-content {
        max-width: 100%;
        border-radius: 15px;
    }

    .promo-modal-title {
        font-size: 20px;
    }

    .promo-modal-subtitle {
        font-size: 14px;
    }

    .promo-modal-button {
        padding: 12px 28px;
        font-size: 15px;
    }

    .promo-modal-badge {
        font-size: 12px;
        padding: 6px 12px;
        top: 15px;
        left: 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .promo-modal-overlay {
        padding: 10px;
    }

    .promo-modal-content {
        border-radius: 12px;
    }

    .promo-modal-title {
        font-size: 18px;
    }

    .promo-modal-subtitle {
        font-size: 13px;
    }

    .promo-modal-cta {
        padding: 15px;
    }

    .promo-modal-close {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
        font-size: 18px;
    }
}

/* Prevent body scroll when modal is open */
body.promo-modal-open {
    overflow: hidden;
}
