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

    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

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

    ::selection {
        background: rgba(217, 119, 6, 0.3);
        color: #fce7f3;
    }

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

    ::-webkit-scrollbar-track {
        background: #1a0a1e;
    }

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

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

    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1px;
        background: #d97706;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .nav-link:hover {
        color: #fbbf24;
    }

    .mobile-link {
        position: relative;
    }

    .mobile-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 1px;
        background: #d97706;
        transition: width 0.3s ease;
    }

    .mobile-link:hover::after {
        width: 100%;
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

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

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }

        html {
            scroll-behavior: auto;
        }

        .reveal {
            opacity: 1;
            transform: none;
        }
    }

    #mobile-menu.open {
        opacity: 1;
        pointer-events: auto;
    }

    #mobile-menu.closed {
        opacity: 0;
        pointer-events: none;
    }

    @media (min-width: 768px) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

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