/* dulich3d.com — Design System */
:root {
  /* Brand */
  --color-primary: #0EA5E9;        /* Sky blue — khám phá */
  --color-primary-dark: #0284C7;
  --color-primary-light: #E0F2FE;
  --color-secondary: #F97316;      /* Coral — CTA */
  --color-secondary-dark: #EA580C;
  --color-secondary-light: #FFEDD5;
  --color-accent: #14B8A6;         /* Teal */
  --color-accent-light: #CCFBF1;

  /* Neutrals */
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-surface-elevated: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text: #0F172A;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;

  /* Vehicles */
  --color-plane: #3B82F6;
  --color-plane-bg: #DBEAFE;
  --color-car: #F97316;
  --color-car-bg: #FFEDD5;
  --color-moto: #A855F7;
  --color-moto-bg: #F3E8FF;
  --color-walk: #22C55E;
  --color-walk-bg: #DCFCE7;

  /* Status */
  --color-success: #22C55E;
  --color-warning: #EAB308;
  --color-error: #EF4444;
  --color-info: #0EA5E9;

  /* HUD / overlay */
  --color-hud-bg: rgba(15, 23, 42, 0.72);
  --color-hud-text: #FFFFFF;

  /* Typography */
  --font-sans: "Be Vietnam Pro", "Nunito", system-ui, sans-serif;
  --font-display: "Quicksand", "Be Vietnam Pro", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 24px rgba(14, 165, 233, 0.35);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --header-h: 72px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  color: var(--color-text);
}
p { margin: 0 0 var(--space-4); color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
  gap: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}
.logo-mark {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: grid; place-items: center;
  color: white;
  box-shadow: var(--shadow-glow);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav a {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-weight: 500;
  text-decoration: none;
  transition: 0.15s;
}
.nav a:hover, .nav a.active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  text-decoration: none;
}
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.btn-login-google {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: white;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  text-decoration: none;
}
.btn-login-google:hover { background: var(--color-bg); text-decoration: none; }
.menu-toggle {
  display: none;
  border: none; background: transparent;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--color-text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #38BDF8);
  color: white;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(14, 165, 233, 0.45); color: white; }
.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary), #FB923C);
  color: white;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}
.btn-secondary:hover { color: white; }
.btn-outline {
  background: white;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary-dark); background: var(--color-primary-light); }
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding: 10px 16px;
}
.btn-ghost:hover { background: var(--color-bg); color: var(--color-text); }
.btn-lg { padding: 18px 36px; font-size: var(--text-xl); }
.btn-sm { padding: 8px 16px; font-size: var(--text-sm); }
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: var(--radius-full);
}
.btn-icon.sm { width: 40px; height: 40px; }

/* ===== Cards ===== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  position: relative;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--space-5); }
.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.card-meta {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  display: flex; gap: var(--space-3); flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}
.badge-soon {
  background: #FEF3C7;
  color: #B45309;
}
.badge-vn {
  background: var(--color-accent-light);
  color: #0F766E;
}

/* ===== Search ===== */
.search-box {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 10px 10px 10px 20px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--text-lg);
  font-family: var(--font-sans);
  background: transparent;
  color: var(--color-text);
  min-width: 0;
}
.search-box input::placeholder { color: var(--color-text-light); }
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 50;
}
.search-suggestions button {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border: none; background: white;
  text-align: left;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  cursor: pointer;
  color: var(--color-text);
}
.search-suggestions button:hover { background: var(--color-primary-light); }
.search-suggestions .muted { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ===== Vehicle chips ===== */
.vehicle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.15s;
}
.vehicle-chip.plane { background: var(--color-plane-bg); color: var(--color-plane); }
.vehicle-chip.car { background: var(--color-car-bg); color: var(--color-car); }
.vehicle-chip.moto { background: var(--color-moto-bg); color: var(--color-moto); }
.vehicle-chip.walk { background: var(--color-walk-bg); color: var(--color-walk); }
.vehicle-chip.selected, .vehicle-chip:hover {
  border-color: currentColor;
  transform: translateY(-1px);
}

.vehicle-card {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}
.vehicle-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vehicle-card.selected {
  border-width: 3px;
  box-shadow: var(--shadow-lg);
}
.vehicle-card.plane.selected, .vehicle-card.plane:hover { border-color: var(--color-plane); }
.vehicle-card.car.selected, .vehicle-card.car:hover { border-color: var(--color-car); }
.vehicle-card.moto.selected, .vehicle-card.moto:hover { border-color: var(--color-moto); }
.vehicle-card.walk.selected, .vehicle-card.walk:hover { border-color: var(--color-walk); }
.vehicle-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-xl);
  display: grid; place-items: center;
  margin: 0 auto var(--space-4);
  font-size: 32px;
}
.vehicle-card.plane .vehicle-icon { background: var(--color-plane-bg); color: var(--color-plane); }
.vehicle-card.car .vehicle-icon { background: var(--color-car-bg); color: var(--color-car); }
.vehicle-card.moto .vehicle-icon { background: var(--color-moto-bg); color: var(--color-moto); }
.vehicle-card.walk .vehicle-icon { background: var(--color-walk-bg); color: var(--color-walk); }

/* ===== HUD ===== */
.hud {
  position: absolute;
  z-index: 20;
  pointer-events: none;
}
.hud > * { pointer-events: auto; }
.hud-panel {
  background: var(--color-hud-bg);
  backdrop-filter: blur(12px);
  color: var(--color-hud-text);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
}
.hud-label { font-size: var(--text-xs); opacity: 0.75; margin-bottom: 2px; }
.hud-value { font-weight: 600; font-size: var(--text-base); }
.tour-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-hud-bg);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
}
.tour-controls .ctrl-btn {
  width: 52px; height: 52px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: grid; place-items: center;
  transition: 0.15s;
}
.tour-controls .ctrl-btn:hover { background: rgba(255,255,255,0.28); }
.tour-controls .ctrl-btn.primary {
  width: 64px; height: 64px;
  background: var(--color-secondary);
}
.tour-controls .ctrl-btn.primary:hover { background: var(--color-secondary-dark); }
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: inherit;
}

/* ===== Modal / Toast ===== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-6);
}
.modal {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-body { padding: var(--space-6); }
.modal-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-border);
  display: flex; gap: var(--space-3); justify-content: flex-end;
}
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 300;
  background: var(--color-text);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
  max-width: 360px;
}
.toast.success { background: #166534; }
.toast.warning { background: #854D0E; }
.toast.error { background: #991B1B; }

/* ===== Footer ===== */
.site-footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-16);
}
.site-footer a { color: #94A3B8; }
.site-footer a:hover { color: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
.footer-brand .logo { color: white; margin-bottom: var(--space-4); }
.footer-col h4 { color: white; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: var(--space-6);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4);
  font-size: var(--text-sm);
  color: #64748B;
}

/* ===== Section helpers ===== */
.section { padding: var(--space-16) 0; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-10);
}
.section-header h2 { font-size: var(--text-3xl); }
.section-header p { font-size: var(--text-lg); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.filter-chip {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: white;
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
}
.filter-chip.active, .filter-chip:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* ===== Admin ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: #0F172A;
  color: #CBD5E1;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
}
.admin-sidebar .logo { color: white; margin-bottom: var(--space-8); }
.admin-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: #94A3B8;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(14, 165, 233, 0.15);
  color: #7DD3FC;
  text-decoration: none;
}
.admin-main { background: var(--color-bg); }
.admin-topbar {
  height: 64px;
  background: white;
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-6);
}
.admin-content { padding: var(--space-6); }
.stat-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.stat-card .stat-value { font-size: var(--text-3xl); font-weight: 700; font-family: var(--font-display); }
.stat-card .stat-label { color: var(--color-text-muted); font-size: var(--text-sm); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.data-table th {
  background: #F1F5F9;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
}
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  background: white;
  color: var(--color-text);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.form-textarea { min-height: 100px; resize: vertical; }

/* ===== Globe / map placeholders ===== */
.globe-canvas, .cesium-container {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #1e3a5f 0%, #0B1220 70%);
}
.map-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(14,165,233,0.15), transparent 40%),
    radial-gradient(ellipse at 50% 55%, #1d4ed8 0%, #0f172a 70%);
  position: relative;
  overflow: hidden;
}
.map-placeholder .fake-globe {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(70vmin, 520px);
  height: min(70vmin, 520px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.25), transparent 40%),
    linear-gradient(160deg, #0ea5e9 0%, #14b8a6 35%, #22c55e 55%, #0ea5e9 100%);
  box-shadow:
    inset -40px -20px 60px rgba(0,0,0,0.35),
    0 0 80px rgba(14,165,233,0.4);
  animation: spin-slow 60s linear infinite;
}
@keyframes spin-slow { to { transform: translate(-50%, -50%) rotate(360deg); } }
.map-attribution {
  position: absolute;
  bottom: 8px; right: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.35);
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 10;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn-lg { padding: 16px 24px; font-size: var(--text-lg); width: 100%; }
  .header-actions .btn-login-google span.hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: var(--space-10) 0; }
  .tour-controls .ctrl-btn { width: 44px; height: 44px; }
  .tour-controls .ctrl-btn.primary { width: 56px; height: 56px; }
}

/* screenshot tweaks */
@media (max-width: 768px) {
  .hud-top { gap: 8px !important; }
  .hud-panel { padding: 10px 12px !important; }
  .hud-value { font-size: 0.9rem !important; }
}


/* ===== Hero 3D full-bleed (Cesium nền) ===== */
.hero-3d {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Flat match to Cesium backgroundColor — avoids vertical wash/seam */
  background: #E0F2FE;
}
.hero-3d-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}
.hero-3d-stage #hero-cesium,
.hero-3d-stage .cesium-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: transparent !important;
  /* Right-bias via camera.moveLeft in hero-3d.js — keep canvas full-bleed (no seam) */
}
.hero-3d.is-live .hero-3d-stage #hero-cesium,
.hero-3d.is-live .hero-3d-stage .cesium-container {
  opacity: 1;
}
.hero-3d-stage .cesium-viewer,
.hero-3d-stage .cesium-viewer-cesiumWidgetContainer,
.hero-3d-stage .cesium-widget {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
.hero-3d-stage .cesium-widget canvas {
  width: 100% !important;
  height: 100% !important;
  /* Extra punch on top of imagery grade — deeper ocean / richer land */
  filter: saturate(1.12) contrast(1.08) brightness(1.0);
}
.hero-3d-stage .cesium-viewer-bottom,
.hero-3d-stage .cesium-credit-logoContainer,
.hero-3d-stage .cesium-credit-textContainer {
  display: none !important;
}
.hero-3d-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.hero-3d.is-live .hero-3d-poster {
  opacity: 0;
  pointer-events: none;
}
.hero-3d-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* Soft blend under card only — no wash / seam over globe */
  background:
    linear-gradient(90deg,
      rgba(224,242,254,0.22) 0%,
      rgba(224,242,254,0.06) 26%,
      transparent 40%);
}
.hero-3d .hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 560px) 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--space-6);
  position: relative;
  z-index: 3;
}
.hero-3d .hero-content {
  position: relative;
  padding: 28px 28px 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(255,255,255,0.85);
}
.hero-3d .hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}
.hero-3d .lead { font-size: 1.15rem; margin-bottom: 28px; color: var(--color-text-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-3d-attrib {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 4;
  font-size: 11px;
  color: #475569;
  background: rgba(255,255,255,0.75);
  padding: 3px 8px;
  border-radius: 6px;
  pointer-events: none;
}
/* legacy circular globe (other pages may still reference) */
.hero-bright {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(56, 189, 248, 0.35), transparent 55%),
    linear-gradient(165deg, #F0F9FF 0%, #E0F2FE 40%, #F0FDFA 75%, #FFF7ED 100%);
}
.hero-bright .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px var(--space-6);
  position: relative;
  z-index: 2;
}
.hero-bright .hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}
.hero-bright .lead { font-size: 1.2rem; margin-bottom: 28px; color: var(--color-text-muted); }
.globe-frame {
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.85),
    0 0 0 14px rgba(14,165,233,0.25),
    0 24px 60px rgba(14,165,233,0.28);
  background: #E0F2FE;
}
.globe-frame #hero-cesium,
.globe-frame .cesium-container,
.globe-frame .map-placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%;
}
.globe-frame .cesium-viewer,
.globe-frame .cesium-viewer-cesiumWidgetContainer,
.globe-frame .cesium-widget,
.globe-frame .cesium-widget canvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
}
.globe-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}
@media (max-width: 900px) {
  .hero-3d-poster { object-position: center; }
  .hero-3d .hero-grid,
  .hero-bright .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 36px var(--space-6); }
  .hero-3d .hero-content { padding: 22px 18px; }
  .hero-ctas { justify-content: center; }
  .hero-ctas .btn { width: 100%; max-width: 360px; }
  .globe-frame { width: min(100%, 320px); }
  .hero-3d-overlay {
    background:
      linear-gradient(180deg,
        rgba(255,255,255,0.55) 0%,
        rgba(240,249,255,0.28) 28%,
        transparent 62%);
  }
}

/* Explore / tour cesium bright clear */
.cesium-container, #explore-cesium, #tour-cesium {
  background: #E0F2FE !important;
}
#hero-cesium.cesium-container, .hero-3d-stage .cesium-container {
  background: transparent !important;
}
