:root {
    --main-blue: #142033; 
    --purple-mid: #BF8CE1;
    --pink-light: #EBB2C3;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--main-blue); color: #ffffff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* HEADER & HERO */
header { position: fixed; top: 0; width: 100%; padding: 20px 0; z-index: 1000; transition: all 0.4s ease; background: transparent; }
header.scrolled { background: var(--main-blue); box-shadow: 0 4px 20px rgba(0,0,0,0.3); padding: 10px 0; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: 1px;}
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { font-size: 0.9rem; opacity: 0.8; transition: 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--pink-light); }
.menu-toggle { display: none; font-size: 1.8rem; color: #fff; cursor: pointer; z-index: 1001; }

#hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: transparent; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-content { max-width: 800px; padding: 0 20px; }
.glowing-text { font-family: var(--font-heading); font-size: 6rem; font-weight: 700; color: #ffffff; margin-bottom: 20px; letter-spacing: 2px; mix-blend-mode: difference; }
.slogan { font-size: 1rem; line-height: 1.8; opacity: 0.9; margin-bottom: 40px; font-style: italic; max-width: 600px; margin-left: auto; margin-right: auto; mix-blend-mode: difference; color: #ffffff; }
.cta-btn { display: inline-block; padding: 12px 30px; border: 1px solid rgba(255,255,255,0.5); border-radius: 30px; font-size: 0.9rem; transition: 0.3s; backdrop-filter: blur(5px); position: relative; z-index: 10; }
.cta-btn:hover { background: #fff; color: var(--main-blue); }

.section-with-bg { position: relative; background: transparent; }
.section-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(25px); transform: scale(1.1); }
.overlay-blur { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(20, 32, 51, 0.5); z-index: -1; }

/* =========================================
   STATS SECTION (TRANG CHỦ)
   ========================================= */
.stats-section { padding: 10vh 20px; z-index: 2; }
.stats-container { display: flex; flex-direction: column; align-items: center; gap: 30px; }

/* Followers */
.followers-group { display: flex; flex-direction: column; align-items: center; text-align: center; }
.big-number-wrapper { display: flex; align-items: flex-start; justify-content: center; font-family: var(--font-heading); font-size: 5rem; line-height: 1; text-shadow: 0 4px 15px rgba(0,0,0,0.4); }
.plus-superscript { font-size: 2.5rem; font-weight: 300; margin-top: -5px; margin-left: 2px; }
.stat-label { font-family: var(--font-body); font-size: 1.1rem; letter-spacing: 1px; opacity: 0.9; margin-top: 10px; }

/* Social Pills */
.social-badges-target { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; margin: 15px 0; }
.social-pill { display: flex; align-items: center; gap: 8px; padding: 10px 24px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; background: rgba(255,255,255,0.05); font-size: 0.9rem; transition: 0.3s; backdrop-filter: blur(10px); }
.social-pill:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); border-color: rgba(255,255,255,0.6); }

/* Total Likes */
.inline-likes { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; font-family: var(--font-heading); font-size: 4rem; line-height: 1; text-shadow: 0 4px 15px rgba(0,0,0,0.4); text-align: center; }
.inline-likes .plus-superscript { font-size: 2.2rem; margin-top: -10px; }
.likes-text { font-family: var(--font-heading); font-size: 3.5rem; margin-left: 15px; }

/* Icon Phẳng (Tim bẹt & Thumb xanh) */
.icon-group-final { display: inline-flex; align-items: center; gap: 15px; margin-left: 20px; }
.pure-heart { font-size: 3.2rem; color: #f2625a; }
.pure-thumb { font-size: 3.2rem; color: #4ea4ff; }


/* =========================================
   CORE ODOMETER (ĐÃ ÉP KHUNG SIÊU KHÍT)
   ========================================= */
.odometer {
    display: inline-flex;
    font-variant-numeric: tabular-nums lining-nums;
    height: 1.2em; 
    line-height: 1.2em;
    overflow: hidden; 
    vertical-align: bottom;
}
.odometer-col { display: inline-flex; flex-direction: column; height: 1.2em; }
.odometer-strip { display: flex; flex-direction: column; transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.odometer-strip span { display: flex; justify-content: center; align-items: center; height: 1.2em; line-height: 1.2em; margin: 0; padding: 0; }
.odometer-static { display: inline-flex; height: 1.2em; line-height: 1.2em; align-items: center; padding-bottom: 0.1em; }


/* =========================================
   CONCEPT PAGE LIGHTBOX
   ========================================= */
.concept-page { position: relative; background-color: #050a12; min-height: 100vh; }
.concept-bg-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.concept-bg-img { width: 100%; height: 100%; object-fit: cover; filter: blur(25px) brightness(0.5); transform: scale(1.1); }
.concept-bg-container .overlay-blur { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 18, 32, 0.4); z-index: -1; }
.concept-header { background: rgba(10, 18, 32, 0.7); backdrop-filter: blur(10px); position: fixed; top: 0; width: 100%; z-index: 100; padding: 20px 0; }
.album-container { max-width: 1200px; margin: 140px auto 100px; padding: 0 40px; position: relative; z-index: 10; }
.album-title { text-align: center; margin-bottom: 60px; }
.album-title h1 { font-family: var(--font-heading); font-size: 4rem; margin-bottom: 15px; text-shadow: 2px 2px 15px rgba(0,0,0,0.7); }
.album-title p { font-size: 1.1rem; opacity: 0.9; font-style: italic; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.photo-item { border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 10px 30px rgba(0,0,0,0.5); cursor: pointer; background: #111; transition: transform 0.3s ease; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; filter: brightness(0.9); }
.photo-item:hover img { transform: scale(1.05); filter: brightness(1.2); }

.lightbox { display: none; position: fixed; z-index: 2000; padding-top: 0; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background-color: rgba(0,0,0,0.95); backdrop-filter: blur(15px); flex-direction: column; justify-content: center; align-items: center; }
.lightbox.show { display: flex; }
.close-lightbox { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 35px; font-weight: bold; cursor: pointer; transition: 0.3s; opacity: 0.8; z-index: 2010; background: rgba(0,0,0,0.5); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-lightbox:hover { opacity: 1; transform: scale(1.1); background: rgba(0,0,0,0.8); }
.lightbox-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; height: auto; }
.lightbox-content { margin: 0 !important; display: block; max-width: 90vw !important; max-height: 75vh !important; object-fit: contain; animation: zoomLightbox 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border-radius: 8px; box-shadow: 0 0 40px rgba(0,0,0,0.8); }
.lightbox-caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 20px 0; font-size: 1rem; font-style: italic; }
@keyframes zoomLightbox { from {transform: scale(0.8); opacity: 0;} to {transform: scale(1); opacity: 1;} }

.lightbox-actions { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 15px; z-index: 2005; }
.like-btn.style-img2 { background: #ffffff; backdrop-filter: none; border: none; color: #ff8a00; font-size: 30px; width: 70px; height: 70px; border-radius: 50%; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; align-items: center; justify-content: center; outline: none; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.like-btn.style-img2 i { pointer-events: none; transition: all 0.3s; background: linear-gradient(45deg, #ff8a00, #ff0040); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 10px rgba(255, 60, 0, 0.5)); }
.like-btn.style-img2.liked i { opacity: 1; position: relative; }
.like-btn.style-img2.liked i::before { content: '\f004'; position: absolute; top: 0; left: 0; z-index: -1; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: transparent; background: linear-gradient(45deg, #ff8a00 0%, #ff0040 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: blur(10px) opacity(0.8); transform: scale(1.1) translateY(4px); }
.like-btn.style-img2:hover { background: #fdfdfd; transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.4); }
.like-text { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; font-style: italic; font-family: var(--font-body); }
@keyframes heartPop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.like-btn.style-img2.animating i { animation: heartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* Hộp Like Box Odometer Concept */
.like-count-box-img2 { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 25px; border-radius: 40px; background: linear-gradient(135deg, rgba(255, 138, 0, 0.9) 0%, rgba(255, 0, 64, 0.9) 100%); box-shadow: 0 8px 20px rgba(255, 60, 0, 0.4); }
.like-count-box-img2 .odometer { font-family: var(--font-body); font-size: 1.5rem; font-weight: bold; color: #fff; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }


/* =========================================
   INSTA HEART POP ANIMATION (THAY THẾ FLY UP CŨ)
   ========================================= */
.insta-heart-pop {
    position: absolute;
    font-size: 120px; /* Tim bự chà bá y hệt Insta */
    pointer-events: none;
    z-index: 3000;
    background: linear-gradient(45deg, #ff8a00, #ff0040); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.5)); 
    /* Trọng tâm animation */
    transform: translate(-50%, -50%) scale(0); 
    animation: instaPopAnim 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes instaPopAnim {
    0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    15%  { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
    30%  { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    70%  { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
}


/* VISION MARQUEE (Giữ nguyên) */
.vision-section { padding: 50px 0; overflow: hidden; position: relative; }
.vision-overlay-group { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; pointer-events: none; mix-blend-mode: difference; text-align: center; width: 100%; }
.vision-overlay-text { font-family: var(--font-heading); font-size: 8rem; font-weight: 700; color: #ffffff; line-height: 1; }
.vision-instruction { font-family: var(--font-body); font-size: 1.2rem; color: #ffffff; opacity: 0.9; font-style: italic; letter-spacing: 2px; margin-top: 10px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.marquee { width: 100vw; overflow: hidden; white-space: nowrap; margin-bottom: 20px; }
.marquee-track { display: flex; gap: 20px; width: max-content; padding-left: 20px; will-change: transform; }
.img-box { display: block; width: 300px; height: 200px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #111; }
.img-box img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); transition: 0.4s;}
.img-box:hover img { filter: brightness(1.1); transform: scale(1.05); }
.track-left { animation: scroll-left 25s linear infinite; }
.track-right { animation: scroll-right 25s linear infinite; }
@keyframes scroll-left { 100% { transform: translateX(-1600px); } }
@keyframes scroll-right { 0% { transform: translateX(-1600px); } 100% { transform: translateX(0); } }

/* FOOTER */
footer { background: #0a1220; padding: 100px 20px 50px; text-align: center; }
.footer-title { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 10px; }
.footer-subtitle { font-size: 1.1rem; opacity: 0.7; margin-bottom: 30px; }
.footer-buttons { display: flex; justify-content: center; gap: 30px; margin-top: 40px; margin-bottom: 120px; flex-wrap: wrap; }
.btn-gradient { padding: 15px 40px; border-radius: 40px; font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; border: none; cursor: pointer; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.btn-social { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3); }
.btn-social:hover { transform: translateY(-5px); }
.btn-email { background: linear-gradient(135deg, #ff0000, #990000); box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2); }
.btn-email:hover { transform: translateY(-5px); }
.copyright { font-size: 0.8rem; letter-spacing: 3px; opacity: 0.4; }

/* TỐI ƯU MOBILE */
@media (max-width: 768px) {
    .nav-container { padding: 0 20px; } 
    .menu-toggle { display: block; margin-left: auto; } 
    .nav-links { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background: rgba(10, 18, 32, 0.98); backdrop-filter: blur(15px); flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s ease; z-index: 1000; padding: 0; }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 25px 0; }
    .nav-links a { font-size: 1.3rem; font-weight: bold; letter-spacing: 2px; }

    /* Concept Lightbox Mobile */
    .concept-header .nav-links { position: static; width: auto; height: auto; background: transparent; flex-direction: row; box-shadow: none; backdrop-filter: none; display: flex; }
    .concept-header .nav-links a { font-size: 1rem; margin: 0; letter-spacing: normal; font-weight: normal; }
    .concept-header .menu-toggle { display: none; } 
    .album-title h1 { font-size: 2.5rem; }
    .album-container { margin-top: 100px; padding: 0 20px; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); gap: 15px; }
    .lightbox.show { display: grid; grid-template-rows: 20vh auto; justify-content: center; align-items: center; }
    .close-lightbox { top: 20px; right: 20px; font-size: 30px; width: 45px; height: 45px; background: rgba(0,0,0,0.6); }
    .lightbox-wrapper { grid-row: 2; transform: translateY(-5vh); width: 95vw; max-height: 80vh; }
    .lightbox-content { max-width: 95vw !important; max-height: 50vh !important; }
    .lightbox-actions { margin-top: 15px; gap: 10px; }
    .like-btn.style-img2 { width: 55px; height: 55px; font-size: 24px; box-shadow: 0 8px 15px rgba(0,0,0,0.3); }
    .like-count-box-img2 { padding: 5px 20px; border-radius: 30px; gap: 8px; }
    .like-count-box-img2 .odometer { font-size: 1.2rem; }

    /* Trang Chủ Odometer Mobile */
    .big-number-wrapper { font-size: 3.5rem; }
    .plus-superscript { font-size: 2rem; margin-top: -2px; }
    .inline-likes { font-size: 2.8rem; flex-wrap: wrap; }
    .inline-likes .plus-superscript { font-size: 1.8rem; }
    .likes-text { font-size: 2.2rem; margin-left: 10px; margin-right: 5px; }

    /* Scale Icon phẳng cho Mobile */
    .icon-group-final { gap: 10px; margin-left: 5px; }
    .pure-heart { font-size: 2.5rem; }
    .pure-thumb { font-size: 2.5rem; }

    .glowing-text { font-size: 3.5rem; }
    .vision-overlay-text { font-size: 4rem; }
    .vision-instruction { font-size: 0.85rem; letter-spacing: 1px; margin-top: 5px; } 
    .img-box { width: 180px; height: 130px; } 
    @keyframes scroll-left { 100% { transform: translateX(-1000px); } }

    @media (orientation: landscape) {
        .lightbox.show { grid-template-rows: 15vh auto; }
        .lightbox-wrapper { transform: translateY(-8vh); max-height: 85vh; }
        .lightbox-content { max-height: 45vh !important; }
        .lightbox-actions { flex-direction: row; gap: 10px; margin-top: 10px; }
    }
}