/* 
   Atlas Flow - Premium Offer Popup Styles
   Aesthetic: High-end Glassmorphism, Cinematic Reveals
*/

.offer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.offer-modal {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 77, 41, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    border-radius: 40px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 77, 41, 0.1);
}

.offer-overlay.active .offer-modal {
    transform: translateY(0) scale(1);
}

.offer-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.offer-close:hover {
    background: #ff4d29;
    transform: rotate(90deg);
}

.offer-badge {
    background: #ff4d29;
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 2rem;
    animation: popup-bounce 2s infinite;
}

.offer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.offer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.offer-cta {
    background: white;
    color: black;
    padding: 20px 48px;
    border-radius: 100px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
}

.offer-cta:hover {
    background: #ff4d29;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 77, 41, 0.3);
}

.offer-spots {
    margin-top: 1.5rem;
    color: #ff4d29;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes popup-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .offer-modal { padding: 2rem; }
    .offer-title { font-size: 2.5rem; }
}
