* {
  box-sizing: border-box;
}

:root {
  --accent-text: #FAFFD4;
}

a,
button,
.dot,
.orbit,
.center {
  -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
.dot:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
.dot:focus-visible {
  outline: none;
}



body {
  min-height: 100vh;
  font-family: Inter, sans-serif;
  color: black;
  font-size: 14px;
  font-weight: 300;
  line-height: 18.2px;
  background: white;
}

.top-left a,
.top-right a {
  color: black;
  text-decoration: none;
  transition: color 0.15s ease;
}

.top-left a:visited,
.top-right a:visited {
  color: black;
}

.top-left a:hover,
.top-right a:hover,
.top-left a:active,
.top-right a:active {
  color: var(--accent-text);
  text-decoration: none;
}

/* 텍스트 위치 */
.top-left {
  position: fixed;
  top: 24px;
  left: 24px;
}

.top-right {
  position: fixed;
  top: 24px;
  right: 24px;
}

.bottom-left {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bottom-right {
  position: fixed;
  bottom: 24px;
  right: 24px;
}

.bottom-info {
  position: fixed;
  right: 24px;
  bottom: 86px;
  width: min(520px, 34vw);
  color: black;
  font-family: "Playfair Display SC", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
  z-index: 4;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.bottom-info:hover {
  color: var(--accent-text);
}

.bottom-info p {
  margin: 0;
}

.bottom-info p + p {
  margin-top: 18px;
  font-style: italic;
}

.link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.link:hover {
  color: var(--accent-text);
}

/* 중앙 */
.center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: 0;
}

/* 점 */
.dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: black;
  border-radius: 50%;
  transform-origin: 0 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* dot 근처로 가도 hover 되게: hit area 확장 */
.dot::before {
  content: "";
  position: absolute;
  inset: -14px;        /* 숫자 키우면 더 넓게 잡힘 (예: -18px) */
  border-radius: 50%;
  background: transparent;
}


.dot:hover {
  transform: scale(1.8);
}

.dot.is-over-text {
  background: white;
}

.dot.dimmed {
  opacity: 0.1;
  pointer-events: none;
}

/* orbit */
.orbit {
  position: relative;
  width: 650px;
  height: 650px;
  animation: spin 90s linear infinite;
  z-index: 3;
  background: transparent;
  border: 0;
  outline: 0;
}

.orbit.dim .dot {
  opacity: 0.15;
}

.orbit.dim .dot.active {
  opacity: 1;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* dot 위치 */
.dot:nth-child(1) { transform: rotate(0deg) translateX(280px); }
.dot:nth-child(2) { transform: rotate(32.7deg) translateX(280px); }
.dot:nth-child(3) { transform: rotate(65.4deg) translateX(280px); }
.dot:nth-child(4) { transform: rotate(98.1deg) translateX(280px); }
.dot:nth-child(5) { transform: rotate(130.8deg) translateX(280px); }
.dot:nth-child(6) { transform: rotate(163.5deg) translateX(280px); }
.dot:nth-child(7) { transform: rotate(196.2deg) translateX(280px); }
.dot:nth-child(8) { transform: rotate(228.9deg) translateX(280px); }
.dot:nth-child(9) { transform: rotate(261.6deg) translateX(280px); }
.dot:nth-child(10) { transform: rotate(294.3deg) translateX(280px); }
.dot:nth-child(11) { transform: rotate(327deg) translateX(280px); }

/* ============================= */
/* ✅ Hover Image 영역 */
/* ============================= */

.hover-image {
  position: fixed;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
  background: transparent;
  border: 0;
  outline: 0;
}

.hover-image.is-touch-active {
  pointer-events: auto;
  cursor: pointer;
}

/* ✅ 이미지 전용 */
.hover-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75vw;
  max-width: 1000px;
  height: auto;
  object-fit: contain;
}


#hoverVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75vw;
  max-width: 1000px;
  height: auto;
  object-fit: contain;
}



/* ============================= */
/* filter */
/* ============================= */

.filter-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  color: inherit;
  cursor: pointer;
  transition: color 0.15s ease;
}

.filter-btn:hover {
  color: var(--accent-text);
}

.filter-btn.active {
  color: var(--accent-text);
  opacity: 1;
}

.divider-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* ============================= */
/* coming soon */
/* ============================= */

.center-message{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Playfair Display SC", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: black;
  font-style: normal;
  opacity: 1;
  pointer-events: auto;
  z-index: 99999;
  transition: color 0.4s ease, opacity 0.2s ease;
}

.center-message.is-accent {
  color: var(--accent-text);
}

.center-message.is-accent:hover {
  color: black;
}

.center-message.is-hidden,
.bottom-info.is-hidden {
  opacity: 0;
}

/* hover 중일 때 깜빡 */
.center-message.blink{
  animation: none;
}

@keyframes blinkFade{
  0%, 100% { opacity: 0.15; }
  45%      { opacity: 0.55; }
  55%      { opacity: 0.10; } /* 살짝 '감았다' 느낌 */
}
