:root {
  --bg: #07090f;
  --bg-2: #0b0f1a;
  --bg-3: #101520;
  --fg: #f0ebe0;
  --fg-2: #8a8070;
  --accent: #c8953a;
  --accent-2: #e8c06a;
  --accent-dim: rgba(200,149,58,0.12);
  --border: rgba(200,149,58,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--fg); font-weight: 400; }
.nav-ig {
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-ig:hover { color: var(--accent); }

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
/* Background: radial gold glow + noise texture via CSS */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,149,58,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 60%, rgba(200,149,58,0.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Animated scan line grain */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  border: 1px solid rgba(200,149,58,0.3);
  padding: 6px 16px;
  border-radius: 100px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '✦';
  font-size: 8px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--fg-2);
  margin-bottom: 36px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.75;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #07090f;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.hero-cta:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,149,58,0.3);
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-2);
  opacity: 0.6;
  text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Alchemical separator line */
.sep-alchemical {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 80px auto;
  max-width: 600px;
  color: var(--accent);
  font-size: 16px;
  opacity: 0.5;
}
.sep-alchemical::before, .sep-alchemical::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

/* ── BOOKS SECTION ─────────────────────────────────── */
.books-section {
  padding: 80px 48px 120px;
  background: var(--bg-2);
}
.section-eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--fg-2);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .books-grid { grid-template-columns: 1fr; }
}

.book-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.book-card:hover {
  border-color: rgba(200,149,58,0.4);
  box-shadow: 0 0 40px rgba(200,149,58,0.06);
}
.book-cover-wrap {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.book-cover {
  flex: 0 0 130px;
  height: 190px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.book-cover-placeholder {
  flex: 0 0 130px;
  height: 190px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(200,149,58,0.08), rgba(200,149,58,0.02));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fg-2);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}
.book-cover-placeholder svg { opacity: 0.4; }
.book-meta { flex: 1; }
.book-series {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.book-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 4px;
}
.book-author {
  font-size: 13px;
  color: var(--fg-2);
  font-style: italic;
}
.book-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.book-price {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.book-format {
  font-size: 13px;
  color: var(--fg-2);
}
.book-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--fg-2);
  line-height: 1.5;
}
.book-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.book-bullets li {
  font-size: 14px;
  color: var(--fg-2);
  padding-left: 20px;
  position: relative;
}
.book-bullets li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 7px;
  top: 5px;
  opacity: 0.7;
}
.book-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.btn-primary {
  flex: 1;
  background: var(--accent);
  color: #07090f;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200,149,58,0.25);
}
.btn-secondary {
  flex: 1;
  background: transparent;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-preorder {
  flex: 1;
  background: rgba(200,149,58,0.15);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  border: 1px solid rgba(200,149,58,0.3);
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.btn-preorder:hover {
  background: rgba(200,149,58,0.25);
  transform: translateY(-1px);
}

/* ── TRUST BADGES ──────────────────────────────────── */
.trust-section {
  padding: 48px 48px 72px;
  background: var(--bg);
  text-align: center;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 32px;
  opacity: 0.6;
}
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.trust-icon {
  font-size: 24px;
  margin-bottom: 4px;
}
.trust-item span {
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.03em;
}

/* ── DIVIDER ────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-2);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.footer-logo em { color: var(--accent); font-style: italic; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--fg-2);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: var(--fg-2);
  opacity: 0.5;
}

/* ── PREVIEW BANNER ────────────────────────────────── */
.preview-banner {
  background: rgba(200,149,58,0.08);
  border: 1px solid rgba(200,149,58,0.25);
  padding: 12px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 72px; }
  .books-section { padding: 64px 24px 80px; }
  .trust-section { padding: 40px 24px 56px; }
  .footer { padding: 32px 24px; }
  .book-cover-wrap { flex-direction: column; }
  .book-cover, .book-cover-placeholder { flex: unset; width: 120px; height: 175px; }
  .book-actions { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}