/* ===== LANDING (선택 화면) — 다크 배경 버전 ===== */

/* 어두운 배경 위 텍스트/포인트 색상 (여기 값만 바꾸면 톤 조정 가능) */
.landing {
  --on-dark:      #F5F2EC;   /* 기본 텍스트(제목 등) */
  --on-dark-soft: #C7C1B5;   /* 보조 텍스트(설명) */
  --on-dark-gold: #D9B25A;   /* 포인트 골드(어두운 배경용) */

  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  position: relative; overflow: hidden;

  /* 배경 이미지 + 가독성용 어두운 오버레이 */
  background-color: #0c1622;                 /* 이미지 없을 때 대체 색 */
  background-image:
    linear-gradient(180deg, rgba(8,14,22,.74) 0%, rgba(8,14,22,.45) 38%, rgba(8,14,22,.82) 100%),
    url('../images/landing-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 잔잔한 파도 — 어두운 배경에 맞춰 밝은 선으로 */
.landing__waves { position: absolute; left: 0; right: 0; bottom: 0; height: 38vh;
  pointer-events: none; opacity: .35; }
.landing__waves path { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.4; }

.landing__inner {
  align-self: center; text-align: center;
  padding: var(--pad-page); max-width: 980px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}

/* eyebrow (영문 라벨) — Cinzel */
.landing__eyebrow {
  font-family: var(--font-en-title);
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--on-dark-gold); margin-bottom: 18px;
}
/* 메인 타이틀(일본어) — Noto Serif JP */
.landing__title {
  font-family: var(--font-ja); font-weight: 600;
  font-size: clamp(38px, 7vw, 76px); line-height: 1.05; margin: 0;
  color: var(--on-dark); letter-spacing: .02em;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
/* 서브타이틀(영문) — Cinzel + 공통 자간/행간 */
.landing__title .en {
  display: block; font-family: var(--font-en-title); font-weight: 500;
  font-size: clamp(15px, 2.4vw, 22px); letter-spacing: .42em;
  line-height: var(--lh-sub);
  color: var(--on-dark-soft); margin-top: 16px; text-transform: uppercase;
  padding-left: .42em;
}
/* 리드/디스크립션 — JP는 Noto Serif JP, EN은 Poppins + 공통 자간/행간 */
.landing__lead {
  margin: 22px auto 0; max-width: 34em; color: var(--on-dark-soft);
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: var(--ls-desc); line-height: var(--lh-desc);
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.landing__lead .ja { font-family: var(--font-ja); display: block; }
.landing__lead .en { font-family: var(--font-en-desc); display: block; margin-top: 2px; }

/* 선택 카드 2개 — 어두운 유리(frosted) 카드 */
.choices {
  margin-top: clamp(34px, 6vw, 64px);
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
}
.choice {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; gap: 14px;
  background: rgba(18,26,36,.55);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s, background .25s;
  position: relative; overflow: hidden;
}
.choice::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, transparent 55%, rgba(217,178,90,.12));
  opacity: 0; transition: opacity .25s;
}
.choice:hover, .choice:focus-visible {
  transform: translateY(-6px);
  background: rgba(24,34,46,.66);
  box-shadow: 0 22px 50px rgba(0,0,0,.5); border-color: rgba(217,178,90,.6);
}
.choice:hover::after { opacity: 1; }
.choice__icon {
  width: 56px; height: 56px; color: var(--on-dark);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); border-radius: 14px;
  background: rgba(255,255,255,.06);
}
.choice__icon svg { width: 30px; height: 30px; }
/* kicker(영문 라벨) — Cinzel */
.choice__kicker {
  font-family: var(--font-en-title);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-gold);
}
/* 카드 타이틀(일본어) — Noto Serif JP */
.choice__title {
  font-family: var(--font-ja); font-size: clamp(22px, 3vw, 30px);
  font-weight: 600; color: var(--on-dark); margin: 0; line-height: 1.2;
}
/* 타이틀 뒤 형식 표기 【…】 — 본제목보다 살짝 작고 연하게 */
.choice__title .fmt { font-style: normal; font-weight: 500;
  font-size: .62em; color: var(--on-dark-soft); white-space: nowrap; margin-left: 2px; }
/* 카드 서브(한국어) — Pretendard + 공통 자간/행간 */
.choice__title .sub { display:block; font-family: var(--font-ko); font-weight: 400;
  font-size: 14px; color: var(--on-dark-soft);
  letter-spacing: var(--ls-sub); line-height: var(--lh-sub); margin-top: 6px; }
/* 카드 디스크립션(일본어) — Noto Serif JP + 공통 자간/행간 */
.choice__desc { font-family: var(--font-ja); color: var(--on-dark-soft); font-size: 14px; margin: 0;
  letter-spacing: var(--ls-desc); line-height: var(--lh-desc); }
.choice__go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ja);
  font-size: 14px; letter-spacing: .08em; color: var(--on-dark-gold); font-weight: 600;
}
.choice__go svg { transition: transform .2s; }
.choice:hover .choice__go svg { transform: translateX(4px); }

/* 하단 로고 (호텔 나미) */
.landing__foot {
  padding: 22px 20px 26px; text-align: center; z-index: 1; position: relative;
  display: flex; justify-content: center;
}
.landing__logo { height: clamp(34px, 5vw, 50px); width: auto; opacity: .95; }

/* 등장 애니메이션 */
.landing__inner > * { opacity: 0; transform: translateY(14px); animation: rise .7s forwards; }
.landing__eyebrow { animation-delay: .05s; }
.landing__title   { animation-delay: .15s; }
.landing__lead    { animation-delay: .28s; }
.choices          { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
  .choices { grid-template-columns: 1fr; }
}

/* ===== 키오스크(가로 모드) — 화면 안에 전부 들어오게, 스크롤/드래그 제거 ===== */
@media (orientation: landscape) {
  html, body { height: 100%; overflow: hidden; }
  .landing { height: 100svh; height: 100dvh; height: var(--app-h, 100dvh); min-height: 0; }

  /* 가용 높이에 맞춰 세로 여백·크기 자동 압축 (vh 기준) */
  .landing__inner { padding-top: clamp(8px, 2vh, 22px); padding-bottom: clamp(8px, 2vh, 22px); }
  .landing__eyebrow { margin-bottom: clamp(7px, 1.4vh, 18px); }
  .landing__title { font-size: clamp(30px, 5.4vh, 76px); }
  .landing__title .en { margin-top: clamp(6px, 1.2vh, 16px); font-size: clamp(13px, 2.2vh, 22px); }
  .landing__lead { margin-top: clamp(10px, 1.8vh, 22px); }
  .choices { margin-top: clamp(14px, 3vh, 56px); }
  .choice { padding: clamp(14px, 2.4vh, 40px); gap: clamp(8px, 1.2vh, 14px); }
  .choice__icon { width: clamp(40px, 6vh, 56px); height: clamp(40px, 6vh, 56px); }
  .choice__icon svg { width: clamp(22px, 3.2vh, 30px); height: clamp(22px, 3.2vh, 30px); }
  .landing__foot { padding: clamp(8px, 1.4vh, 22px) 20px clamp(10px, 1.6vh, 26px); }
  .landing__logo { height: clamp(26px, 4.6vh, 50px); }
}

/* ===== 스마트폰(세로) — 타이틀부터 두 카드·로고까지 한 화면 안에 ===== */
@media (orientation: portrait) and (max-width: 680px) {
  html, body { height: 100%; overflow: hidden; }
  .landing { height: 100svh; height: 100dvh; height: var(--app-h, 100dvh); min-height: 0; }

  .landing__inner { padding-top: clamp(6px, 1.6vh, 16px); padding-bottom: 0; }
  .landing__eyebrow { font-size: 11px; margin-bottom: clamp(6px, 1vh, 12px); }
  .landing__title { font-size: clamp(26px, 4.6vh, 40px); }
  .landing__title .en { margin-top: clamp(4px, .8vh, 10px); font-size: clamp(11px, 1.6vh, 15px); }
  .landing__lead { margin-top: clamp(8px, 1.4vh, 14px); font-size: 13px; }

  .choices { margin-top: clamp(10px, 2vh, 20px); gap: clamp(8px, 1.4vh, 14px); }
  .choice { padding: clamp(12px, 1.8vh, 18px) 16px; gap: clamp(5px, .8vh, 9px); }
  .choice__icon { width: clamp(34px, 4.6vh, 44px); height: clamp(34px, 4.6vh, 44px); }
  .choice__icon svg { width: clamp(18px, 2.6vh, 24px); height: clamp(18px, 2.6vh, 24px); }
  .choice__title { font-size: clamp(17px, 2.4vh, 21px); }
  .choice__desc { display: none; }   /* 세로폰에서는 설명문 생략 → 한 화면 보장 */
  .choice__go { font-size: 13px; }

  .landing__waves { display: none; }
  .landing__foot { padding: clamp(4px, .8vh, 10px) 16px clamp(8px, 1.2vh, 14px); }
  .landing__logo { height: clamp(22px, 3.4vh, 32px); }
}