    /* Custom styles for Longshank's Comic Lair */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Selection color */
    ::selection {
        background-color: rgba(13, 148, 136, 0.4);
        color: #f1f5f9;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0f172a;
    }
    ::-webkit-scrollbar-thumb {
        background: #334155;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #475569;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background-color: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(51, 65, 85, 0.5);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Hero image fade-in */
    #hero img {
        animation: heroImageIn 1.2s ease-out forwards;
    }
    @keyframes heroImageIn {
        from { opacity: 0; transform: scale(1.02); }
        to { opacity: 1; transform: scale(1); }
    }

    /* Scroll reveal base - progressive enhancement */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }
    }

    /* Hover glow effect on cards */
    .group:hover .group-hover\:scale-110 {
        transform: scale(1.1);
    }

    /* Mobile menu animation */
    #mobile-menu {
        animation: slideDown 0.3s ease-out;
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Button press effect */
    button, a {
        -webkit-tap-highlight-color: transparent;
    }

    /* Form focus styles */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* Select dropdown arrow */
    select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.75rem center;
        background-repeat: no-repeat;
        background-size: 1.25em 1.25em;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    /* Print styles */
    @media print {
        #navbar, #contact-form, button { display: none; }
        body { background: white; color: black; }
        .font-serif, h1, h2, h3 { color: black !important; }
    }
