/* Popup styles */
#promo-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
    transform: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

#promo-popup.show {
    opacity: 1;
    pointer-events: auto;
}

#promo-popup::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#promo-popup.show::before {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    position: relative;
    z-index: 1;
    background-color: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.25rem;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#promo-popup.show .popup-content {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 6px;
    border-radius: 10px;
    transition: background-color 0.2s;
    z-index: 2;
}

.popup-close:hover {
    background-color: rgba(255,255,255,0.1);
}
