/* Discount Popup Styles */
.discount-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.discount-popup.active {
    opacity: 1;
    visibility: visible;
}

.discount-popup-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.discount-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.discount-popup-close:hover {
    transform: rotate(90deg);
    color: #fff;
}

.discount-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #000;
    font-size: 3rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.discount-popup h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.discount-popup p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.discount-code {
    background: rgba(212, 175, 55, 0.1);
    border: 2px dashed var(--color-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.discount-code strong {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.discount-popup .btn {
    margin-top: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .discount-popup-content {
        padding: 2rem 1.5rem;
    }

    .discount-badge {
        font-size: 2.5rem;
        padding: 0.8rem 1.5rem;
    }

    .discount-popup h2 {
        font-size: 1.5rem;
    }

    .discount-popup p {
        font-size: 1rem;
    }

    .discount-code strong {
        font-size: 1.1rem;
    }
}