/* ===== ReMolthar Marketing — Theme ===== */
:root {
  --bg: #0b0e17;
  --bg-2: #0f1320;
  --bg-3: #141a2b;
  --panel: #161c2e;
  --gold: #e8c766;
  --gold-deep: #c89b3c;
  --gold-soft: #f3dd9a;
  --blue: #2f6df0;
  --blue-deep: #1b3a8c;
  --text: #eceff6;
  --muted: #9aa3b8;
  --line: rgba(232, 199, 102, 0.16);
  --radius: 18px;
  --maxw: 1140px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Noto Sans KR', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; }

.accent { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  color: #20160a;
  box-shadow: 0 10px 30px rgba(232, 199, 102, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232, 199, 102, 0.42); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line); color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(11, 14, 23, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 14, 23, 0.92);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-logo { width: 36px; height: 36px; }
.brand-name {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.25rem;
  letter-spacing: .02em;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--gold); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px clamp(16px, 5vw, 40px) 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(47, 109, 240, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(200, 155, 60, 0.12), transparent 60%),
    var(--bg);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 600px at 78% 50%, rgba(232, 199, 102, 0.10), transparent 70%);
}
.hero-cards {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%) rotate(2deg);
  width: min(46vw, 560px); opacity: .9; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
  mask-image: linear-gradient(to left, #000 55%, transparent);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.6));
  animation: floaty 7s ease-in-out infinite;
}
.hero-card-stack { border-radius: 22px; }
@keyframes floaty { 0%,100% { transform: translateY(-50%) rotate(2deg); } 50% { transform: translateY(-54%) rotate(2deg); } }

.hero-inner { position: relative; z-index: 2; max-width: 640px; width: 100%; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(232, 199, 102, 0.06); margin-bottom: 22px;
}
.hero-title {
  font-family: 'Cinzel', serif; font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: .95; margin-bottom: 8px;
}
.hero-tagline {
  font-family: 'Cinzel', serif; font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--gold-soft); letter-spacing: .04em; margin-bottom: 22px; font-weight: 500;
}
.hero-desc { font-size: clamp(1rem, 2.2vw, 1.18rem); color: #d3d9e6; max-width: 540px; margin-bottom: 32px; }
.hero-desc strong { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-stats { list-style: none; display: flex; gap: clamp(20px, 5vw, 48px); flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; color: var(--gold); font-family: 'Cinzel', serif; }
.hero-stats span { font-size: .85rem; color: var(--muted); }

/* ===== Marquee ===== */
.marquee {
  background: linear-gradient(90deg, var(--blue-deep), var(--bg-3) 50%, var(--blue-deep));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 14px 0;
}
.marquee-track {
  display: inline-flex; gap: 28px; white-space: nowrap;
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.05rem;
  color: var(--gold-soft); animation: scroll 22s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--gold-deep); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 11vw, 130px) clamp(16px, 5vw, 40px); }
.section-alt { background: var(--bg-2); max-width: none; }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-kicker {
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep);
}
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ===== Features ===== */
.features-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.feature-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-3));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; font-size: 1.7rem;
  display: grid; place-items: center; margin-bottom: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(232,199,102,.22), rgba(47,109,240,.12));
  border: 1px solid var(--line);
}
.feature-card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--gold-soft); }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ===== Steps ===== */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; }
.step {
  flex: 1 1 240px; max-width: 320px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step-num {
  font-family: 'Cinzel', serif; font-size: 2.4rem; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold-deep);
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }
.step-arrow { display: grid; place-items: center; font-size: 1.8rem; color: var(--gold-deep); }

/* ===== Gallery ===== */
.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-3); cursor: zoom-in; position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot img { width: 100%; aspect-ratio: 9/19; object-fit: cover; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px; font-size: .9rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}

/* ===== CTA ===== */
.section-cta { display: grid; place-items: center; }
.cta-box {
  text-align: center; max-width: 680px; width: 100%;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(232,199,102,.12), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(40px, 7vw, 70px) clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.cta-logo { width: 72px; height: 72px; margin: 0 auto 22px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }
.cta-box h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.cta-box > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.store-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 12px 24px; border-radius: 14px; min-width: 200px;
  background: #06080f; border: 1px solid var(--line);
  transition: transform .18s ease, border-color .2s ease;
}
.store-btn:hover { transform: translateY(-3px); border-color: var(--gold); }
.store-sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.store-main { font-size: 1.18rem; font-weight: 700; }
.cta-note { margin-top: 24px; font-size: .9rem; color: var(--muted); }
.cta-note a { color: var(--gold); }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 22px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 50px clamp(16px, 5vw, 40px) 30px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { font-family: 'Cinzel', serif; display: block; color: var(--gold); }
.footer-brand span { font-size: .85rem; color: var(--muted); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.copyright { max-width: var(--maxw); margin: 28px auto 0; text-align: center; color: #5b6478; font-size: .82rem; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 6, 12, 0.92); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid var(--line); color: #fff; font-size: 1.2rem;
}
.lightbox-close:hover { background: rgba(255,255,255,.18); }

/* ===== Reveal animation ===== */
.section, .feature-card, .step, .shot { --r: 0; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-cards { opacity: .35; right: -20%; }
}
@media (max-width: 600px) {
  .step-arrow { transform: rotate(90deg); }
  .hero-stats { gap: 24px; }
  .store-btn { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
