/* 홈페이지 전용: 어두운 마계 + 금테 + 일러스트 */
body.landing { background: #0d0714; color: #f3e8ff; }
body.landing header.top { background: rgba(13,7,20,.78); border-bottom: 1px solid rgba(255,214,120,.25); }
body.landing header.top .logo img { border-radius: 9px; box-shadow: 0 0 0 2px #e0a63a, 0 0 12px rgba(255,190,90,.5); }
:root { --gold1: #ffe9a3; --gold2: #e0a63a; --vio: #a040ff; }

/* ── 첫 화면 ── */
.lp-hero { position: relative; overflow: hidden; min-height: min(92vh, 860px); display: flex; align-items: center; }
.lp-hero-bg { position: absolute; inset: -40px; background: url(/img/gen/g06_l.webp) center 20% / cover; filter: blur(26px) brightness(.38) saturate(1.4); transform: scale(1.1); }
.lp-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 45%, rgba(160,64,255,.35), transparent 60%), linear-gradient(transparent 70%, #0d0714); pointer-events: none; }
.lp-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; width: 100%; padding-top: 40px; padding-bottom: 60px; }
.lp-hero-text { position: relative; z-index: 4; }
.lp-hero-text .kicker { color: var(--gold1); letter-spacing: .12em; font-size: 13px; opacity: .85; margin: 0 0 8px; }
.lp-hero h1 { font-family: Galmuri14; word-break: keep-all; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.05; margin: 0; color: #fff;
  text-shadow: 0 5px 0 #2a0f40, 0 0 24px rgba(160,64,255,.9), 0 0 60px rgba(160,64,255,.5); }
.lp-hero .lead { font-size: clamp(17px, 2.2vw, 22px); color: var(--gold1); margin: 14px 0 20px; text-shadow: 0 2px 0 #000; }
.chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li { border: 1px solid rgba(255,214,120,.45); background: rgba(30,12,48,.6); border-radius: 99px; padding: 6px 14px; font-size: 14px; color: #e8dcff; }
.chips b { font-family: Galmuri14; color: var(--gold1); font-size: 18px; }
.free { margin: 14px 0 0; font-size: 13px; color: #c6b3dd; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.sbtn { display: inline-flex; flex-direction: column; justify-content: center; min-width: 178px; height: 58px; padding: 0 20px; border-radius: 12px; text-decoration: none; color: #fff;
  background: linear-gradient(#2a1440, #150a22); border: 1px solid var(--gold2); box-shadow: inset 0 1px 0 rgba(255,233,163,.35), 0 0 0 1px #000, 0 6px 20px rgba(0,0,0,.5); transition: transform .15s, box-shadow .15s; }
.sbtn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,233,163,.35), 0 0 0 1px #000, 0 0 22px rgba(255,190,90,.45); }
.sbtn .s1 { font-size: 11px; opacity: .8; letter-spacing: .04em; }
.sbtn .s2 { font-family: Galmuri14; font-size: 20px; line-height: 1.1; }
.sbtn.soon { opacity: .75; cursor: default; }
.sbtn.soon:hover { transform: none; }

.lp-fan { position: relative; height: min(70vh, 640px); }
.lp-fan .f { position: absolute; top: 50%; left: 50%; width: auto; height: 86%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; border: 2px solid var(--gold2);
  box-shadow: 0 0 0 1px #000, 0 20px 50px rgba(0,0,0,.65), 0 0 40px rgba(255,190,90,.25); }
.lp-fan .c { transform: translate(-50%, -50%); z-index: 3; animation: float 6s ease-in-out infinite; }
.lp-fan .l { transform: translate(-90%, -46%) rotate(-10deg) scale(.8); z-index: 2; filter: brightness(.8); animation: floatL 7s ease-in-out infinite; }
.lp-fan .r { transform: translate(-10%, -46%) rotate(10deg) scale(.8); z-index: 2; filter: brightness(.8); animation: floatR 7.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, -52%); } }
@keyframes floatL { 50% { transform: translate(-90%, -48.5%) rotate(-11deg) scale(.8); } }
@keyframes floatR { 50% { transform: translate(-10%, -48.5%) rotate(11deg) scale(.8); } }
.sparks { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sparks i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #fff 0 20%, rgba(255,220,140,.8) 40%, transparent 70%); animation: twinkle 6s ease-in-out infinite; opacity: 0; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: translateY(0) scale(.6); } 40% { opacity: 1; transform: translateY(-14px) scale(1.2); } 70% { opacity: 0; transform: translateY(-28px) scale(.6); } }

/* ── 흘러가는 띠 ── */
.marquee { overflow: hidden; border-top: 1px solid rgba(255,214,120,.3); border-bottom: 1px solid rgba(255,214,120,.3); background: #12081f; padding: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; }
.marquee img { height: 150px; width: 100px; object-fit: cover; object-position: center 18%; border-radius: 10px; border: 1px solid rgba(255,214,120,.45); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── 구역 공통 ── */
.lp-sec { position: relative; padding: 80px 0; background: #0d0714; overflow: hidden; }
.lp-sec.dark { background: linear-gradient(#150a22, #0d0714); }
.lp-sec .wrap { position: relative; z-index: 1; }
.lp-sec-bg { position: absolute; inset: 0; background: var(--img) center 30% / cover; filter: blur(18px) brightness(.25) saturate(1.3); transform: scale(1.1); }
.lp-h2 { font-family: Galmuri14; font-size: clamp(26px, 4vw, 40px); text-align: center; margin: 0 0 12px; color: #fff; text-shadow: 0 3px 0 #2a0f40, 0 0 20px rgba(160,64,255,.7); }
.lp-h2 small { display: block; font-size: 13px; letter-spacing: .3em; color: var(--gold2); text-shadow: none; margin-bottom: 6px; font-family: Galmuri11; }
.lp-sub { text-align: center; color: #c6b3dd; max-width: 640px; margin: 0 auto 34px; }
.lp-note { text-align: center; color: var(--gold1); margin: 30px auto 0; max-width: 680px; }

/* ── 장수 갤러리 ── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gc { margin: 0; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; border: 1px solid rgba(255,214,120,.4); background: #1b1028;
  box-shadow: 0 10px 24px rgba(0,0,0,.5); transition: transform .25s, box-shadow .25s, border-color .25s; }
.gc img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .5s; }
.gc figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 10px 10px; background: linear-gradient(transparent, rgba(13,7,20,.95)); display: flex; flex-direction: column; }
.gc figcaption b { font-family: Galmuri14; color: #fff; font-size: 16px; font-weight: normal; }
.gc figcaption span { font-size: 12px; color: var(--gold1); opacity: .9; }
.gc:hover { transform: translateY(-6px); border-color: var(--gold1); box-shadow: 0 16px 34px rgba(0,0,0,.6), 0 0 24px rgba(255,190,90,.35); }
.gc:hover img { transform: scale(1.06); }

/* ── 특징 ── */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feat { border-radius: 16px; overflow: hidden; background: #1b1028; border: 1px solid rgba(255,214,120,.3); box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.feat .fimg { height: 170px; background: var(--img) center var(--y) / cover; position: relative; }
.feat .fimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #1b1028); }
.feat .ftext { padding: 4px 20px 20px; }
.feat h3 { font-family: Galmuri14; font-weight: normal; color: var(--gold1); margin: 0 0 6px; font-size: 20px; }
.feat p { margin: 0; color: #d9c9ef; font-size: 14px; }

/* ── 직업 ── */
.classes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cls { text-align: center; padding: 22px 18px; border-radius: 16px; background: rgba(27,16,40,.82); border: 1px solid rgba(255,214,120,.35); backdrop-filter: blur(4px); }
.cls img { width: 96px; height: 96px; filter: drop-shadow(0 0 12px rgba(160,64,255,.7)); }
.cls h3 { font-family: Galmuri14; font-weight: normal; color: #fff; margin: 8px 0 6px; }
.cls p { margin: 0; font-size: 14px; color: #d9c9ef; }
body.landing .tag { background: rgba(255,214,120,.15); border: 1px solid var(--gold2); color: var(--gold1); }

/* ── 패스 ── */
.pass { text-align: center; padding: 26px; border-radius: 18px; background: linear-gradient(#2a1440, #170b26); border: 1px solid var(--gold2); box-shadow: 0 0 30px rgba(255,190,90,.2); }
.pass .price { font-family: Galmuri14; font-size: clamp(26px, 5vw, 38px); color: var(--gold1); }
.pass b { color: var(--gold1); }

/* ── FAQ ── */
body.landing .faq details { background: #1b1028; border: 1px solid rgba(255,214,120,.3); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; color: #e8dcff; }
body.landing .faq summary { color: #fff; }
body.landing .faq p { color: #cdbbe6; margin: 10px 0 0; }

/* ── 마지막 ── */
.lp-cta { position: relative; overflow: hidden; text-align: center; padding: 110px 0; }
.lp-cta-bg { position: absolute; inset: 0; background: url(/img/gen/g19_l.webp) center 35% / cover; filter: brightness(.35) saturate(1.2); }
.lp-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#0d0714, transparent 30%, transparent 70%, #0d0714); }
.lp-cta .wrap { position: relative; z-index: 1; }
.lp-cta h2 { font-family: Galmuri14; font-size: clamp(32px, 6vw, 56px); margin: 0; color: #fff; text-shadow: 0 4px 0 #2a0f40, 0 0 30px rgba(255,80,80,.7); }
.lp-cta p { color: var(--gold1); margin: 10px 0 26px; font-size: 18px; }
.lp-cta .stores { justify-content: center; }

/* ── 크게 보기 ── */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(5,2,10,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; max-width: 92vw; border-radius: 14px; border: 2px solid var(--gold2); }
.lightbox .cap { display: flex; flex-direction: column; align-items: center; }
.lightbox .cap b { font-family: Galmuri14; color: #fff; font-weight: normal; font-size: 20px; }
.lightbox .cap span { color: var(--gold1); font-size: 13px; }

body.landing footer { border-top: 1px solid rgba(255,214,120,.25); }

/* 떠오르기 */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }
.gc.rise.in:hover { transform: translateY(-6px); }

@media (max-width: 820px) {
  .lp-hero-in { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .lp-fan { order: -1; height: 56vh; }
  .chips, .stores { justify-content: center; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .lp-fan .f, .marquee .track, .sparks i { animation: none; } .rise { opacity: 1; transform: none; } }
