/* welcome-overlay.css */

.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    overflow-y: auto;
    padding: 2rem;
    text-align: center;
}

.welcome-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.welcome-container {
    max-width: 800px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* ScrollFloat Styles */
.scroll-float {
    overflow: hidden;
}

.scroll-float-text {
    display: inline-block;
    font-size: clamp(1.6rem, 8vw, 10rem);
    font-weight: 900;
    text-align: center;
    line-height: 1.5;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #2f6bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.5rem;
}

.char {
    display: inline-block;
}

/* ScrollReveal Styles */
.scroll-reveal {
    margin: 20px 0;
}

.scroll-reveal-text {
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.word {
    display: inline-block;
}

/* Welcome UI Elements */
.welcome-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(47, 107, 255, 0.5));
}

.welcome-badge {
    background: rgba(47, 107, 255, 0.1);
    color: #2f6bff;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(47, 107, 255, 0.2);
    margin-bottom: 1rem;
}

.welcome-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.welcome-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.welcome-btn-primary {
    background: #2f6bff;
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(47, 107, 255, 0.3);
}

.welcome-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(47, 107, 255, 0.4);
    background: #4a82ff;
}

.welcome-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.share-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.share-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.share-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.share-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-icon-btn:hover {
    background: rgba(47, 107, 255, 0.1);
    border-color: #2f6bff;
    color: #2f6bff;
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .welcome-overlay {
        padding: 1rem;
    }

    .welcome-actions {
        flex-direction: column;
        width: 100%;
    }

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