/* ══════════════════════════════════════════
   Explore view — GSAP city showcase
   All selectors prefixed with .explore-* or #view-explore
   ══════════════════════════════════════════ */

#view-explore {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: #1a1a1a;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.87);
  font-family: 'Inter', sans-serif;
}

/* ── Cards ── */
.explore-card {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
}

.explore-card--dimmed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: inherit;
}

/* ── Thumbnail content labels ── */
.explore-card-content {
  position: absolute;
  left: 0;
  top: 0;
  padding-left: 10px;
  pointer-events: none;
}

.explore-content-region {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.explore-content-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.1;
}

/* ── Detail panels — Speech Bubble Card ── */
.explore-details {
  z-index: 22;
  position: absolute;
  top: 220px;
  left: 60px;
  max-width: 340px;
  pointer-events: none;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 20px 24px 24px;
}

/* Speech bubble tail */
.explore-details::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 28px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid rgba(10, 10, 10, 0.86);
}

.explore-place-box {
  height: 26px;
  overflow: hidden;
}

.explore-text {
  font-size: 13px;
  font-weight: 600;
  position: relative;
  letter-spacing: 0.03em;
}

.explore-text::before {
  display: none;
}

.explore-region {
  display: block;
  color: #fd8b00;
  background: none;
  padding: 0;
  border-radius: 0;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 700;
}

.explore-title-box {
  margin-top: 2px;
  height: clamp(52px, 9vw, 88px);
  overflow: hidden;
}

.explore-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1;
  color: #fff;
  background: none;
  padding: 0;
  border-radius: 0;
  display: block;
  white-space: nowrap;
}

.explore-subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  max-width: none;
  line-height: 1.45;
  display: block;
  background: none;
  padding: 0;
  border-radius: 0;
}

.explore-cta {
  margin-top: 20px;
  pointer-events: auto;
}

.explore-cta-btn {
  height: 44px;
  border-radius: 99px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  font-family: 'Inter', sans-serif;
}

.explore-cta-btn--active {
  background: linear-gradient(135deg, #006d37 0%, #40c6b3 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 109, 55, 0.35);
}

.explore-cta-btn--active:hover { opacity: 0.9; }

.explore-cta-btn--inactive {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}

/* ── Progress indicator bar (hidden — auto-advance disabled) ── */
.explore-indicator {
  display: none;
}

/* ── Pagination row ── */
.explore-pagination {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 60;
}

.explore-arrow {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.explore-arrow:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.explore-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* Progress bar + slide number — hidden */
.explore-progress-container,
.explore-slide-numbers {
  display: none;
}

.explore-progress-bg {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
}

.explore-progress-fg {
  height: 3px;
  background: #fd8b00;
  border-radius: 2px;
  width: 0;
}

.explore-slide-item {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}

/* ── Reveal cover ── */
.explore-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #faf9f5;
  z-index: 100;
}

/* ══ MOBILE (< 1024px) ══ */
@media (max-width: 1023px) {
  #view-explore {
    bottom: 62px;
  }

  .explore-details {
    top: 120px;
    left: 20px;
    max-width: calc(100vw - 40px);
    padding: 16px 18px 20px;
  }

  .explore-title-box {
    height: clamp(42px, 10vw, 60px);
  }

  .explore-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .explore-subtitle {
    font-size: 13px;
  }

  .explore-text {
    font-size: 11px;
  }

  .explore-arrow {
    width: 40px;
    height: 40px;
  }

  .explore-arrow svg {
    width: 18px;
    height: 18px;
  }

  .explore-content-region {
    display: none;
  }

  .explore-content-name {
    font-size: 12px;
  }
}
