/* ChinaHolidayX — Overseas H5 Frontend
 * Domain: chinaholidayx.com
 * Version: v=5
 * Theme: Luxury Gold · Dark · Mobile First
 * Deep Optimization: Animations, Performance, Visual Polish
 */

/* ─── Reset & Variables ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --gold-dark: #a07830;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e8c96e 50%, #c9a84c 100%);
  --gold-text: linear-gradient(135deg, #e8c96e, #c9a84c);
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #16161f;
  --bg4: #1e1e28;
  --surface: #1a1a24;
  --surface2: #222230;
  --border: rgba(201,168,76,0.15);
  --border2: rgba(201,168,76,0.3);
  --text: #f0ede6;
  --text2: #b8b0a0;
  --text3: #7a7260;
  --red: #e05555;
  --green: #4caf82;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.2);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* GPU compositing hints for animated elements */
.hero-slide, .sub-page, .auth-modal, .page, .tab-item,
.pkg-card, .dest-card, .theme-card, .explore-pkg-card,
#whatsapp-float { will-change: transform, opacity; }

img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-family: inherit; -webkit-tap-highlight-color: transparent; }

/* ─── Selection ────────────────────────────────────────── */
::selection { background: rgba(201,168,76,0.3); color: var(--text); }
::-moz-selection { background: rgba(201,168,76,0.3); color: var(--text); }

/* ─── Typography ───────────────────────────────────────── */
.text-gold { background: var(--gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-muted { color: var(--text2); }
.text-sm { font-size: 0.8125rem; }
.text-xs { font-size: 0.75rem; }

/* ─── App Shell ────────────────────────────────────────── */
#app { display: flex; flex-direction: column; min-height: 100vh; }

/* ─── Header ───────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--safe-top) + 12px) 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--gold-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #0a0a0f;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.header-logo-name {
  font-size: 1rem;
  font-weight: 700;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.header-logo-sub {
  font-size: 0.625rem;
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: var(--transition);
}
.header-btn:active { transform: scale(0.92); background: var(--surface2); }
.header-btn.active { color: var(--gold); border-color: var(--border2); }

/* ─── Bottom Tab Bar ────────────────────────────────────── */
#tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  padding-bottom: var(--safe-bottom);
}

.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  gap: 4px;
  color: var(--text3);
  transition: var(--transition);
  position: relative;
}
.tab-item i { font-size: 1.125rem; }
.tab-item span { font-size: 0.625rem; letter-spacing: 0.5px; font-weight: 500; }
.tab-item.active { color: var(--gold); }
.tab-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 0 0 2px 2px;
}
.tab-item:active { transform: scale(0.88); }

/* ─── Main Content ──────────────────────────────────────── */
#main-content {
  flex: 1;
  padding-bottom: calc(64px + var(--safe-bottom));
  overflow-x: hidden;
}

/* ── Page-level bottom spacing (avoid excessive whitespace) ── */
#page-home { padding-bottom: 16px; }
#page-explore { padding-bottom: 16px; }
#page-inquiry { padding-bottom: 24px; }
#page-about { padding-bottom: 16px; }
#page-advisor { padding-bottom: 0; }

/* ─── Pages ─────────────────────────────────────────────── */
.page { display: none; opacity: 0; transform: translateY(8px); }
.page.active { display: block; animation: pageEnter 0.4s var(--ease-smooth) forwards; }

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Sub Pages (overlay) ───────────────────────────────── */
.sub-page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s var(--ease-smooth), opacity 0.3s ease;
}
.sub-page.open {
  display: block;
  animation: subPageIn 0.38s var(--ease-smooth) forwards;
}
.sub-page.closing {
  animation: subPageOut 0.28s ease-in forwards;
}
@keyframes subPageIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes subPageOut {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(60px); opacity: 0; }
}

.sub-page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--safe-top) + 12px) 16px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sub-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}
.sub-back-btn:active { transform: scale(0.9); }
.sub-page-title {
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sub-page-action {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

/* ─── Section ───────────────────────────────────────────── */
.section { padding: 24px 20px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}
.section-title span.gold { background: var(--gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { font-size: 0.75rem; color: var(--text3); margin-top: 2px; }
.see-all-btn {
  font-size: 0.75rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 20px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.see-all-btn:active { background: rgba(201,168,76,0.15); }

/* ─── Hero Banner ───────────────────────────────────────── */
#hero-section {
  position: relative;
  height: 280px;
  overflow: hidden;
  margin-bottom: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 12s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1)   translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
.hero-slide:nth-child(2) img {
  animation-direction: alternate-reverse;
  animation-duration: 14s;
}
.hero-slide:nth-child(3) img {
  animation-delay: 1s;
  animation-duration: 16s;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,15,0.15) 0%, rgba(10,10,15,0.55) 50%, rgba(10,10,15,0.95) 100%);
}
.hero-content {
  position: absolute;
  bottom: 28px;
  left: 20px;
  right: 20px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-label i { font-size: 0.625rem; }
.hero-title {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-title em {
  font-style: normal;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 0.8125rem;
  color: rgba(240,237,230,0.8);
  margin-bottom: 14px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 24px;
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.3px;
}
.hero-cta:active { transform: scale(0.96); }
.hero-dots {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  gap: 5px;
}
.hero-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: var(--transition);
}
.hero-dot.active { background: var(--gold); width: 16px; border-radius: 3px; }

/* ─── Quick Filters (Category Pills) ───────────────────── */
.filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-scroll::-webkit-scrollbar { display: none; }

.filter-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  color: var(--text2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}
.filter-pill i { font-size: 0.75rem; }
.filter-pill.active {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.filter-pill:active { transform: scale(0.94); }

/* ─── Destination Cards (Horizontal Scroll) ────────────── */
.dest-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 20px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.dest-scroll::-webkit-scrollbar { display: none; }

.dest-card {
  flex-shrink: 0;
  width: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  position: relative;
  scroll-snap-align: start;
}
.dest-card:active { transform: scale(0.95); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.dest-card-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.dest-card-img-placeholder {
  width: 100%;
  height: 110px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 1.5rem;
}
.dest-card-body {
  padding: 10px 10px 12px;
}
.dest-card-name {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dest-card-region {
  font-size: 0.6875rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dest-card-hot {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(201,168,76,0.9);
  color: #0a0a0f;
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

/* ─── Package Cards (Vertical List) ────────────────────── */
.pkg-list { padding: 4px 20px 8px; display: flex; flex-direction: column; gap: 14px; }

.pkg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.pkg-card:active { transform: scale(0.98); box-shadow: 0 12px 36px rgba(0,0,0,0.35); border-color: var(--border2); }
.pkg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pkg-card:active::before { opacity: 1; }

.pkg-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.pkg-card:active .pkg-card-img { transform: scale(1.03); }
.pkg-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 2rem;
}
.pkg-card-body { padding: 14px; }
.pkg-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.pkg-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}
.pkg-card-desc {
  font-size: 0.8125rem;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pkg-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pkg-card-price {
  display: flex;
  flex-direction: column;
}
.pkg-price-label { font-size: 0.6875rem; color: var(--text3); }
.pkg-price-main {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.pkg-price-note { font-size: 0.6875rem; color: var(--text3); }
.pkg-inquiry-btn {
  background: var(--gold-gradient);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 9px 16px;
  border-radius: 24px;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.pkg-inquiry-btn:active { transform: scale(0.94); }

/* ─── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
}
.badge-tier-premium { background: rgba(201,168,76,0.15); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.3); }
.badge-tier-luxury { background: rgba(201,168,76,0.08); color: var(--gold); border: 1px solid rgba(201,168,76,0.2); }
.badge-tier-value { background: rgba(100,180,130,0.12); color: #6db890; border: 1px solid rgba(100,180,130,0.25); }
.badge-duration { background: var(--bg3); color: var(--text2); border: 1px solid var(--border); }
.badge-dest { background: rgba(100,130,200,0.12); color: #8aacee; border: 1px solid rgba(100,130,200,0.2); }
.badge-theme { background: var(--bg3); color: var(--text2); border: 1px solid var(--border); font-size: 0.5625rem; }

/* ─── Trust Badges ──────────────────────────────────────── */
.trust-row {
  display: flex;
  gap: 10px;
  padding: 4px 20px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-row::-webkit-scrollbar { display: none; }
.trust-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.trust-icon {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.trust-text strong { display: block; font-size: 0.75rem; font-weight: 700; color: var(--text); }
.trust-text span { font-size: 0.625rem; color: var(--text3); }

/* ─── Theme Inspiration Cards ───────────────────────────── */
.theme-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 20px 8px;
  scrollbar-width: none;
}
.theme-scroll::-webkit-scrollbar { display: none; }
.theme-card {
  flex-shrink: 0;
  width: 130px;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.theme-card:active { transform: scale(0.95); }
.theme-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.2) 60%);
}
.theme-card-content {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
}
.theme-card-icon { font-size: 1.25rem; margin-bottom: 4px; }
.theme-card-title { font-size: 0.8125rem; font-weight: 700; line-height: 1.2; }
.theme-card-sub { font-size: 0.625rem; color: rgba(240,237,230,0.7); margin-top: 2px; }

/* ─── Discover Page ─────────────────────────────────────── */
#page-explore { padding-top: 0; }
.explore-search-bar {
  padding: 16px 20px 12px;
  position: sticky;
  top: 58px;
  z-index: 50;
  background: var(--bg);
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--text3);
  font-size: 0.875rem;
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px 11px 38px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.search-input::placeholder { color: var(--text3); }

.explore-filter-row {
  display: flex;
  gap: 8px;
  padding: 0 20px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.explore-filter-row::-webkit-scrollbar { display: none; }
.explore-filter-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 0.8rem;
  color: var(--text2);
  white-space: nowrap;
  transition: var(--transition);
}
.explore-filter-chip.active { background: rgba(201,168,76,0.12); border-color: var(--gold); color: var(--gold-light); }
.explore-filter-chip:active { transform: scale(0.94); }

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 12px;
}
.explore-pkg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.explore-pkg-card:active { transform: scale(0.96); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.explore-pkg-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.explore-pkg-card:active .explore-pkg-card-img { transform: scale(1.05); }
.explore-pkg-card-img-ph {
  width: 100%;
  height: 120px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 1.5rem;
}
.explore-pkg-card-body { padding: 10px; }
.explore-pkg-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.explore-pkg-card-price {
  font-size: 0.875rem;
  font-weight: 800;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.explore-pkg-card-meta { font-size: 0.625rem; color: var(--text3); margin-top: 3px; }
.price-fx { font-size: 0.7rem; color: var(--text3); font-weight: 400; margin-left: 4px; }

/* ── Tier filter chips + price select ─────────────────────── */
.explore-tier-row {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  gap: 6px;
  align-items: center;
}
.tier-chip {
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  font-size: 0.7rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.tier-chip.active { background: rgba(201,168,76,0.12); border-color: var(--gold); color: var(--gold-light); }
.tier-chip:active { transform: scale(0.94); }
.price-filter-select {
  margin-left: auto;
  padding: 4px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text2);
  font-size: 0.7rem;
  cursor: pointer;
}

/* ── Currency selector (header) ────────────────────────────── */
.currency-selector {
  display: flex;
  gap: 2px;
  align-items: center;
}
.currency-btn {
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text3);
  font-size: 0.65rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-mono, monospace);
  letter-spacing: 0.02em;
}
.currency-btn.active {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.currency-btn:active { transform: scale(0.92); }

.load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 20px 0;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 0.875rem;
  transition: var(--transition);
}
.load-more-btn:active { background: var(--surface2); }
.load-more-btn.hidden { display: none; }
.all-loaded-msg {
  text-align: center;
  padding: 12px 20px 0;
  font-size: 0.75rem;
  color: var(--text3);
}

/* ─── Package Detail Sub-page ───────────────────────────── */
#sub-package-detail { padding-top: 0; }
.detail-hero {
  position: relative;
  height: 280px;
}
.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,15,0.1) 0%, rgba(10,10,15,0.8) 100%);
}
.detail-hero-content {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
}
.detail-hero-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.detail-hero-title { font-size: 1.375rem; font-weight: 800; color: #fff; line-height: 1.25; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

.detail-body { padding: 0 16px; }
.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.detail-price-block { min-width: 0; }
.detail-price-from { font-size: 0.6875rem; color: var(--text3); }
.detail-price-num {
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.detail-price-per { font-size: 0.75rem; color: var(--text3); }
.detail-usd-note { font-size: 0.6875rem; color: var(--text3); margin-top: 2px; }
.detail-inquiry-btn {
  background: var(--gold-gradient);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: 28px;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.detail-inquiry-btn:active { transform: scale(0.95); }

/* CTA group: WhatsApp + Inquire side by side */
.detail-cta-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.detail-wa-btn-main {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 24px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.detail-wa-btn-main:active { transform: scale(0.95); opacity: 0.9; }
/* Sticky bar WhatsApp icon-only button */
.detail-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}
.detail-wa-btn:active { transform: scale(0.92); }
.detail-sticky-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}


.detail-section {
  padding: 20px 0 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.detail-section:last-child { border-bottom: none; }
.detail-section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-section-icon {
  width: 28px;
  height: 28px;
  background: rgba(201,168,76,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.detail-desc { font-size: 0.875rem; color: var(--text2); line-height: 1.7; }

.highlight-list { display: flex; flex-direction: column; gap: 8px; }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.5;
}
.highlight-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.inclusions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inclusion-col { min-width: 0; }
.inclusion-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.inclusion-col-title.include { color: var(--green); }
.inclusion-col-title.exclude { color: var(--red); }
.inclusion-item {
  font-size: 0.75rem;
  color: var(--text2);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}

.itinerary-list { display: flex; flex-direction: column; gap: 0; }
.itin-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.itin-item:last-child { border-bottom: none; }
.itin-day {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.itin-day-num { font-size: 0.875rem; font-weight: 800; color: var(--gold); }
.itin-day-text { font-size: 0.5rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; }
.itin-content { flex: 1; }
.itin-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 4px; }
.itin-desc { font-size: 0.8rem; color: var(--text2); line-height: 1.5; }

/* ─── AI Chat Page ───────────────────────────────────────── */
#page-advisor.active {
  display: flex;
  flex-direction: column;
  /* Full height minus header(~58px), tab-bar(64px), safe-bottom, and main-content padding-bottom */
  height: calc(100vh - 58px - 64px - var(--safe-bottom));
  overflow: hidden;
}
.advisor-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.advisor-avatar {
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  color: #0a0a0f;
}
.advisor-info { min-width: 0; }
.advisor-name { font-size: 1rem; font-weight: 700; }
.advisor-status { font-size: 0.75rem; color: var(--green); display: flex; align-items: center; gap: 5px; }
.advisor-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}
.chat-bubble-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.chat-bubble-wrap.user { flex-direction: row-reverse; }
.chat-avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}
.chat-avatar-sm.ai { background: var(--gold-gradient); color: #0a0a0f; }
.chat-avatar-sm.user { background: var(--surface2); color: var(--text2); }
.chat-bubble {
  max-width: 78%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.chat-bubble.ai {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
  color: var(--text);
}
.chat-bubble.user {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.25);
  border-top-right-radius: 4px;
  color: var(--text);
}
.chat-bubble.typing { min-width: 60px; }
.typing-dots { display: flex; gap: 4px; align-items: center; height: 16px; }
.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: typingBounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,60%,100% { transform: translateY(0); opacity:0.4; } 30% { transform: translateY(-5px); opacity:1; } }

.quick-prompts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  scrollbar-width: none;
  flex-shrink: 0;
}
.quick-prompts::-webkit-scrollbar { display: none; }
.quick-prompt-btn {
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 0.75rem;
  color: var(--text2);
  white-space: nowrap;
  transition: var(--transition);
}
.quick-prompt-btn:active { background: rgba(201,168,76,0.1); border-color: var(--gold); color: var(--gold); }

.chat-input-area {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
  background: var(--bg);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  resize: none;
  max-height: 100px;
  line-height: 1.4;
  transition: var(--transition);
}
.chat-input:focus { border-color: var(--gold); }
.chat-input::placeholder { color: var(--text3); }
.chat-send-btn {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0f;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}
.chat-send-btn:active { transform: scale(0.9); }
.chat-send-btn:disabled { opacity: 0.5; pointer-events: none; }

/* ─── Inquiry Page / Form ───────────────────────────────── */
.inquiry-hero {
  padding: 24px 20px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.inquiry-hero-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  margin: 0 auto 12px;
}
.inquiry-hero-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.inquiry-hero-sub { font-size: 0.8125rem; color: var(--text2); line-height: 1.5; }

.inquiry-form { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.8125rem; font-weight: 600; color: var(--text2); }
.form-label span { color: var(--red); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%237a7260' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.form-select option { background: var(--bg2); }
.form-textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-submit-btn {
  width: 100%;
  background: var(--gold-gradient);
  color: #0a0a0f;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px;
  border-radius: 14px;
  box-shadow: var(--shadow-gold);
  text-align: center;
  transition: var(--transition);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit-btn:active { transform: scale(0.98); }
.form-submit-btn:disabled { opacity: 0.6; pointer-events: none; }

.form-note { font-size: 0.75rem; color: var(--text3); text-align: center; line-height: 1.5; }
.form-note a { color: var(--gold); }

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25d366;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px;
  border-radius: 14px;
  transition: var(--transition);
}
.whatsapp-btn:active { transform: scale(0.97); background: rgba(37,211,102,0.18); }
.whatsapp-btn i { font-size: 1.25rem; }

.divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text3);
}
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ─── About / Me Page ───────────────────────────────────── */
.about-hero {
  padding: 32px 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.about-logo {
  width: 72px;
  height: 72px;
  background: var(--gold-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  color: #0a0a0f;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-gold);
}
.about-brand { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.about-tagline { font-size: 0.875rem; color: var(--text2); line-height: 1.5; }

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-stat {
  background: var(--bg2);
  padding: 16px 8px;
  text-align: center;
}
.about-stat-num {
  font-size: 1.375rem;
  font-weight: 800;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-stat-label { font-size: 0.6875rem; color: var(--text3); margin-top: 2px; }

.about-menu { padding: 0; }
.about-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.about-menu-item:active { background: var(--surface); }
.about-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.about-menu-text { flex: 1; }
.about-menu-text strong { display: block; font-size: 0.9rem; font-weight: 600; }
.about-menu-text span { display: block; font-size: 0.75rem; color: var(--text3); margin-top: 1px; }
.about-menu-arrow { color: var(--text3); font-size: 0.75rem; }

/* ─── Toast ─────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  top: calc(var(--safe-top) + 70px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  min-width: 200px;
  max-width: 320px;
}
.toast {
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.4s forwards;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  border: 1px solid;
}
.toast.success { background: rgba(76,175,130,0.15); border-color: rgba(76,175,130,0.3); color: #6ecba0; }
.toast.error { background: rgba(224,85,85,0.15); border-color: rgba(224,85,85,0.3); color: #f09090; }
.toast.info { background: rgba(201,168,76,0.12); border-color: rgba(201,168,76,0.25); color: var(--gold-light); }
@keyframes toastIn { from { opacity:0; transform: translateY(-12px); } to { opacity:1; transform: translateY(0); } }
@keyframes toastOut { to { opacity:0; transform: translateY(-8px); } }

/* ─── Loading Skeleton ──────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card { border-radius: var(--radius); overflow: hidden; height: 300px; }
.skeleton-dest { width: 140px; height: 170px; flex-shrink: 0; border-radius: var(--radius); }

/* ─── Empty State ───────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 12px;
}
.empty-state i { font-size: 2.5rem; color: var(--text3); }
.empty-state h3 { font-size: 1rem; color: var(--text2); }
.empty-state p { font-size: 0.8125rem; color: var(--text3); }

/* ─── Floating WhatsApp ─────────────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: calc(76px + var(--safe-bottom));
  right: 16px;
  z-index: 80;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  animation: waPulse 3s ease-in-out infinite;
}
#whatsapp-float:active { transform: scale(0.88); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
  50%      { box-shadow: 0 6px 28px rgba(37,211,102,0.55), 0 0 0 8px rgba(37,211,102,0); }
}

/* ─── Inquiry Package Card (sticky bottom) ─────────────── */
.detail-sticky-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + var(--safe-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 50;
}
.detail-sticky-price {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gold-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.detail-sticky-note { font-size: 0.625rem; color: var(--text3); }
.detail-sticky-btn {
  background: var(--gold-gradient);
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 24px;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.detail-sticky-btn:active { transform: scale(0.95); }

/* ─── Destination Detail Sub-page ───────────────────────── */
.dest-detail-hero {
  height: 240px;
  position: relative;
}
.dest-detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.dest-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(10,10,15,0.85) 100%);
}
.dest-detail-hero-content {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
}
.dest-detail-name { font-size: 1.75rem; font-weight: 900; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.dest-detail-region { font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

.dest-tags-row { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 16px 0; }
.dest-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.6875rem;
  color: var(--text2);
}

.info-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.info-card-label { font-size: 0.625rem; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.info-card-value { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.info-card-value.gold { background: var(--gold-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── Utility ───────────────────────────────────────────── */
.hidden { display: none !important; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.pb-16 { padding-bottom: 16px; }

/* ── About Page User Block ────────────────────────────────── */
.about-user-block {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.about-user-avatar { font-size: 2.5rem; color: var(--text3); flex-shrink: 0; line-height: 1; }
.about-user-avatar.logged-in { color: var(--gold); }
.about-user-info { flex: 1; min-width: 0; }
.about-user-name { font-size: 0.9rem; font-weight: 700; color: var(--text1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.about-user-email { font-size: 0.75rem; color: var(--text3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.about-user-btn {
  padding: 7px 16px; border-radius: 20px;
  background: var(--gold-gradient); color: #0a0a0f; font-weight: 700; font-size: 0.75rem;
  flex-shrink: 0; transition: opacity 0.2s;
}
.about-user-btn:active { opacity: 0.8; }

/* ── Auth Modal ───────────────────────────────────────────── */
.auth-modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayFadeIn 0.2s ease;
}
@keyframes overlayFadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-modal-overlay.hidden { display: none !important; }
.auth-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 48px;
  width: 100%; max-width: 480px;
  position: relative;
  animation: slideUpModal 0.35s var(--ease-spring);
}
@keyframes slideUpModal {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.auth-modal-close {
  position: absolute; top: 16px; right: 16px;
  color: var(--text3); font-size: 1.125rem;
  background: transparent; padding: 4px 8px;
}
.auth-modal-title {
  font-size: 1.1rem; font-weight: 700;
  background: var(--gold-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px;
}
.auth-tabs {
  display: flex; gap: 0; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.auth-tab {
  flex: 1; padding: 10px; background: transparent;
  color: var(--text3); font-size: 0.875rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.auth-tab.active {
  color: var(--gold-light); border-bottom-color: var(--gold);
  font-weight: 700;
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form.hidden { display: none; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 0.75rem; color: var(--text2); font-weight: 600; }
.auth-submit-btn {
  background: var(--gold-gradient); color: #0a0a0f; font-weight: 700;
  padding: 14px; border-radius: 28px; font-size: 1rem;
  box-shadow: var(--shadow-gold); margin-top: 4px;
  transition: transform 0.15s, opacity 0.15s;
}
.auth-submit-btn:active { transform: scale(0.97); }
.auth-submit-btn:disabled { opacity: 0.6; }
.auth-error {
  color: #ff6b6b; font-size: 0.8rem;
  padding: 8px 12px; background: rgba(255,107,107,0.1);
  border-radius: 6px;
}
.auth-error.hidden { display: none; }

/* ── Favorites Section ────────────────────────────────────── */
.about-section { padding: 16px 16px 4px; }
.about-section-title {
  font-size: 0.85rem; font-weight: 700; color: var(--text1);
  margin-bottom: 12px; display: flex; align-items: center; gap: 4px;
}
.about-fav-badge {
  background: var(--surface2); color: var(--text3);
  font-size: 0.65rem; font-weight: 700;
  padding: 2px 7px; border-radius: 10px; margin-left: 6px;
}
.fav-mini-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 8px; cursor: pointer; transition: background 0.15s;
}
.fav-mini-card:active { background: var(--surface2); }
.fav-mini-img {
  width: 48px; height: 48px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
}
.fav-mini-info { flex: 1; min-width: 0; }
.fav-mini-title {
  font-size: 0.8rem; font-weight: 600; color: var(--text1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fav-mini-price { font-size: 0.7rem; color: var(--gold); margin-top: 2px; }

/* ── Detail Hero Actions (fav + share) ────────────────────── */
.detail-hero-actions {
  position: absolute; top: 12px; right: 12px;
  display: flex; gap: 8px; z-index: 5;
}
.detail-action-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.detail-action-circle:active { background: rgba(0,0,0,0.7); }

/* ─── Staggered Load Animation ─────────────────────────── */
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-animate { animation: cardFadeUp 0.4s var(--ease-smooth) both; }
.card-animate:nth-child(1) { animation-delay: 0s; }
.card-animate:nth-child(2) { animation-delay: 0.06s; }
.card-animate:nth-child(3) { animation-delay: 0.12s; }
.card-animate:nth-child(4) { animation-delay: 0.18s; }
.card-animate:nth-child(5) { animation-delay: 0.24s; }
.card-animate:nth-child(6) { animation-delay: 0.3s; }

/* ─── Image Reveal Animation ───────────────────────────── */
@keyframes imgReveal {
  from { opacity: 0; filter: blur(8px); transform: scale(1.04); }
  to   { opacity: 1; filter: blur(0);   transform: scale(1); }
}
.img-reveal { animation: imgReveal 0.5s ease both; }

/* ─── Scroll Progress Indicator ────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold-gradient);
  z-index: 200;
  transition: width 0.1s ease;
  pointer-events: none;
}

/* ─── Translation Loading Badge ────────────────────────── */
.translate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.7rem;
  color: var(--gold-light);
  margin: 12px 0 0;
  animation: translatePulse 1.5s ease-in-out infinite;
}
@keyframes translatePulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.translate-badge i { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.translate-badge.done {
  background: rgba(76,175,130,0.1);
  border-color: rgba(76,175,130,0.3);
  color: var(--green);
  animation: none;
}
.translate-badge.done i { animation: none; }

/* ─── Smooth Scroll Snap for Horizontal Lists ──────────── */
.filter-scroll, .theme-scroll, .trust-row, .quick-prompts {
  scroll-snap-type: x proximity;
}
.filter-scroll > *, .theme-scroll > *, .trust-row > *, .quick-prompts > * {
  scroll-snap-align: start;
}

/* ─── Tab Bar Ripple Effect ────────────────────────────── */
.tab-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201,168,76,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tab-item:active::after { opacity: 1; }

/* ─── Gold Glow Effects ────────────────────────────────── */
.hero-cta {
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease;
}
.hero-cta:active { transform: scale(0.95); box-shadow: 0 2px 16px rgba(201,168,76,0.4); }

.detail-inquiry-btn {
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease;
}
.detail-inquiry-btn:active { transform: scale(0.95); box-shadow: 0 2px 16px rgba(201,168,76,0.35); }

.form-submit-btn {
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease;
}
.form-submit-btn:active { transform: scale(0.97); box-shadow: 0 2px 16px rgba(201,168,76,0.35); }

/* ─── Detail Hero Parallax Overlay ─────────────────────── */
/* detail-hero dimensions already defined above — only add overflow */
.detail-hero {
  overflow: hidden;
}
.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Smooth Focus Indicators ──────────────────────────── */
.form-input:focus, .form-select:focus, .form-textarea:focus,
.search-input:focus, .chat-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1), 0 0 0 1px rgba(201,168,76,0.3);
}

/* ─── Reduced Motion Preference ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide img { animation: none; }
  #whatsapp-float { animation: none; }
}

/* ─── Desktop / Tablet Width Enhancement ───────────────── */
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: var(--bg2); }
  ::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--text3); }
  #app { max-width: 480px; margin: 0 auto; box-shadow: 0 0 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border); }

  /* Hover states for desktop */
  .pkg-card:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); border-color: var(--border2); }
  .pkg-card:hover::before { opacity: 1; }
  .pkg-card:hover .pkg-card-img { transform: scale(1.03); }
  .dest-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .explore-pkg-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .explore-pkg-card:hover .explore-pkg-card-img { transform: scale(1.05); }
  .theme-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
  .about-menu-item:hover { background: var(--surface); }
}
