/* Welcome Pop-up Styles */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.welcome-popup-content {
    background: radial-gradient(circle at top right, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 24px;
    padding: 70px 50px;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: translateY(40px) scale(0.9);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(212, 175, 55, 0.15),
        inset 0 0 100px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.welcome-popup-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-popup-overlay.active .welcome-popup-content {
    transform: translateY(0) scale(1);
}

.welcome-popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.welcome-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
    line-height: 1;
    z-index: 2;
}

.welcome-popup-close:hover {
    color: #d4af37;
}

.welcome-popup-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #d4af37;
    font-size: 32px;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.welcome-popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.welcome-popup-text {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.welcome-popup-code-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(212, 175, 55, 0.5);
    padding: 15px 25px;
    display: inline-block;
    margin-bottom: 35px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.welcome-popup-code-box:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: #d4af37;
}

.welcome-popup-code {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #d4af37;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.welcome-popup-copy-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-popup-btn {
    display: inline-block;
    background: #d4af37;
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.welcome-popup-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .welcome-popup-content {
        padding: 40px 25px;
    }

    .welcome-popup-title {
        font-size: 26px;
    }

    .welcome-popup-code {
        font-size: 20px;
    }
}