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

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        margin: 0;
        overflow-x: hidden;
    }

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

        .floating-card:nth-child(2) {
            animation-delay: -1.5s;
            animation-duration: 5s;
        }

        .floating-card:nth-child(3) {
            animation-delay: -3s;
            animation-duration: 7s;
        }

        .floating-card:nth-child(4) {
            animation-delay: -4.5s;
            animation-duration: 5.5s;
        }

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

    /* Scroll reveal - progressive enhancement, hidden by default */
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

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

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }
    }

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

    ::-webkit-scrollbar-track {
        background: #0a0612;
    }

    ::-webkit-scrollbar-thumb {
        background: #451d4a;
        border-radius: 4px;
    }

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

    /* Selection color */
    ::selection {
        background: rgba(212, 160, 23, 0.3);
        color: #f5f0f7;
    }
