    /* Custom styles and overrides */
    html {
        scroll-behavior: smooth;
    }

    /* Scroll reveal base — content is visible by default, JS adds animation class */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #111827;
    }
    ::-webkit-scrollbar-thumb {
        background: #374151;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #4b5563;
    }

    /* Selection color */
    ::selection {
        background: rgba(245, 158, 11, 0.3);
        color: #fff;
    }
</style>
