/* ============================================================
   LUST GODDESS — promo site stylesheet
   Light "divine card" theme: warm ivory, deep rose, antique gold.
   Mobile-first; breakpoints at 480px and 768px.
   ============================================================ */

:root {
  --ink: #33293d;
  --ink-soft: #5d5368;
  --bg: #fbf7f0;
  --bg-alt: #f4ebdd;
  --card: #fffdf8;
  --primary: #9e2b52;
  --primary-dark: #7c1e40;
  --primary-soft: #f7e4ea;
  --accent: #c29a35;
  --accent-soft: #f2e5c2;
  --line: #e7d9c4;
  --shadow: 0 10px 30px rgba(70, 42, 60, 0.10);
  --radius: 16px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Noto Sans JP", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.96);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 14px rgba(70, 42, 60, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 12px 0;
  gap: 8px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.4px;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo .logo-mark { color: var(--accent); font-size: 1.1rem; }

.nav-links {
  display: none;
  flex-direction: column;
  width: 100%;
  list-style: none;
  gap: 2px;
  padding: 8px 0 4px;
}

.nav-links.open { display: flex; }

.nav-links a {
  display: block;
  padding: 9px 10px;
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
}

.nav-links a:hover { background: var(--accent-soft); text-decoration: none; }
.nav-links a.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: inline-block;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn-play {
  display: inline-block;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(158, 43, 82, 0.30);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(158, 43, 82, 0.38);
  text-decoration: none;
  color: #fff;
}

.btn-ghost {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--primary-dark);
  background: var(--card);
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: background 0.15s ease;
}

.btn-ghost:hover { background: var(--accent-soft); text-decoration: none; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(194, 154, 53, 0.22), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(158, 43, 82, 0.14), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 56px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary-dark);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.12;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-figure {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.section-title .orn { color: var(--accent); }

.section-intro {
  color: var(--ink-soft);
  max-width: 68ch;
  margin-bottom: 26px;
}

/* ---------- Facts table ---------- */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

table.facts { width: 100%; border-collapse: collapse; min-width: 420px; }

table.facts th, table.facts td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }

table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: 0; }

table.facts th { width: 38%; color: var(--primary-dark); font-weight: 700; background: var(--primary-soft); }

/* ---------- Feature cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 6px 18px rgba(70, 42, 60, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }

.card-title { font-family: var(--font-display); font-size: 1.18rem; color: var(--primary-dark); margin-bottom: 8px; }

.card-text { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Prose & split image blocks ---------- */
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 34px;
}

.split:last-child { margin-bottom: 0; }

.split-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }

.split-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.split-text p { color: var(--ink-soft); margin-bottom: 12px; }
.split-text p:last-child { margin-bottom: 0; }

/* ---------- Gallery + lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.shot {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(70, 42, 60, 0.10);
  transition: transform 0.15s ease;
}

.shot:hover { transform: scale(1.02); text-decoration: none; }

.shot img { transition: transform 0.3s ease; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 32, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  border-radius: 10px;
  border: 2px solid var(--accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: #e9dcc8;
  font-size: 0.9rem;
}

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr; gap: 18px; }

.quote {
  background: var(--card);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(70, 42, 60, 0.06);
}

.quote-text { color: var(--ink); font-style: italic; margin-bottom: 8px; }

.quote-author { color: var(--primary); font-weight: 700; font-size: 0.9rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 54px 0;
}

.cta-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 10px; }

.cta-text { color: #f3d9e1; max-width: 60ch; margin: 0 auto 26px; }

.cta-banner .btn-play {
  background: var(--card);
  color: var(--primary-dark);
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.cta-banner .btn-play:hover { color: var(--primary-dark); }

/* ---------- Sub-page hero ---------- */
.sub-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 44px;
}

.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; letter-spacing: 0.4px; }

.breadcrumb a { color: var(--primary); }

.sub-hero h1 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.sub-hero-desc { color: var(--ink-soft); max-width: 72ch; }

/* ---------- Roster cards (characters page) ---------- */
.roster-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.roster-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(70, 42, 60, 0.06);
}

.roster-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--primary-dark); }

.roster-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 6px 0 8px;
}

.roster-text { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Guide list ---------- */
.tips-list { list-style: none; margin-top: 10px; }

.tips-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px 12px 42px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.tips-list li::before {
  content: "\25C6";
  position: absolute;
  left: 16px;
  color: var(--accent);
  font-size: 0.8rem;
  top: 14px;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 30px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
  box-shadow: 0 4px 12px rgba(70, 42, 60, 0.05);
}

.faq-q {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after { content: "+"; color: var(--accent); font-size: 1.3rem; }

.faq-item[open] .faq-q::after { content: "\2212"; }

.faq-a { padding: 0 0 16px; color: var(--ink-soft); }
.faq-a p { margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }

.faq-sysreq { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 3px solid var(--accent);
  background: var(--bg);
  padding: 34px 0;
  text-align: center;
}

.footer-copy { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 16px; }

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  list-style: none;
}

.lang-link {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-link:hover { border-color: var(--accent); text-decoration: none; }

.lang-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Tag chips ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.tag {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
  .hero h1 { font-size: 2.9rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 4px;
    padding: 0;
  }
  .nav-links a { padding: 8px 14px; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
  .hero-figure { margin-top: 0; }
  .section { padding: 64px 0; }
  .section-title { font-size: 1.9rem; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .roster-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split.flip .split-figure { order: 2; }
  .sub-hero h1 { font-size: 2.4rem; }
}
