    /* Custom styles for Southard Quarter */

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    /* Scroll reveal animations */
    .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] {
        opacity: 0;
        transform: translateY(32px);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal[data-reveal] {
            opacity: 0;
            transform: translateY(32px);
        }
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(26, 15, 32, 0.95);
        backdrop-blur-xl;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #7c3aed;
    }

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

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

    /* Floating card animations */
    @media (prefers-reduced-motion: no-preference) {
        .float-slow {
            animation: float 6s ease-in-out infinite;
        }
        .float-medium {
            animation: float 4.5s ease-in-out infinite;
        }
        .float-fast {
            animation: float 3.5s ease-in-out infinite;
        }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
    }

    /* Gradient text utility */
    .text-gradient {
        background: linear-gradient(135deg, #F59E0B 0%, #fcd34d 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
