/* Onboarding Overlay */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    /* FIXED: Was --bg-color */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(20px);
    /* PREMIUM BLUR */
    -webkit-backdrop-filter: blur(20px);
}

.onboarding-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Slides Container */
.onboarding-slider {
    width: 100%;
    max-width: 400px;
    height: 70vh;
    position: relative;
    perspective: 1000px;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: rotateY(90deg) translateZ(100px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: rotateY(0) translateZ(0);
    pointer-events: all;
}

.slide.prev {
    opacity: 0;
    transform: rotateY(-90deg) translateZ(100px);
}

/* Slide Content */
.slide-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(108, 92, 231, 0.4));
    animation: float 6s ease-in-out infinite;
}

.slide h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* FIXED LINT */
}

.slide p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Interest Bubbles */
.interests-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.interest-bubble {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-weight: 500;
}

.interest-bubble:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.interest-bubble.selected {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

/* Buttons */
.onboarding-btn {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.onboarding-btn:active {
    transform: scale(0.95);
}

.skip-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    margin-top: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 3D Logo Specifics */
.logo-container {
    transform-style: preserve-3d;
    margin-bottom: 3rem;
}

.logo-card {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    box-shadow:
        0 20px 50px rgba(108, 92, 231, 0.4),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    animation: spin-reveal 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes spin-reveal {
    0% {
        transform: rotateX(90deg) rotateY(45deg) scale(0.5);
        opacity: 0;
    }

    100% {
        transform: rotateX(20deg) rotateY(-20deg) scale(1);
        opacity: 1;
    }
}