        :root {
            --western-red: #8B2635;
            --western-brown: #8B4513;
            --western-tan: #D2B48C;
            --western-gold: #DAA520;
            --western-dark: #2F1B14;
            --western-cream: #F5F5DC;
        }

        * {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Crimson Text', serif;
            background: linear-gradient(135deg, var(--western-dark) 0%, var(--western-brown) 50%, var(--western-red) 100%);
            color: var(--western-cream);
            overflow-x: hidden;
        }

        .western-font {
            font-family: 'Cinzel', serif;
        }

        .hero-section {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), 
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" fill="%23654321"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z"/></svg>');
            background-size: cover;
            background-attachment: fixed;
            position: relative;
        }

        .parallax-bg {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        .card-3d {
            perspective: 1000px;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
            transform-style: preserve-3d;
        }

        .card-3d:hover {
            transform: rotateY(-10deg) rotateX(10deg) translateZ(50px);
            box-shadow: 0 25px 80px rgba(0,0,0,0.5);
        }

        .card-inner {
            transform-style: preserve-3d;
            transition: transform 0.6s;
        }

        .flip-card {
            perspective: 1000px;
            height: 400px;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .flip-card:hover .flip-card-inner {
            transform: rotateY(180deg);
        }

        .flip-card-front, .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .flip-card-back {
            transform: rotateY(180deg);
        }

        .floating {
            animation: floating 3s ease-in-out infinite;
        }

        @keyframes floating {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        .typewriter {
            overflow: hidden;
            border-right: .15em solid var(--western-gold);
            white-space: nowrap;
            margin: 0 auto;
            letter-spacing: .15em;
            animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
        }

        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }

        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: var(--western-gold); }
        }

        .glowing-border {
            border: 2px solid var(--western-gold);
            box-shadow: 0 0 20px rgba(218, 165, 32, 0.5);
        }

        .rotate-hover:hover {
            transform: rotate(5deg) scale(1.05);
            transition: all 0.3s ease;
        }

        .slide-up {
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.8s ease;
        }

        .slide-up.visible {
            transform: translateY(0);
            opacity: 1;
        }

        .western-pattern {
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 38, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
        }

        .pulse-glow {
            animation: pulse-glow 2s infinite;
        }

        @keyframes pulse-glow {
            0%, 100% { box-shadow: 0 0 20px rgba(218, 165, 32, 0.3); }
            50% { box-shadow: 0 0 40px rgba(218, 165, 32, 0.8); }
        }

        .text-shadow-glow {
            text-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
        }

        .hover-lift:hover {
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .character-card {
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(139, 38, 53, 0.9));
            backdrop-filter: blur(10px);
            border: 1px solid rgba(218, 165, 32, 0.3);
        }

        .western-divider {
            height: 3px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                var(--western-gold) 25%, 
                var(--western-red) 50%, 
                var(--western-gold) 75%, 
                transparent 100%);
            margin: 2rem 0;
        }

        .spec-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .nav-link {
            position: relative;
            overflow: hidden;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.4), transparent);
            transition: left 0.5s;
        }

        .nav-link:hover::before {
            left: 100%;
        }

        .mechanic-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }

        .mechanic-icon:hover {
            transform: scale(1.2) rotate(10deg);
            color: var(--western-gold);
        }

        @media print {
            .hero-section {
                background-attachment: scroll;
            }
            .parallax-bg {
                background-attachment: scroll;
            }
        }
    