/* Custom styles for AS416 — warm, rounded, approachable */

:root {
    --mint-300: #5eead4;
    --mint-400: #2dd4bf;
    --midnight-900: #060d1f;
    --midnight-950: #030714;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(3, 7, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--midnight-900);
}
::-webkit-scrollbar-thumb {
    background: var(--mint-400);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--mint-300);
}

/* Selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: var(--midnight-900);
}
</style>
