/* style.css */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0B1120;
}
::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff8c33;
}

/* Reveal Animations */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 0.9s cubic-bezier(0.5, 0, 0, 1);
}

/* Float Animations */
.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Dynamic perspective wrapper */
.perspective-1000 {
    perspective: 1000px;
}

/* Mobile glassmorphism */
#navbar.scrolled {
    background: rgba(11, 17, 32, 0.95);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
