/* Welcome Popup Styles */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

.welcome-popup-overlay.active {
    display: flex;
}

.welcome-popup-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    width: 90%;
    max-width: 550px;
    text-align: center;
    position: relative;
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.welcome-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, #1e363b, #2c4a52);
    border: none;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(30, 54, 59, 0.3);
}

.welcome-close-btn:hover {
    background: linear-gradient(135deg, #e8b4a3, #d4a394);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(232, 180, 163, 0.5);
}

.welcome-close-btn i {
    font-size: 20px;
}

.welcome-logo {
    width: 160px;
    height: auto;
    margin: 0 auto 2rem;
}

.welcome-title {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #1e363b, #2c4a52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.welcome-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.welcome-feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #e8b4a3, #d4a394);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(232, 180, 163, 0.3);
}

.welcome-feature-text {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 600;
}

.welcome-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.welcome-btn {
    padding: 0.9rem 2.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-btn-primary {
    background: linear-gradient(135deg, #1e363b, #2c4a52);
    color: white;
    box-shadow: 0 6px 20px rgba(30, 54, 59, 0.3);
}

.welcome-btn-primary:hover {
    background: linear-gradient(135deg, #2c4a52, #1e363b);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 54, 59, 0.4);
}

.welcome-btn-secondary {
    background: white;
    color: #1e363b;
    border: 2px solid #1e363b;
}

.welcome-btn-secondary:hover {
    background: #1e363b;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 54, 59, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .welcome-popup-content {
        padding: 2.5rem 1.75rem;
        max-width: 90%;
    }

    .welcome-title {
        font-size: 1.8rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .welcome-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .welcome-feature {
        flex-direction: row;
        text-align: left;
    }

    .welcome-cta {
        flex-direction: column;
    }

    .welcome-btn {
        width: 100%;
        justify-content: center;
    }
}