/* ========================================
   BASE STYLES
   Reset and global styles
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    position: relative;
}

body::before {
    display: none;
}

/* Canvas Spotlight Overlay */
.canvas-spotlight {
    background: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(10, 10, 10, 0.1) 0%,
            rgba(10, 10, 10, 0.93) 100%);
    transition: opacity 0.1s ease;
}

/* Smooth Scrolling - Disable native smooth scroll to avoid conflict with Lenis */
html {
    scroll-behavior: auto !important;
    color-scheme: light only;
}

/* Prevent dark mode color inversion */
body {
    color-scheme: light only;
}

/* Selection Color */
::selection {
    background-color: var(--text-light);
    color: #000;
}
/* ========================================
   REVEAL ANIMATIONS
======================================== */
.reveal {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-down {
    transform: translateY(-30px);
}

.reveal-fade {
    transform: scale(0.98);
}

.reveal-active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    pointer-events: auto;
}

/* Delay Utils */
.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; }

