@font-face {
  font-family: 'Raleway';
  src: url('/font/Raleway-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway';
  src: url('/font/Raleway-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  flex-direction: column;
}

/* Header Compacto */
.header-compact {
  background: linear-gradient(135deg, #087D6F 0%, #055d52 50%, #02231E 100%);
  box-shadow: 0 8px 32px rgba(2, 35, 30, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  container: inline-size;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.125rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.header-logo {
  height: 3.5rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)) brightness(1.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.header-logo:hover {
  transform: scale(1.02);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 1.75rem 2rem;
  background: linear-gradient(to bottom, rgba(240, 232, 225, 0.3), transparent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .container {
  width: 100%;
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #02231E;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-divider {
  width: 65px;
  height: 3px;
  background: linear-gradient(90deg, #087D6F, #C45F08);
  border-radius: 2px;
  margin: 0 auto 0.75rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4a5568;
  font-weight: 400;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Main Content */
#homeScreen {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

@media (max-width: 768px) {
  .header-logo {
    height: 2.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }
}

.amenity-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: none;
  border-radius: 22px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  height: 100%;
  min-height: 165px;
  max-height: 185px;
  min-width: 225px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.amenity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, #087D6F, #C45F08);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.amenity-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%),
    rgba(8, 125, 111, 0.3) 0%,
    transparent 50%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  pointer-events: none;
}

.amenity-card.ripple::after {
  opacity: 1;
  transform: scale(2.5);
}

.amenity-card:active::before,
.amenity-card.active::before {
  opacity: 1;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1.5rem 1.25rem;
  z-index: 1;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 17px;
  background: linear-gradient(135deg, #087D6F 0%, #0a9484 100%);
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(8, 125, 111, 0.25);
}

.amenity-card:active .icon-wrapper,
.amenity-card.active .icon-wrapper {
  transform: scale(1.15) translateY(-6px);
  background: linear-gradient(135deg, #C45F08 0%, #d66d0f 100%);
  box-shadow: 0 12px 32px rgba(196, 95, 8, 0.35);
}

.card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #02231E;
  text-align: center;
  transition: all 0.4s ease;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.amenity-card:active .card-title,
.amenity-card.active .card-title {
  color: #C45F08;
  transform: translateY(-2px);
}

.card-accent {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C45F08, transparent);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px 2px 0 0;
}

.amenity-card:active .card-accent,
.amenity-card.active .card-accent {
  transform: translateX(-50%) scaleX(1);
}

.amenity-card:active,
.amenity-card.active {
  transform: translateY(-10px) scale(1.05);
  box-shadow:
    0 24px 48px rgba(8, 125, 111, 0.2),
    0 12px 24px rgba(196, 95, 8, 0.15);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 35, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg,
    rgba(240, 232, 225, 0.95) 0%,
    rgba(255, 255, 255, 0.95) 0%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  width: 90vw;
  max-width: 1100px;
  height: 85vh;
  max-height: 85vh;
  padding: 3rem;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(8, 125, 111, 0.3),
    transparent);
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #C45F08 0%, #d66d0f 100%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(196, 95, 8, 0.3);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.close-btn:active {
  background: linear-gradient(135deg, #02231E 0%, #087D6F 100%);
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 12px 32px rgba(2, 35, 30, 0.4);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #087D6F;
  border: 2px solid rgba(8, 125, 111, 0.2);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-btn-left {
  left: 0.5rem;
}

.nav-btn-right {
  right: 0.5rem;
}

.nav-btn:active {
  background: linear-gradient(135deg, #087D6F 0%, #0a9484 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 12px 32px rgba(8, 125, 111, 0.3);
}

.nav-btn-left:active {
  transform: translateY(-50%) scale(1.2) translateX(-6px);
}

.nav-btn-right:active {
  transform: translateY(-50%) scale(1.2) translateX(6px);
}

.modal-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-inner.slide-out {
  opacity: 0;
  transform: translateX(-40px);
}

.modal-inner.slide-in {
  opacity: 0;
  transform: translateX(40px);
}

.image-container {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 45vh;
  min-height: 280px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  cursor: pointer;
  background: #e5e7eb;
}

/* Image Skeleton Loader */
.image-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #e0e0e0 0%,
    #f0f0f0 50%,
    #e0e0e0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 24px;
  z-index: 2;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.image-skeleton.hidden {
  display: none;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(8, 125, 111, 0.1) 0%,
    rgba(196, 95, 8, 0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  transition: transform 0.3s ease, opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.modal-image.loaded {
  opacity: 1;
  animation: fadeInImage 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInImage {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.image-container:active .modal-image {
  transform: scale(0.98);
}

/* Image Zoom Badge */
.image-zoom-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #087D6F, #0a9484);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(8, 125, 111, 0.4);
  transition: all 0.2s ease;
  z-index: 5;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  animation: badge-pulse 2s ease-in-out infinite;
}

.image-zoom-badge:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(8, 125, 111, 0.3);
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(8, 125, 111, 0.4);
  }
  50% {
    box-shadow: 0 6px 24px rgba(8, 125, 111, 0.6);
  }
}

/* Photo Dots Indicator */
.photo-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
}

.photo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.photo-dot.active {
  background: #C45F08;
  width: 24px;
  border-radius: 4px;
}

/* Photo Badge */
.photo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 125, 111, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 5;
  display: none;
}

.photo-badge.visible {
  display: block;
}

/* Image Fullscreen Viewer */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-viewer.active {
  display: flex;
  opacity: 1;
}

.image-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 35, 30, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.image-viewer-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: #02231E;
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.image-viewer-close svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.5;
}

.image-viewer-close:active {
  transform: scale(1.1) rotate(90deg);
  background: linear-gradient(135deg, #C45F08, #d66d0f);
  color: white;
}

.image-viewer-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  touch-action: pan-x pan-y pinch-zoom;
}

.fullscreen-image-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-skeleton {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(90deg,
    rgba(224, 224, 224, 0.3) 0%,
    rgba(240, 240, 240, 0.5) 50%,
    rgba(224, 224, 224, 0.3) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 16px;
  z-index: 1;
}

.fullscreen-skeleton.hidden {
  display: none;
}

.fullscreen-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center center;
  opacity: 0;
  z-index: 2;
}

.fullscreen-image.loaded {
  opacity: 1;
}

.zoom-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  animation: zoom-hint-bounce 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes zoom-hint-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Fullscreen Photo Badge */
.fullscreen-photo-badge {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 125, 111, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  z-index: 11;
  display: none;
}

.fullscreen-photo-badge.visible {
  display: block;
}

/* Image Navigation Buttons */
.image-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: white;
  border: none;
  width: 88px;
  height: 88px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 11;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.image-nav-btn.visible {
  display: flex;
}

.image-nav-btn svg {
  width: 48px;
  height: 48px;
  stroke-width: 3;
}

.image-nav-left {
  left: 2rem;
}

.image-nav-right {
  right: 2rem;
}

.image-nav-btn:active {
  color: #C45F08;
  transform: translateY(-50%) scale(1.2);
  filter: drop-shadow(0 6px 16px rgba(196, 95, 8, 0.6));
}

/* Fullscreen Photo Dots */
.fullscreen-photo-dots {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 0.75rem;
  z-index: 11;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
}

.fullscreen-photo-dots.visible {
  display: flex;
}

.fullscreen-photo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.fullscreen-photo-dot.active {
  background: #C45F08;
  width: 28px;
  border-radius: 5px;
}

/* Tabs Container - Dynamic Indicator */
.tabs-container {
  width: 100%;
  max-width: 90%;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  animation: fadeInContent 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: rgba(2, 35, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.tab {
  display: none;
}

.tab.active {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  animation: fadeInContent 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  justify-content: center;
}

.tab-menu-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.tab-menu-btn:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

.tab-menu-btn svg {
  width: 18px;
  height: 18px;
}

.tab-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.tab-dot.active {
  background: #C45F08;
  width: 24px;
  border-radius: 4px;
}

@keyframes tabActivate {
  from {
    transform: translateY(0) scale(0.95);
    opacity: 0.7;
  }
  to {
    transform: translateY(-2px) scale(1);
    opacity: 1;
  }
}

/* Area Selector Overlay */
.area-selector-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.area-selector-overlay.active {
  display: flex;
  opacity: 1;
}

.area-selector-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 35, 30, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.area-selector-content {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  max-height: 85vh;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-selector-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #087D6F 0%, #055d52 50%, #02231E 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.area-selector-header h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.area-selector-close {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.area-selector-close:active {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0.95);
}

.area-selector-close svg {
  width: 24px;
  height: 24px;
}

.area-selector-grid {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, 225px);
  gap: 1.5rem;
  align-content: start;
  justify-content: center;
}

.area-mini-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 2px solid rgba(8, 125, 111, 0.1);
  border-radius: 20px;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 225px;
  height: 165px;
}

.area-mini-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #087D6F, #C45F08);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.area-mini-card:active {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(8, 125, 111, 0.2);
  border-color: transparent;
}

.area-mini-card:active::before {
  opacity: 1;
}

.area-mini-card-image {
  width: 100%;
  height: 115px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: #e5e7eb;
  flex-shrink: 0;
}

.area-mini-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.area-mini-card-title {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #02231E;
  padding: 1rem;
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-mini-card.current {
  background: linear-gradient(135deg, #087D6F 0%, #0a9484 100%);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(8, 125, 111, 0.3);
}

.area-mini-card.current .area-mini-card-title {
  color: white;
}

@keyframes slideInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.tab:active {
  transform: scale(0.96) translateY(0);
}

/* Map Container */
.map-container {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 45vh;
  min-height: 320px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  background: #e5e7eb;
}

.map-embed {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-embed.loaded {
  opacity: 1;
  animation: fadeInImage 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#mapSkeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #e0e0e0 0%,
    #f0f0f0 50%,
    #e0e0e0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 24px;
  z-index: 2;
}

#mapSkeleton.hidden {
  display: none;
}

/* Video Container */
.video-container {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  max-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  background: #000;
}

.video-embed {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-embed.loaded {
  opacity: 1;
  animation: fadeInImage 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#videoSkeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #1a1a1a 0%,
    #2a2a2a 50%,
    #1a1a1a 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 24px;
  z-index: 2;
}

#videoSkeleton.hidden {
  display: none;
}

/* Tour 360 Container */
.tour-container {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  max-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  background: #e5e7eb;
}

.tour-embed {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-embed.loaded {
  opacity: 1;
  animation: fadeInImage 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#tourSkeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #e0e0e0 0%,
    #f0f0f0 50%,
    #e0e0e0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 24px;
  z-index: 2;
}

#tourSkeleton.hidden {
  display: none;
}

/* Fullscreen Button for Embeds */
.fullscreen-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #087D6F;
  border: 2px solid rgba(8, 125, 111, 0.2);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.fullscreen-btn:active {
  background: linear-gradient(135deg, #087D6F, #0a9484);
  color: white;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(8, 125, 111, 0.4);
}

/* Fullscreen Exit Button (inside tour container) */
.fullscreen-exit-btn-inner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #C45F08;
  border: 2px solid rgba(196, 95, 8, 0.3);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 20;
}

.fullscreen-exit-btn-inner:active {
  background: linear-gradient(135deg, #C45F08, #d96d0a);
  color: white;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(196, 95, 8, 0.5);
}

/* Fullscreen Exit Overlay */
.fullscreen-exit-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 9999;
  pointer-events: none;
}

.fullscreen-exit-overlay.active {
  display: flex;
  pointer-events: auto;
}

.fullscreen-exit-btn {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #C45F08;
  border: 2px solid rgba(196, 95, 8, 0.3);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.fullscreen-exit-btn:active {
  background: linear-gradient(135deg, #C45F08, #d96d0a);
  color: white;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(196, 95, 8, 0.5);
}

.content-area {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 0.75rem 2rem 0.5rem;
  position: relative;
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
}

.content-area::-webkit-scrollbar {
  display: none;
}

.decorative-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #087D6F, #C45F08);
  border-radius: 2px;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #02231E;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  animation: fadeInContent 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-description {
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.5;
  max-width: 650px;
  font-weight: 400;
  letter-spacing: 0.005em;
  flex-shrink: 0;
  animation: fadeInContent 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress Indicator */
/* .progress-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 11;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: #02231E;
  font-size: 1.125rem;
}

.progress-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(8, 125, 111, 0.3);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: linear-gradient(135deg, #087D6F, #C45F08);
  width: 14px;
  height: 14px;
  box-shadow: 0 2px 8px rgba(8, 125, 111, 0.4);
} */

/* Swipe Hint */
.swipe-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 11;
  animation: swipe-bounce 2s ease-in-out infinite;
  pointer-events: none;
  background: rgba(2, 35, 30, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.swipe-hint svg {
  width: 20px;
  height: 20px;
}

@keyframes swipe-bounce {
  0%, 100% {
    transform: translateX(-50%) translateX(0);
  }
  50% {
    transform: translateX(-50%) translateX(-10px);
  }
}

/* Idle Mode / Attraction Mode */
.idle-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.idle-overlay.active {
  display: flex;
  opacity: 1;
}

.idle-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.idle-content {
  text-align: center;
  color: #02231E;
  animation: idle-pulse 3s ease-in-out infinite;
}

.idle-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #087D6F, #C45F08);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.idle-content p {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(2, 35, 30, 0.7);
}

.idle-icon {
  width: 180px;
  height: 180px;
  margin: 0 auto 2rem;
  animation: idle-float 3s ease-in-out infinite;
}

@keyframes idle-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes idle-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Attraction Mode - Cards Animation */
.amenity-card.attract {
  animation: attract-pulse 2s ease-in-out infinite;
}

.amenity-card.attract:nth-child(1) { animation-delay: 0s; }
.amenity-card.attract:nth-child(2) { animation-delay: 0.2s; }
.amenity-card.attract:nth-child(3) { animation-delay: 0.4s; }
.amenity-card.attract:nth-child(4) { animation-delay: 0.6s; }
.amenity-card.attract:nth-child(5) { animation-delay: 0.8s; }
.amenity-card.attract:nth-child(6) { animation-delay: 1s; }
.amenity-card.attract:nth-child(7) { animation-delay: 1.2s; }
.amenity-card.attract:nth-child(8) { animation-delay: 1.4s; }
.amenity-card.attract:nth-child(9) { animation-delay: 1.6s; }

@keyframes attract-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(8, 125, 111, 0.2), 0 4px 16px rgba(196, 95, 8, 0.1);
  }
}

@media (max-width: 1024px) {
  .modal-content {
    width: 92vw;
    height: 88vh;
    max-height: 88vh;
    padding: 2.5rem 2rem;
  }

  .nav-btn {
    width: 64px;
    height: 64px;
  }

  .nav-btn-left {
    left: 1rem;
  }

  .nav-btn-right {
    right: 1rem;
  }

  .modal-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  .modal-content {
    width: 95vw;
    height: 92vh;
    max-height: 92vh;
    padding: 2rem 1.5rem;
    border-radius: 24px;
  }

  .close-btn {
    width: 56px;
    height: 56px;
    top: 1rem;
    right: 1rem;
  }

  .nav-btn {
    width: 56px;
    height: 56px;
  }

  .nav-btn-left {
    left: 0.5rem;
  }

  .nav-btn-right {
    right: 0.5rem;
  }

  .modal-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 0.875rem;
  }

  .tabs-container {
    max-width: 95%;
    margin-bottom: 0.5rem;
  }

  .tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .image-container {
    height: 40vh;
    min-height: 220px;
    max-height: 400px;
  }

  .map-container {
    height: 40vh;
    min-height: 280px;
    max-height: 400px;
  }

  .video-container,
  .tour-container {
    height: 45vh;
    min-height: 320px;
    max-height: 450px;
  }

  .modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .modal-description {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .content-area {
    max-width: 95%;
    padding: 0.5rem 1rem 0.5rem;
  }

  .amenity-card {
    min-height: 180px;
  }

  .icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 640px) {
  .modal-inner {
    padding-top: 1rem;
    gap: 0.75rem;
  }

  .image-container {
    height: 38vh;
    min-height: 200px;
    max-height: 380px;
  }

  .map-container {
    height: 38vh;
    min-height: 260px;
    max-height: 380px;
  }

  .video-container,
  .tour-container {
    height: 42vh;
    min-height: 300px;
    max-height: 420px;
  }

  .modal-title {
    font-size: 1.375rem;
  }

  .modal-description {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .content-area {
    padding: 0.5rem 0.875rem 0.5rem;
  }

  .tabs-container {
    margin-bottom: 0.375rem;
  }

  .tab {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }

  .decorative-line {
    width: 40px;
    height: 2px;
    margin-bottom: 0.375rem;
  }
}
