/* ============================================================
   HOME.CSS — 메인 레코드숍 화면 전용 스타일
   base.css의 공통 NAV 위에 HOME 전용 레이어 추가
   ============================================================ */

/* ── 레이아웃 ── */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.scroll-container {
  height: 500vh;
}

.viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: auto;
}

/* ── 레이어 공통 ── */
.background-image,
.blur-overlay,
.vignette-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.background-image img,
.blur-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── z-index 스택 ── */
.background-image  { z-index: 1; will-change: transform; }
.blur-overlay      { z-index: 2; opacity: 1; }
.vignette-overlay  { z-index: 3; }
.intro-text        { z-index: 4; }

/* ── 비네팅 ── */
.vignette-overlay {
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.75) 100%
  );
}

/* ── "Scroll to Focus" 텍스트 ── */
.intro-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: Georgia, serif;
  pointer-events: none;
}

/* ── 핫스팟 기본 ── */
.hotspot {
  position: absolute;
  z-index: 10;
  opacity: 0;
  cursor: pointer;
  /* 네모 제거: width/height를 a 태그에만 적용, 부모는 크기 없음 */
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.hotspot a {
  display: block;
  width: 44px;
  height: 44px;
  background-color: rgba(201, 168, 76, 0.18);
  border: 2px solid rgba(201, 168, 76, 0.85);
  border-radius: 50%;          
  overflow: hidden;            
  box-shadow:
    0 0 10px rgba(201, 168, 76, 0.55),
    0 0 24px rgba(201, 168, 76, 0.25),
    inset 0 0 8px rgba(201, 168, 76, 0.15);
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.hotspot span {
  display: none;
}

.hotspot-archive { top: 60%; left: 45%; }
.hotspot-digging { top: 55%; left: 75%;  }
.hotspot-about   { top: 30%; left: 20%; }
.hotspot-legacy  { top: 70%; left: 10%; }

/* ── pulse 애니메이션 ── */
.hotspot          { animation: none; }
.hotspot.is-active { animation: pulse 2.2s ease-in-out infinite; }

@keyframes pulse {
  0%   { transform: scale(0.92); box-shadow: 0 0 8px  rgba(201,168,76,0.45); }
  50%  { transform: scale(1.08); box-shadow: 0 0 20px rgba(201,168,76,0.8), 0 0 40px rgba(201,168,76,0.3); }
  100% { transform: scale(0.92); box-shadow: 0 0 8px  rgba(201,168,76,0.45); }
}

/* ── hover ── */
.hotspot:hover {
  animation-play-state: paused;
  transform: scale(1.25);
}

.hotspot:hover a {
  background-color: rgba(201, 168, 76, 0.8);
  box-shadow:
    0 0 16px rgba(201, 168, 76, 0.9),
    0 0 36px rgba(201, 168, 76, 0.5);
}

.hotspot:hover span {
  display: block;
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.5);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ── explore-hint ── */
.explore-hint {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.65);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

.explore-hint::before { content: "✦  "; }
.explore-hint::after  { content: "  ✦"; }

/* ── NAV가 HOME 위에서도 잘 보이도록 ── */
.site-nav {
  z-index: 100; /* viewport z-index(10) 보다 위 */
}

/* ── HOME에서 햄버거 메뉴 버튼 숨김 ── */
.site-nav .nav-menu-btn {
  display: none;
}
