/* ==========================================================================
   zento — layout: 풀페이지 트랙, 섹션 공통, 고정 UI
   ========================================================================== */

/* ---- Fullpage viewport ---- */
.fullpage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  background: var(--grey-black);
  font-family: var(--font-body);
  color: var(--text-primary);
}

/* ---- Fullpage track (translateY 로 섹션 전환) ---- */
.fullpage__track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(calc(var(--active, 0) * var(--screen-h) * -1));
  transition: transform var(--dur-section) ease-in-out;
}

/* ---- Section (공통) ---- */
.section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--grey-black);
}

/* ---- Fixed UI: App Store button (top right) ---- */
.fixed-ui__store {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: var(--z-fixed-ui);
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px 0 13px;
  border: 1.5px solid var(--neon-lime);
  border-radius: var(--radius-full);
  background: rgba(14, 18, 22, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--grey-white);
  font-size: 13px;
  font-weight: var(--weight-bold);
  box-shadow: 0 0 14px rgba(128, 255, 0, 0.3), var(--shadow-nav);
}

/* Section 3 모바일: 말풍선이 나오는 동안 숨김 (intro.js 가 토글) */
.fixed-ui__store--hidden {
  opacity: 0;
  visibility: hidden;
}

.fixed-ui__store {
  transition: opacity 0.4s ease, visibility 0.4s;
}

.fixed-ui__store-icon {
  width: 16px;
  height: 16px;
  fill: var(--neon-lime);
}

/* ---- Fixed UI: dot indicator (right center) ---- */
.indicator {
  position: fixed;
  top: 50%;
  right: 6px;
  z-index: var(--z-fixed-ui);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 7px;
  border-radius: var(--radius-full);
  background: rgba(14, 18, 22, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
}

.indicator__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

/* 터치 영역 확장 (시각 변화 없음) */
.indicator__dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}

.indicator__dot--active {
  background: var(--neon-lime);
  box-shadow: 0 0 10px var(--neon-lime);
  transform: scale(1.3);
}

/* ---- 가로 모드 안내 (터치 기기 + 화면 높이가 낮은 가로 모드에서만) ---- */
.rotate-guide {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--grey-black);
  color: var(--grey-white);
  text-align: center;
}

.rotate-guide__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  color: var(--neon-lime);
}

.rotate-guide__title {
  font-size: 18px;
  font-weight: 800;
}

.rotate-guide__desc {
  font-size: 13px;
  color: var(--grey-300);
}

@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .rotate-guide {
    display: flex;
  }
}
/* ==========================================================================
   Media queries — mobile first (원본에 CSS 미디어쿼리 없음, 아래 값은 신규)
   ========================================================================== */
@media (min-width: 768px) {
  .fixed-ui__store {
    top: 16px;
    right: 16px;
    height: 44px;
    padding: 0 20px 0 16px;
    font-size: 14px;
  }

  .fixed-ui__store-icon {
    width: 18px;
    height: 18px;
  }

  .indicator {
    right: 16px;
    padding: 12px 9px;
  }
}
