/* Đè cấu hình font FontAwesome để thêm font-display: swap */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap; /* Cho phép hiện text ngay lập tức */
  src: url('/assets/vendor/font-awesome/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v9KQU4Wc.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v-6QU.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 500 - Medium */
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v9KQU4Wc.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v-6QU.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 600 - SemiBold */
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v9KQU4Wc.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v-6QU.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 700 - Bold */
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v9KQU4Wc.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/wlpwgwvFAVdoq2_v-6QU.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================
   2. MALI (Tiếng Việt & Latin)
========================================== */
/* 500 */
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/N0bV2SRONuN4QN7nGlxQJObW.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/N0bV2SRONuN4QN7nGlNQJA.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 600 */
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/N0bV2SRONuN4QPLgGlxQJObW.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/N0bV2SRONuN4QPLgGlNQJA.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 700 */
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/N0bV2SRONuN4QJbhGlxQJObW.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Mali'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/N0bV2SRONuN4QJbhGlNQJA.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================
   3. PACIFICO (Tiếng Việt & Latin)
========================================== */
/* 400 */
@font-face { font-family: 'Pacifico'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/FwZY7-Qmy14u9lezJ-6I6MmTpA.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Pacifico'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/FwZY7-Qmy14u9lezJ-6H6Mk.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================
   4. BASE SELECTORS
========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body { 
  font-family: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
  background-color: #FAF6EF; 
  color: #1e293b; 
  line-height: 1.5; 
  overflow-x: hidden; 
}

.font-handwriting { font-family: 'Mali', cursive; }
.font-fancy-curly { font-family: 'Pacifico', 'Caveat', cursive; }

.sticky-header { position: sticky; top: 0; z-index: 100; background-color: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid #f1f5f9; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); }
.header-container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; height: 5rem; display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.header-logo img { height: 3.2rem; width: auto; object-fit: contain; }
.logo-title-group { display: flex; flex-direction: column; }
.logo-title-top { font-weight: 700; font-size: 0.95rem; color: #c2410c; letter-spacing: -0.01em; line-height: 1.1; text-transform: uppercase; }
.logo-title-sub { font-weight: 700; font-size: 0.75rem; color: #0369a1; letter-spacing: 0.03em; line-height: 1.1; text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { font-weight: 600; font-size: 0.95rem; color: #334155; text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: #047857; }
.btn-header-map { background-color: #046c4e; color: #ffffff; font-weight: 700; font-size: 0.875rem; padding: 0.55rem 1.2rem; border-radius: 9999px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.2s; box-shadow: 0 2px 6px rgba(4, 120, 87, 0.2); }
.btn-header-map:hover { background-color: #065f46; transform: translateY(-1px); }

.hero-sec { position: relative; min-height: 640px; background-color: #FAF6EF; overflow-x: clip; overflow-y: visible; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-leaf-left { position: absolute; top: 0; left: 0; z-index: 5; max-width: 180px; height: auto; pointer-events: none; }
.hero-white-overlay { position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle at 25% 40%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 40%, rgba(255, 255, 255, 0.1) 80%); pointer-events: none; }
.hero-overlay-wrapper { position: relative; z-index: 30; padding: 2.5rem 1.25rem 5.5rem 1.25rem; max-width: 1280px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; }
.hero-left-content { text-align: left; }
.hero-subtitle-top { font-size: 2.8rem; color: #025939; font-weight: 700; margin-bottom: 0.1rem; line-height: 1.1; display: inline-block; transform: rotate(-3deg); transform-origin: left center; }
.hero-title-main { font-family: 'Pacifico', cursive, sans-serif; font-size: 4.5rem; font-weight: 400; background: linear-gradient(90deg, #e64a19 0%, #f57c00 45%, #f5a623 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; line-height: 1.35; padding-bottom: 0.25em; padding-top: 0.1em; margin-bottom: -0.1rem; filter: drop-shadow(1px 0 0 #ffffff) drop-shadow(-1px 0 0 #ffffff) drop-shadow(0 1px 0 #ffffff) drop-shadow(0 -1px 0 #ffffff) drop-shadow(0px 4px 10px rgba(180, 60, 0, 0.35)); white-space: nowrap; overflow: visible; }
.font-mali-text { font-family: 'Mali', cursive, sans-serif; }
.hero-subtitle-bottom { font-size: 1.5rem; color: #1e293b; font-weight: 700; display: flex; align-items: center; justify-content: flex-start; gap: 0.5rem; margin-bottom: 1.25rem; }
.hero-description { color: #334155; font-size: 1.05rem; font-weight: 400; margin-bottom: 1.5rem; line-height: 1.6; }
.hero-description strong { color: #0f172a; font-weight: 700; }
.search-container { max-width: 480px; position: relative; z-index: 30; margin: 0 0 1.25rem 0; }
.search-box { background: #ffffff; padding: 0.75rem 1.25rem; border-radius: 9999px; border: 1.5px solid #fcd34d; display: flex; align-items: center; gap: 0.75rem; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); }
.search-box input { width: 100%; background: transparent; border: none; outline: none; font-size: 0.95rem; color: #1e293b; font-family: 'Lexend', sans-serif; }
.search-box input::placeholder { color: #94a3b8; }
.search-box:focus-within { border-color: #f59e0b; box-shadow: 0 12px 28px -5px rgba(245, 158, 11, 0.18); }
.search-box .svg-icon { flex-shrink: 0; margin-right: 0.75rem; fill: currentColor; }
.search-suggestions-wrapper { background: rgba(255, 255, 255, 0.45); border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 9999px; padding: 0.35rem 1rem; display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1.75rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.search-suggestions { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #475569; font-weight: 500; flex-wrap: wrap; }
.suggestion-tag { background: #ffffff; padding: 0.25rem 0.85rem; border-radius: 9999px; text-decoration: none; color: #334155; font-weight: 500; border: 1px solid #e2e8f0; transition: all 0.2s; font-size: 0.85rem; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.suggestion-tag:hover { border-color: #047857; color: #047857; }
.cta-btn-wrapper { text-align: left; }
.btn-cta-map { background-color: #046c4e; color: #ffffff; padding: 0.85rem 2rem; border-radius: 9999px; font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; transition: all 0.2s; box-shadow: 0 6px 16px rgba(4, 108, 78, 0.3); text-transform: uppercase; letter-spacing: 0.02em; }
.btn-cta-map:hover { background-color: #065f46; transform: translateY(-2px); }
.btn-cta-icon { width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; color: #fcd34d; }
.polaroid-wrapper { position: relative; width: 100%; max-width: 440px; height: 450px; margin: 0 auto; }
.polaroid-card { position: absolute; background: #ffffff; padding: 0.6rem 0.6rem 1.5rem 0.6rem; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); border-radius: 0.375rem; transition: transform 0.3s ease; }
.polaroid-card:hover { transform: scale(1.05) rotate(0deg) !important; z-index: 40 !important; }
.polaroid-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.25rem; display: block; }
.polaroid-1 { top: 0; right: 0.5rem; width: 15rem; transform: rotate(8deg); z-index: 3; }
.polaroid-2 { top: 5.5rem; left: 0; width: 16rem; transform: rotate(-7deg); z-index: 2; }
.polaroid-3 { bottom: 0.5rem; right: 1.5rem; width: 15rem; transform: rotate(4deg); z-index: 1; }
.hero-wave-bottom { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 15; }
.hero-wave-bottom svg { position: relative; display: block; width: calc(100% + 1.3px); height: 60px; }
.hero-wave-bottom .shape-fill { fill: #FAF6EF; }
.pka-role-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem; }
.pka-role-overlay.active { display: flex; }
.pka-role-modal { background: #fff; border-radius: 1rem; max-width: 28rem; width: 100%; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.svg-icon { display: inline-block; width: 1em; height: 1em; stroke-width: 0; stroke: currentColor; fill: currentColor; vertical-align: -0.125em; }
.search-results-dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #ffffff; border: 1px solid #f1f5f9; border-radius: 1rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04); z-index: 1000; overflow: hidden; max-height: 420px; overflow-y: auto; contain: content; scrollbar-width: thin; scrollbar-color: #fdba74 #fff7ed; }
.search-results-dropdown.hidden { display: none; }
.search-results-dropdown::-webkit-scrollbar { width: 6px; }
.search-results-dropdown::-webkit-scrollbar-track { background: #fff7ed; border-radius: 0 1rem 1rem 0; }
.search-results-dropdown::-webkit-scrollbar-thumb { background-color: #fdba74; border-radius: 9999px; }
.search-results-dropdown::-webkit-scrollbar-thumb:hover { background-color: #c2410c; }
.search-header-title { padding: 0.6rem 1rem; background: linear-gradient(to right, #fff7ed, #fffbeb); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #ea580c; border-bottom: 1px solid #ffedd5; display: flex; align-items: center; gap: 0.4rem; }
.search-item { display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; cursor: pointer; transition: background-color 0.15s ease; text-decoration: none; }
.search-item:hover { background-color: #fff7ed; }
.search-item-left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; padding-right: 0.5rem; }
.search-item-icon { width: 2rem; height: 2rem; border-radius: 0.625rem; background-color: #ffedd5; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.search-item-text { font-size: 0.875rem; font-weight: 500; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item:hover .search-item-text { color: #ea580c; }
.search-badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.15rem 0.5rem; border-radius: 9999px; font-size: 0.625rem; font-weight: 800; flex-shrink: 0; }
.badge-top { background: linear-gradient(to right, #ffa700, #f59e0b); color: #ffffff; }
.badge-iti { background-color: #f3e8ff; color: #9333ea; border: 1px solid #e9d5ff; }
.badge-vip { background-color: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-starter { background-color: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.main-wrapper { width: 100%; max-width: 100%; margin: 0 auto; overflow-x: hidden; }
/* ==========================================================================
   PHẦN 1: SECTION KHÁM PHÁ (GIỮ NGUYÊN CSS CŨ)
   ========================================================================== */
.cat-section { background-color: #f8f5f0; padding: 3rem 1.5rem; text-align: center; width: 100%; content-visibility: auto; contain-intrinsic-size: 1px 300px; }
.cat-header { margin-bottom: 2rem; }
.cat-title { font-size: 1.85rem; font-weight: 900; color: #0f172a; margin: 0; letter-spacing: -0.02em; line-height: 1.2; }
.cat-highlight { color: #c2410c; }
.cat-wrapper { position: relative; max-width: 1400px; margin: 0 auto; }
.cat-container { display: flex; align-items: flex-start; justify-content: flex-start; gap: 2rem; overflow-x: auto; scroll-behavior: smooth; padding: 0.5rem 1rem 1rem 1rem; -webkit-overflow-scrolling: touch; -ms-overflow-style: none; scrollbar-width: none; }
.cat-container::-webkit-scrollbar { display: none; }
.cat-card { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; text-decoration: none; width: auto; min-width: 120px; transition: transform 0.25s ease; }
.cat-card:hover { transform: translateY(-4px); }
.cat-img-box { width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; transition: transform 0.3s ease; }
.cat-card:hover .cat-img-box { transform: scale(1.08); }
.cat-img { width: 90px; height: 90px; object-fit: contain; pointer-events: none; aspect-ratio: 1 / 1; }
.cat-name { font-size: 0.95rem; font-weight: 800; color: #0f172a; margin: 0 0 0.25rem 0; line-height: 1.25; transition: color 0.2s ease; white-space: nowrap; }
.cat-card:hover .cat-name { color: #047857; }
.cat-count { font-size: 0.75rem; font-weight: 600; color: #475569; white-space: nowrap; }
.cat-scroll-btn { display: flex; align-items: center; justify-content: center; position: absolute; top: 40%; transform: translateY(-50%); z-index: 10; width: 36px; height: 36px; border-radius: 50%; background-color: #ffffff; border: 1px solid #fde68a; color: #0f172a; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); cursor: pointer; outline: none; padding: 0; }
.btn-left { left: -8px; }
.btn-right { right: -8px; }

/* MEDIA QUERIES HEADER & HERO */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-left-content { text-align: center; }
  .hero-subtitle-top { transform-origin: center center; }
  .hero-subtitle-bottom { justify-content: center; }
  .search-container { margin: 0 auto 1.25rem auto; }
  .search-suggestions-wrapper { margin: 0 auto 1.75rem auto; }
  .cta-btn-wrapper { text-align: center; }
  .hero-white-overlay { background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.65) 55%, rgba(255, 255, 255, 0.1) 85%); }
  .hero-leaf-left { max-width: 120px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-container { height: 4.25rem; padding: 0 0.85rem; }
  .header-logo img { height: 2.6rem; }
  .logo-title-top { font-size: 0.8rem; }
  .logo-title-sub { font-size: 0.65rem; }
  .btn-header-map { padding: 0.45rem 0.85rem; font-size: 0.6rem; border-radius: 9999px; }
  .btn-header-map span { display: inline-block; }
  .hero-overlay-wrapper { padding: 1.5rem 1rem 4rem 1rem; }
  .hero-subtitle-top { font-size: 2rem; margin-bottom: 0; }
  .hero-title-main { font-size: clamp(2.2rem, 7.5vw, 3.2rem); line-height: 1.3; padding-bottom: 0.2em; margin-bottom: 0; white-space: nowrap; }
  .hero-subtitle-bottom { font-size: 1.15rem; margin-bottom: 1rem; flex-wrap: wrap; }
  .hero-description { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .search-container { margin-bottom: 0.85rem; width: 100%; }
  .search-box { padding: 0.65rem 1rem; }
  .search-suggestions-wrapper { padding: 0.3rem 0.85rem; margin-bottom: 1.5rem; justify-content: center; }
  .search-suggestions { justify-content: center; }
  .btn-cta-map { padding: 0.75rem 1.6rem; font-size: 0.875rem; width: 100%; justify-content: center; }
  .polaroid-wrapper { height: 280px; max-width: 300px; }
  .polaroid-1 { width: 10rem; right: 0; }
  .polaroid-2 { width: 10.5rem; top: 3.5rem; }
  .polaroid-3 { width: 10rem; bottom: 0; right: 0.5rem; }
  .hero-wave-bottom svg { height: 40px; }
  .hero-leaf-left { max-width: 90px; }
}

@media (min-width: 768px) {
  .cat-container { justify-content: center; flex-wrap: wrap; overflow-x: visible; }
  .cat-scroll-btn { display: none; }
}

/* ==========================================================================
   BUTTON XEM THÊM CHUNG CHO SECTION
   ========================================================================== */
.section-more-action { display: flex; justify-content: center; margin-top: 1.5rem; }
.btn-show-more { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 9999px; background: #ffffff; border: 1.5px solid #ea580c; color: #ea580c; font-weight: 700; font-size: 0.875rem; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 8px rgba(234, 88, 12, 0.1); }
.btn-show-more:hover { background: #ea580c; color: #ffffff; box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25); }

/* ==========================================================================
   PHẦN 2: TOP / HOT TRENDING (GRID & SLIDER DISPLAY)
   ========================================================================== */
.top-hot-section { 
  position: relative; 
  margin: 2.5rem auto 0; 
  scroll-margin-top: 6rem; 
  width: 100%; 
  max-width: 1280px; 
  padding: 0 1rem; 
  box-sizing: border-box; 
  content-visibility: auto; 
  contain-intrinsic-size: 1px 400px; 
}
.top-hot-header { margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
@media (min-width: 640px) { .top-hot-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.top-hot-title { font-size: 1.35rem; font-weight: 900; color: #0f172a; letter-spacing: -0.025em; text-transform: uppercase; margin: 0; line-height: 1.2; }
@media (min-width: 768px) { .top-hot-title { font-size: 1.65rem; } }
.top-hot-subtitle { font-size: 0.75rem; color: #000000; font-weight: 600; margin: 0.2rem 0 0; }
@media (min-width: 640px) { .top-hot-subtitle { font-size: 0.85rem; } }

/* Grid hiển thị 3 cột trên mobile, 6 cột trên PC (Nếu không dùng slider) */
.top-hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .top-hot-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .top-hot-grid { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; } }

/* Slider bổ sung cho Top Hot */
.top-hot-slider-wrapper { position: relative; width: 100%; }
.top-hot-nav-btn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 20; width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: rgba(255,255,255,0.95); border: 1px solid #e2e8f0; color: #334155; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.15); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.top-hot-nav-btn.prev { left: -1rem; }
.top-hot-nav-btn.next { right: -1rem; }
@media (min-width: 1024px) { 
  .top-hot-nav-btn.prev { left: -1.25rem; } 
  .top-hot-nav-btn.next { right: -1.25rem; } 
  .top-hot-nav-btn { opacity: 0; visibility: hidden; } 
  .top-hot-slider-wrapper:hover .top-hot-nav-btn { opacity: 1; visibility: visible; } 
}
.top-hot-nav-btn:hover { background: #ea580c; color: #fff; border-color: #ea580c; }
.top-hot-nav-btn:active { transform: translateY(-50%) scale(0.95); }
.top-hot-nav-btn i { font-size: 0.85rem; }

.top-hot-slider { display: grid; grid-template-rows: repeat(2, minmax(0, auto)); grid-auto-flow: column; grid-auto-columns: calc(33.333% - 8px); gap: 1rem 0.75rem; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 0.25rem 0.1rem; scrollbar-width: none; -ms-overflow-style: none; }
.top-hot-slider::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .top-hot-slider { grid-auto-columns: calc(25% - 12px); column-gap: 1rem; } }
@media (min-width: 1024px) { .top-hot-slider { grid-auto-columns: calc(20% - 16px); gap: 1.25rem; } }

.top-hot-card { scroll-snap-align: start; flex-shrink: 0; display: flex; flex-direction: column; text-align: center; text-decoration: none; transition: transform 0.25s ease; width: 100%; }
.top-hot-card:hover { transform: translateY(-0.25rem); }
.top-hot-img-box { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: 0.85rem; overflow: hidden; background: #f1f5f9; border: 1px solid rgba(226,232,240,0.8); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.top-hot-card:hover .top-hot-img-box { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.top-hot-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.top-hot-card:hover .top-hot-img { transform: scale(1.08); }

.top-hot-badge { position: absolute; bottom: 0.35rem; left: 0.35rem; width: 1.35rem; height: 1.35rem; border-radius: 9999px; background: linear-gradient(135deg, #ea580c, #f59e0b); color: #fff; font: 800 10px/1 sans-serif; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.9); }
@media (min-width: 640px) { .top-hot-badge { width: 1.5rem; height: 1.5rem; font-size: 11px; } }

.top-hot-card-title { margin: 0.45rem 0 0; font-size: 0.75rem; font-weight: 700; color: #1e293b; line-height: 1.3; text-align: center; text-transform: uppercase; transition: color 0.2s ease; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .top-hot-card-title { font-size: 0.825rem; } }
.top-hot-card:hover .top-hot-card-title { color: #ea580c; }

/* ========================================================================== PHẦN: LỊCH TRÌNH (TỐI ƯU MOBILE & RESPONSIVE) ========================================================================== */
.iti-section { position: relative; margin: 2rem auto; scroll-margin-top: 6rem; width: 100%; max-width: 1280px; padding: 0 1rem; box-sizing: border-box; content-visibility: auto; }

/* --- Hero Banner --- */
.iti-hero { position: relative; overflow: hidden; border-radius: 1.25rem; background: linear-gradient(135deg, #064e3b, #134e4a, #0f172a); padding: 1.25rem; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); margin-bottom: 2rem; border: 1px solid rgba(16,185,129,0.2); }
@media (min-width: 640px) { .iti-hero { padding: 2rem; border-radius: 1.5rem; } }

.iti-hero-bg-top { position: absolute; top: -6rem; right: -6rem; width: 18rem; height: 18rem; border-radius: 9999px; pointer-events: none; opacity: 0.4; background: radial-gradient(circle, rgba(16,185,129,0.5) 0%, rgba(0,0,0,0) 70%); }
.iti-hero-bg-bottom { position: absolute; bottom: -6rem; left: -6rem; width: 18rem; height: 18rem; border-radius: 9999px; pointer-events: none; opacity: 0.3; background: radial-gradient(circle, rgba(245,158,11,0.5) 0%, rgba(0,0,0,0) 70%); }

.iti-hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.25rem; }
@media (min-width: 1024px) { .iti-hero-content { flex-direction: row; gap: 2rem; } }

.iti-hero-info { display: flex; flex-direction: column; gap: 0.75rem; text-align: center; max-width: 42rem; }
@media (min-width: 1024px) { .iti-hero-info { text-align: left; } }

.iti-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: 9999px; background: rgba(16,185,129,0.2); border: 1px solid rgba(52,211,153,0.3); color: #6ee7b7; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; width: fit-content; margin: 0 auto; }
@media (min-width: 1024px) { .iti-badge { margin: 0; } }
.iti-badge-dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: #34d399; }

.iti-hero-title { font-size: 1.35rem; font-weight: 900; color: #fff; line-height: 1.3; margin: 0; letter-spacing: -0.025em; }
@media (min-width: 640px) { .iti-hero-title { font-size: 1.875rem; } }
@media (min-width: 768px) { .iti-hero-title { font-size: 2.25rem; } }
.iti-br-sm { display: none; }
@media (min-width: 640px) { .iti-br-sm { display: inline; } }

.iti-hero-desc { font-size: 0.85rem; color: #cbd5e1; font-weight: 500; line-height: 1.5; margin: 0; }
@media (min-width: 640px) { .iti-hero-desc { font-size: 1rem; line-height: 1.625; } }

.iti-quick-tags { padding-top: 0.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; }
@media (min-width: 1024px) { .iti-quick-tags { justify-content: flex-start; } }
.iti-tags-label { color: #94a3b8; font-size: 0.75rem; }
.iti-tag-btn { padding: 0.35rem 0.75rem; border-radius: 0.75rem; background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.1); text-decoration: none; transition: background-color 0.2s ease; }

.iti-hero-cta { width: 100%; text-align: center; }
@media (min-width: 640px) { .iti-hero-cta { width: auto; } }

.iti-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.875rem 1.5rem; border-radius: 1rem; background: linear-gradient(to right, #fbbf24, #f59e0b, #ffb100); color: #020617; font-weight: 900; font-size: 0.875rem; text-decoration: none; box-shadow: 0 10px 15px -3px rgba(245,158,11,0.2); transition: transform 0.2s ease; width: 100%; box-sizing: border-box; }
@media (min-width: 640px) { .iti-cta-btn { width: auto; font-size: 1rem; padding: 1rem 2rem; } }

/* --- Header phần Lịch trình --- */
.iti-header { margin: 1.5rem 0 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
@media (min-width: 640px) { .iti-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

.iti-title { font-size: 1.25rem; font-weight: 800; color: #0f172a; letter-spacing: -0.025em; display: flex; align-items: center; gap: 0.5rem; margin: 0; }
@media (min-width: 640px) { .iti-title { font-size: 1.5rem; } }
.iti-title-badge { font-size: 11px; padding: 0.125rem 0.625rem; border-radius: 9999px; background: #d1fae5; color: #065f46; font-weight: 600; }

.iti-subtitle { font-size: 0.8rem; color: #000000; font-weight: 500; margin: 0.25rem 0 0; }

/* --- Cấu trúc Grid Responsive --- */
.iti-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .iti-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .iti-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

/* --- Card Lịch trình --- */
.iti-card { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; height: 380px; background: #0f172a; border: 1px solid rgba(226,232,240,0.3); box-sizing: border-box; }
@media (min-width: 640px) { .iti-card { height: 420px; } }
.iti-card:hover { transform: translateY(-4px); box-shadow: 0 12px 20px rgba(0,0,0,0.18); }

.iti-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; z-index: 0; }
.iti-card:hover .iti-card-img { transform: scale(1.05); }

.iti-card-top { position: relative; z-index: 10; padding: 0.875rem; display: flex; align-items: center; justify-content: space-between; }
.iti-card-badge { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 11px; font-weight: 700; color: #fff; background: rgba(15,23,42,0.8); padding: 0.3rem 0.65rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(4px); }
.iti-card-badge i { color: #fbbf24; font-size: 10px; }

.iti-card-bottom { position: relative; z-index: 10; padding: 1rem; background: linear-gradient(to top, #020617 0%, rgba(2,6,23,0.85) 65%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box; }

.iti-card-title { font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.iti-card-link { color: inherit; text-decoration: none; }
.iti-card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.iti-card:hover .iti-card-title { color: #fde047; }

.iti-card-desc { font-size: 0.825rem; color: #cbd5e1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; margin-top: 0.4rem; margin-bottom: 0; line-height: 1.45; }

.iti-card-action { margin-top: 0.75rem; padding-top: 0.65rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: space-between; color: #fbbf24; }
.iti-action-text { font-size: 0.775rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; }
.iti-action-icon { width: 1.65rem; height: 1.65rem; border-radius: 9999px; background: rgba(251,191,36,0.2); display: flex; align-items: center; justify-content: center; color: #fbbf24; transition: all 0.2s ease; }
.iti-card:hover .iti-action-icon { background: #fbbf24; color: #020617; }
.iti-action-icon i { font-size: 11px; }

/* Nút Xem Tất Cả Phía Dưới */
.section-more-action { text-align: center; margin-top: 1.5rem; }
.btn-show-more { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 9999px; border: 1px solid #c2410c; color: #c2410c; font-weight: 700; font-size: 0.875rem; cursor: pointer; transition: all 0.2s ease; }
.btn-show-more:hover { background: #c2410c; color: #fff; }

/* ========================================================================== POPUP MODAL (TỐI ƯU TUYỆT ĐỐI CHO MOBILE) ========================================================================== */
.app-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; visibility: hidden; opacity: 0; transition: opacity 0.25s ease, visibility 0.25s ease; }
@media (min-width: 640px) { .app-modal { align-items: center; padding: 1.5rem; } }
.app-modal.active { visibility: visible; opacity: 1; }

.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.modal-content { position: relative; z-index: 10; background: #ffffff; width: 100%; max-width: 1100px; max-height: 80vh; border-top-left-radius: 1.25rem; border-top-right-radius: 1.25rem; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@media (min-width: 640px) { .modal-content { border-radius: 1.25rem; transform: scale(0.95); } }
.app-modal.active .modal-content { transform: translateY(0); }
@media (min-width: 640px) { .app-modal.active .modal-content { transform: scale(1); } }

.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e2e8f0; background: #ffffff; }
.modal-title { font-size: 1.15rem; font-weight: 800; color: #0f172a; margin: 0; }
.modal-close-btn { width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: #f1f5f9; border: none; color: #475569; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: background 0.2s; }
.modal-close-btn:hover { background: #e2e8f0; color: #0f172a; }

.modal-body { padding: 1.25rem; overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: calc(90vh - 70px); scrollbar-width: thin; scrollbar-color: #ffb074 #f1f5f9; }
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.modal-body::-webkit-scrollbar-thumb { background-color: #ffb074; border-radius: 10px; }
.modal-body::-webkit-scrollbar-thumb:hover { background-color: #ff944d; }

.modal-grid { padding-bottom: 2rem; }


.dcb-section { max-width: 1280px; width: 100%; margin: 32px auto; padding: 24px 16px; background-color: #faf7f2; border-radius: 20px; content-visibility: auto; contain-intrinsic-size: 1px 400px; box-sizing: border-box; }
.dcb-header { margin-bottom: 20px; text-align: left; }
.dcb-badge { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #0284c7; background-color: #e0f2fe; border-radius: 20px; margin-bottom: 8px; }
.dcb-title { font-size: 26px; font-weight: 800; color: #1e293b; margin: 0 0 6px 0; line-height: 1.2; }
.dcb-title-dot { color: #c2410c; }
.dcb-subtitle { font-size: 14px; color: #000000; margin: 0; line-height: 1.4; }
.dcb-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 16px; }
@media (min-width: 768px) { .dcb-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.dcb-card { display: flex; align-items: stretch; background: #ffffff; border-radius: 16px; padding: 14px; text-decoration: none; border: 1px solid #f1f5f9; box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; overflow: hidden; contain: content; box-sizing: border-box; }
.dcb-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.dcb-card-thumb { flex-shrink: 0; width: 90px; height: 90px; border-radius: 12px; overflow: hidden; background-color: #f8fafc; margin-right: 14px; position: relative; }
.dcb-card-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; aspect-ratio: 1 / 1; }
.dcb-card-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.dcb-card-tag-row { margin-bottom: 4px; }
.dcb-tag { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; display: inline-block; }
.dcb-tag-system { background-color: #fce7f3; color: #831843; }
.dcb-tag-tag { background-color: #ffe4e6; color: #881337; }
.dcb-card-title { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 4px 0; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcb-card-desc { font-size: 12px; color: #000000; margin: 0 0 8px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.dcb-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.dcb-card-link-text { font-size: 11px; font-weight: 700; color: #000000; letter-spacing: 0.3px; transition: color 0.2s ease; }
.dcb-card:hover .dcb-card-link-text { color: #c2410c; }
.dcb-card-arrow { width: 24px; height: 24px; border-radius: 50%; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #475569; font-size: 10px; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.dcb-card:hover .dcb-card-arrow { background-color: #c2410c; color: #ffffff; transform: translateX(3px); }
.dcb-action-wrapper { text-align: center; margin-top: 24px; }
.dcb-btn-more { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; background-color: #ffffff; border: 1.5px solid #c2410c; color: #ea580c; font-size: 14px; font-weight: 700; border-radius: 30px; cursor: pointer; transition: all 0.2s ease; outline: none; }
.dcb-btn-more:hover { background-color: #c2410c; color: #ffffff; box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25); }

/* CSS chuẩn hoá chung cho tất cả SVG Icon trên trang */
.icon-svg,
svg[class*="icon-"] {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
  fill: currentColor; /* Tự động ăn theo màu chữ (color) của thẻ cha */
  flex-shrink: 0;     /* Tránh bị co co giãn icon khi nằm trong Flexbox */
}


.vsc-section { width: 100%; max-width: 1280px; margin: 32px auto; padding: 32px 16px; background-color: #faf7f2; border-radius: 20px; box-sizing: border-box; content-visibility: auto; contain-intrinsic-size: 1px 450px; }
.vsc-container { display: flex; flex-direction: column; gap: 32px; align-items: center; }
@media (min-width: 992px) { .vsc-container { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; } }
.vsc-content { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.vsc-title-group { margin-bottom: 4px; }
.vsc-title-sub { font-family: 'Pacifico', 'Caveat', 'Dancing Script', cursive, sans-serif; font-size: 32px; font-weight: 700; color: #1e293b; transform: rotate(-1deg); display: block; line-height: 1.2; }
.vsc-title-main { font-family: 'Pacifico', 'Caveat', 'Dancing Script', cursive, sans-serif; font-size: 38px; font-weight: 800; color: #c2410c; margin: 4px 0 0 0; line-height: 1.2; letter-spacing: 0.5px; }
@media (min-width: 768px) { .vsc-title-sub { font-size: 36px; } .vsc-title-main { font-size: 42px; } }
.vsc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.vsc-item { display: flex; align-items: center; gap: 12px; }
.vsc-icon-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #0d9488; background-color: #f0fdfa; color: #0d9488; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-sizing: border-box; }
.vsc-icon-check svg { width: 12px; height: 12px; display: block; stroke: #0d9488; }
.vsc-text { font-size: 15px; font-weight: 600; color: #334155; line-height: 1.4; }
.vsc-action { padding-top: 8px; }
.vsc-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; background-color: #0b634b; color: #ffffff; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; border-radius: 50px; box-shadow: 0 4px 12px rgba(11, 99, 75, 0.25); transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.vsc-btn:hover { background-color: #084c39; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(11, 99, 75, 0.35); }
.vsc-media { display: flex; justify-content: center; align-items: center; width: 100%; position: relative; }
.vsc-img-wrapper { width: 100%; max-width: 800px; display: flex; justify-content: center; contain: layout paint; }
.vsc-img { width: 100%; height: auto; object-fit: contain; display: block; aspect-ratio: 800 / 450; transition: transform 0.5s ease; will-change: transform; }
.vsc-img:hover { transform: scale(1.01); }




.ist-section { width: 100%; max-width: 1280px; margin: 32px auto; padding: 0 16px; box-sizing: border-box; content-visibility: auto; contain-intrinsic-size: 1px 500px; }
.ist-container { width: 100%; }
.ist-header { text-align: center; max-width: 600px; margin: 0 auto 32px auto; }
.ist-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 30px; background-color: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.ist-title { font-size: 26px; font-weight: 900; color: #0f172a; margin: 0; line-height: 1.25; letter-spacing: -0.5px; }
@media (min-width: 768px) { .ist-title { font-size: 34px; } }
.ist-card { background-color: #0f172a; border-radius: 24px; padding: 24px; color: #ffffff; border: 1px solid #1e293b; box-sizing: border-box; }
@media (min-width: 768px) { .ist-card { padding: 36px; } }
.ist-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 992px) { .ist-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.ist-left { display: flex; flex-direction: column; justify-content: space-between; }
.ist-intro-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 6px; background-color: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.25); color: #fbbf24; font-size: 12px; font-weight: 600; margin-bottom: 16px; width: fit-content; }
.ist-desc { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0 0 24px 0; font-weight: 400; }
@media (min-width: 640px) { .ist-desc { font-size: 15px; } }
.ist-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 20px; border-top: 1px solid #1e293b; }
@media (min-width: 640px) { .ist-stats-grid { gap: 16px; } }
.ist-stat-item { background-color: rgba(30, 41, 59, 0.8); padding: 12px; border-radius: 16px; border: 1px solid rgba(51, 65, 85, 0.6); box-sizing: border-box; }
@media (min-width: 640px) { .ist-stat-item { padding: 16px; } }
.ist-stat-val { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 4px; }
@media (min-width: 640px) { .ist-stat-val { font-size: 22px; } }
.val-emerald { color: #34d399; }
.val-amber { color: #fbbf24; }
.val-sky { color: #38bdf8; }
.val-purple { color: #c084fc; }
.ist-stat-lbl { font-size: 11px; color: #94a3b8; font-weight: 500; display: block; line-height: 1.3; }
@media (min-width: 640px) { .ist-stat-lbl { font-size: 12px; } }
.ist-right { width: 100%; }
.ist-video-box { background-color: rgba(30, 41, 59, 0.9); padding: 10px; border-radius: 20px; border: 1px solid rgba(51, 65, 85, 0.6); box-sizing: border-box; }
@media (min-width: 640px) { .ist-video-box { padding: 14px; } }
.ist-thumb-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background-color: #020617; display: flex; align-items: center; justify-content: center; cursor: pointer; contain: layout paint; }
.ist-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: transform 0.5s ease, opacity 0.5s ease; }
.ist-thumb-wrapper:hover .ist-thumb-img { transform: scale(1.04); opacity: 0.8; }
.ist-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent); }
.ist-play-trigger { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ist-play-btn { width: 60px; height: 60px; border-radius: 50%; background-color: #dc2626; color: #ffffff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 25px rgba(220, 38, 38, 0.5); transition: background-color 0.2s ease, transform 0.2s ease; padding-left: 3px; }
.ist-thumb-wrapper:hover .ist-play-btn { background-color: #ef4444; transform: scale(1.08); }
.ist-play-tag { font-size: 12px; font-weight: 700; color: #ffffff; background-color: rgba(0, 0, 0, 0.65); padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; gap: 6px; }
.ist-play-tag svg { color: #ef4444; }
.ist-video-info { padding: 12px 8px 4px 8px; display: flex; align-items: flex-start; gap: 12px; }
.ist-tv-icon { width: 32px; height: 32px; border-radius: 8px; background-color: rgba(220, 38, 38, 0.2); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.ist-tv-title { font-size: 14px; font-weight: 700; color: #ffffff; margin: 0 0 2px 0; line-height: 1.3; }
.ist-tv-desc { font-size: 11px; color: #94a3b8; margin: 0; line-height: 1.4; }
.ist-modal-backdrop { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 999999; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.88); backdrop-filter: blur(8px); padding: 12px; box-sizing: border-box; }
.ist-modal-content { position: relative; width: 100%; max-width: 900px; background-color: #0f172a; border-radius: 16px; border: 1px solid #334155; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.ist-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background-color: #020617; border-bottom: 1px solid #1e293b; }
.ist-modal-title { color: #ffffff; font-weight: 700; font-size: 13px; font-family: sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
.ist-modal-close { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background-color: #1e293b; color: #ffffff; border: none; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease; }
.ist-modal-close:hover { background-color: #334155; }
.ist-modal-body { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; background-color: #000000; }
.ist-modal-body iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }


.crv-section { width: 100%; max-width: 1280px; margin: 32px auto; padding: 32px 24px; box-sizing: border-box; content-visibility: auto; contain-intrinsic-size: 1px 400px; }
.crv-container { width: 100%; }
.crv-header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
@media (min-width: 640px) { .crv-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.crv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; background-color: #fef3c7; border: 1px solid rgba(245, 158, 11, 0.3); color: #b45309; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 10px; width: fit-content; }
.crv-title { font-size: 24px; font-weight: 900; color: #0f172a; margin: 0; letter-spacing: -0.5px; line-height: 1.2; }
@media (min-width: 768px) { .crv-title { font-size: 32px; } }
.crv-rating-summary { display: inline-flex; align-items: center; gap: 10px; background-color: rgba(255, 255, 255, 0.9); padding: 8px 16px; border-radius: 12px; border: 1px solid rgba(245, 158, 11, 0.25); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); width: fit-content; }
.crv-stars-group { display: flex; gap: 2px; }
.crv-score { font-size: 14px; font-weight: 800; color: #1e293b; }
.crv-divider { color: #cbd5e1; font-size: 12px; }
.crv-count { font-size: 13px; color: #000000; font-weight: 500; }
.crv-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .crv-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.crv-card { background-color: #ffffff; padding: 24px; border-radius: 20px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.25s ease, box-shadow 0.25s ease; box-sizing: border-box;color: #1e293b; }
.crv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08); }
.crv-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.crv-user-info { display: flex; align-items: center; gap: 12px; }
.crv-avatar { width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avatar-sky { background-color: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.avatar-emerald { background-color: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.avatar-amber { background-color: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.crv-user-name { font-size: 14px; font-weight: 800; color: #0f172a; margin: 0 0 2px 0; }
.crv-user-role { font-size: 11px; color: #334155; font-weight: 500; display: block; }
.crv-quote-mark { font-size: 36px; font-family: Georgia, serif; color: #e2e8f0; line-height: 1; height: 24px; display: flex; align-items: center; }
.crv-card-stars { display: flex; gap: 3px; margin-bottom: 12px; }
.crv-comment { font-size: 13px; color: #475569; line-height: 1.6; margin: 0; font-style: normal; font-weight: 400; }



.ftr-section { width: 100%; background-color: #faf8f5; border-top: 1px solid rgba(251, 191, 36, 0.4); padding-top: 48px; padding-bottom: 32px; margin-top: 40px; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; box-sizing: border-box; content-visibility: auto; contain-intrinsic-size: 1px 350px; }
.ftr-container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.ftr-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #e2e8f0; }
@media (min-width: 768px) { .ftr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ftr-grid { grid-template-columns: 5fr 3fr 4fr; gap: 40px; } }
.ftr-col-brand { display: flex; flex-direction: column; justify-content: space-between; }
.ftr-brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 16px; }
.ftr-logo { width: 40px; height: 40px; object-fit: contain; transition: transform 0.2s ease; }
.ftr-brand-link:hover .ftr-logo { transform: scale(1.05); }
.ftr-brand-text { display: flex; flex-direction: column; }
.ftr-brand-title { font-size: 18px; font-weight: 900; color: #0f172a; line-height: 1.1; letter-spacing: -0.3px; }
.ftr-brand-subtitle { font-size: 10px; font-weight: 800; color: #047857; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 4px; }
.ftr-description { font-size: 13px; color: #475569; line-height: 1.6; max-width: 360px; margin: 0 0 24px 0; }
.ftr-social-wrap { display: flex; flex-direction: column; gap: 12px; }
.ftr-social-title { font-size: 12px; font-weight: 800; color: #0f172a; text-transform: uppercase; letter-spacing: 0.5px; display: block; }
.ftr-social-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ftr-social-icon { width: 36px; height: 36px; border-radius: 50%; background-color: #ffffff; border: 1px solid #e2e8f0; color: #334155; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.ftr-social-icon:hover { border-color: #0f172a; color: #0f172a; background-color: #f8fafc; transform: translateY(-2px); }
.ftr-zalo-btn { height: 36px; padding-left: 14px; padding-right: 14px; border-radius: 20px; background-color: #ffffff; border: 1px solid #e2e8f0; color: #0f172a; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 12px; font-weight: 700; transition: all 0.2s ease; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02); }
.ftr-zalo-btn:hover { border-color: #047857; color: #047857; background-color: #ecfdf5; transform: translateY(-2px); }
.ftr-heading { font-size: 13px; font-weight: 800; color: #0f172a; text-transform: uppercase; letter-spacing: 0.6px; margin: 0 0 16px 0; padding-bottom: 6px; display: inline-block; }
.ftr-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ftr-link-kp { color: #475569; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; transition: all 0.2s ease; }
.ftr-link-kp:hover { color: #047857; transform: translateX(4px); }
.ftr-arrow-icon { margin-right: 8px; color: #059669; flex-shrink: 0; }
.ftr-info-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .ftr-info-grid { grid-template-columns: repeat(2, 1fr); gap: 10px 16px; } }
.ftr-link-info { color: #475569; text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; transition: all 0.2s ease; }
.ftr-link-info:hover { color: #047857; transform: translateX(2px); }
.ftr-info-icon { margin-right: 8px; color: #d97706; flex-shrink: 0; }
.ftr-bottom { padding-top: 24px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: #64748b; }
@media (min-width: 640px) { .ftr-bottom { flex-direction: row; } }
.ftr-copyright { margin: 0; color: #334155; font-weight: 500; }
.ftr-copyright strong { color: #0f172a; font-weight: 700; }
.ftr-sub-copyright { margin: 2px 0 0 0; font-size: 11px; color: #000000; }
.ftr-sub-copyright span { color: #000000; font-weight: 600; }
.ftr-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 20px; background-color: #d1fae5; color: #065f46; font-size: 11px; font-weight: 700; border: 1px solid rgba(5, 150, 105, 0.2); }
.ftr-status-dot { width: 8px; height: 8px; border-radius: 50%; background-color: #10b981; display: inline-block; animation: ftrPulse 2s infinite; }
@keyframes ftrPulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } 100% { opacity: 1; transform: scale(1); } }



/* ==========================================
   TỐI ƯU CẤU TRÚC VÀ KHUNG CHUẨN (1280px)
   ========================================== */

/* Tránh giật xói bố cục (CLS) khi nạp trang */
.td-mobile-nav, .td-sidebar-backdrop, .td-modal-overlay { box-sizing: border-box; }
.td-mobile-nav *, .td-sidebar-backdrop *, .td-modal-overlay * { box-sizing: border-box; }

/* 1. MOBILE BOTTOM NAV */
.td-mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid #e2e8f0; z-index: 50; padding: 4px 8px; box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.1); width: 100%; max-width: 1280px; margin: 0 auto; contain: layout style; }
@media (min-width: 768px) { .td-mobile-nav { display: none !important; } }

.td-nav-container { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; text-align: center; position: relative; width: 100%; }

.td-nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 0; background: none; border: none; cursor: pointer; text-decoration: none; transition: color 0.2s ease; }
.td-nav-item-slate { color: #475569; }
.td-nav-item-slate:hover { color: #0284c7; }
.td-nav-item-emerald { color: #059669; }
.td-nav-item-emerald:hover { color: #047857; }
.td-nav-item-indigo { color: #4f46e5; }
.td-nav-item-indigo:hover { color: #4338ca; }
.td-nav-item-sky { color: #0284c7; }
.td-nav-item-sky:hover { color: #0369a1; }

.td-nav-label { font-size: 7.4px; font-weight: 800; margin-top: 2px; line-height: 1; letter-spacing: 0.02em; }

.td-icon { width: 20px; height: 20px; }
.td-icon-sm { width: 16px; height: 16px; }
.td-icon-white { width: 20px; height: 20px; stroke: #ffffff; }
.td-icon-orange { width: 18px; height: 18px; stroke: #f97316; flex-shrink: 0; }
.td-icon-chevron { width: 14px; height: 14px; stroke: rgba(255, 255, 255, 0.8); }

.td-nav-logo-wrapper { position: relative; display: flex; justify-content: center; top: -12px; }
.td-nav-logo-btn { width: 56px; height: 56px; border-radius: 9999px; padding: 4px; background: linear-gradient(to top right, #06b6d4, #14b8a6, #f59e0b); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15); border: 4px solid #ffffff; display: flex; items-center: center; justify-content: center; transition: transform 0.2s ease; }
.td-nav-logo-btn:hover { transform: scale(1.05); }
.td-logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 9999px; background-color: #ffffff; display: block; }

/* 2. MOBILE SIDEBAR */
.td-sidebar-backdrop { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 9999; transition: opacity 0.3s ease; }
.td-sidebar-backdrop.hidden { display: none !important; }

.td-sidebar-panel { width: 80%; max-width: 320px; background-color: #ffffff; height: 100%; padding: 24px; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 25px 0 50px -12px rgba(0, 0, 0, 0.25); transform: translateX(0); transition: transform 0.3s ease; }

.td-sidebar-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; margin-bottom: 24px; }
.td-brand-group { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.td-brand-img { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; }
.td-brand-text { display: flex; flex-direction: column; justify-content: center; }
.td-brand-title { font-weight: 900; font-size: 12px; color: #c2410c; line-height: 1; text-transform: uppercase; font-style: normal; }
.td-brand-sub { font-weight: 800; font-size: 10px; color: #0369a1; line-height: 1; text-transform: uppercase; font-style: normal; margin-top: 4px; }

.td-close-btn { width: 32px; height: 32px; border-radius: 9999px; background-color: #f1f5f9; border: none; display: flex; align-items: center; justify-content: center; color: #64748b; cursor: pointer; transition: background-color 0.2s ease; }
.td-close-btn:hover { background-color: #e2e8f0; }

.td-sidebar-content { display: flex; flex-direction: column; gap: 8px; }

/* PWA BANNER IN SIDEBAR */
.td-pwa-banner { position: relative; overflow: hidden; border-radius: 16px; padding: 12px; background: linear-gradient(to right, #f97316, #f59e0b, #d97706); color: #ffffff; box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.15); cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: space-between; }
.td-pwa-banner.hidden { display: none !important; }
.td-pwa-banner:hover { opacity: 0.95; transform: scale(1.01); }
.td-pwa-banner:active { transform: scale(0.98); }

.td-pwa-left { display: flex; align-items: center; gap: 12px; relative; z-index: 10; }
.td-pwa-icon-box { width: 36px; height: 36px; border-radius: 12px; background-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.td-pwa-info { display: flex; flex-direction: column; }
.td-pwa-sub { font-size: 9px; font-weight: 800; color: #fef3c7; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1; }
.td-pwa-title { font-weight: 900; font-size: 12px; color: #ffffff; text-transform: uppercase; margin-top: 4px; line-height: 1.25; }

.td-pwa-shimmer { position: absolute; inset: 0; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent); transform: skewX(-12deg); animation: pwaSwipe 3s infinite; pointer-events: none; }
@keyframes pwaSwipe { 0% { transform: translateX(-150%) skewX(-12deg); } 100% { transform: translateX(300%) skewX(-12deg); } }

/* ROUTE BUTTON */
.td-btn-route { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; font-weight: 900; color: #ea580c; background-color: rgba(fff7ed, 0.8); border: 1px solid #ffedd5; font-size: 12px; text-decoration: none; transition: background-color 0.2s ease; }
.td-btn-route:hover { background-color: rgba(ffedd5, 0.8); }

/* CATEGORY DYNAMIC LIST */
.td-cat-nav { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.td-cat-item { display: flex; items-center: center; justify-content: space-between; padding: 10px; border-radius: 12px; font-weight: 700; color: #334155; text-decoration: none; font-size: 12px; transition: background-color 0.2s ease; }
.td-cat-item:hover { background-color: #f8fafc; }

.td-cat-left { display: flex; align-items: center; gap: 12px; min-width: 0; padding-right: 8px; }
.td-cat-icon { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; transition: transform 0.2s ease; }
.td-cat-item:hover .td-cat-icon { transform: scale(1.1); }
.td-cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-cat-badge { font-size: 10px; background-color: #f1f5f9; padding: 2px 8px; border-radius: 9999px; font-weight: 700; color: #64748b; flex-shrink: 0; }

.td-sidebar-footer { padding-top: 24px; border-top: 1px solid #f1f5f9; margin-top: 16px; }
.td-btn-map { display: block; width: 100%; padding: 12px 0; text-align: center; color: #ffffff; font-weight: 800; background-color: #059669; border-radius: 12px; font-size: 12px; text-decoration: none; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); transition: all 0.2s ease; }
.td-btn-map:hover { background-color: #047857; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

/* 3. MODAL IOS PWA GUIDANCE */
.td-modal-overlay { position: fixed; inset: 0; background-color: rgba(15, 23, 42, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 0; transition: all 0.3s ease; }
@media (min-width: 640px) { .td-modal-overlay { align-items: center; padding: 16px; } }
.td-modal-overlay.hidden { display: none !important; }

.td-modal-card { width: 100%; max-width: 440px; background-color: #ffffff; border-top-left-radius: 24px; border-top-right-radius: 24px; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); position: relative; }
@media (min-width: 640px) { .td-modal-card { border-radius: 16px; } }

.td-drag-handle { width: 48px; height: 6px; background-color: #e2e8f0; border-radius: 9999px; margin: 0 auto 16px auto; }
@media (min-width: 640px) { .td-drag-handle { display: none; } }

.td-modal-header { text-align: center; margin-bottom: 16px; }
.td-modal-title { font-size: 16px; font-weight: 900; color: #0f172a; margin: 0; }
.td-modal-sub { font-size: 12px; color: #64748b; margin-top: 4px; margin-bottom: 0; }

.td-tab-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px; background-color: #f1f5f9; border-radius: 12px; margin-bottom: 16px; }
.td-tab-btn { padding: 8px 0; font-size: 12px; font-weight: 700; border-radius: 8px; color: #64748b; background: transparent; border: none; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 6px; }
.td-tab-btn.active { color: #334155; background-color: #ffffff; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.td-tab-icon { width: 16px; height: 16px; }

.td-tab-pane.hidden { display: none !important; }
.td-tab-pane.active { display: block; }

.td-video-box { border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; background-color: #000000; height: 350px; max-height: 50vh; width: 100%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.td-video-element { width: 100%; height: 100%; object-fit: contain; }

.td-btn-understand { width: 100%; margin-top: 20px; padding: 12px 0; background-color: #059669; color: #ffffff; font-weight: 900; font-size: 12px; border-radius: 12px; border: none; cursor: pointer; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); transition: background-color 0.2s ease; text-transform: uppercase; letter-spacing: 0.05em; }
.td-btn-understand:hover { background-color: #047857; }


.pka-role-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 16px; opacity: 0; transition: opacity 0.25s ease; }
.pka-role-overlay.active { opacity: 1; }
.pka-role-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px 20px; border-bottom: 1px solid #edf2f7; }
.pka-role-header h3 { margin: 0; font-size: 15px; font-weight: 800; color: #1a202c; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.pka-icon-title { width: 18px; height: 18px; color: #d97706; flex-shrink: 0; }
.pka-role-close { background: none; border: none; padding: 4px; color: #a0aec0; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: color 0.2s, background-color 0.2s; }
.pka-role-close svg { width: 16px; height: 16px; }
.pka-role-close:hover { color: #2d3748; background-color: #e2e8f0; }
.pka-role-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.pka-role-card { display: flex; align-items: center; padding: 16px; background: #ffffff; border-radius: 16px; border: 1px solid #e2e8f0; text-decoration: none; position: relative; overflow: hidden; transition: all 0.25s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.pka-role-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.pka-role-card.c-user { border-left: 5px solid #d97706; }
.pka-role-card.c-user:hover { border-color: #b45309; }
.pka-role-card.c-partner { border-left: 5px solid #059669; }
.pka-role-card.c-partner:hover { border-color: #047857; }
.pka-role-card.c-user .pka-role-icon { background: #d97706; color: #ffffff; }
.pka-role-card.c-partner .pka-role-icon { background: #e6f4ea; color: #059669; }
.pka-role-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 14px; transition: transform 0.2s ease; }
.pka-role-icon svg { width: 22px; height: 22px; }
.pka-role-card:hover .pka-role-icon { transform: scale(1.05); }
.pka-role-info { flex: 1; padding-right: 8px; }
.pka-role-card.c-user .pka-role-info h4 { color: #d97706; }
.pka-role-card.c-partner .pka-role-info h4 { color: #1f2937; }
.pka-role-info h4 { margin: 0 0 4px 0; font-size: 15px; font-weight: 700; line-height: 1.3; }
.pka-role-info p { margin: 0; font-size: 12px; color: #6b7280; line-height: 1.45; }
.pka-role-arrow { color: #d1d5db; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.pka-role-arrow svg { width: 14px; height: 14px; }
.pka-role-card.c-user .pka-role-arrow { color: #d97706; }
.pka-role-card:hover .pka-role-arrow { transform: translateX(3px); color: #1f2937; }
@keyframes pkaPopIn { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }



    /* Layout Main Container */
main.container { max-width: 1280px; margin: 0 auto; padding: 2rem 1rem; }

/* Khung Tìm Kiếm Mới - Đẹp & Hiện Đại */
.search-box:focus-within { border-color: #f59e0b; box-shadow: 0 6px 20px rgba(245, 158, 11, 0.15); }
.search-box-icon { color: #94a3b8; margin-right: 10px; display: flex; align-items: center; flex-shrink: 0; }
.search-box input { flex: 1; border: none; outline: none; background: transparent; font-size: 0.95rem; color: #1e293b; padding-right: 10px; width: 100%; }
.search-box input::placeholder { color: #94a3b8; }

/* Nút Tìm Kiếm Nằm Trong Ô */
.btn-search-submit { background: linear-gradient(135deg, #f59e0b, #d97706); color: #ffffff; border: none; border-radius: 9999px; padding: 0.6rem 1.3rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s ease; flex-shrink: 0; box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3); }
.btn-search-submit:hover { background: linear-gradient(135deg, #d97706, #b45309); box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4); transform: translateY(-1px); }
.btn-search-submit:active { transform: translateY(0); }

/* Header kết quả tìm kiếm */
.search-header { background: #ffffff; padding: 1.5rem; border-radius: 16px; box-shadow: 0 4px 20px -2px rgba(0,0,0,0.05); margin-bottom: 2rem; }
.search-title { font-size: 1.3rem; font-weight: 700; color: #0f172a; margin-bottom: 0.35rem; }
.search-title span { color: #d97706; }
.result-count { font-size: 0.9rem; color: #64748b; }

/* Khung hiển thị danh sách dạng Lưới */
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

/* Thẻ địa điểm */
.card { background: #ffffff; border-radius: 16px; border: 1px solid #e2e8f0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px -4px rgba(0,0,0,0.1); }

/* Ảnh Thumbnail địa điểm */
.card-thumb { width: 100%; height: 180px; position: relative; background-color: #f1f5f9; overflow: hidden; }
.card-thumb a { display: block; width: 100%; height: 100%; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.card:hover .card-thumb img { transform: scale(1.05); }

/* Badge danh mục & loại địa điểm nổi lên trên ảnh */
.badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 0.4rem; z-index: 2; pointer-events: none; }
.badge { font-size: 0.725rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 20px; backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 4px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.badge-cat { background-color: rgba(239, 246, 255, 0.95); color: #2563eb; }
.badge-vip { background-color: rgba(254, 243, 199, 0.95); color: #d97706; }
.badge-local { background-color: rgba(236, 253, 245, 0.95); color: #059669; }

/* Nội dung bài viết */
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.card-title:hover { color: #d97706; }

.card-address { font-size: 0.85rem; color: #64748b; margin-bottom: 0.75rem; display: flex; align-items: flex-start; gap: 6px; }
.card-address svg { flex-shrink: 0; width: 15px; height: 15px; fill: #94a3b8; margin-top: 3px; }
.card-address span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.card-desc { font-size: 0.875rem; color: #475569; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: auto; }

/* Footer thẻ - Chứa nút bấm */
.card-footer { padding: 1rem 1.25rem; background: #ffffff; border-top: 1px solid #f1f5f9; }
.btn-map { width: 100%; text-align: center; padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.875rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #f59e0b; color: #ffffff; transition: background 0.2s, transform 0.1s; border: none; cursor: pointer; }
.btn-map:hover { background: #d97706; }
.btn-map svg { width: 15px; height: 15px; fill: currentColor; }

/* Trạng thái Loading Cuộn vô tận */
.loading-sentinel { text-align: center; padding: 2rem 0; font-size: 0.9rem; color: #64748b; }
.spinner { display: inline-block; width: 28px; height: 28px; border: 3px solid rgba(245, 158, 11, 0.2); border-radius: 50%; border-top-color: #f59e0b; animation: spin 0.8s linear infinite; margin-bottom: 0.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Trạng thái không tìm thấy */
.no-result { text-align: center; padding: 3.5rem 1rem; background: #ffffff; border-radius: 16px; border: 1px solid #e2e8f0; }
.no-result svg { width: 52px; height: 52px; fill: #cbd5e1; margin-bottom: 1rem; }
.no-result h3 { font-size: 1.15rem; color: #334155; margin-bottom: 0.5rem; }
.no-result p { font-size: 0.9rem; color: #64748b; }
.error-alert { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 1rem; border-radius: 10px; margin-bottom: 1.5rem; text-align: center; }

/* Tối ưu hóa Mobile */
@media (max-width: 640px) {
    main.container { padding: 1rem 0.75rem; }
    .results-grid { grid-template-columns: 1fr; gap: 1rem; }
    .search-header { padding: 1.25rem 1rem; margin-bottom: 1.25rem; border-radius: 12px; }
    .search-title { font-size: 1.15rem; }
    .card { border-radius: 12px; }
    .card-thumb { height: 160px; }
    .btn-search-submit span { display: none; }
    .btn-search-submit { padding: 0.6rem 0.8rem; }
}


/* ======================================================
   SECTION SỰ KIỆN: LIVE GLOWING GRADIENT (VIP PREMIUM UI)
   ====================================================== */
.event-section { padding: 48px 16px; max-width: 1280px; margin: 0 auto; }
.event-header { margin-bottom: 32px; text-align: left; }
.event-title { font-size: 1.85rem; font-weight: 900; color: #0f172a; margin: 0 0 6px 0; letter-spacing: -0.03em; text-transform: uppercase; }
.event-subtitle { font-size: 0.95rem; color: #64748b; margin: 0; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 24px; align-items: stretch; }

/* BASE CARD */
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.12);
}

/* ĐẶC BIỆT: CARD "ĐANG DIỄN RA" NỔI BẬT HOÀN TOÀN */
.event-card-live-active {
  border: 2px solid #f43f5e;
  box-shadow: 0 12px 30px -5px rgba(244, 63, 94, 0.25);
}
.event-card-live-active:hover {
  box-shadow: 0 20px 40px -5px rgba(244, 63, 94, 0.4);
}

/* THUMBNAIL & OVERLAY */
.event-card-thumb { position: relative; width: 100%; height: 185px; overflow: hidden; background-color: #f1f5f9; }
.event-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.event-card:hover .event-card-img { transform: scale(1.08); }

/* FLOATING STATUS BADGES - THIẾT KẾ TƯƠI SÁNG */
.event-status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* STATUS 1: LIVE (ĐANG DIỄN RA - ĐỎ CAM GRADIENT TƯƠI NỔI BẬT) */
.event-status-live {
  background: linear-gradient(135deg, #e11d48, #ff5252);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.45);
  animation: live-glow 2s infinite alternate;
}
@keyframes live-glow {
  0% { box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4); }
  100% { box-shadow: 0 6px 20px rgba(225, 29, 72, 0.75); }
}

.event-status-live .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  animation: dot-pulse 1.2s infinite alternate;
}
@keyframes dot-pulse { 0% { opacity: 0.4; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1.2); } }

/* STATUS 2: UPCOMING (SẮP DIỄN RA - XANH DƯƠNG GRADIENT) */
.event-status-upcoming {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
}

/* STATUS 3: ENDED (ĐÃ KẾT THÚC - MỜ VÀ TRẮNG ĐEN) */
.event-card-ended { opacity: 0.65; filter: grayscale(0.8); background: #f8fafc; }
.event-card-ended:hover { filter: grayscale(0); opacity: 1; }
.event-status-ended {
  background: rgba(100, 116, 139, 0.85);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* DATE STUB VÉ */
.event-ticket-stub {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 5px 12px;
  color: #0f172a;
  text-align: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.event-date-day { font-size: 1.25rem; font-weight: 900; line-height: 1; color: #0f172a; }
.event-date-month { font-size: 0.65rem; font-weight: 800; color: #ea580c; text-transform: uppercase; margin-top: 2px; }

/* CARD BODY */
.event-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.event-card-title { font-size: 1.05rem; font-weight: 800; color: #0f172a; margin: 0 0 12px 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.event-card:hover .event-card-title { color: #ea580c; }

/* META INFO */
.event-meta-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.event-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.825rem; font-weight: 600; color: #475569; }
.event-meta-item.time { color: #2563eb; }
.event-icon { width: 15px; height: 15px; flex-shrink: 0; stroke-width: 2.5; }

.event-card-desc { font-size: 0.85rem; color: #64748b; margin: 0 0 16px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }

/* DIVIDER DẠNG VÉ */
.event-ticket-divider {
  position: relative;
  border-top: 2px dashed #e2e8f0;
  margin-top: auto;
  padding-top: 14px;
}
.event-ticket-divider::before, .event-ticket-divider::after {
  content: '';
  position: absolute;
  top: -7px;
  width: 12px;
  height: 12px;
  background-color: #f8fafc;
  border-radius: 50%;
}
.event-ticket-divider::before { left: -26px; box-shadow: inset -2px 0 3px rgba(0,0,0,0.04); }
.event-ticket-divider::after { right: -26px; box-shadow: inset 2px 0 3px rgba(0,0,0,0.04); }

/* FOOTER BUTTON */
.btn-event-detail { display: flex; align-items: center; justify-content: space-between; color: #ea580c; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.03em; }
.event-card:hover .btn-event-detail { color: #c2410c; }
.event-icon-arrow { width: 16px; height: 16px; transition: transform 0.3s ease; stroke-width: 2.5; }
.event-card:hover .event-icon-arrow { transform: translateX(6px); }

/* SHOW MORE BUTTON */
.event-action-wrapper { margin-top: 36px; text-align: center; }
.btn-show-more-event {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: #ffffff;
  color: #0f172a;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}
.btn-show-more-event:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  box-shadow: 0 10px 20px rgba(234, 88, 12, 0.25);
  transform: translateY(-2px);
}
.btn-show-more-event:hover .event-icon-arrow { transform: translateX(4px); }




:root { --brand-orange: #ea580c; --brand-orange-hover: #c2410c; --brand-orange-light: #fff7ed; --text-main: #1e293b; --text-muted: #64748b; }
.page_404_wrapper { display: flex; align-items: center; justify-content: center; padding: 60px 20px; width: 100%; min-height: 65vh; }
.container_404 { max-width: 620px; width: 100%; text-align: center; background: #ffffff; border-radius: 24px; padding: 40px 28px; box-shadow: 0 15px 35px rgba(234, 88, 12, 0.06); border: 1px solid #fed7aa; }
.error_code_badge { display: inline-block; font-size: 88px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, #ea580c 0%, #f97316 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; letter-spacing: -2px; }
.error_title { font-size: 24px; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.error_desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 28px; }
.search_form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 28px auto; }
.search_input { flex: 1; padding: 12px 18px; border: 1px solid #fdba74; border-radius: 12px; font-size: 14.5px; outline: none; transition: all 0.2s ease; }
.search_input:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15); }
.search_btn { background: var(--brand-orange); color: #ffffff; border: none; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.2s; }
.search_btn:hover { background: var(--brand-orange-hover); }
.quick_links_title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 14px; }
.quick_links_grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.quick_link_chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--brand-orange-light); color: #c2410c; border: 1px solid #ffedd5; text-decoration: none; border-radius: 50px; font-size: 13.5px; font-weight: 600; transition: all 0.2s ease; }
.quick_link_chip:hover { background: var(--brand-orange); color: #ffffff; border-color: var(--brand-orange); transform: translateY(-2px); }
.action_buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid #ffedd5; padding-top: 24px; }
.btn_primary { background: var(--brand-orange); color: #ffffff; text-decoration: none; padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background 0.2s; }
.btn_primary:hover { background: var(--brand-orange-hover); }
.btn_secondary { background: #ffffff; color: #475569; border: 1px solid #cbd5e1; text-decoration: none; padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; }
.btn_secondary:hover { background: #f8fafc; color: var(--text-main); }
@media (max-width: 480px) { .container_404 { padding: 30px 18px; } .error_code_badge { font-size: 68px; } .error_title { font-size: 20px; } .search_form { flex-direction: column; } .search_btn { padding: 12px; } .action_buttons { flex-direction: column; } .btn_primary, .btn_secondary { width: 100%; justify-content: center; } }




.td-reward-section { width: 100%; max-width: 1280px; margin: 0 auto; padding: 12px 20px; box-sizing: border-box; }
.td-reward-card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #062e24 0%, #0a3d30 60%, #0d4a3a 100%); border-radius: 20px; padding: 28px 24px; position: relative; overflow: hidden; box-shadow: 0 12px 30px rgba(6, 46, 36, 0.25); border: 1px solid rgba(255, 255, 255, 0.08); box-sizing: border-box; }
@media (min-width: 768px) { .td-reward-card { flex-direction: row; padding: 36px 48px; text-align: left; } }
.td-reward-content { position: relative; z-index: 2; max-width: 680px; text-align: center; }
@media (min-width: 768px) { .td-reward-content { text-align: left; } }
.td-reward-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); color: #34d399; border-radius: 50px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.td-badge-dot { width: 6px; height: 6px; background-color: #34d399; border-radius: 50%; box-shadow: 0 0 8px #34d399; }
.td-reward-title { font-size: 22px; font-weight: 800; line-height: 1.3; margin: 0 0 10px 0; color: #ffffff; letter-spacing: -0.3px; }
@media (min-width: 768px) { .td-reward-title { font-size: 28px; } }
.td-highlight { color: #f97316; background: linear-gradient(135deg, #fb923c 0%, #f97316 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.td-reward-desc { font-size: 14px; color: #a7f3d0; line-height: 1.6; margin: 0 0 22px 0; opacity: 0.9; }
@media (min-width: 768px) { .td-reward-desc { font-size: 15px; } }
.td-gold { color: #fde047; font-weight: 700; }
.td-reward-actions { display: flex; justify-content: center; align-items: center; }
@media (min-width: 768px) { .td-reward-actions { justify-content: flex-start; } }
.td-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.25s ease; cursor: pointer; border: none; box-sizing: border-box; width: 100%; }
@media (min-width: 640px) { .td-btn { width: auto; } }
.td-btn-primary { background: #c2410c; color: #ffffff; box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4); }
.td-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5); }
.td-reward-visual { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 20px; }
@media (min-width: 768px) { .td-reward-visual { margin-top: 0; margin-left: 24px; } }
.td-visual-circle { position: absolute; width: 110px; height: 110px; background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, rgba(0,0,0,0) 70%); border-radius: 50%; pointer-events: none; }
.td-boba-illustration { position: relative; z-index: 2; width: 70px; height: 70px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); padding: 12px; box-sizing: border-box; }
.td-boba-illustration svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }



.td-btn-boba { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 10px 18px; background: #fff7ed; border: 1.5px solid #ffedd5; border-radius: 12px; font-weight: 700; font-size: 14px; color: #ea580c; text-decoration: none; transition: all 0.25s ease; box-sizing: border-box; width: 100%; }
.td-btn-boba:hover { background: #ffedd5; border-color: #fed7aa; color: #c2410c; transform: translateY(-1px); }
.td-btn-boba svg { width: 18px; height: 18px; stroke: #ea580c; flex-shrink: 0; }




.reveal { opacity: 0; transform: translateY(35px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: opacity, transform; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-left.active, .reveal-right.active { opacity: 1; transform: translateX(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; }