/* 오피가이드 정보안내 — Midnight Orbit
   고정 헤더 / 목차 / 전통 푸터 없음. 항해 로그형 단일 열. */

:root {
  --void: #05070f;
  --void-2: #0a1020;
  --panel: rgba(12, 18, 36, 0.72);
  --panel-2: rgba(18, 28, 54, 0.88);
  --glass: rgba(197, 212, 255, 0.06);
  --line: rgba(126, 168, 255, 0.22);
  --line-2: rgba(197, 212, 255, 0.12);
  --ice: #d7e0ff;
  --ice-2: #9eb4ea;
  --star: #f4f7ff;
  --orbit: #7eb6ff;
  --orbit-2: #4d8dff;
  --aurora: #8ef6e7;
  --dust: #c6b08a;
  --warn: #e2b56a;
  --mute: #8b97b8;
  --ink: #e8edfb;
  --serif: "Noto Serif KR", "Song Myung", Georgia, serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --num: "Outfit", "Noto Sans KR", sans-serif;
  --wrap: 1180px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--void);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--orbit);
  text-decoration: none;
}

strong { color: var(--star); font-weight: 700; }
em { font-style: normal; color: var(--aurora); font-weight: 600; }
mark {
  background: linear-gradient(transparent 62%, rgba(126, 182, 255, 0.28) 62%);
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--aurora);
  outline-offset: 3px;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 12% -8%, rgba(70, 110, 220, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(70, 200, 190, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 90%, rgba(40, 70, 160, 0.12), transparent 60%),
    var(--void);
}

.stars,
.stars-2 {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: repeat;
}

.stars {
  background-image:
    radial-gradient(1px 1px at 8% 12%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 22% 38%, #c9d8ff, transparent),
    radial-gradient(1px 1px at 41% 18%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 63% 8%, #d7e0ff, transparent),
    radial-gradient(1px 1px at 81% 26%, #fff, transparent),
    radial-gradient(1px 1px at 91% 61%, #b8c9ff, transparent),
    radial-gradient(1.2px 1.2px at 14% 72%, #fff, transparent),
    radial-gradient(1px 1px at 33% 88%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 52% 64%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 74% 79%, #fff, transparent),
    radial-gradient(1px 1px at 96% 92%, #dbe4ff, transparent);
  animation: drift 90s linear infinite;
  opacity: 0.85;
}

.stars-2 {
  background-image:
    radial-gradient(1px 1px at 11% 44%, #fff, transparent),
    radial-gradient(1px 1px at 28% 6%, #cfe0ff, transparent),
    radial-gradient(1.3px 1.3px at 47% 31%, #fff, transparent),
    radial-gradient(1px 1px at 69% 49%, #fff, transparent),
    radial-gradient(1px 1px at 86% 14%, #d7e0ff, transparent),
    radial-gradient(1px 1px at 6% 91%, #fff, transparent);
  animation: drift 140s linear infinite reverse;
  opacity: 0.55;
}

.meteor {
  position: fixed;
  top: 12%;
  left: -10%;
  width: 140px;
  height: 2px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 40%, rgba(142, 246, 231, 0.2));
  transform: rotate(-18deg);
  animation: meteor 9s ease-in infinite;
  opacity: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.colophon {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 28px;
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.colophon b {
  color: var(--ice-2);
  font-weight: 500;
}

/* ----- 히어로 : 비대칭 궤도 ----- */
.hero {
  position: relative;
  padding: 36px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(126, 182, 255, 0.06);
  color: var(--ice-2);
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 12px var(--aurora);
  animation: pulse 2.4s ease infinite;
}

.hero h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: var(--star);
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(120deg, #fff 0%, #c5d4ff 42%, #8ef6e7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 28px;
  max-width: 40em;
  color: var(--ice-2);
  font-size: 1.02rem;
}

.orbit-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.planet {
  position: relative;
  width: 250px;
  height: 250px;
  transform-style: preserve-3d;
  animation: floaty 7s ease-in-out infinite;
}

.planet-core {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #c9d8ff 0 8%, #6e8fd6 22%, #24366e 48%, #0b132c 74%);
  box-shadow:
    inset -28px -18px 46px rgba(0, 0, 0, 0.55),
    inset 16px 10px 24px rgba(180, 210, 255, 0.18),
    0 0 60px rgba(126, 182, 255, 0.28);
}

.planet-core::after {
  content: "";
  position: absolute;
  inset: 18% 12% auto auto;
  width: 46px;
  height: 28px;
  border-radius: 40%;
  background: rgba(10, 16, 32, 0.28);
  filter: blur(1px);
}

.ring,
.ring-2 {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(197, 212, 255, 0.45);
  transform-style: preserve-3d;
}

.ring {
  width: 390px;
  height: 118px;
  margin: -59px 0 0 -195px;
  animation: spin 16s linear infinite;
  box-shadow: 0 0 18px rgba(126, 182, 255, 0.12);
}

.ring-2 {
  width: 460px;
  height: 150px;
  margin: -75px 0 0 -230px;
  border-color: rgba(142, 246, 231, 0.28);
  animation: spin 28s linear infinite reverse;
}

.sat {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 12px var(--aurora);
}

.hero-frame {
  position: absolute;
  inset: auto 0 8px 0;
  margin: 0 auto;
  width: min(100%, 420px);
}

/* ----- 이미지 ----- */
.frame {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(5, 7, 15, 0.4);
}

.frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.frame--hero img { aspect-ratio: 1200 / 520; }
.frame--square { max-width: 560px; }
.frame--square img { aspect-ratio: 1 / 1; }
.frame--wide img { aspect-ratio: 1000 / 420; }
.frame--card img { aspect-ratio: 640 / 400; }
.frame--step img { aspect-ratio: 480 / 300; }
.frame--warn img { aspect-ratio: 720 / 380; }

.frame--float {
  position: relative;
  z-index: 1;
}

/* ----- 관측 수치 ----- */
.telemetry {
  padding: 10px 0 8px;
}

.telemetry-board {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
}

.tel-card,
.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tel-card {
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
}

.tel-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -40px;
  top: -50px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.tel-card.lead {
  background: linear-gradient(160deg, rgba(126, 182, 255, 0.14), rgba(12, 18, 36, 0.8));
}

.tel-card b {
  display: block;
  font-family: var(--num);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--star);
  line-height: 1.1;
}

.tel-card span {
  display: block;
  margin-top: 8px;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.55;
}

/* ----- 스테이션 ----- */
.station {
  position: relative;
  padding: 72px 0 20px;
}

.station + .station {
  border-top: 1px solid var(--line-2);
}

.station-head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 28px;
  align-items: end;
}

.badge {
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aurora);
  border: 1px solid rgba(142, 246, 231, 0.35);
  border-radius: 999px;
  padding: 8px 0;
  text-align: center;
}

.station h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.35;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.prose {
  color: var(--ice);
}

.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.h-block { margin: 28px 0 0; }
.h-block:first-child { margin-top: 0; }

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--star);
}

h4 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ice);
}

.note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--dust);
  background: rgba(198, 176, 138, 0.06);
  color: var(--ice-2);
  font-size: 0.95rem;
}

/* ----- 표 ----- */
.table-scroll {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

thead th {
  background: rgba(126, 182, 255, 0.1);
  color: var(--star);
  font-weight: 700;
  text-align: left;
  padding: 13px 14px;
}

tbody th {
  text-align: left;
  color: var(--aurora);
  font-weight: 700;
  padding: 12px 14px;
  border-top: 1px solid var(--line-2);
  white-space: nowrap;
}

td {
  padding: 12px 14px;
  border-top: 1px solid var(--line-2);
  color: var(--ice-2);
  vertical-align: top;
}

tbody tr:hover td,
tbody tr:hover th {
  background: rgba(126, 182, 255, 0.05);
}

/* ----- 칩 / 리스트 ----- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ice-2);
  font-size: 13px;
  background: rgba(126, 182, 255, 0.05);
}

.points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: var(--ice-2);
}

.points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--orbit);
  box-shadow: 0 0 8px var(--orbit);
}

/* ----- 스펙트럼 카드 ----- */
.spectrum {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.sp-card {
  padding: 18px 16px 16px;
  min-height: 168px;
}

.sp-card b {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--star);
}

.sp-card span {
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ----- 후기 ----- */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review {
  padding: 22px 22px 18px;
  display: grid;
  gap: 10px;
}

.review header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.review .who {
  font-weight: 700;
  color: var(--star);
}

.review .meta {
  color: var(--mute);
  font-size: 13px;
  font-family: var(--num);
}

.stars-row {
  color: var(--dust);
  letter-spacing: 0.12em;
  font-size: 13px;
}

.review p {
  margin: 0;
  color: var(--ice-2);
  font-size: 0.96rem;
}

.agg {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.agg .score {
  font-family: var(--num);
  font-size: 52px;
  line-height: 1;
  font-weight: 600;
  color: var(--star);
}

.agg .score small {
  display: block;
  font-size: 13px;
  color: var(--mute);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.08em;
}

/* ----- 다섯 단계 : 지그재그 항로 ----- */
.route {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  position: relative;
}

.route::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--orbit), rgba(126, 182, 255, 0.05));
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(180px, 220px);
  gap: 18px;
  align-items: start;
}

.step-n {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--orbit);
  background: var(--void-2);
  color: var(--aurora);
  font-family: var(--num);
  font-weight: 600;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--void);
}

.step-body {
  padding-top: 6px;
}

/* ----- CTA 월식 ----- */
.cta-station {
  padding: 28px 0 8px;
}

.eclipse {
  position: relative;
  overflow: hidden;
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 120%, rgba(126, 182, 255, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(18, 28, 54, 0.9), rgba(5, 7, 15, 0.92));
}

.eclipse::before,
.eclipse::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}

.eclipse::before {
  width: 280px;
  height: 280px;
  left: -90px;
  top: -120px;
}

.eclipse::after {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -160px;
  border-color: rgba(142, 246, 231, 0.2);
}

.eclipse h2 { margin-bottom: 12px; }
.eclipse .lede {
  margin: 0 auto 28px;
  max-width: 38em;
}

.cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px 16px 20px;
  border-radius: 999px;
  color: #081018;
  background: linear-gradient(120deg, #e9f0ff 0%, #9fd7ff 42%, #8ef6e7 100%);
  box-shadow: 0 10px 40px rgba(142, 246, 231, 0.18);
  transform: translateZ(0);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(142, 246, 231, 0.28);
}

.cta-orb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #3a6ad4 46%, #0b132c 78%);
  box-shadow: 0 0 0 1px rgba(8, 16, 24, 0.2);
}

.cta b {
  display: block;
  color: #081018;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.cta em {
  display: block;
  color: rgba(8, 16, 24, 0.7);
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}

/* ----- FAQ ----- */
.faq-grid {
  display: grid;
  gap: 10px;
}

details.faq {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 0 18px;
}

details.faq[open] {
  border-color: rgba(142, 246, 231, 0.35);
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  color: var(--star);
  position: relative;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--aurora);
  font-family: var(--num);
  font-size: 20px;
  line-height: 1;
}

details.faq[open] summary::after { content: "–"; }

details.faq p {
  margin: 0 0 16px;
  color: var(--ice-2);
  padding-bottom: 4px;
}

/* ----- 법적 고지 ----- */
.legal {
  padding: 48px 0 80px;
}

.legal-box {
  padding: 28px 28px 22px;
}

.legal h2 { margin-bottom: 16px; }

.fine {
  color: var(--mute);
  font-size: 0.92rem;
}

.fine p { margin: 0 0 12px; }

.endline {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--mute);
  font-size: 12px;
  font-family: var(--num);
  letter-spacing: 0.08em;
}

.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.vs article {
  padding: 18px 18px 14px;
}

.vs h4 { margin-top: 0; }

.warn-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* ----- 모션 ----- */
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -80px, 0); }
}

@keyframes spin {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to { transform: rotateX(72deg) rotateZ(360deg); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

@keyframes meteor {
  0% { opacity: 0; transform: rotate(-18deg) translateX(0); }
  8% { opacity: 1; }
  22% { opacity: 0; transform: rotate(-18deg) translateX(120vw); }
  100% { opacity: 0; transform: rotate(-18deg) translateX(120vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split.reverse,
  .warn-grid,
  .step {
    grid-template-columns: 1fr;
  }
  .telemetry-board { grid-template-columns: 1fr 1fr; }
  .spectrum { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .route::before { display: none; }
  .station-head { grid-template-columns: 1fr; }
  .badge { width: max-content; padding: 8px 12px; }
  .hero-frame { position: relative; inset: auto; width: 100%; margin-top: 18px; }
  .orbit-stage { min-height: 340px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .colophon { width: calc(100% - 28px); }
  .telemetry-board,
  .spectrum,
  .vs { grid-template-columns: 1fr; }
  .eclipse { padding: 36px 20px; }
  .cta { width: 100%; justify-content: center; }
  .endline { flex-direction: column; }
  .planet, .planet-core { width: 200px; height: 200px; }
  .ring { width: 320px; height: 96px; margin: -48px 0 0 -160px; }
  .ring-2 { width: 370px; height: 120px; margin: -60px 0 0 -185px; }
}
