:root {
            --bg-forest: #0B2B26;
            --accent-gold: #F59E0B;
            --text-mist: #F8FAFC;
        }

        body {
            background-color: #0B2B26;
            color: #F8FAFC;
            font-family: 'Plus Jakarta Sans', sans-serif;
            overflow-x: hidden;
        }

        /* Hide scrollbar during preloader */
        body.is-loading {
            overflow: hidden;
            height: 100vh;
        }

        /* Custom Scrollbar for Luxury Editorial Look */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: #061A17;
        }

        ::-webkit-scrollbar-thumb {
            background: #1C544B;
            border-radius: 9999px;
        }

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

        /* 1. Subtle Film Grain Overlay */
        .film-grain-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none;
            z-index: 9990;
            opacity: 0.042;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            mix-blend-mode: overlay;
        }

        /* Custom Cursor (Desktop only) */
        @media (pointer: fine) {
            .custom-cursor {
                position: fixed;
                top: 0;
                left: 0;
                width: 18px;
                height: 18px;
                border: 1.5px solid #F59E0B;
                border-radius: 9999px;
                pointer-events: none;
                z-index: 9999;
                transform: translate(-50%, -50%);
                transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                    height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                    background-color 0.3s ease,
                    border-color 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
                mix-blend-mode: normal;
            }

            .custom-cursor.is-hover-card {
                width: 92px;
                height: 92px;
                background-color: rgba(245, 158, 11, 0.92);
                border-color: #F59E0B;
                backdrop-filter: blur(4px);
            }

            .custom-cursor .cursor-label {
                opacity: 0;
                font-size: 11px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: #061A17;
                transition: opacity 0.2s ease;
                text-align: center;
                padding: 0 4px;
            }

            .custom-cursor.is-hover-card .cursor-label {
                opacity: 1;
            }
        }

        @media (pointer: coarse) {
            .custom-cursor {
                display: none !important;
            }
        }

        /* Drifting Mist Animation */
        @keyframes mistDriftOne {
            0% {
                transform: translateX(-10%) translateY(0px);
            }

            50% {
                transform: translateX(8%) translateY(-12px);
            }

            100% {
                transform: translateX(-10%) translateY(0px);
            }
        }

        @keyframes mistDriftTwo {
            0% {
                transform: translateX(10%) translateY(0px);
            }

            50% {
                transform: translateX(-8%) translateY(10px);
            }

            100% {
                transform: translateX(10%) translateY(0px);
            }
        }

        .mist-layer-1 {
            animation: mistDriftOne 22s ease-in-out infinite;
        }

        .mist-layer-2 {
            animation: mistDriftTwo 28s ease-in-out infinite;
        }

        /* Infinite Marquee */
        @keyframes marqueeScroll {
            0% {
                transform: translateX(0%);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .marquee-track {
            display: flex;
            width: max-content;
            animation: marqueeScroll 32s linear infinite;
        }

        .marquee-wrapper:hover .marquee-track {
            animation-play-state: paused;
        }

        /* Clip-path image reveal initial state */
        .reveal-image-wrap {
            clip-path: inset(12% 8% 12% 8% round 1.25rem);
            transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal-image-wrap.is-revealed {
            clip-path: inset(0% 0% 0% 0% round 1.25rem);
        }

        /* 3D Tilt Card */
        .tilt-card {
            transform-style: preserve-3d;
            will-change: transform;
        }

        .tilt-glare {
            background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 65%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .tilt-card:hover .tilt-glare {
            opacity: 1;
        }

        /* Text reveal line mask */
        .line-mask {
            overflow: hidden;
            display: block;
        }

        .line-inner {
            display: block;
            transform: translateY(110%);
        }

        /* Velocity Skew */
        .skew-on-scroll {
            transform-origin: center center;
            will-change: transform;
        }

        /* Sound Equalizer Waves */
        @keyframes soundWaveBar {

            0%,
            100% {
                height: 4px;
            }

            50% {
                height: 15px;
            }
        }

        .sound-bar {
            width: 2.5px;
            background-color: currentColor;
            border-radius: 9999px;
            height: 4px;
            transition: height 0.2s ease;
        }

        .sound-active .sound-bar:nth-child(1) {
            animation: soundWaveBar 0.9s ease-in-out infinite;
        }

        .sound-active .sound-bar:nth-child(2) {
            animation: soundWaveBar 1.2s ease-in-out 0.2s infinite;
        }

        .sound-active .sound-bar:nth-child(3) {
            animation: soundWaveBar 0.8s ease-in-out 0.4s infinite;
        }

        .sound-active .sound-bar:nth-child(4) {
            animation: soundWaveBar 1.1s ease-in-out 0.1s infinite;
        }

        /* Hide horizontal scrollbar in mobile horizontal snap */
        .scrollbar-none::-webkit-scrollbar {
            display: none;
        }

        .scrollbar-none {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

/* ==========================================================================
   MOBILE & RESPONSIVE LUXURY EDITORIAL OPTIMIZATIONS (@media (max-width: 768px))
   ========================================================================== */

/* 1. Fluid Typography for Hero Title */
.hero-title-responsive {
    font-size: clamp(2.2rem, 8vw, 4.5rem) !important;
    line-height: 1.18 !important;
}

@media (max-width: 768px) {
    /* Prevent any accidental horizontal overflow */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    /* Container padding reduction to 16px–20px */
    .max-w-7xl, .max-w-5xl, .max-w-4xl, .max-w-3xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Hero section spacing & title */
    #tong-quan {
        padding-top: 5.5rem !important;
        padding-bottom: 3rem !important;
        min-height: auto !important;
    }

    /* Grid & Cards: single column layout */
    #destinationsGrid,
    #bentoGrid,
    #seasonContent,
    .grid.md\:grid-cols-3,
    .grid.sm\:grid-cols-2,
    .grid.lg\:grid-cols-12,
    .grid.sm\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    /* Make Bento gallery columns single flow */
    #bentoColLeft, #bentoColCenter, #bentoColRight {
        grid-column: span 12 / span 12 !important;
        width: 100% !important;
    }

    /* Asymmetric visuals in culture section */
    #van-hoa .grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    #van-hoa .grid.grid-cols-2 .h-80 {
        height: 14rem !important;
    }

    /* Săn Mây: Horizontal Snap Track with 85vw width so next card peeks */
    #horizontalTrack .stage-panel {
        flex: 0 0 85vw !important;
        max-width: 85vw !important;
        padding: 1.25rem !important;
    }

    /* Touch Targets Optimization (Minimum 44px height & 8px gap) */
    .radar-tab {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #pillDuration label,
    #pillStyle label,
    #pillVehicle label {
        min-height: 48px !important;
        padding: 0.875rem 1rem !important;
    }

    .packing-cb {
        min-width: 22px !important;
        min-height: 22px !important;
    }

    #packingChecklist label {
        min-height: 48px !important;
        padding: 0.75rem 1rem !important;
    }

    .faq-btn {
        min-height: 48px !important;
        padding: 1rem !important;
    }

    /* Mobile Drawer enhancement */
    #mobileDrawer {
        max-height: calc(100vh - 4.5rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #mobileDrawer .mobile-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Tables & Sổ tay ngôn ngữ: prevent overflow */
    #so-tay-van-hoa .grid.lg\:grid-cols-12 {
        grid-template-columns: 1fr !important;
    }

    /* Plan result wrapper 2-columns to single column */
    #planResultWrapper .grid.lg\:grid-cols-12 {
        grid-template-columns: 1fr !important;
    }

    /* Audio button fixed 40px x 40px at bottom-4 right-4 */
    #ambientSoundBtn {
        width: 40px !important;
        height: 40px !important;
    }
}
