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

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

    body {
        margin: 0;
    }

    /* Marquee animation */
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    .animate-marquee {
        animation: marquee 20s linear infinite;
    }

    /* Scroll reveal — progressive enhancement via JS */
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    /* Mobile menu transitions */
    #mobileMenu {
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    #mobileMenu.hidden {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    #mobileMenu:not(.hidden) {
        max-height: 400px;
        opacity: 1;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #500724;
    }
    ::-webkit-scrollbar-thumb {
        background: #fbbf24;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #fcd34d;
    }

    /* Focus styles for accessibility */
    a:focus-visible, button:focus-visible {
        outline: 2px solid #fbbf24;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Reduced motion */
    @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;
        }
    }
