/* Base reset and custom styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', sans-serif;
}

/* Scroll reveal — progressive enhancement, only active with JS */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .scroll-reveal.revealed {
        opacity: 0;
        transform: translateY(30px);
    }

    .scroll-reveal.revealed.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(26, 10, 40, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a0a20;
}
::-webkit-scrollbar-thumb {
    background: #7B2D8E;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a82d8e;
}

/* Selection */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fff;
}

/* Select dropdown fix */
select option {
    background: #2a0d30;
    color: #fff;
}
