.virtual-tour-menu {
  --vt-cyan: #40e0ff;
  --vt-cyan-soft: rgba(64, 224, 255, 0.22);
  --vt-panel: rgba(4, 16, 35, 0.86);
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  color: #fff;
  overflow: hidden;
}

.virtual-tour-menu::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% 5%;
  background: radial-gradient(circle at center, rgba(17, 119, 164, 0.2), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.vt-menu-heading {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto 2.25rem;
  text-align: center;
}

.vt-menu-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--vt-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.vt-menu-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
}

.vt-menu-heading p:last-child {
  margin: 0.7rem auto 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.vt-carousel {
  width: min(1180px, 100%);
  margin: 0 auto;
  outline: none;
}

.vt-carousel:focus-visible {
  outline: 2px solid var(--vt-cyan);
  outline-offset: 8px;
  border-radius: 28px;
}

.vt-stage {
  position: relative;
  height: clamp(480px, 54vw, 610px);
  perspective: 1350px;
  transform-style: preserve-3d;
  touch-action: pan-y;
  user-select: none;
}

.vt-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 48px));
  height: clamp(440px, 50vw, 540px);
  overflow: hidden;
  border: 1px solid rgba(64, 224, 255, 0.28);
  border-radius: 28px;
  background: var(--vt-panel);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translate(-50%, -50%) translateZ(-360px) scale(0.64);
  transition: transform 620ms cubic-bezier(0.22, 0.78, 0.22, 1), opacity 420ms ease, filter 420ms ease;
  pointer-events: none;
  filter: saturate(0.45) brightness(0.65);
}

.vt-card[data-position="0"] {
  z-index: 5;
  opacity: 1;
  transform: translate(-50%, -50%) translateZ(80px) scale(1);
  pointer-events: auto;
  filter: none;
  border-color: var(--vt-cyan);
  box-shadow: 0 0 22px var(--vt-cyan-soft), 0 0 70px rgba(20, 178, 225, 0.18), 0 22px 70px rgba(0, 0, 0, 0.54);
}

.vt-card[data-position="-1"],
.vt-card[data-position="1"] {
  z-index: 3;
  opacity: 0.72;
  pointer-events: auto;
  cursor: pointer;
}

.vt-card[data-position="-1"] {
  transform: translate(-50%, -50%) translateX(-75%) rotateY(54deg) translateZ(-115px) scale(0.82);
}

.vt-card[data-position="1"] {
  transform: translate(-50%, -50%) translateX(75%) rotateY(-54deg) translateZ(-115px) scale(0.82);
}

.vt-card[data-position="-2"],
.vt-card[data-position="2"] {
  z-index: 1;
  opacity: 0.22;
}

.vt-card[data-position="-2"] {
  transform: translate(-50%, -50%) translateX(-118%) rotateY(68deg) translateZ(-290px) scale(0.66);
}

.vt-card[data-position="2"] {
  transform: translate(-50%, -50%) translateX(118%) rotateY(-68deg) translateZ(-290px) scale(0.66);
}

.vt-card-cover {
  position: relative;
  height: 49%;
  min-height: 205px;
  background-position: center;
  background-size: cover;
}

.vt-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, var(--vt-panel) 100%);
}

.vt-location-code,
.vt-status {
  position: absolute;
  z-index: 1;
  top: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.vt-location-code {
  left: 1rem;
  color: var(--vt-cyan);
  background: rgba(2, 13, 28, 0.78);
  border: 1px solid rgba(64, 224, 255, 0.4);
}

.vt-status {
  right: 1rem;
  color: #bafbe0;
  background: rgba(12, 67, 52, 0.78);
}

.vt-status::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.38rem;
  border-radius: 50%;
  background: #63f0b3;
  box-shadow: 0 0 8px #63f0b3;
}

.vt-card.is-disabled .vt-status {
  color: #ffe09e;
  background: rgba(76, 55, 16, 0.82);
}

.vt-card.is-disabled .vt-status::before {
  background: #ffc85c;
  box-shadow: 0 0 8px #ffc85c;
}

.vt-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.6rem 1.5rem 1.5rem;
  text-align: left;
}

.vt-card-content h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
}

.vt-card-name-en {
  min-height: 2.6em;
  margin: 0.25rem 0 0;
  color: var(--vt-cyan);
  font-size: 0.76rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vt-card-description {
  margin: 0.75rem 0 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.55;
}

.vt-visit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0.65rem 1rem;
  border: 1px solid var(--vt-cyan);
  border-radius: 12px;
  color: #04111e;
  background: var(--vt-cyan);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(64, 224, 255, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.vt-visit-button:hover,
.vt-visit-button:focus-visible {
  color: #04111e;
  background: #8aecff;
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(64, 224, 255, 0.38);
}

.vt-visit-button[aria-disabled="true"] {
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  pointer-events: none;
}

.vt-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.vt-nav-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 0;
  border: 1px solid rgba(64, 224, 255, 0.55);
  border-radius: 50%;
  color: var(--vt-cyan);
  background: rgba(4, 20, 38, 0.82);
  font-size: 1.5rem;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.vt-nav-button:hover,
.vt-nav-button:focus-visible {
  color: #051322;
  background: var(--vt-cyan);
  transform: scale(1.06);
}

.vt-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.vt-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(64, 224, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(64, 224, 255, 0.18);
  transition: width 240ms ease, border-radius 240ms ease, background 240ms ease;
}

.vt-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--vt-cyan);
  box-shadow: 0 0 12px rgba(64, 224, 255, 0.75);
}

.vt-loading,
.vt-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

@media (max-width: 767.98px) {
  .virtual-tour-menu {
    padding-block: 3.5rem;
  }

  .vt-stage {
    height: 510px;
  }

  .vt-card {
    height: 470px;
  }

  .vt-card[data-position="-1"] {
    opacity: 0.28;
    transform: translate(-50%, -50%) translateX(-82%) rotateY(58deg) translateZ(-180px) scale(0.72);
  }

  .vt-card[data-position="1"] {
    opacity: 0.28;
    transform: translate(-50%, -50%) translateX(82%) rotateY(-58deg) translateZ(-180px) scale(0.72);
  }

  .vt-card[data-position="-2"],
  .vt-card[data-position="2"] {
    opacity: 0;
  }

  .vt-card-content {
    padding-inline: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vt-card,
  .vt-dot,
  .vt-nav-button,
  .vt-visit-button {
    transition-duration: 1ms !important;
  }
}
