/* ==========================================================================
   ANADOLU SEYAHATNAMESİ — PHASE 2 (v2) 2026 GLASSMORPHISM DESIGN SYSTEM
   Styles all 9 Phase-2 Interactive Modules in Dark Theme & body.light-theme
   with Responsive Breakpoints (<= 960px & <= 540px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. SHARED V2 ANIMATIONS & PRIMITIVES
   -------------------------------------------------------------------------- */
@keyframes v2FadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes v2PulseCyan {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 242, 254, 0);
  }
}

@keyframes v2EqualizerGlow {
  0%, 100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

.v2-module-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: v2FadeSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   1. INTERACTIVE TURKEY SVG ATLAS
   ========================================================================== */
.atlas-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.atlas-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.atlas-toolbar button,
.atlas-toolbar select,
.atlas-toolbar input {
  font-family: var(--font-body);
  font-size: 0.84rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text-primary);
  padding: 8px 13px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.atlas-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
}

.atlas-toolbar button:hover {
  border-color: var(--border-glow);
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-1px);
}

.atlas-toolbar button.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.24) 0%, rgba(16, 185, 129, 0.22) 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.24);
}

.atlas-toolbar select:focus,
.atlas-toolbar input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.16);
}

.atlas-stage {
  position: relative;
  width: 100%;
  min-height: 480px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.07) 0%, transparent 45%),
    rgba(10, 15, 29, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-subtle);
}

.atlas-svg {
  width: 100%;
  height: auto;
  max-height: 540px;
  display: block;
  user-select: none;
  cursor: grab;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.atlas-svg:active {
  cursor: grabbing;
}

.atlas-svg path,
.atlas-svg polygon,
.atlas-svg circle,
.atlas-svg .atlas-node,
.atlas-svg .atlas-province {
  transition: fill 0.22s ease, stroke 0.22s ease, transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
  cursor: pointer;
}

.atlas-svg .atlas-province:hover,
.atlas-svg .atlas-node:hover {
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.65));
}

.atlas-svg .visited {
  fill: rgba(16, 185, 129, 0.78);
  stroke: rgba(0, 242, 254, 0.65);
}

.atlas-svg .unvisited {
  fill: rgba(51, 65, 85, 0.55);
  stroke: rgba(148, 163, 184, 0.3);
}

.atlas-svg .selected,
.atlas-svg .active {
  fill: var(--accent-cyan);
  stroke: #ffffff;
  filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.85));
}

.atlas-zoom-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.atlas-zoom-controls button {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(30, 41, 59, 0.72);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.atlas-zoom-controls button:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.14);
}

.atlas-preview-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 20;
  width: 320px;
  max-width: calc(100% - 36px);
  padding: 16px 18px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 242, 254, 0.16);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: v2FadeSlideUp 0.2s ease-out;
}

.atlas-preview-card h3,
.atlas-preview-card h4 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.atlas-preview-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.atlas-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.atlas-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   2. PACKING CHECKLIST
   ========================================================================== */
.packing-telemetry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.72) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.packing-telemetry-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-glass);
}

.packing-telemetry-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.packing-telemetry-value {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.packing-progress-bar {
  grid-column: 1 / -1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.packing-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.packing-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
  align-items: start;
}

.packing-category-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.packing-category-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.packing-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.packing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.packing-item:hover {
  border-color: var(--border-glow);
  background: rgba(30, 41, 59, 0.78);
  transform: translateX(2px);
}

.packing-item input[type="checkbox"] {
  accent-color: var(--accent-emerald);
  width: 17px;
  height: 17px;
  cursor: pointer;
  flex-shrink: 0;
}

.packing-item.checked {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.38);
  color: var(--text-secondary);
}

.packing-item.checked .packing-item-name,
.packing-item.checked span:first-of-type {
  text-decoration: line-through;
  opacity: 0.72;
}

.weight-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   3. DIGITAL POSTCARD STUDIO
   ========================================================================== */
.postcard-layout {
  display: grid;
  grid-template-columns: minmax(290px, 370px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.postcard-controls {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-subtle);
}

.postcard-controls label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.postcard-controls input[type="text"],
.postcard-controls input[type="date"],
.postcard-controls select,
.postcard-controls textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.postcard-controls input:focus,
.postcard-controls select:focus,
.postcard-controls textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.16);
}

.postcard-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.postcard-theme-btn {
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.postcard-theme-btn:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.postcard-theme-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.postcard-canvas-wrap {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 242, 254, 0.1) 0%, transparent 55%),
    rgba(10, 15, 29, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 440px;
  box-shadow: var(--shadow-subtle);
}

.postcard-canvas {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 32px rgba(0, 242, 254, 0.14);
  background: #0f172a;
}

/* ==========================================================================
   4. HERITAGE TIMELINE
   ========================================================================== */
.timeline-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.timeline-spine {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 34px;
  margin: 12px 0;
}

.timeline-spine::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent-cyan) 0%,
    var(--accent-purple) 48%,
    var(--accent-gold) 100%
  );
  border-radius: var(--radius-full);
  opacity: 0.72;
}

.timeline-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-subtle);
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.7);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.timeline-card:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 242, 254, 0.14);
}

.timeline-card:hover::before {
  transform: scale(1.22);
  border-color: var(--accent-gold);
}

.timeline-card h3,
.timeline-card h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.timeline-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.timeline-cities-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.28);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.timeline-city-chip:hover {
  background: rgba(0, 242, 254, 0.22);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   5. SOUND MIXER STUDIO
   ========================================================================== */
.mixer-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.mixer-presets button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: rgba(30, 41, 59, 0.65);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mixer-presets button:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.mixer-presets button.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28) 0%, rgba(0, 242, 254, 0.24) 100%);
  border-color: var(--accent-purple);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.3);
}

.mixer-visualizer-canvas {
  width: 100%;
  height: 120px;
  display: block;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 100%, rgba(0, 242, 254, 0.14) 0%, transparent 65%),
    rgba(10, 15, 29, 0.86);
  border: 1px solid var(--border-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-subtle);
}

.mixer-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.mixer-channel-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.mixer-channel-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.mixer-channel-card.active {
  border-color: var(--accent-cyan);
  background: linear-gradient(160deg, rgba(0, 242, 254, 0.12) 0%, rgba(30, 41, 59, 0.8) 100%);
  box-shadow: 0 0 24px rgba(0, 242, 254, 0.18);
}

.mixer-channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mixer-channel-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mixer-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(148, 163, 184, 0.24);
  outline: none;
  cursor: pointer;
}

.mixer-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
  cursor: pointer;
  transition: transform 0.16s ease;
}

.mixer-slider::-webkit-slider-thumb:hover {
  transform: scale(1.16);
}

.mixer-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
  cursor: pointer;
}

/* ==========================================================================
   6. SEASON & WEATHER GUIDE
   ========================================================================== */
.season-months-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  scrollbar-width: thin;
}

.season-month-btn {
  flex: 1 0 auto;
  min-width: 78px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(30, 41, 59, 0.56);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.season-month-btn:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  background: rgba(51, 65, 85, 0.72);
  transform: translateY(-1px);
}

.season-month-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.26) 0%, rgba(0, 242, 254, 0.22) 100%);
  border-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.24);
}

.season-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.season-city-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.season-city-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 254, 0.14);
}

.season-temp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.14);
  border: 1px solid rgba(0, 242, 254, 0.34);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ==========================================================================
   7. LANDMARK ENCYCLOPEDIA
   ========================================================================== */
.landmark-cat-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.landmark-cat-pills button,
.landmark-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.landmark-cat-pills button:hover,
.landmark-cat-pill:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.landmark-cat-pills button.active,
.landmark-cat-pill.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.26) 0%, rgba(0, 242, 254, 0.22) 100%);
  border-color: var(--accent-emerald);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.24);
}

.landmark-explorer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.landmark-explorer-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-subtle);
}

.landmark-explorer-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), 0 0 24px rgba(0, 242, 254, 0.16);
}

.landmark-explorer-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-glass);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.landmark-explorer-card:hover img {
  transform: scale(1.04);
}

.landmark-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.landmark-explorer-card h3,
.landmark-explorer-card h4 {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.landmark-explorer-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.landmark-unesco-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ==========================================================================
   8. IN-APP BOOK READER
   ========================================================================== */
.reader-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.reader-sidebar {
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-subtle);
}

.reader-sidebar h3,
.reader-sidebar h4 {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 4px 8px 8px;
  border-bottom: 1px solid var(--border-glass);
}

.reader-sidebar a,
.reader-sidebar button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.reader-sidebar a:hover,
.reader-sidebar button:hover {
  background: rgba(30, 41, 59, 0.7);
  color: var(--text-primary);
  border-color: var(--border-glass);
}

.reader-sidebar a.active,
.reader-sidebar button.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.18) 0%, rgba(16, 185, 129, 0.14) 100%);
  border-color: var(--accent-cyan);
  color: #ffffff;
  font-weight: 600;
}

.reader-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
}

.reader-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: rgba(30, 41, 59, 0.65);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.reader-toolbar button:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.reader-toolbar button.active {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.reader-article {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 42px;
  max-width: 820px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.85;
  box-shadow: var(--shadow-subtle);
  transition: font-family 0.2s ease, font-size 0.2s ease;
}

.reader-article.serif {
  font-family: 'Georgia', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  letter-spacing: 0.008em;
  line-height: 1.92;
}

.reader-article h1,
.reader-article h2,
.reader-article h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.reader-article h1:first-child,
.reader-article h2:first-child {
  margin-top: 0;
}

.reader-article.serif h1,
.reader-article.serif h2,
.reader-article.serif h3 {
  font-family: 'Georgia', 'Palatino Linotype', serif;
}

.reader-article p {
  margin-bottom: 1.15em;
  color: var(--text-primary);
}

.reader-article blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--accent-cyan);
  background: rgba(0, 242, 254, 0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.reader-article hr {
  border: none;
  border-top: 1px solid var(--border-glass);
  margin: 24px 0;
}

/* ==========================================================================
   9. BUDGET SIMULATOR
   ========================================================================== */
.budget-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.budget-sliders {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-subtle);
}

.budget-slider-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.54);
  border: 1px solid var(--border-glass);
}

.budget-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}

.budget-slider-header strong {
  font-family: var(--font-heading);
  color: var(--accent-cyan);
  font-size: 0.96rem;
}

.budget-sliders input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(148, 163, 184, 0.24);
  outline: none;
  cursor: pointer;
}

.budget-sliders input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.55);
  cursor: pointer;
  transition: transform 0.16s ease;
}

.budget-sliders input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.budget-sliders input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.55);
  cursor: pointer;
}

.budget-donut-wrap {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.budget-donut-wrap svg,
.budget-donut-wrap canvas {
  max-width: 240px;
  max-height: 240px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.budget-savings-banner {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(0, 242, 254, 0.14) 100%);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.14);
}

.budget-savings-banner strong {
  font-family: var(--font-heading);
  color: var(--accent-emerald);
  font-size: 1.05rem;
}

/* ==========================================================================
   LIGHT THEME OVERRIDES (body.light-theme)
   ========================================================================== */
body.light-theme .v2-glass-panel,
body.light-theme .atlas-toolbar,
body.light-theme .packing-telemetry,
body.light-theme .packing-category-card,
body.light-theme .postcard-controls,
body.light-theme .timeline-card,
body.light-theme .mixer-presets,
body.light-theme .mixer-channel-card,
body.light-theme .season-months-bar,
body.light-theme .season-city-card,
body.light-theme .landmark-cat-pills,
body.light-theme .landmark-explorer-card,
body.light-theme .reader-sidebar,
body.light-theme .reader-toolbar,
body.light-theme .reader-article,
body.light-theme .budget-sliders,
body.light-theme .budget-donut-wrap {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

/* Light Theme: 1. Atlas */
body.light-theme .atlas-toolbar button,
body.light-theme .atlas-toolbar select,
body.light-theme .atlas-toolbar input {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

body.light-theme .atlas-toolbar button:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0369a1;
}

body.light-theme .atlas-toolbar button.active {
  background: linear-gradient(135deg, #0284c7 0%, #059669 100%);
  border-color: #0284c7;
  color: #ffffff;
}

body.light-theme .atlas-stage {
  background:
    radial-gradient(circle at 20% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.07) 0%, transparent 45%),
    #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .atlas-svg .unvisited {
  fill: rgba(148, 163, 184, 0.35);
  stroke: rgba(71, 85, 105, 0.4);
}

body.light-theme .atlas-svg .visited {
  fill: rgba(5, 150, 105, 0.72);
  stroke: rgba(2, 132, 199, 0.6);
}

body.light-theme .atlas-zoom-controls {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.light-theme .atlas-zoom-controls button {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

body.light-theme .atlas-preview-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

body.light-theme .atlas-legend {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}

/* Light Theme: 2. Packing Checklist */
body.light-theme .packing-telemetry-stat,
body.light-theme .packing-item {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

body.light-theme .packing-item:hover {
  background: #f1f5f9;
  border-color: #0284c7;
}

body.light-theme .packing-item.checked {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.4);
  color: #475569;
}

body.light-theme .packing-progress-bar {
  background: rgba(15, 23, 42, 0.09);
}

body.light-theme .weight-badge {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
  color: #b45309;
}

/* Light Theme: 3. Postcard Studio */
body.light-theme .postcard-controls input[type="text"],
body.light-theme .postcard-controls input[type="date"],
body.light-theme .postcard-controls select,
body.light-theme .postcard-controls textarea,
body.light-theme .postcard-theme-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

body.light-theme .postcard-theme-btn.active {
  background: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
  border-color: #0284c7;
  color: #ffffff;
}

body.light-theme .postcard-canvas-wrap {
  background: #e2e8f0;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .postcard-canvas {
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
}

/* Light Theme: 4. Heritage Timeline */
body.light-theme .timeline-card::before {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.14);
}

body.light-theme .timeline-year-badge {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.36);
  color: #b45309;
}

body.light-theme .timeline-city-chip {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0369a1;
}

body.light-theme .timeline-city-chip:hover {
  background: #0284c7;
  color: #ffffff;
}

/* Light Theme: 5. Sound Mixer */
body.light-theme .mixer-presets button {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.14);
  color: #334155;
}

body.light-theme .mixer-presets button.active {
  background: linear-gradient(135deg, #7c3aed 0%, #0284c7 100%);
  border-color: #7c3aed;
  color: #ffffff;
}

body.light-theme .mixer-visualizer-canvas {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(15, 23, 42, 0.18);
}

body.light-theme .mixer-channel-card.active {
  background: linear-gradient(160deg, rgba(2, 132, 199, 0.1) 0%, #ffffff 100%);
  border-color: #0284c7;
}

/* Light Theme: 6. Season & Weather Guide */
body.light-theme .season-month-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
}

body.light-theme .season-month-btn:hover {
  background: #e0f2fe;
  color: #0369a1;
}

body.light-theme .season-month-btn.active {
  background: linear-gradient(135deg, #d97706 0%, #0284c7 100%);
  border-color: #d97706;
  color: #ffffff;
}

body.light-theme .season-temp-badge {
  background: rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.32);
  color: #0369a1;
}

/* Light Theme: 7. Landmark Encyclopedia */
body.light-theme .landmark-cat-pills button,
body.light-theme .landmark-cat-pill {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.14);
  color: #334155;
}

body.light-theme .landmark-cat-pills button.active,
body.light-theme .landmark-cat-pill.active {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  border-color: #059669;
  color: #ffffff;
}

body.light-theme .landmark-unesco-badge {
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.36);
  color: #b45309;
}

/* Light Theme: 8. In-App Book Reader */
body.light-theme .reader-sidebar a,
body.light-theme .reader-sidebar button,
body.light-theme .reader-toolbar button {
  color: #334155;
}

body.light-theme .reader-sidebar a:hover,
body.light-theme .reader-sidebar button:hover,
body.light-theme .reader-toolbar button:hover {
  background: #f1f5f9;
  color: #0f172a;
}

body.light-theme .reader-sidebar a.active,
body.light-theme .reader-sidebar button.active,
body.light-theme .reader-toolbar button.active {
  background: rgba(2, 132, 199, 0.14);
  border-color: #0284c7;
  color: #0369a1;
}

body.light-theme .reader-article blockquote {
  background: rgba(2, 132, 199, 0.06);
  border-left-color: #0284c7;
  color: #334155;
}

/* Light Theme: 9. Budget Simulator */
body.light-theme .budget-slider-row {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
}

body.light-theme .budget-savings-banner {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.14) 0%, rgba(2, 132, 199, 0.12) 100%);
  border-color: rgba(5, 150, 105, 0.4);
  color: #0f172a;
}

body.light-theme .budget-savings-banner strong {
  color: #047857;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (<= 960px & <= 540px)
   ========================================================================== */
@media (max-width: 960px) {
  .atlas-stage {
    min-height: 390px;
  }

  .atlas-preview-card {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
  }

  .postcard-layout {
    grid-template-columns: 1fr;
  }

  .postcard-canvas-wrap {
    min-height: 340px;
    padding: 16px;
  }

  .reader-layout {
    grid-template-columns: 1fr;
  }

  .reader-sidebar {
    position: static;
    max-height: 240px;
  }

  .reader-article {
    padding: 26px 24px;
    max-width: 100%;
  }

  .budget-layout {
    grid-template-columns: 1fr;
  }

  .packing-categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 540px) {
  .atlas-toolbar {
    padding: 12px;
    gap: 8px;
  }

  .atlas-stage {
    min-height: 300px;
  }

  .atlas-zoom-controls {
    top: 10px;
    right: 10px;
    padding: 4px;
  }

  .atlas-zoom-controls button {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .packing-telemetry {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    gap: 10px;
  }

  .packing-categories-grid,
  .mixer-channels-grid,
  .season-cities-grid,
  .landmark-explorer-grid {
    grid-template-columns: 1fr;
  }

  .postcard-controls {
    padding: 16px;
  }

  .postcard-theme-grid {
    grid-template-columns: 1fr;
  }

  .timeline-spine {
    padding-left: 24px;
    gap: 16px;
  }

  .timeline-spine::before {
    left: 7px;
  }

  .timeline-card {
    padding: 16px;
  }

  .timeline-card::before {
    left: -22px;
    width: 12px;
    height: 12px;
  }

  .mixer-visualizer-canvas {
    height: 92px;
  }

  .season-month-btn {
    min-width: 66px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .reader-article {
    padding: 20px 16px;
    font-size: 0.96rem;
    line-height: 1.78;
  }

  .budget-sliders,
  .budget-donut-wrap {
    padding: 16px;
  }

  .budget-savings-banner {
    padding: 14px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-module-shell,
  .atlas-preview-card,
  .atlas-svg,
  .packing-progress-fill,
  .timeline-card,
  .landmark-explorer-card,
  .landmark-explorer-card img {
    animation: none !important;
    transition: none !important;
  }
}
