/* ─────────────────────────────────────────────────────────────
   ThoughtBook LM Web Platform - Animation & Visual Effects
   ───────────────────────────────────────────────────────────── */

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px -5px rgba(99, 102, 241, 0.4);
        border-color: rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 0 35px 5px rgba(139, 92, 246, 0.6);
        border-color: rgba(139, 92, 246, 0.7);
    }
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-pulse-glow {
    animation: pulseGlow 4s infinite ease-in-out;
}

.animate-float {
    animation: floatElement 5s infinite ease-in-out;
}

.shimmer-text {
    background: linear-gradient(90deg, #FFFFFF 0%, var(--primary-light) 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s infinite linear;
}

/* ── Mobile Drawer ── */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-subtle);
    z-index: 200;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drawer-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}
