@charset "UTF-8";

/* ==========================================================================
   Design System & Tokens (Strict Zero-Emoji, High-End Cultural Elegance)
   ========================================================================== */
:root {
  --font-serif: "Noto Serif TC", "Songti TC", "Source Han Serif TC", Georgia, serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Primary Dynasty Colors */
  --color-primary: #8e2a22;        /* Imperial Crimson */
  --color-primary-dark: #681c16;
  --color-primary-light: #ab3930;
  --color-gold: #b38628;           /* Bronze / Dunhuang Gold */
  --color-gold-light: #d4a948;
  --color-gold-border: rgba(179, 134, 40, 0.35);
  --color-gold-bg: rgba(179, 134, 40, 0.08);
  
  /* Neutral & Canvas */
  --color-bg: #f8f6f0;             /* Warm Rice Paper */
  --color-hero-bg: #fcfbfa;        /* Light Elegant Parchment */
  --color-surface: #ffffff;
  --color-surface-trans: rgba(255, 255, 255, 0.92);
  --color-text-main: #1c232e;      /* Deep Ink */
  --color-text-muted: #4e5768;     /* Charcoal Tone (Enlarged & high contrast) */
  --color-text-light: #727c8d;
  --color-border: #e3ded5;
  --color-border-light: #eeeae2;
  
  /* Dark Section */
  --color-dark-bg: #14171d;
  --color-dark-surface: #1e222a;
  --color-dark-text: #f0f2f5;
  --color-dark-muted: #9ba3b0;
  --color-dark-border: #2d3340;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 6px 20px rgba(179, 134, 40, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text-main);
}

body {
  font-family: var(--font-sans);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

/* ==========================================================================
   Hero Banner (Light Background + Hand-drawn Golden Line Map)
   ========================================================================== */
.hero-header {
  position: relative;
  background-color: var(--color-hero-bg);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(179, 134, 40, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(142, 42, 34, 0.04) 0%, transparent 50%),
    linear-gradient(to bottom, #ffffff 0%, #fbf9f4 100%);
  color: var(--color-text-main);
  padding: 85px 24px 75px;
  overflow: hidden;
  border-bottom: 2px solid var(--color-gold);
}

/* Hand-drawn Golden Map SVG Background */
.hero-map-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
}

/* User-specified Hand-drawn Architectural Pagoda Line Art Background */
.hero-pagoda-art {
  position: absolute;
  top: 50%;
  right: max(16px, calc(50% - 620px));
  transform: translateY(-50%);
  height: 94%;
  max-height: 560px;
  width: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.52;
  filter: drop-shadow(0 4px 16px rgba(164, 117, 40, 0.18));
  transition: opacity 0.3s ease;
}

.hero-pagoda-art img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(179, 134, 40, 0.12);
  border: 1px solid rgba(179, 134, 40, 0.45);
  border-radius: var(--radius-full);
  color: #8c6310;
  font-size: 1rem; /* Enlarged +2 */
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

/* Title Enlarged +2 */
.hero-title {
  font-family: var(--font-serif);
  font-size: 3.3rem; /* Enlarged from 2.85rem */
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #171d26;
  margin-bottom: 18px;
}

/* Subtitle Enlarged +2 */
.hero-subtitle {
  font-size: 1.28rem; /* Enlarged from 1.15rem */
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.85;
  max-width: 860px;
  margin-bottom: 40px;
}

/* Trip Stats Bar (Light themed with gold top border) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  max-width: 950px;
  margin-bottom: 40px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  background: #ffffff;
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.1rem; /* Enlarged */
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.95rem; /* Enlarged */
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

/* Route Stepper in Hero (Travel Agency official itinerary) */
.route-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  font-size: 1.02rem; /* Enlarged +2 */
  color: #2c3442;
  box-shadow: var(--shadow-sm);
  line-height: 1.7;
}

.route-label {
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-serif);
}

.route-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.route-arrow {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   Navigation Bar (Desktop Dual-Layer: Days + Cities)
   ========================================================================== */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Tier 1: Day Tabs */
.nav-tier-days {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.nav-tier-days::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 9px 18px;
  font-size: 0.98rem; /* Enlarged +2 */
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.tab-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
  background: #ffffff;
}

.tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(142, 42, 34, 0.28);
}

/* Tier 2: City Location Filter */
.nav-tier-cities {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: 4px;
  border-top: 1px solid var(--color-border-light);
}

.nav-tier-cities::-webkit-scrollbar {
  display: none;
}

.city-filter-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-serif);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.city-pill {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem; /* Enlarged +2 */
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.city-pill:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.city-pill.active {
  background: var(--color-gold);
  color: #ffffff;
  border-color: var(--color-gold);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(179, 134, 40, 0.25);
}

/* ==========================================================================
   Main Content Layout & Day Cards
   ========================================================================== */
.main-wrapper {
  max-width: 1200px;
  margin: 45px auto 90px;
  padding: 0 24px;
}

.day-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
  overflow: hidden;
  transition: var(--transition);
}

.day-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d8d2c5;
}

/* Day Card Header */
.day-header {
  padding: 34px 40px 28px;
  border-bottom: 1px solid var(--color-border-light);
  background: linear-gradient(to bottom, #ffffff, #faf8f3);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.day-header-left {
  flex: 1;
  min-width: 300px;
}

.day-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.day-badge {
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 0.98rem; /* Enlarged */
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.day-date {
  font-size: 1.02rem; /* Enlarged */
  color: var(--color-text-muted);
  font-weight: 600;
}

.day-city-tags {
  display: flex;
  gap: 8px;
}

.day-city-tag {
  background: var(--color-gold-bg);
  color: #8c6310;
  border: 1px solid rgba(179, 134, 40, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem; /* Enlarged */
  font-weight: 700;
  transition: var(--transition);
}

.day-city-tag.highlight {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* Day Card Title Enlarged +2 */
.day-title {
  font-family: var(--font-serif);
  font-size: 1.95rem; /* Enlarged from 1.65rem */
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Day Narrative Summary Enlarged +2 */
.day-intro {
  font-size: 1.12rem; /* Enlarged from 0.95rem */
  color: var(--color-text-muted);
  line-height: 1.88;
  max-width: 860px;
}

.day-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.album-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--color-gold-bg);
  border: 1.5px solid var(--color-gold);
  color: #8c6310;
  border-radius: var(--radius-full);
  font-size: 0.95rem; /* Enlarged */
  font-weight: 700;
  transition: var(--transition);
}

.album-btn:hover {
  background: var(--color-gold);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.photo-total-badge {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   Itinerary Timeline & Sight Spotlights (+2 Font Size)
   ========================================================================== */
.day-body {
  padding: 40px;
}

.section-label {
  font-family: var(--font-serif);
  font-size: 1.35rem; /* Enlarged from 1.15rem */
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.04em;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Timeline */
.timeline-flow {
  position: relative;
  padding-left: 32px;
  margin-bottom: 45px;
}

.timeline-flow::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 2px;
  background: #ded9cf;
}

.timeline-node {
  position: relative;
  margin-bottom: 28px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.node-dot {
  position: absolute;
  left: -32px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid var(--color-primary);
  box-shadow: 0 0 0 3px rgba(142, 42, 34, 0.12);
}

.node-dot.sight { border-color: var(--color-primary); }
.node-dot.dining { border-color: var(--color-gold); }
.node-dot.hotel { border-color: #2b6cb0; }
.node-dot.transit { border-color: #718096; }

.node-card {
  background: #faf9f6;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
}

.node-card:hover {
  background: #ffffff;
  border-color: #d6cfbf;
  box-shadow: var(--shadow-sm);
}

.node-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem; /* Enlarged +2 */
  color: var(--color-text-muted);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.node-time {
  font-weight: 700;
  color: var(--color-primary);
}

.node-stay {
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem; /* Enlarged */
  font-weight: 600;
  color: #3b4555;
}

.node-type-pill {
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
}

.node-type-pill.sight {
  background: rgba(142, 42, 34, 0.09);
  color: var(--color-primary);
}

.node-type-pill.dining {
  background: rgba(179, 134, 40, 0.12);
  color: #8c6310;
}

.node-type-pill.hotel {
  background: rgba(43, 108, 176, 0.1);
  color: #2b6cb0;
}

.node-type-pill.transit {
  background: rgba(113, 128, 150, 0.12);
  color: #4a5568;
}

.node-city-pill {
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  background: #f0ede6;
  color: #555f70;
  border: 1px solid #dfd8cc;
}

/* POI Name Enlarged +2 */
.node-name {
  font-family: var(--font-serif);
  font-size: 1.38rem; /* Enlarged from 1.15rem */
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.node-address {
  font-size: 0.92rem; /* Enlarged */
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

/* 200-Word Spotlight Box with Representative Sight Photo (+2 Font Size) */
.spotlight-box {
  margin-top: 14px;
  background: #ffffff;
  border: 1px solid var(--color-gold-border);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(179, 134, 40, 0.08);
}

/* Representative Photo Banner in Sight Card */
.spotlight-rep-banner {
  position: relative;
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  background: #ede8df;
  border-bottom: 1px solid var(--color-gold-border);
}

.spotlight-rep-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spotlight-rep-banner:hover img {
  transform: scale(1.03);
}

.spotlight-rep-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

/* On-site Documentary Photo Gallery in Sight Card */
.spotlight-doc-gallery {
  display: grid;
  gap: 10px;
  background: #f7f4ed;
  padding: 10px;
  border-bottom: 1px solid var(--color-gold-border);
}

.spotlight-doc-gallery.doc-count-1 {
  grid-template-columns: 1fr;
}

.spotlight-doc-gallery.doc-count-2 {
  grid-template-columns: repeat(2, 1fr);
}

.spotlight-doc-gallery.doc-count-3 {
  grid-template-columns: repeat(3, 1fr);
}

.spotlight-doc-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-doc-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(179, 134, 40, 0.18);
  border-color: var(--color-gold);
}

.spotlight-doc-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.35s ease;
}

.spotlight-doc-item:hover img {
  transform: scale(1.04);
}

.spotlight-doc-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(17, 24, 39, 0.82);
  color: #f7e7c4;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(197, 155, 39, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.spotlight-doc-caption {
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2c3442;
  background: #ffffff;
  line-height: 1.4;
  text-align: center;
  border-top: 1px solid #f0ecdf;
}

.spotlight-content {
  padding: 16px 20px 18px;
}

.spotlight-box-title {
  font-family: var(--font-serif);
  font-size: 0.95rem; /* Enlarged */
  font-weight: 800;
  color: #8c6310;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.spotlight-text {
  font-size: 1.08rem; /* Enlarged from 0.9rem */
  color: #272e3a;
  line-height: 1.85;
}

/* ==========================================================================
   Photo Gallery Grid
   ========================================================================== */
.photo-gallery-section {
  margin-top: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.photo-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #eae5dc;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.photo-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img {
  transform: scale(1.06);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #ffffff;
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-item:hover .photo-overlay {
  opacity: 1;
}

.load-more-container {
  text-align: center;
  margin-top: 20px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-main);
  font-size: 0.98rem; /* Enlarged */
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.load-more-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: #fdfcfb;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 12, 16, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  z-index: 10;
}

.lightbox-counter {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #9ba3b0;
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #ffffff;
}

.lightbox-close-btn {
  color: #ffffff;
  font-size: 1.8rem;
  padding: 6px 14px;
  line-height: 1;
  border-radius: var(--radius-sm);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev { left: 24px; }
.lightbox-nav-btn.next { right: 24px; }

.lightbox-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  text-align: center;
  color: #9ba3b0;
  font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
  background: var(--color-dark-bg);
  color: var(--color-dark-muted);
  padding: 65px 24px 55px;
  border-top: 3px solid var(--color-gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 45px;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.footer-list {
  list-style: none;
  font-size: 0.95rem;
  line-height: 2.1;
}

.footer-list a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

/* Floating Back to Top Button */
.floating-top-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-top-btn:active {
  transform: scale(0.92);
}

/* ==========================================================================
   Responsive Adaptations & Mobile Optimizations (Strict Zero-Emoji)
   ========================================================================== */
@media (max-width: 768px) {
  .main-wrapper {
    margin: 24px auto 70px;
    padding: 0 14px;
  }

  /* Hero Header Mobile */
  .hero-header {
    padding: 48px 16px 40px;
  }

  .hero-pagoda-art {
    position: absolute;
    top: 15px;
    right: -15px;
    height: 350px;
    width: auto;
    transform: none;
    opacity: 0.48;
    z-index: 0;
    pointer-events: none;
  }
  
  .hero-tagline {
    font-size: 0.88rem;
    padding: 5px 14px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 2.1rem; /* Enlarged +2 */
    line-height: 1.3;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 1.05rem; /* Enlarged +2 */
    line-height: 1.7;
    margin-bottom: 26px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 26px;
  }

  .stat-item {
    padding: 14px 16px;
  }

  .stat-number {
    font-size: 1.65rem; /* Enlarged */
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .route-ribbon {
    font-size: 0.92rem; /* Enlarged */
    padding: 14px 16px;
    gap: 6px;
  }

  /* Sticky Navigation on Mobile */
  .sticky-nav {
    padding: 8px 0;
  }

  .nav-container {
    padding: 6px 14px;
    gap: 10px;
  }

  .tab-btn {
    padding: 7px 14px;
    font-size: 0.88rem;
  }

  .city-pill {
    padding: 5px 12px;
    font-size: 0.84rem;
  }

  /* Day Cards Mobile */
  .day-card {
    margin-bottom: 36px;
    border-radius: var(--radius-md);
  }

  .day-header {
    padding: 22px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .day-title {
    font-size: 1.55rem; /* Enlarged +2 */
    line-height: 1.35;
  }

  .day-intro {
    font-size: 1.02rem; /* Enlarged +2 */
    line-height: 1.75;
  }

  .day-header-right {
    align-items: stretch;
    width: 100%;
  }

  .album-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.92rem;
  }

  /* Day Body & Timeline Mobile */
  .day-body {
    padding: 24px 16px;
  }

  .section-label {
    font-size: 1.15rem; /* Enlarged */
    margin-bottom: 20px;
  }

  .timeline-flow {
    padding-left: 22px;
    margin-bottom: 32px;
  }

  .timeline-flow::before {
    left: 5px;
  }

  .node-dot {
    left: -22px;
    width: 14px;
    height: 14px;
    top: 6px;
  }

  .node-card {
    padding: 16px 16px;
  }

  .node-name {
    font-size: 1.2rem; /* Enlarged +2 */
  }

  .node-meta {
    font-size: 0.88rem; /* Enlarged */
    gap: 10px;
  }

  .spotlight-rep-banner {
    max-height: 200px;
  }

  .spotlight-rep-banner img {
    height: 200px;
  }

  .spotlight-doc-gallery.doc-count-2,
  .spotlight-doc-gallery.doc-count-3 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .spotlight-doc-item img {
    height: 200px;
    object-position: center 20%;
  }

  .spotlight-content {
    padding: 14px 16px 16px;
  }

  .spotlight-text {
    font-size: 1.02rem; /* Enlarged +2 */
    line-height: 1.78;
  }

  /* Photo Gallery on Mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .load-more-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.92rem;
  }

  /* Lightbox on Mobile */
  .lightbox-top-bar {
    padding: 14px 18px;
  }

  .lightbox-title {
    font-size: 0.95rem;
    max-width: 65vw;
  }

  .lightbox-img-wrapper {
    max-width: 96vw;
    max-height: 74vh;
  }

  .lightbox-img-wrapper img {
    max-height: 74vh;
  }

  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
  }

  .lightbox-nav-btn.prev { left: 8px; }
  .lightbox-nav-btn.next { right: 8px; }

  .lightbox-bottom-bar {
    padding: 14px 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .hero-pagoda-art {
    top: 15px;
    right: -20px;
    height: 310px;
    opacity: 0.46;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .day-title {
    font-size: 1.4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
