/* =====================================================================
   숨짝 — Landing & 연애가이드 디자인 시스템
   화이트 베이스 / 뉴트럴 톤 / 브랜드 코랄은 아주 작은 포인트로만
   ===================================================================== */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --bg-warm: #f2f0eb;
  --ink: #111111;
  --ink-2: #2e2d2b;
  --muted: #6f6c67;
  --muted-2: #9a968f;
  --line: #e8e5df;
  --line-2: #d9d5cd;
  --accent: #e2566b;
  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body.lp {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.65; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  /* 복사 방지 (기존 정책 유지) */
  -webkit-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
/* 기본값은 우선순위 0 (:where) — 섹션별 규칙이 항상 우선 */
:where(body.lp) img, :where(body.lp) video { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; }
:where(body.lp) picture { display: block; width: 100%; height: 100%; }
:where(body.lp) figure { margin: 0; }
.hero-media picture, .closing-media picture, .hero-media video, .closing-media video { position: absolute; inset: 0; }
body.lp a { color: inherit; text-decoration: none; }
body.lp button { font: inherit; color: inherit; }
body.lp :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow.plain::before { display: none; }
.display {
  font-size: clamp(38px, 6.2vw, 78px); line-height: 1.12; letter-spacing: -0.045em; font-weight: 700; margin: 0;
}
.h-section {
  font-size: clamp(30px, 4vw, 52px); line-height: 1.2; letter-spacing: -0.04em; font-weight: 700; margin: 0;
}
.h-card { font-size: 21px; line-height: 1.4; letter-spacing: -0.03em; font-weight: 700; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--ink-2); margin: 0; }
.muted { color: var(--muted); }
.num { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.45); }
.btn-line { background: rgba(255,255,255,.7); border-color: var(--line-2); color: var(--ink) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink) !important; }
.btn-white:hover { transform: translateY(-2px); }
.btn-ghost-white { border-color: rgba(255,255,255,.55); color: #fff !important; background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost-white:hover { border-color: #fff; transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn .store-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn .store-txt small { font-size: 10.5px; font-weight: 500; opacity: .72; letter-spacing: 0.02em; }
.store-btn .store-txt b { font-size: 16px; font-weight: 700; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: 76px;
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid, .site-header.is-static { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; height: 40px; }
.brand img { height: 34px; width: auto; }
@media (min-width: 961px) {
  .site-header { height: 88px; }
  .brand { height: 52px; }
  .brand img { height: 46px; }
  .hero-yt { padding-top: 168px; }
  .g-cats { top: 88px; }
}
.gnb { display: flex; align-items: center; gap: 6px; }
.gnb a { padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: background-color .2s; }
.gnb a:hover, .gnb a[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.gnb .btn { margin-left: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header { height: 64px; }
  .menu-toggle { display: block; }
  .gnb {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 24px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.18);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .menu-open .gnb { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: #fff; }
  .gnb a { padding: 14px 6px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .gnb a:hover { background: transparent; }
  .gnb .btn { margin: 16px 0 0; border-bottom: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 12vw, 168px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, min(100svh, 980px)); display: flex; align-items: center; overflow: hidden; background: #f4f2ee; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,247,244,.94) 0%, rgba(248,247,244,.78) 30%, rgba(248,247,244,0) 58%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 76px; }
.hero-copy { max-width: 620px; display: grid; gap: 28px; }
.hero-copy .lead { max-width: 500px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--ink-2); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; color: var(--muted); }
.scroll-cue i { width: 1px; height: 42px; background: linear-gradient(var(--muted-2), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 760px) {
  .hero { min-height: 100svh; align-items: flex-start; }
  .hero-media img, .hero-media video { object-position: 50% 100%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(248,247,244,.96) 0%, rgba(248,247,244,.82) 38%, rgba(248,247,244,0) 62%); }
  .hero-inner { padding-top: 104px; }
  .hero-copy { gap: 20px; }
  .hero .store-row { gap: 10px; }
  .hero .store-btn { height: 52px; padding: 0 18px; flex: 1 1 0; }
  .scroll-cue { display: none; }
}

/* ---------- Hero: 유튜브 메인 영상 ---------- */
.hero-yt { background: linear-gradient(180deg, #fbfaf8 0%, #f4f2ee 100%); min-height: auto; padding: 150px 0 110px; }
.hero-yt .hero-inner { padding-top: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-yt .hero-copy { max-width: none; }
.hero-yt .display { font-size: clamp(38px, 5vw, 66px); }
.yt-main { border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(20, 18, 14, .45), 0 0 0 1px rgba(0,0,0,.04); }
.yt-main .play span { width: 88px; height: 88px; }
.hero-yt-wrap .yt-cap { margin-top: 14px; }
.yt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.yt-item { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.75); cursor: pointer; text-align: left; transition: border-color .2s, background-color .2s; }
.yt-item:hover { border-color: var(--line-2); background: #fff; }
.yt-item.on { border-color: var(--ink); background: #fff; }
.yt-item img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.yt-item span { display: grid; gap: 2px; min-width: 0; }
.yt-item b { font-size: 13.5px; line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-item small { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .yt-list { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .hero-yt { padding: 112px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-yt .hero-copy .lead br { display: none; }
}

/* ---------- AI 필름 띠 ---------- */
.film-band { position: relative; height: min(78svh, 760px); min-height: 420px; overflow: hidden; background: #efece6; }
.film-band picture, .film-band video { position: absolute; inset: 0; }
.film-band img, .film-band video { width: 100%; height: 100%; object-fit: cover; }
.film-band video { opacity: 0; transition: opacity 1.2s var(--ease); }
.film-band video.is-playing { opacity: 1; }
.film-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248,247,244,.82) 0%, rgba(248,247,244,.35) 34%, rgba(248,247,244,0) 55%); pointer-events: none; }
.film-band-copy { position: absolute; left: 0; right: 0; bottom: clamp(36px, 7vw, 90px); z-index: 2; }
.film-band-copy p { margin: 0; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.35; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
@media (max-width: 760px) {
  .film-band { height: 88svh; }
  .film-band::after { background: linear-gradient(180deg, rgba(248,247,244,.85) 0%, rgba(248,247,244,.4) 30%, rgba(248,247,244,0) 52%); }
  .film-band-copy { top: 48px; bottom: auto; }
}

/* ---------- AI 생성물 표기 (아주 작고 흐리게) ---------- */
.ai-note { display: block; margin-top: 8px; font-size: 10.5px; line-height: 1.2; letter-spacing: .02em; color: rgba(17, 17, 17, .28); text-align: right; font-weight: 400; pointer-events: none; }
.ai-note.on-media { position: absolute; right: 14px; bottom: 10px; margin: 0; z-index: 3; color: rgba(255, 255, 255, .5); text-shadow: 0 1px 6px rgba(0,0,0,.18); }
.film-band .ai-note.on-media { color: rgba(255, 255, 255, .6); }
.value .ai-note { margin-top: -14px; }
.safety-media { position: relative; }
.safety-media .ai-note { position: absolute; right: 14px; bottom: 10px; margin: 0; color: rgba(255,255,255,.55); }
.card .ai-note { margin-top: -12px; }
.post-cover { position: relative; }
.post-cover .ai-note, .g-cat-hero .cover .ai-note { position: absolute; right: 16px; bottom: 12px; margin: 0; color: rgba(255,255,255,.6); text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.g-cat-hero .cover { position: relative; }
.yt-grid.single { grid-template-columns: minmax(0, 860px); justify-content: center; }

/* ---------- Statement ---------- */
.statement { padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 130px); text-align: center; }
.statement p.big { font-size: clamp(26px, 3.5vw, 44px); line-height: 1.5; letter-spacing: -0.04em; font-weight: 600; margin: 0 auto; max-width: 980px; color: var(--ink); }
.statement p.big em { font-style: normal; color: var(--muted-2); }
.statement .sig { margin-top: 36px; }
@media (max-width: 760px) {
  .statement p.big { font-size: 23px; line-height: 1.6; text-wrap: balance; }
  .statement p.big br { display: none; }
  .hero .lead br { display: none; }
}

/* ---------- Value cards ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.value { display: grid; gap: 22px; align-content: start; }
.value-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-soft); }
.value-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.value:hover .value-media img { transform: scale(1.04); }
.value-body { display: grid; gap: 10px; padding-right: 12px; }
.value-body p { margin: 0; color: var(--muted); }
.icon-badge { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); }
.icon-badge svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr; gap: 56px; }
  .value-media { aspect-ratio: 4 / 3.6; }
}

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.how-film { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-warm); }
.how-film video, .how-film img { width: 100%; height: 100%; object-fit: cover; }
.how-film .tag { position: absolute; left: 20px; bottom: 20px; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-size: 34px; line-height: 1; color: var(--muted-2); }
.step h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.03em; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how-film { aspect-ratio: 4 / 3.4; order: 2; }
}

.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--ink); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Film ---------- */
.films { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.film { position: relative; border-radius: var(--radius); overflow: hidden; background: #ece9e3; }
.film video, .film img { width: 100%; height: 100%; object-fit: cover; }
.film figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.film-a { grid-column: span 8; aspect-ratio: 16 / 9; }
.film-b { grid-column: span 4; }
.film-c { grid-column: span 5; aspect-ratio: 16 / 10; }
.film-d { grid-column: span 12; aspect-ratio: 21 / 9; }
@media (max-width: 900px) {
  .film-a, .film-b, .film-c, .film-d { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #111; cursor: pointer; border: 0; padding: 0; width: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform 1s var(--ease), opacity .3s; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt .play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt .play span { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; transition: transform .35s var(--ease); }
.yt:hover .play span { transform: scale(1.08); }
.yt .play svg { width: 24px; height: 24px; margin-left: 4px; color: var(--ink); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .yt-grid { grid-template-columns: 1fr; } }

/* ---------- Story (기존 웹툰) ---------- */
.story-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 26vw, 330px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.story-rail::-webkit-scrollbar { height: 6px; }
.story-rail::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.story-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: grid; gap: 12px; align-content: start; }
.story-card picture { height: auto; }
.story-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.story-card p { margin: 0 4px 4px; font-size: 14px; color: var(--muted); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .2s; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav svg { width: 18px; height: 18px; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.head-row .section-head { margin-bottom: 0; }
@media (max-width: 760px) { .rail-nav { display: none; } }

/* ---------- Safety ---------- */
.safety { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.safety-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.safety-media img { width: 100%; height: 100%; object-fit: cover; }
.safe-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 32px; }
.safe-list li { display: grid; gap: 10px; align-content: start; }
.safe-list h3 { margin: 6px 0 0; font-size: 18px; letter-spacing: -0.03em; }
.safe-list p { margin: 0; color: var(--muted); font-size: 15px; }
.notice-line { margin-top: 44px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); background: #fff; }
.notice-line svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }
@media (max-width: 900px) {
  .safety { grid-template-columns: 1fr; }
  .safety-media { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 560px) { .safe-list { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Guide cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.card { display: grid; gap: 18px; align-content: start; }
.card-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.card-meta b { color: var(--ink); font-weight: 600; }
.card-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.card h3 { margin: 0; font-size: 20px; line-height: 1.45; letter-spacing: -0.03em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; width: 16px; height: 16px; flex: none; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.faq-item summary .pm::after { transform: rotate(90deg); }
.faq-item[open] summary .pm::after { transform: rotate(0); }
.faq-item .ans { padding: 0 40px 28px 0; color: var(--muted); margin: -6px 0 0; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Closing ---------- */
.closing { position: relative; min-height: min(86svh, 820px); display: flex; align-items: center; overflow: hidden; color: #fff; background: #1b2230; }
.closing-media { position: absolute; inset: 0; }
.closing-media img, .closing-media video { width: 100%; height: 100%; object-fit: cover; }
.closing-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,22,.12) 0%, rgba(10,14,22,.52) 100%); }
.closing-inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 26px; }
.closing .display { color: #fff; }
.closing .lead { color: rgba(255,255,255,.86); }

/* ---------- Mobile sticky CTA ---------- */
.m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 800;
    height: 56px; border-radius: 999px; background: var(--ink); color: #fff !important; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .m-cta.show { transform: none; }
  .m-cta svg { width: 18px; height: 18px; }
}

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .scroll-cue i { animation: none; }
}

/* =====================================================================
   연애가이드
   ===================================================================== */
.g-hero { padding: 150px 0 56px; }
.g-hero .display { font-size: clamp(40px, 5.6vw, 72px); }
.g-hero .lead { max-width: 640px; margin-top: 22px; }
.g-cats { position: sticky; top: 76px; z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.g-cats .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.g-cats .wrap::-webkit-scrollbar { display: none; }
.g-cats a { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--line); background: #fff; transition: border-color .2s, background-color .2s, color .2s; }
.g-cats a:hover { border-color: var(--ink); }
.g-cats a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 960px) { .g-cats { top: 64px; } .g-hero { padding-top: 120px; } }

.g-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.g-feature .card-media { aspect-ratio: 16 / 10.5; border-radius: var(--radius-lg); }
.g-feature h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.35; letter-spacing: -0.04em; }
.g-feature .card-body { display: grid; gap: 18px; }
@media (max-width: 900px) { .g-feature { grid-template-columns: 1fr; } }

.g-block { padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.g-block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.g-block-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.04em; }
.g-block-head p { margin: 8px 0 0; color: var(--muted); }

.g-cat-hero { padding: 140px 0 60px; }
.g-cat-hero .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.g-cat-hero .cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.g-cat-hero .cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .g-cat-hero .inner { grid-template-columns: 1fr; } .g-cat-hero { padding-top: 110px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 0 0 22px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 64px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 15px; }
.pager a:hover { border-color: var(--ink); }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 글 상세 */
.post-head { padding: 140px 0 44px; }
.post-head h1 { margin: 16px 0 0; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.25; letter-spacing: -0.045em; }
.post-head .lead { margin-top: 22px; color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 28px; font-size: 14px; color: var(--muted); }
.post-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8.2; background: var(--bg-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: clamp(40px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.toc b { display: block; font-size: 12px; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 14px; }
/* 목차: 왼쪽 세로선을 쓰지 않는다. 지금 읽는 곳은 글자 색으로만 표시 */
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 7px 0; color: var(--muted); line-height: 1.5; transition: color .2s; }
.toc a:hover, .toc a.on { color: var(--ink); }
@media (max-width: 1060px) { .post-layout { grid-template-columns: minmax(0, 720px); } .toc { display: none; } }
@media (max-width: 960px) { .post-head { padding-top: 112px; } }

.prose { font-size: 18px; line-height: 1.95; letter-spacing: -0.015em; color: var(--ink-2); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin: 2.4em 0 0; font-size: 28px; line-height: 1.4; letter-spacing: -0.04em; color: var(--ink); scroll-margin-top: 110px; }
.prose h2 + * { margin-top: .9em; }
.prose h3 { margin: 1.9em 0 0; font-size: 21px; line-height: 1.45; letter-spacing: -0.03em; color: var(--ink); }
.prose h4 { margin: 1.6em 0 0; font-size: 18px; color: var(--ink); }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
/* 글 본문 원칙: 문단, 소제목, 목록, 인용문이 모두 같은 왼쪽 선에서 시작한다.
   왼쪽 세로선, 들여쓰기, 점(불릿), 안쪽으로 들어간 상자는 쓰지 않는다. 구분은 가는 가로선과 글자 색으로만 한다. (앱 연애 탭과 같은 규칙) */
.prose ul, .prose ol { list-style: none; padding-left: 0; margin-bottom: 0; border-top: 1px solid var(--line); counter-reset: lp-n; }
.prose li { margin: 0; padding: .72em 0; border-bottom: 1px solid var(--line); }
.prose li > p { display: inline; margin: 0; }
.prose ol > li::before { counter-increment: lp-n; content: counter(lp-n) ". "; color: var(--muted-2); font-weight: 700; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 1.1em 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink); line-height: 1.8; }
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: .6em; }
.prose > blockquote + blockquote { margin-top: 0; border-top: 0; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.prose img { border-radius: 14px; height: auto; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg-soft); }
.prose > p:first-child { font-size: 19.5px; color: var(--ink); }
@media (max-width: 600px) { .prose { font-size: 17px; line-height: 1.9; } .prose h2 { font-size: 24px; } }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.post-tags a { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg-soft); font-size: 14px; color: var(--ink-2); }
.post-tags a:hover { background: var(--bg-warm); }
.post-faq { margin-top: 64px; }
.post-faq h2 { font-size: 24px; letter-spacing: -0.04em; margin: 0 0 12px; }
.post-cta { margin-top: 64px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--bg-soft); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.post-cta h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.post-cta p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .post-cta { grid-template-columns: 1fr; } }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.post-nav a { display: grid; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.post-nav a:hover { border-color: var(--ink); }
.post-nav small { color: var(--muted); font-size: 13px; }
.post-nav b { font-size: 16px; line-height: 1.45; letter-spacing: -0.02em; }
.post-nav .next { text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { text-align: left; } }

.g-search { display: flex; gap: 10px; margin-top: 30px; max-width: 520px; }
.g-search input { flex: 1; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); padding: 0 22px; font: inherit; font-size: 16px; background: #fff; -webkit-user-select: text; user-select: text; }
.g-search input:focus { outline: none; border-color: var(--ink); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* =====================================================================
   기존 푸터(원본 마크업 그대로) — 부트스트랩3 그리드만 범위 한정으로 재현
   ===================================================================== */
.lp-legacy { font-family: var(--font); line-height: 1.42857; font-size: 14px; letter-spacing: 0; -webkit-user-select: none; user-select: none; }
.lp-legacy .container { margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
.lp-legacy .media-container-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.lp-legacy [class*="col-"] { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; width: 100%; }
@media (min-width: 768px) { .lp-legacy .col-sm-6 { width: 50%; } .lp-legacy .col-sm-12 { width: 100%; } }
@media (min-width: 992px) { .lp-legacy .col-md-3 { width: 25%; } .lp-legacy .col-md-6 { width: 50%; } }
.lp-legacy .hidden-xs { display: block; }
.lp-legacy .visible-xs { display: none !important; }
@media (max-width: 767px) {
  .lp-legacy .hidden-xs { display: none !important; }
  .lp-legacy .visible-xs { display: block !important; }
  .lp-legacy .media-container-row.visible-xs { display: flex !important; }
}
.lp-legacy .text-right { text-align: right; }
.lp-legacy .text-left { text-align: left; }
.lp-legacy h5 { font-size: 14px; margin: 10px 0; padding-bottom: 1rem; }
.lp-legacy p { margin: 0 0 10px; }
.lp-legacy a { color: inherit; }
.lp-legacy hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; }
.lp-legacy .media-wrap img { display: inline-block; }
.lp-legacy .footergood { color: #333; }
.lp-legacy .mbr-text { color: #777; }
.lp-legacy .notice-widget { margin: 0; padding: 0; }
.lp-legacy marquee { font-size: 13px; line-height: 22px; }
.lp-legacy #wrap { display: none; }
/* jquery-modal (약관) */
.blocker { z-index: 1100 !important; }
.modal pre { font-family: var(--font); font-size: 13px; line-height: 1.6; max-height: 70vh; overflow: auto; -webkit-user-select: none; user-select: none; }
.modal a.close-modal { position: absolute; top: 2px; right: 1.5px; }
.card-media { position: relative; }

/* ---------- 숨짝 이야기: 무한 자동 슬라이드 ---------- */
.story-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.story-track { display: flex; gap: 18px; width: max-content; animation: storyScroll var(--story-dur, 60s) linear infinite; will-change: transform; }
.story-track .story-card { width: clamp(220px, 22vw, 300px); flex: none; }
.story-marquee:hover .story-track { animation-play-state: paused; }
@keyframes storyScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
#story .section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- 메뉴 호버 가독성 ---------- */
.gnb a:not(.btn):hover, .gnb a:not(.btn)[aria-current="page"] { background: #ebe7e0; color: var(--ink); }
.gnb a:not(.btn) { position: relative; }
.gnb a.btn-dark:hover, .gnb a.btn-dark:focus-visible { background: #2b2b2b; color: #fff !important; }
.gnb a.btn-dark:hover svg { color: #fff; }
@media (max-width: 960px) { .gnb a:not(.btn):hover { background: transparent; color: var(--accent); } }

/* 게임 여섯 (2026-10-21): 흰 바탕, 작은 앱 아이콘, 한 줄 설명, 웹에서 해보기 */
.games-lead { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; word-break: keep-all; max-width: 620px; margin: 0; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.game { display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 12px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius, 18px); background: #fff; transition: border-color .3s, transform .3s var(--ease, ease); }
.game:hover { border-color: var(--ink); transform: translateY(-2px); }
.game-icon { width: 72px; height: 72px; border-radius: 18px; grid-row: 1 / span 2; }
.game-text { display: grid; gap: 4px; }
.game-text b { font-size: 17px; letter-spacing: -0.01em; }
.game-text span { color: var(--muted); font-size: 14px; line-height: 1.5; word-break: keep-all; }
.game-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; justify-self: start; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.game-go svg { width: 14px; height: 14px; transition: transform .3s var(--ease, ease); }
.game:hover .game-go svg { transform: translateX(3px); }
.game.game-static { cursor: default; } .game.game-static:hover { border-color: var(--line); transform: none; }   /* 2026-11-13 소개 카드 (눌리지 않음) */
.games-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; word-break: keep-all; }
@media (max-width: 960px) { .games { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .games { grid-template-columns: 1fr; } .game { grid-template-columns: 60px 1fr; padding: 14px; } .game-icon { width: 60px; height: 60px; border-radius: 15px; } }
