/* === WakeUpVPN Docs — Shared Styles === */

html { scroll-behavior: smooth; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0D0D11; }
::-webkit-scrollbar-thumb { background: #1E1E2A; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #2A2A3A; }

/* Selection */
::selection { background: rgba(99, 102, 241, 0.3); color: #fff; }

/* Navbar scrolled */
.navbar-scrolled {
    background: rgba(13, 13, 17, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 30, 42, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Platform card hover */
.platform-card {
    transition: all 0.3s ease;
}
.platform-card:hover {
    transform: translateY(-4px);
    border-color: #2A2A3A;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}

/* Focus */
a:focus-visible, button:focus-visible {
    outline: 2px solid #6366F1;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Button press */
a:active { transform: scale(0.97) !important; }

/* Pulse green */
@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.animate-pulse-green { animation: pulseGreen 2s ease-in-out infinite; }

/* Float bg orbs */
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float 6s ease-in-out 2s infinite; }

/* Mobile menu */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
#mobile-menu { animation: slideDown 0.25s ease-out; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
