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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0f1e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #a31439;
}

::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #0a0f1e;
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

#site-header.scrolled {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#site-header.scrolled .text-white {
    color: #f8fafc !important;
}

#site-header.scrolled .text-slate-200 {
    color: #e2e8f0 !important;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(163, 20, 57, 0.15);
}

.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.2s ease;
}

.mobile-nav-link:hover::after {
    width: calc(100% - 32px);
}

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