/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #090806;
  --bg-alt:    #0e0c09;
  --bg-card:   #120e0a;
  --text:      #c2b89a;
  --text-bright: #e0d5bc;
  --gold:      #d4b030;
  --red:       #9e0a0a;
  --red-bright:#c41414;
  --orange:    #b84a0c;
  --chain-dark:#141210;
  --chain-mid: #252018;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Special Elite', serif;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(9, 8, 6, 0.96);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(6px);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 176, 48, 0.45);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero-banner-wrap {
  position: relative;
  width: 100%;
  padding-top: 68px; /* clear fixed nav */
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
}

.hero-cta-area {
  text-align: center;
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cta {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.9rem 2.4rem;
  border: 2px solid var(--red-bright);
  color: var(--text-bright);
  background: rgba(158, 10, 10, 0.15);
  transition: background 0.25s, box-shadow 0.25s, color 0.25s;
}

.hero-cta:hover {
  background: var(--red-bright);
  color: #fff;
  box-shadow: 0 0 22px rgba(196, 20, 20, 0.55);
}

/* ===== DIVIDERS ===== */
.divider-chain {
  height: 22px;
  background: repeating-linear-gradient(
    90deg,
    var(--chain-dark) 0px,
    var(--chain-dark) 18px,
    var(--chain-mid)  18px,
    var(--chain-mid)  22px,
    var(--chain-dark) 22px,
    var(--chain-dark) 38px
  );
  border-top:    1px solid #222018;
  border-bottom: 1px solid #222018;
}

.divider-blood {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 15%, var(--red) 85%, transparent 100%);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: 0.1em;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 176, 48, 0.22);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--red-bright);
  margin-top: 0.55rem;
}

.section-title.centered {
  text-align: center;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

/* ===== BOOKS ===== */
.books {
  padding: 6rem 2rem;
  background: var(--bg-alt);
}

.books-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--red-bright);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.5rem;
}

.books-series-name {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  text-align: center;
  margin-bottom: 3rem;
}

.books-series-name .line1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  color: var(--text-bright);
  letter-spacing: 0.05em;
  text-shadow:
    -2px -2px 0 #000,
    2px  2px 0 rgba(0, 0, 0, 0.7);
}

.books-series-name .line2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 5.3vw, 4.6rem);
  color: var(--red-bright);
  letter-spacing: 0.05em;
  text-shadow:
    0 0 25px rgba(196, 20, 20, 0.65),
    0 0 55px rgba(196, 20, 20, 0.3),
    -2px -2px 0 rgba(0, 0, 0, 0.95),
    2px  2px 0 rgba(0, 0, 0, 0.6);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.book-card {
  text-align: center;
}

.book-cover-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.book-cover-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(158, 10, 10, 0.28) 100%);
  opacity: 0;
  transition: opacity 0.35s;
}

.book-card:hover .book-cover-wrap::after {
  opacity: 1;
}

.book-cover {
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

.book-card:hover .book-cover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.75),
    0 0 22px rgba(184, 74, 12, 0.3);
}

.book-info {
  text-align: center;
  padding-top: 1rem;
}

.book-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.book-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-bright);
  line-height: 1.35;
  margin-bottom: 0.9rem;
}

.book-btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

.book-btn--buy {
  background: var(--red);
  border: 2px solid var(--red);
  color: #f0e8d8;
}

.book-btn--buy:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 14px rgba(196, 20, 20, 0.45);
}

.book-btn--preorder {
  background: transparent;
  border: 2px solid #3a3020;
  color: var(--text);
}

.book-btn--preorder:hover {
  border-color: var(--red);
  color: var(--text-bright);
}

/* ===== ABOUT ===== */
.about {
  padding: 6rem 2rem;
  background: var(--bg);
}

.about .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
}

.about .section-title {
  white-space: nowrap;
}

.about-body p {
  margin-bottom: 1.3rem;
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.85;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-placeholder {
  color: #5a5040 !important;
  font-size: 0.9rem !important;
}

/* ===== CONTACT ===== */
.contact {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  text-align: center;
}

.contact-sub {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  max-width: 480px;
  margin: 1.2rem auto 2.8rem;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.newsletter-input {
  flex: 1;
  background: #0c0a07;
  border: 2px solid #282018;
  border-right: none;
  color: var(--text-bright);
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding: 0.9rem 1.2rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.newsletter-input::placeholder {
  color: #40362a;
}

.newsletter-input:focus {
  border-color: var(--red);
}

.newsletter-btn {
  background: var(--red);
  border: 2px solid var(--red);
  color: #f0e8d8;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--red-bright);
  box-shadow: 0 0 16px rgba(196, 20, 20, 0.45);
}

.contact-direct {
  font-size: 0.88rem;
  color: var(--text);
  opacity: 0.6;
}

.contact-direct a:hover {
  color: var(--red-bright);
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: #050403;
  border-top: 2px solid var(--red);
  padding: 1.6rem 2rem;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #3a3028;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about .section-title {
    white-space: normal;
  }
}


@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 8, 6, 0.98);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--red);
  }

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

  .nav-links li a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #1c1610;
  }

  .nav-toggle {
    display: block;
  }

  .hero-cta-area {
    padding: 1.5rem 2rem 2rem;
  }

  .hero-scroll-hint {
    margin-bottom: 0.5rem;
  }

  .books {
    padding: 3.5rem 1.5rem;
  }

  .books-series-name {
    margin-bottom: 2rem;
  }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .book-card {
    border: 1px solid rgba(196, 20, 20, 0.45);
    overflow: hidden;
    text-align: left;
  }

  .book-cover-wrap {
    margin-bottom: 0;
  }

  .book-cover-wrap::after {
    display: none;
  }

  .book-info {
    padding: 0.9rem 1.1rem 1.1rem;
    border-top: 1px solid rgba(196, 20, 20, 0.35);
    background: var(--bg-card);
    text-align: left;
  }

  .book-num {
    font-size: 0.68rem;
    margin-bottom: 0.25rem;
  }

  .book-title {
    font-size: 1.05rem;
  }

  .book-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.7rem;
  }

  .about {
    padding: 3.5rem 1.5rem;
  }

  .contact {
    padding: 3.5rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-right: 2px solid #282018;
    border-bottom: none;
  }

  .newsletter-input:focus {
    border-color: var(--red);
    border-bottom: none;
  }

  .newsletter-btn {
    width: 100%;
  }
}
