:root {
            --easing-cinematic: cubic-bezier(0.76, 0, 0.24, 1);
            --text-color: #ffffff;
            --accent-color: #d4b553; 
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body { 
            background-color: #050505; 
            color: var(--text-color); 
            font-family: 'Inter', sans-serif; 
            -webkit-font-smoothing: antialiased;
            scroll-behavior: smooth;
        }

        /* -------------------------------------------
           SECTION 1: BẦU TRỜI & MÁY BAY 
        ---------------------------------------------*/
        .hero-section {
            position: relative;
            width: 100vw;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-image: url('https://cdn.phototourl.com/free/2026-08-02-9c29af84-82a3-42cc-b58c-b4e7f6d1166f.png');
            background-size: cover;
            background-position: center;
            z-index: 1;
            overflow: hidden;
        }

        .airplane {
            position: absolute;
            top: 1%;
            left: -650px;
            width: 600px; 
            z-index: 2;
            animation: flyAcrossFaster 6s linear infinite;
        }

        @keyframes flyAcrossFaster {
            0% { left: -650px; transform: translateY(0); }
            100% { left: 120vw; transform: translateY(-15px); }
        }

        .hero-foreground-clouds {
            position: absolute;
            top: 10%;
            left: 0;
            width: 100%;
            height: 90%;
            background-image: url('https://cdn.phototourl.com/free/2026-08-02-527c0b44-17b6-4c39-91a5-ab68d86c4dee.png');
            background-size: cover;
            background-position: bottom center;
            z-index: 3;
            pointer-events: none;
            opacity: 0.85;
            -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
        }

        .content-container {
            position: relative;
            z-index: 4;
            text-align: center;
            margin-top: 16%; 
        }

        .hero-text-img {
            max-width: 750px;
            width: 90%;
            height: auto;
            margin: 0 auto 25px auto;
            display: block;
        }

        .hero-ticket-img {
            max-width: 650px;
            width: 90%;
            height: auto;
            margin: 0 auto 105px auto; 
            display: block;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 4;
        }

        .mouse {
            width: 24px;
            height: 36px;
            border: 2px solid #555;
            border-radius: 12px;
            position: relative;
        }
        .mouse.light {
            border-color: #ffffff;
        }

        .wheel {
            width: 4px;
            height: 8px;
            background-color: #555;
            border-radius: 2px;
            position: absolute;
            top: 6px;
            left: 50%;
            transform: translateX(-50%);
            animation: scroll 1.5s infinite;
        }
        .mouse.light .wheel {
            background-color: #ffffff;
        }

        @keyframes scroll {
            0% { top: 6px; opacity: 1; }
            100% { top: 18px; opacity: 0; }
        }

        /* -------------------------------------------
           SECTION 2: MÂY LỘ BẢN ĐỒ KỶ LỤC
        ---------------------------------------------*/
        .magazine-wrap {
            position: relative;
            width: 100vw;
            height: 200vh; 
            z-index: 2; 
        }

        .magazine-container { 
            position: sticky; 
            top: 0; 
            width: 100vw; 
            height: 100vh; 
            overflow: hidden; 
            background-color: #050505; 
            display: flex; 
            align-items: center; 
            justify-content: center;
        }

        .cloud-curtain {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 150%;
            background-image: url('https://cdn.phototourl.com/free/2026-08-02-527c0b44-17b6-4c39-91a5-ab68d86c4dee.png');
            background-size: cover;
            background-position: bottom center;
            z-index: 150; 
            pointer-events: none; 
            will-change: transform;
            transition: opacity 0.3s ease;
        }

        .cloud-curtain::before {
            content: '';
            position: absolute;
            top: -1px; 
            left: 0;
            width: 100%;
            height: 250px; 
            background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
            pointer-events: none;
        }
        
        .background-img { 
            width: 100%; height: 100%; object-fit: cover; 
            position: absolute; top: 0; left: 0; z-index: 1;
            transform: scale(1); filter: brightness(1) saturate(1.05);
        }

        .success-overlay { 
            position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
            z-index: 100; opacity: 0; visibility: hidden; pointer-events: none;
            display: flex; flex-direction: column; align-items: center; padding: 20px; 
            background: none; 
        }
        .success-overlay.active { opacity: 1; visibility: visible; }
        
        .typewriter-text { 
            font-family: 'Phudu', sans-serif; font-size: 2.2rem; font-weight: 700; 
            color: #ffffff; line-height: 1.2; margin-bottom: 0px; text-transform: uppercase; 
            letter-spacing: 1px; text-shadow: 0 0 3px #538ee6, 0 0 8px #538ee6, 0 0 15px rgba(83, 142, 230, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3); 
            text-align: center;
            position: relative !important;
            top: 22px !important;
        }

        .instruction-text {
            font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 400; font-style: italic; 
            color: #ffffff; letter-spacing: 0.5px; margin-top: 0px; opacity: 0; display: flex; 
            align-items: center; justify-content: center; gap: 6px; 
            text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
            position: relative !important;
            top: 22px !important;
        }
        .instruction-text.active { opacity: 1; } 

        .click-icon { width: 16px; height: 16px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8)); }

        .scroll-down-hint {
            position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
            display: flex; flex-direction: column; align-items: center; gap: 8px;
            opacity: 0; z-index: 150;
        }
        .scroll-down-hint.active { opacity: 1; animation: floatDown 1.5s ease-in-out infinite; }
        @keyframes floatDown {
            0% { transform: translate(-50%, 0); opacity: 0.8; }
            50% { transform: translate(-50%, 10px); opacity: 1; }
            100% { transform: translate(-50%, 0); opacity: 0.8; }
        }

        .pins-container {
            position: absolute; inset: 0; z-index: 50; 
            opacity: 0; visibility: hidden;
        }
        .pins-container.active { opacity: 1; visibility: visible; }
        
        .pin {
            position: absolute; transform: translate(-50%, -50%);
            background: rgba(25, 25, 25, 0.7); color: #ffffff; font-family: 'Inter', sans-serif;
            font-weight: 700; font-size: 0.75rem; padding: 5px 16px; border-radius: 50px; 
            cursor: pointer; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.6);
            transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
            pointer-events: auto; white-space: nowrap; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .pin:hover { transform: translate(-50%, -50%) scale(1.05); background: #f7b713; color: #ffffff; border-color: #f7b713; }
        .pin::after {
            content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
            width: 8px; height: 8px; background-color: #ffffff; border-radius: 50%;
            animation: rippleLine 1.5s ease-out infinite; transition: background-color 0.3s ease;
        }
        .pin:hover::after { background-color: #f7b713; animation: rippleLineHover 1.5s ease-out infinite; }
        @keyframes rippleLine {
            0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
            100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
        }
        @keyframes rippleLineHover {
            0% { box-shadow: 0 0 0 0 rgba(247, 183, 19, 0.8); }
            100% { box-shadow: 0 0 0 16px rgba(247, 183, 19, 0); }
        }

        /* TỌA ĐỘ PIN TRÊN DESKTOP */
        #pin-bana { top: 24%; left: 12%; }
        #pin-fansipan { top: 42%; left: 46%; }
        #pin-catba { top: 16%; left: 87%; }
        #pin-nuhoang { top: 56%; left: 20%; }
        #pin-vungtau { top: 52%; left: 6%; }
        #pin-honthom { top: 63%; left: 76%; }
        #pin-bavaria { top: 86%; left: 38%; }
        #pin-kissofthesea { top: 81%; left: 85%; }

        /* --- FEED SCROLLYTELLING --- */
        .scrolly-container {
            position: relative;
            display: grid;
            grid-template-columns: 1fr;
            width: 100%;
            background-color: transparent;
        }
        
        .scrolly-visuals {
            grid-column: 1;
            grid-row: 1;
            position: sticky;
            top: 0;
            left: 0;
            width: 100%; 
            height: 100vh;
            overflow: hidden;
            z-index: 1;
        }

        .scrolly-img-group {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1); 
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .scrolly-img-group.active {
            opacity: 1;
        }

        .scrolly-main-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            inset: 0;
            transform: scale(1.05); 
        }

        .scrolly-text {
            grid-column: 1;
            grid-row: 1;
            position: relative;
            width: 100%; 
            z-index: 3;
            background-color: transparent; 
            padding: 0; 
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .scrolly-step {
            min-height: 100vh; 
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
            padding: 10vh 40px 10vh 20px; 
            width: 100%;
        }

        .scrolly-step-content {
            background: linear-gradient(-41deg, #d2ae74, #ffffff);
            opacity: 0.8;
            border-radius: 25px;
            padding: 40px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
            color: #1a1a1a;
            position: relative;
            max-width: 584px; 
            width: 100%;
            height: fit-content;
        }

        .scrolly-title {
            font-family: 'Phudu', sans-serif;
            color: #b87333;
            font-size: 2.4rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            line-height: 1.2;
            letter-spacing: 1px;
            text-shadow: none;
            text-align: center;
        }

        .scrolly-story p {
            font-size: 1.15rem;
            line-height: 1.65;
            margin-bottom: 20px; 
            text-align: left;
            color: #222222;
            padding-right: 0;
            font-weight: 500;
        }
        .scrolly-story p:last-child { margin-bottom: 0; }

        .drop-cap::first-letter {
            float: left;
            font-family: 'Inter', sans-serif;
            font-size: 3.5rem;
            color: #b87333;
            line-height: 0.75;
            margin-top: 9px;
            margin-right: 4px;
            margin-bottom: 0px; 
            text-shadow: none;
        }

        /* --- POPUP MODAL --- */
        .modal-layout { display: flex; gap: 40px; align-items: center; }
        .modal-left { flex: 0 0 55%; max-width: 55%; display: flex; flex-direction: column; gap: 15px; }
        .modal-img-main { width: 100%; height: 360px; min-height: 360px; flex-shrink: 0; object-fit: cover; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); background-color: #2a2b2e; border: 1px solid rgba(255, 255, 255, 0.15); }
        .modal-img-row { display: flex; gap: 15px; flex-shrink: 0; width: 100%; }
        .modal-img-sub { flex: 1; min-width: 0; height: 190px; min-height: 190px; object-fit: cover; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); background-color: #2a2b2e; border: 1px solid rgba(255, 255, 255, 0.15); }
        .modal-right { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; position: relative; }
        .modal-title-popup { font-family: 'Phudu', sans-serif; color: #ffffff; font-size: 2rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 15px; line-height: 1.2; }
        
        .modal-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }
        .stat-group { display: flex; flex-direction: column; gap: 6px; }
        .stat-label { color: #d0d0d0; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
        .stat-value { color: #ffffff; font-size: 1rem; font-weight: 600; }

        .modal-record { background: transparent; border-left: none; padding: 10px 0; margin-bottom: 15px; border-radius: 0; }
        .record-label { color: var(--accent-color); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
        .record-text { color: #f5f5f5; font-size: 1.1rem; line-height: 1.6; font-weight: 400; }
        .record-text ul { list-style-type: disc; margin-left: 20px; margin-top: 6px; }
        .record-text li { margin-bottom: 6px; line-height: 1.5; }
        .modal-desc { color: #f5f5f5; font-size: 1.1rem; line-height: 1.7; font-weight: 400; }

        .modal-overlay {
            position: fixed; inset: 0; background: transparent; backdrop-filter: blur(5px);
            z-index: 200; display: flex; align-items: center; justify-content: center;
            opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
        .modal-content {
            background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
            border: 1px solid rgba(255, 255, 255, 0.15); max-width: 1150px; width: 95%; position: relative; border-radius: 16px; padding: 35px 40px; max-height: 90vh; overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0,0,0,0.4); transform: translateY(20px); transition: transform 0.3s ease;
        }
        .modal-overlay.active .modal-content { transform: translateY(0); }
        
        .modal-content::-webkit-scrollbar { width: 6px; }
        .modal-content::-webkit-scrollbar-track { background: transparent; }
        .modal-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
        .modal-content::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

        .modal-close {
            position: absolute; top: 20px; right: 25px; font-size: 2.2rem; color: #ffffff; cursor: pointer; transition: color 0.3s; line-height: 1; z-index: 10;
        }
        .modal-close:hover { color: var(--accent-color); }

        .fade-in-up {
            opacity: 0; transform: translateY(60px);
            transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
        .fade-in-up.visible { opacity: 1; transform: translateY(0); }
        /* --- TÁC GIẢ / NGUỒN --- */
.author-credits {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 20px;
    background-color:#fcf6e8;
    color: #555555;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
}

.author-credits p {
    margin: 5px 0;
}

.author-credits a {
    color: #555555;
    text-decoration: underline; /* Gạch chân link để dễ nhận biết */
    font-weight: 500;
    transition: color 0.3s;
}

.author-credits a:hover {
    color: #d4b553; /* Đổi sang màu vàng kim khi trỏ chuột vào */
}

        @media (max-width: 900px) {
            .scrolly-container { display: grid; grid-template-columns: 1fr; }
            .scrolly-visuals { width: 100%; position: sticky; top: 0; height: 100vh; z-index: 1; }
            .scrolly-text { width: 100%; padding: 0 20px; z-index: 2; align-items: center; }
            .scrolly-step { min-height: 100vh; padding: 10vh 0; align-items: center; justify-content: center; }
            .scrolly-step-content { max-width: 100%; }
            .modal-layout { flex-direction: column; gap: 25px; }
            .modal-content { padding: 30px 20px; }
            .modal-img-main { height: 220px; }
            .modal-img-sub { height: 140px; }
            .modal-title-popup { font-size: 1.6rem; }
            .modal-desc { font-size: 1rem; }
        }

        #hidden-image-cache { position: absolute; width: 0; height: 0; overflow: hidden; z-index: -1; opacity: 0; pointer-events: none; }