    /* Base & Typography */
    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        overflow-x: hidden;
    }

    ::selection {
        background-color: #4A235A;
        color: #fbbf24;
    }

    /* 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);
    }

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

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

        .reveal:nth-child(2) { transition-delay: 0.1s; }
        .reveal:nth-child(3) { transition-delay: 0.2s; }
        .reveal:nth-child(4) { transition-delay: 0.3s; }
    }

    /* Header scroll state */
    #header.scrolled {
        background-color: rgba(26, 10, 30, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

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

    #mobileMenu.active {
        display: flex;
    }

    #mobileMenu.hidden {
        display: none;
    }

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

    ::-webkit-scrollbar-track {
        background: #fdf2f8;
    }

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

    ::-webkit-scrollbar-thumb:hover {
        background: #4A235A;
    }

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

    /* Smooth image loading */
    img {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    /* Card hover enhancement */
    .group:hover .group-hover\:scale-105 {
        transform: scale(1.05);
    }

    /* Mobile menu link animations */
    .mobile-link {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
    }

    #mobileMenu.active .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }

    #mobileMenu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
    #mobileMenu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
    #mobileMenu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
    #mobileMenu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
    #mobileMenu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

    /* Responsive adjustments */
    @media (max-width: 640px) {
        .font-serif {
            line-height: 1.1;
        }
    }

    /* Print styles */
    @media print {
        #header, #mobileMenu, .reveal {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
    }
