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

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

    body {
        overflow-x: hidden;
    }

    ::selection {
        background: rgba(200, 164, 92, 0.3);
        color: #fff;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0A1628;
    }
    ::-webkit-scrollbar-thumb {
        background: #1B3A70;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #C8A45C;
    }

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

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

    /* Scroll Indicator */
    @keyframes scroll-indicator {
        0% { top: -16px; opacity: 0; }
        50% { opacity: 1; }
        100% { top: 48px; opacity: 0; }
    }

    .animate-scroll-indicator {
        animation: scroll-indicator 2s ease-in-out infinite;
    }

    /* Hero Content Animation */
    .hero-content {
        opacity: 1;
        transform: translateY(0);
        animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes heroIn {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reveal on Scroll */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal[data-reveal="hidden"] {
        opacity: 0;
        transform: translateY(30px);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal[data-reveal="hidden"] {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }
    }

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

    /* Navbar Scroll State */
    #navbar.scrolled {
        background: rgba(7, 15, 30, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(200, 164, 92, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

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

    /* Hamburger Animation */
    #menu-btn.active #bar1 {
        transform: translateY(6px) rotate(45deg);
    }
    #menu-btn.active #bar2 {
        opacity: 0;
        transform: scaleX(0);
    }
    #menu-btn.active #bar3 {
        transform: translateY(-6px) rotate(-45deg);
        width: 1.5rem;
    }

    /* Input Autofill */
    input:-webkit-autofill,
    textarea:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #1a2d4a inset !important;
        -webkit-text-fill-color: #fff !important;
    }
