    /* Base */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Scroll reveal base — visible by default for progressive enhancement */
    .reveal-item {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

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

    /* Staggered delays */
    .reveal-item:nth-child(2) { transition-delay: 0.1s; }
    .reveal-item:nth-child(3) { transition-delay: 0.2s; }
    .reveal-item:nth-child(4) { transition-delay: 0.3s; }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(59, 7, 100, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

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

    /* Mobile links */
    .mobile-link {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
    }

    #mobile-menu.open .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }

    #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
    #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
    #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
    #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

    /* Hero reveal items — always visible (above the fold) */
    #hero .reveal-item {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Thin line accents */
    .line-accent {
        width: 48px;
        height: 1px;
        background: linear-gradient(to right, transparent, #d97706, transparent);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: #1a0533;
    }
    ::-webkit-scrollbar-thumb {
        background: #7e22ce;
        border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #9333ea;
    }

    /* Selection */
    ::selection {
        background: rgba(147, 51, 234, 0.2);
        color: #581c87;
    }
</style>
