:root {
  --bg-space: #04070e;
  --gold-light: #fbe6a2;
  --gold-primary: #d9b15f;
  --gold-deep: #9c7227;
  --gold-border: rgba(217, 177, 95, 0.55);
  --gold-glow: rgba(235, 195, 108, 0.45);
  --panel-dark: rgba(11, 14, 21, 0.84);
  --panel-glass: rgba(16, 20, 29, 0.78);
  --text-light: #f9f3e3;
  --text-muted: #c2b8a3;
  --font-display: 'Cinzel', 'Prompt', serif;
  --font-sans: 'Inter', 'Prompt', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0d172a 0%, #050811 65%, #020307 100%);
  color: var(--text-light);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   ORNATE LUXURY DOUBLE GOLD BORDER FRAME
========================================= */
.luxury-frame {
  position: fixed;
  inset: 14px;
  pointer-events: none;
  z-index: 100;
}

.frame-outer {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--gold-border);
  border-radius: 10px;
  box-shadow: inset 0 0 25px rgba(217, 177, 95, 0.08);
}

.frame-inner {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(217, 177, 95, 0.32);
  border-radius: 7px;
}

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--gold-primary);
}

.corner-tl {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 6px;
}
.corner-tr {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 6px;
}
.corner-bl {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 6px;
}
.corner-br {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 6px;
}

/* =========================================
   3D CANVAS & ARRIVAL PANORAMA BACKDROP
========================================= */
.canvas-container {
  position: fixed;
  inset: 0;
  z-index: 2;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 1s ease;
}

body[data-stage="4"] .canvas-container {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.12);
}

.arrival-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

body[data-stage="4"] .arrival-backdrop {
  opacity: 1;
}

.arrival-backdrop-img {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg_malaysia.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease-out, background-image 0.6s ease-in-out;
}

body[data-stage="4"] .arrival-backdrop-img {
  transform: scale(1);
}

.arrival-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(248, 226, 172, 0.42) 0%,
    rgba(32, 24, 12, 0.38) 45%,
    rgba(7, 8, 12, 0.88) 100%
  );
}

/* =========================================
   TOP HEADER & BRANDING
========================================= */
.top-header {
  position: fixed;
  top: 34px;
  left: 42px;
  right: 42px;
  z-index: 60;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.brand-identity {
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.25s ease;
}

.brand-identity:hover {
  transform: translateY(-1px);
}

.brand-thai {
  font-family: 'Prompt', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--gold-primary);
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #fff6d6 0%, #e4be6a 55%, #b68834 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7));
}

.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: #e6d2a2;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

body[data-stage="4"] .brand-thai,
body[data-stage="4"] .brand-tagline {
  color: #4f3814;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

body[data-stage="4"] .brand-title {
  background: linear-gradient(180deg, #6d4c17 0%, #9b6f23 60%, #4b330c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

/* Header Location Pill (Visible in Stage 2, 3, 4) */
.header-location-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(16, 17, 22, 0.88);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(217, 177, 95, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-15px);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(12px);
}

body[data-stage="2"] .header-location-pill,
body[data-stage="3"] .header-location-pill,
body[data-stage="4"] .header-location-pill {
  opacity: 1;
  transform: translateY(0);
}

.live-clock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.live-clock-badge small {
  font-size: 0.66rem;
  color: var(--text-muted);
  font-weight: 500;
}

.live-weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff6dc;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.live-weather-badge strong {
  color: var(--gold-light);
  font-weight: 700;
}

.live-weather-badge small {
  font-size: 0.66rem;
  color: #d8ceb8;
  font-weight: 500;
}

/* Stage 4 Regional Live Weather Strip */
.product-weather-strip {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.weather-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(217, 177, 95, 0.12) 100%
  );
  border: 1px solid rgba(255, 236, 185, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.68rem;
  color: #fff8e6;
  cursor: pointer;
  transition: all 0.2s ease;
}

.weather-area-pill:hover {
  border-color: var(--gold-light);
  background: rgba(217, 177, 95, 0.26);
  transform: translateY(-1px);
}

.weather-area-pill strong {
  color: var(--gold-light);
}

.weather-area-pill .weather-humid {
  color: #93c5fd;
  font-size: 0.62rem;
}

/* Sidebar Card Weather Pill (Inline Flex inside Top Row — No Overlap) */
.card-weather-chip {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 38, 0.52);
  border: 1px solid rgba(255, 238, 195, 0.48);
  color: #fff9e6;
  font-size: 0.54rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.tooltip-weather-list {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed rgba(180, 140, 60, 0.35);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.59rem;
  color: #3b2a0d;
  text-align: left;
}

.tooltip-weather-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.tooltip-weather-row strong {
  color: #7c5310;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: livePulse 1.8s infinite ease-in-out;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.card-time-chip {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 240, 195, 0.52);
  color: #fff9e6;
  font-size: 0.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.tooltip-time {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(180, 140, 60, 0.3);
  font-size: 0.62rem;
  font-weight: 700;
  color: #4f3812;
  font-variant-numeric: tabular-nums;
}

.loc-label {
  color: var(--gold-primary);
  font-weight: 600;
}

.loc-value {
  color: #ffffff;
  font-weight: 600;
}

.loc-flag {
  font-size: 1.15rem;
}

/* Top Right Controls */
.header-actions {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-Search-pill {
  display: flex;
  align-items: center;
  background: rgba(14, 18, 28, 0.82);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  padding: 5px 12px;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

body[data-stage="4"] .top-Search-pill {
  display: none;
}

.lang-btn,
.search-btn {
  background: transparent;
  border: none;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover,
.search-btn:hover {
  color: #ffffff;
  transform: scale(1.06);
}

.pill-divider {
  width: 1px;
  height: 16px;
  background: rgba(217, 177, 95, 0.35);
}

.gold-outline-btn {
  background: rgba(22, 20, 17, 0.86);
  color: var(--gold-light);
  border: 1.5px solid var(--gold-primary);
  border-radius: 999px;
  padding: 9px 20px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.38);
}

.gold-outline-btn:hover {
  background: linear-gradient(135deg, #f3d284 0%, #c8993c 100%);
  color: #161107;
  box-shadow: 0 0 20px rgba(243, 210, 132, 0.6);
}

.back-globe-btn {
  display: none;
}

body[data-stage="4"] .back-globe-btn {
  display: inline-flex;
}

/* =========================================
   SEARCH DROPDOWN
========================================= */
.search-dropdown {
  position: fixed;
  top: 84px;
  right: 42px;
  width: 340px;
  background: rgba(10, 14, 22, 0.94);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 12px;
  z-index: 90;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  display: none;
}

.search-dropdown.open {
  display: block;
}

#search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 177, 95, 0.4);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  outline: none;
}

.search-results {
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}

.search-result-item:hover {
  background: rgba(217, 177, 95, 0.22);
}

/* =========================================
   STAGE LAYERS & TRANSITIONS
========================================= */
.stage-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body[data-stage="1"] .stage-1-layer,
body[data-stage="2"] .stage-2-layer,
body[data-stage="3"] .stage-3-layer,
body[data-stage="4"] .stage-4-layer {
  opacity: 1;
}

/* =========================================
   STAGE 1: ENTER THE WORLD CTA
========================================= */
.stage-1-layer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.enter-world-btn {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1.5px solid #fff2c5;
  background: linear-gradient(180deg, #fae09b 0%, #d7ab54 55%, #b5842b 100%);
  color: #1c1304;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow:
    0 0 35px rgba(245, 206, 118, 0.75),
    0 10px 25px rgba(0, 0, 0, 0.65),
    inset 0 1px 2px rgba(255, 255, 255, 0.85);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

body[data-stage="1"] .enter-world-btn {
  pointer-events: auto;
}

.enter-world-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow:
    0 0 50px rgba(255, 223, 142, 0.95),
    0 14px 32px rgba(0, 0, 0, 0.75),
    inset 0 1px 3px #ffffff;
}

.btn-globe-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   STAGE 2: INTERACTIVE EXPLORATION
========================================= */
/* Left Collapsible Liquid Glass Zoom Toolbar */
.left-globe-toolbar.liquid-glass-left-dock {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 245, 215, 0.06) 50%,
    rgba(10, 15, 26, 0.42) 100%
  );
  border: 1px solid rgba(255, 236, 185, 0.45);
  border-radius: 999px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.55),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px rgba(217, 177, 95, 0.25);
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

body[data-stage="1"] .left-globe-toolbar.liquid-glass-left-dock,
body[data-stage="2"] .left-globe-toolbar.liquid-glass-left-dock {
  pointer-events: auto;
}

/* Collapsed State: tuck cleanly into the far-left screen edge */
.left-globe-toolbar.liquid-glass-left-dock.collapsed {
  transform: translate(calc(-100% - 8px), -50%);
}

/* Toggle Handle Tab attached to Right Edge of Left Toolbar */
.left-dock-toggle-handle {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 52px;
  border-radius: 0 12px 12px 0;
  border: 1px solid rgba(255, 236, 185, 0.48);
  border-left: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(217, 177, 95, 0.18) 50%,
    rgba(12, 18, 30, 0.52) 100%
  );
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  color: #fff6dc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    6px 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.22s ease;
}

.left-dock-toggle-handle:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 243, 205, 0.4) 0%,
    rgba(217, 177, 95, 0.35) 100%
  );
}

.left-dock-chevron {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-light);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.left-globe-toolbar.liquid-glass-left-dock.collapsed .left-dock-chevron {
  transform: rotate(180deg);
}

.tool-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-icon-btn:hover {
  background: rgba(255, 238, 190, 0.25);
  border-color: rgba(255, 240, 195, 0.6);
  color: #fff;
  transform: scale(1.08);
}

/* Interactive Draggable Zoom Slider Track */
.zoom-track {
  width: 16px;
  height: 76px;
  position: relative;
  display: flex;
  justify-content: center;
  cursor: ns-resize;
  touch-action: none;
}

.zoom-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 999px;
  background: rgba(255, 236, 185, 0.25);
}

.zoom-fill {
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 55%;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3c4 0%, #d9ae55 100%);
  box-shadow: 0 0 8px rgba(245, 206, 118, 0.6);
  pointer-events: none;
}

.zoom-thumb {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #fbe49c 65%, #d4a13e 100%);
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 12px var(--gold-primary), 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.zoom-track:hover .zoom-thumb {
  transform: translate(-50%, -50%) scale(1.22);
}

/* Right Collapsible Liquid Glass Countries Drawer */
.countries-sidebar.liquid-glass-drawer {
  position: absolute;
  right: 26px;
  top: 90px;
  bottom: 66px;
  width: 262px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 248, 225, 0.06) 45%,
    rgba(12, 18, 30, 0.36) 100%
  );
  border: 1px solid rgba(255, 236, 185, 0.42);
  border-radius: 20px;
  padding: 12px 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(26px) saturate(190%);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.55),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.45),
    inset 0 -1px 2px rgba(217, 177, 95, 0.25);
  pointer-events: none;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

body[data-stage="2"] .countries-sidebar.liquid-glass-drawer {
  pointer-events: auto;
}

/* Collapsed State — slides smoothly off the right edge, leaving the Liquid Glass Handle visible */
.countries-sidebar.liquid-glass-drawer.collapsed {
  transform: translateX(calc(100% + 14px));
}

/* Side Toggle Tab Handle on Left Edge of Drawer */
.drawer-toggle-handle {
  position: absolute;
  left: -38px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  padding: 16px 6px;
  border-radius: 14px 0 0 14px;
  border: 1px solid rgba(255, 236, 185, 0.48);
  border-right: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(217, 177, 95, 0.16) 50%,
    rgba(14, 20, 34, 0.52) 100%
  );
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow:
    -8px 10px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.55);
  color: #fff6dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.25s ease;
}

.drawer-toggle-handle:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 243, 205, 0.38) 0%,
    rgba(217, 177, 95, 0.32) 100%
  );
  box-shadow:
    -8px 10px 28px rgba(217, 177, 95, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.drawer-chevron {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-light);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.countries-sidebar.liquid-glass-drawer.collapsed .drawer-chevron {
  transform: rotate(180deg);
}

.drawer-toggle-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #fff8e6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.sidebar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.sidebar-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff7df;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.sidebar-collapse-icon-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: #fff6dc;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-collapse-icon-btn:hover {
  background: rgba(245, 206, 118, 0.45);
  color: #140d02;
  transform: scale(1.08);
}

.countries-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.countries-list::-webkit-scrollbar {
  width: 4px;
}
.countries-list::-webkit-scrollbar-thumb {
  background: rgba(255, 238, 195, 0.42);
  border-radius: 4px;
}

/* Liquid Glass Frosted Card (ลิวิตการ์ดใสเบลอ) — Structured 3-Row Flex Layout (No Overlapping!) */
.country-card {
  position: relative;
  min-height: 76px;
  padding: 7px 9px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.07) 55%,
    rgba(217, 177, 95, 0.14) 100%
  );
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.55),
    inset 0 -1px 1px rgba(255, 224, 150, 0.22);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3px;
}

/* Liquid Specular Sheen across Card */
.country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-24deg);
  transition: left 0.55s ease;
  z-index: 2;
  pointer-events: none;
}

.country-card:hover::before {
  left: 125%;
}

.country-card:hover,
.country-card.active {
  transform: translateX(-4px) scale(1.015);
  border-color: rgba(255, 240, 195, 0.88);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.30) 0%,
    rgba(255, 235, 180, 0.16) 60%,
    rgba(217, 177, 95, 0.26) 100%
  );
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.42),
    0 0 18px rgba(245, 212, 135, 0.42),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.8);
}

.country-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  filter: blur(2.5px) saturate(135%) brightness(1.05);
  transition: transform 0.45s ease, opacity 0.35s ease, filter 0.35s ease;
}

.country-card:hover .country-card-bg,
.country-card.active .country-card-bg {
  transform: scale(1.09);
  opacity: 0.52;
  filter: blur(1px) saturate(145%) brightness(1.12);
}

.country-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(16, 22, 36, 0.34) 55%,
    rgba(8, 12, 22, 0.62) 100%
  );
}

.country-card-top-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
}

.country-card-top-left {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.country-card-top-right {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.country-flag-badge {
  font-size: 0.92rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
}

.country-card-title {
  position: relative;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.country-card-sub {
  position: relative;
  z-index: 3;
  font-size: 0.59rem;
  font-weight: 600;
  color: #ffebad;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================
   3D GLOBE HTML PINS & TOOLTIPS
========================================= */
.pins-container {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

.globe-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.25s ease;
}

/* Elevate hovered or active pin far above all other map pins so its tooltip is NEVER covered! */
.globe-pin.active {
  z-index: 80;
}

.globe-pin:hover {
  z-index: 120;
}

.globe-pin.extra-pin {
  z-index: 5;
}

.pin-teardrop {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #fff3c4 0%, #d9ae55 60%, #9c6e1e 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7), 0 0 14px rgba(245, 207, 122, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.globe-pin:hover .pin-teardrop,
.globe-pin.active .pin-teardrop {
  transform: rotate(-45deg) scale(1.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.85), 0 0 24px #ffe49e;
}

.pin-flag {
  transform: rotate(45deg);
  font-size: 0.92rem;
  line-height: 1;
}

.pin-pulse {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(245, 206, 118, 0.55);
  animation: pinPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes pinPulse {
  0% {
    transform: translateX(-50%) scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: translateX(-50%) scale(2.4);
    opacity: 0;
  }
}

/* Cream Callout Card next to Hovered/Selected Pin — Always On Top of Other Pins */
.pin-tooltip {
  position: absolute;
  left: 26px;
  bottom: 14px;
  width: 224px;
  background: linear-gradient(180deg, #fffdf9 0%, #f7edd4 100%);
  border: 1.5px solid #d5a94e;
  border-radius: 11px;
  padding: 9px 11px;
  color: #1c1508;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.8), 0 0 18px rgba(217, 177, 95, 0.35);
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  z-index: 200;
}

/* Show tooltip ONLY on the hovered pin (or active pin when no other pin is hovered) */
.pins-container:not(:has(.globe-pin:hover)) .globe-pin.active .pin-tooltip,
.globe-pin:hover .pin-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tooltip-country {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #231908;
  margin-bottom: 4px;
}

.tooltip-fruit-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #6b4e1b;
}

.tooltip-fruit-thumb {
  width: 34px;
  height: 26px;
  object-fit: cover;
  border-radius: 4px;
}

/* =========================================
   STAGE 3: THE DEPARTURE & JOURNEY HUD
========================================= */
.stage-3-layer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

.flight-hud-card {
  pointer-events: none;
  width: min(370px, 88vw);
  background: rgba(14, 17, 25, 0.88);
  border: 1.5px solid var(--gold-border);
  border-radius: 12px;
  padding: 14px 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(217, 177, 95, 0.2);
  text-align: center;
}

body[data-stage="3"] .flight-hud-card {
  pointer-events: auto;
}

.flight-hud-header {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.flight-hud-header strong {
  color: var(--gold-light);
}

.flight-pct {
  color: var(--gold-primary);
  font-weight: 600;
}

.flight-progress-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.flight-progress-bar {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, #b6852d 0%, #f5d27b 60%, #fff4cf 100%);
  box-shadow: 0 0 12px #f5d27b;
  border-radius: 999px;
  transition: width 0.1s linear;
}

.flight-hud-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.skip-flight-btn {
  margin-left: 8px;
  background: rgba(217, 177, 95, 0.16);
  border: 1px solid rgba(217, 177, 95, 0.45);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
}

.skip-flight-btn:hover {
  background: var(--gold-primary);
  color: #140f04;
}

/* =========================================
   STAGE 4: ARRIVAL PRODUCT SHOWCASE CARD
========================================= */
.stage-4-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
}

.product-showcase-wrapper {
  position: relative;
  width: min(560px, 90vw);
  pointer-events: none;
}

body[data-stage="4"] .product-showcase-wrapper {
  pointer-events: auto;
}

.product-showcase-card {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #23201b 0%, #101114 70%, #090a0d 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 26px 32px 38px;
  text-align: center;
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.82),
    0 0 35px rgba(217, 177, 95, 0.22),
    inset 0 1px 1px rgba(255, 238, 190, 0.25);
}

.card-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(217, 177, 95, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-close-btn:hover {
  background: var(--gold-primary);
  color: #120d02;
}

.product-visual-box {
  position: relative;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.product-glow {
  position: absolute;
  width: 260px;
  height: 180px;
  background: radial-gradient(circle, rgba(242, 198, 92, 0.28) 0%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
}

.product-hero-img {
  max-height: 235px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.85));
  transition: transform 0.45s ease;
}

.product-showcase-card:hover .product-hero-img {
  transform: scale(1.03);
}

.product-title {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 8px;
}

.product-subtitle {
  font-size: 0.83rem;
  color: #d8ceb8;
  margin-bottom: 4px;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 500;
}

.product-cta-wrapper {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.card-gmap-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  background: rgba(14, 17, 25, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

.header-gmap-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(217, 177, 95, 0.18);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.22s ease;
}

.header-gmap-btn:hover {
  background: var(--gold-primary);
  color: #161004;
  box-shadow: 0 0 14px rgba(217, 177, 95, 0.65);
}

.card-gmap-mini-btn {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 240, 195, 0.55);
  color: #fff8e2;
  font-size: 0.54rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.card-gmap-mini-btn:hover {
  background: var(--gold-primary);
  color: #140e02;
}

.tooltip-gmap-btn {
  margin-top: 5px;
  width: 100%;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #b5842b;
  background: linear-gradient(180deg, #fae09b 0%, #d8ab50 100%);
  color: #1e1404;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: filter 0.2s ease;
}

.tooltip-gmap-btn:hover {
  filter: brightness(1.08);
}

/* =========================================
   GOOGLE MAPS SATELLITE & ORIGIN MODAL
========================================= */
.gmap-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gmap-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.gmap-modal-card {
  position: relative;
  width: min(860px, 94vw);
  max-height: 90vh;
  background: linear-gradient(180deg, #151923 0%, #0b0d13 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(217, 177, 95, 0.22);
}

.gmap-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-right: 36px;
  flex-wrap: wrap;
}

.gmap-title-group h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 3px;
}

.gmap-coords-text {
  font-size: 0.74rem;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.gmap-type-toggle {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(217, 177, 95, 0.35);
}

.gmap-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gmap-mode-btn.active {
  background: linear-gradient(135deg, #f6d78b 0%, #c8983b 100%);
  color: #171003;
}

.gmap-locations-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 4px;
}

.gmap-loc-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 177, 95, 0.4);
  color: var(--text-light);
  border-radius: 999px;
  padding: 5px 13px;
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gmap-loc-chip:hover {
  border-color: var(--gold-light);
  background: rgba(217, 177, 95, 0.16);
}

.gmap-loc-chip.active {
  background: rgba(217, 177, 95, 0.28);
  border-color: var(--gold-light);
  color: #fff5d6;
  box-shadow: 0 0 12px rgba(217, 177, 95, 0.4);
}

.gmap-iframe-container {
  width: 100%;
  height: 410px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(217, 177, 95, 0.5);
  background: #090c12;
  position: relative;
}

#gmap-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gmap-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
}

/* =========================================
   VISITOR ANALYTICS & SECURITY LOG TABLE
========================================= */
.visitor-kpi-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.visitor-kpi-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 177, 95, 0.45);
  border-radius: 10px;
  padding: 6px 14px;
  text-align: center;
  min-width: 110px;
}

.visitor-kpi-box span {
  display: block;
  font-size: 0.64rem;
  color: var(--text-muted);
}

.visitor-kpi-box strong {
  font-size: 1.05rem;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.visitor-table-wrapper {
  width: 100%;
  max-height: 350px;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid rgba(217, 177, 95, 0.35);
  background: rgba(6, 9, 15, 0.85);
}

.visitor-log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  text-align: left;
}

.visitor-log-table th {
  position: sticky;
  top: 0;
  background: #161b26;
  color: var(--gold-light);
  padding: 9px 10px;
  font-weight: 700;
  border-bottom: 1px solid rgba(217, 177, 95, 0.4);
}

.visitor-log-table td {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5dec9;
  font-variant-numeric: tabular-nums;
}

.visitor-log-table tr:hover td {
  background: rgba(217, 177, 95, 0.12);
}

.gold-pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: 999px;
  border: 1.5px solid #fff3c8;
  background: linear-gradient(180deg, #fce39d 0%, #d8ac53 55%, #b8872d 100%);
  color: #1b1203;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.65),
    0 0 25px rgba(244, 206, 118, 0.65);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gold-pill-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.75),
    0 0 36px rgba(255, 224, 143, 0.95);
}

/* =========================================
   VIP CONCIERGE ORDER MODAL
========================================= */
.concierge-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(3, 5, 10, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.concierge-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.concierge-modal-card {
  position: relative;
  width: min(460px, 90vw);
  background: linear-gradient(180deg, #171a22 0%, #0d0f15 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

.concierge-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(217, 177, 95, 0.15);
  border: 1px solid rgba(217, 177, 95, 0.45);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.concierge-modal-card h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}

.modal-price {
  color: var(--gold-light);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.modal-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(217, 177, 95, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: left;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.spec-item span {
  color: var(--text-muted);
}

.spec-item strong {
  color: #fff;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================
   BOTTOM HUD & STAGE STORYBOARD SWITCHER
========================================= */
.bottom-hud {
  position: fixed;
  bottom: 28px;
  left: 42px;
  right: 42px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.stage-status-label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.stage-switcher-pills {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 13, 20, 0.82);
  border: 1px solid rgba(217, 177, 95, 0.4);
  border-radius: 999px;
  padding: 4px 6px;
  backdrop-filter: blur(10px);
}

.stage-dot {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.stage-dot:hover {
  color: #fff;
}

.stage-dot.active {
  background: linear-gradient(135deg, #f5d68a 0%, #c8983b 100%);
  color: #191204;
  box-shadow: 0 0 12px rgba(245, 214, 138, 0.5);
}

@media (max-width: 900px) {
  .countries-sidebar {
    width: 155px;
    right: 24px;
  }
  .left-globe-toolbar {
    left: 24px;
  }
  .top-header,
  .bottom-hud {
    left: 24px;
    right: 24px;
  }
  .header-location-pill {
    display: none;
  }
}
