*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    background-color: #030812;
    color: #e5e7eb;
}

/* Scroll reveal animations - progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* Selection color */
::selection {
    background-color: rgba(45, 196, 160, 0.3);
    color: #f0f4f8;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #030812;
}

::-webkit-scrollbar-thumb {
    background: #1a3a4a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2bc4a0;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #4dd9b5;
    outline-offset: 2px;
    border-radius: 4px;
}
