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

body {
    background-color: #01050A;
    color: #F5F5DC;
}

/* Selection */
::selection {
    background-color: rgba(200, 169, 97, 0.3);
    color: #F5F5DC;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040B16;
}
::-webkit-scrollbar-thumb {
    background: rgba(200, 169, 97, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 169, 97, 0.5);
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
#navbar.scrolled {
    background: rgba(1, 5, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(200, 169, 97, 0.1);
}

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

/* Gold shimmer on hover for buttons */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #C8A961;
    outline-offset: 2px;
}

/* Input autofill in dark theme */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #040B16 inset !important;
    -webkit-text-fill-color: #F5F5DC !important;
    caret-color: #F5F5DC;
}
