.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.newsletter-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%; max-width: 480px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(75, 0, 45, 0.2);
    transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
    z-index: 1001;
    overflow: hidden;
}

.popup-overlay.active .newsletter-popup {
    transform: translate(-50%, -50%) scale(1);
}

.popup-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 32px; height: 32px;
    border: none;
    background: rgba(75,0,45,0.1);
    border-radius: 50%;
    cursor: pointer;
    color: #4a0029;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
}

.popup-close:hover { background: rgba(75,0,45,0.2); transform: scale(1.1); }

.popup-header {
    background: linear-gradient(135deg,#4a0029 0%,#6b1a3f 100%);
    color: #fff;
    padding: 32px;
    text-align: center;
}

.popup-title { font-size: 1.6rem; margin-bottom: 8px; font-weight: 300; }

.popup-offer {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

.popup-content { padding: 32px; }

.popup-benefits {
    background: #faf8f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.popup-benefits ul { list-style: none; margin: 0; padding: 0; }
.popup-benefits li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #6b5b5b;
    padding-left: 20px;
    position: relative;
}
.popup-benefits li:before {
    content: '💎';
    position: absolute;
    left: 0;
    font-size: 12px;
}

.popup-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f0ebe8;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 16px;
}

.popup-input:focus {
    border-color: #d4b068;
    box-shadow: 0 0 0 3px rgba(212,176,104,0.1);
    outline: none;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg,#4a0029,#6b1a3f);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover {
    background: linear-gradient(135deg,#6b1a3f,#4a0029);
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .newsletter-popup.mobile-popup {
        width: 95%;
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .popup-header {
        padding: 24px 20px;
    }
    
    .popup-title {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .popup-offer {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .popup-content {
        padding: 20px;
    }
    
    .popup-benefits {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .popup-benefits li {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }
    
    .popup-input {
        padding: 12px 16px;
        font-size: 0.95rem;
        margin-bottom: 14px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 0.9rem;
    }
    
    .popup-close {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
        font-size: 16px;
    }
}

/* Mobile Slide-in Alternative (uncomment to use) */
/*
@media (max-width: 768px) {
    .newsletter-popup.mobile-popup {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: translateY(100%);
        width: 100%;
        max-width: none;
        border-radius: 16px 16px 0 0;
        max-height: 60vh;
    }
    
    .popup-overlay.active .newsletter-popup.mobile-popup {
        transform: translateY(0);
    }
    
    .popup-header {
        padding: 20px;
        text-align: left;
    }
    
    .popup-title {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    
    .popup-offer {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .popup-content {
        padding: 16px 20px 20px;
    }
}
*/

/* Mobile Bar Alternative (uncomment to use) */
/*
@media (max-width: 768px) {
    .newsletter-popup.mobile-popup {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: translateY(100%);
        width: 100%;
        max-width: none;
        border-radius: 0;
        max-height: 120px;
        display: flex;
        align-items: center;
        padding: 16px 20px;
    }
    
    .popup-overlay.active .newsletter-popup.mobile-popup {
        transform: translateY(0);
    }
    
    .popup-header {
        background: none;
        color: #4a0029;
        padding: 0;
        text-align: left;
        flex: 1;
    }
    
    .popup-title {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .popup-offer {
        background: #4a0029;
        color: white;
        font-size: 0.75rem;
        padding: 2px 6px;
    }
    
    .popup-content {
        padding: 0;
        flex: 1;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .popup-benefits {
        display: none;
    }
    
    .popup-input {
        flex: 1;
        margin-bottom: 0;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .popup-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
}
*/
