/* Entry stylesheet. Keep import order to preserve the existing cascade. */
@import url("../styles/base.css");
@import url("../features/home/home.css");
@import url("../features/tour/tour.css");
@import url("../features/tour/scene-strip.css");
@import url("../styles/utilities.css");
@import url("../features/tour/hotspots.css");
@import url("../features/tour/stele-dialog.css");
@import url("../features/tour/stele-regions.css");
@import url("../features/tour/tour-controls.css");

@import url("../features/map/map.css");

/* Match the glass controls across the home, map and tour headers. */
/* Cùng kiểu kính với các nút trong tour (website3d360): gradient trắng mờ, viền trắng, bóng nhiều lớp. */
.home-stage .home-tools, .atlas-tools {
  display: flex; align-items: center; gap: 0;
  border: 1px solid #ffffffb3; border-radius: 18px;
  background: linear-gradient(145deg, #ffffff7a, #ffffff24 48%, #ffffff4d), #153a342b;
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1.5px 1.5px #ffffffe6, inset 0 -1px 1px #ffffff33, 0 4px 8px #00000033,
    0 12px 28px -3px #00000075, 0 20px 38px -4px #00120c5c;
}
.home-stage .home-tools :is(.home-language,.home-tool,.home-volume-button),
.atlas-tools :is(.atlas-language,.atlas-home) {
  min-width: 50px; min-height: 48px; padding: 0 12px;
  justify-content: center; color: white; background: transparent;
  border: 0; border-radius: 12px; box-shadow: none; backdrop-filter: none;
}
.home-stage .home-tools :is(.home-language,.home-tool,.home-volume-button):hover,
.atlas-tools :is(.atlas-language,.atlas-home):hover { background: #ffffff30; }
:is(.home-tools,.atlas-tools) [data-language-toggle] svg { display: none; }
:is(.home-tools,.atlas-tools) [data-language-code] {
  display: grid; place-items: center; width: 30px; height: 21px;
  border: 2px solid white; background: #244e81; color: white; font-size: 11px;
}
:root[lang="vi"] :is(.home-tools,.atlas-tools) [data-language-code] {
  background: #da251d; color: transparent; font-size: 0;
}
:root[lang="vi"] :is(.home-tools,.atlas-tools) [data-language-code]::after {
  content: '★'; color: #ffdf00; font-size: 16px; line-height: 1;
}
.home-cta[data-await-reveal] { visibility: hidden; }

.atlas-controls button {
  border-color: #ffffff73; color: white; background: #3037386b;
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 2px #fffd, 0 8px 24px #0006;
}
.atlas-controls button:enabled:hover { background: #30373899; }

.atlas-tools { gap: 8px; background: transparent; backdrop-filter: none; box-shadow: none; }
.atlas-tools :is(.atlas-language,.atlas-home) {
  background: #3037386b;
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 2px #fffd, 0 6px 16px #0004;
}
.atlas-tools :is(.atlas-language,.atlas-home):hover { background: #30373899; }

/* Nút "Bắt đầu hành trình khám phá": giữ quầng mint, nền kính giống các nút khác. */
.home-cta {
  border-color: #ffffffb3;
  background: linear-gradient(145deg, #ffffff6b, #ffffff1f 48%, #ffffff42), #153a342b;
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1.5px 1.5px #ffffffe6, inset 0 -1px 1px #ffffff33, 0 0 18px #a4efc580,
    0 10px 24px -2px #0000006b;
}
.home-cta:hover {
  background: linear-gradient(145deg, #ffffffa1, #ffffff38 48%, #ffffff66), #153a3430;
  box-shadow: inset 0 1.5px 2px #fff, inset 0 -1px 1px #ffffff4d, 0 0 24px #a4efc5b0, 0 14px 30px -2px #0000008c;
}
