
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;1,8..60,300&display=swap');

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

:root {
  --cream:      #faf7f2;
  --ink:        #1a1714;
  --ink-light:  #4a4540;
  --gold:       #c8973a;
  --gold-light: #e8c06a;
  --rule:       #e0d8cc;
  --book-col:   #f5f0e8;
  --film-col:   #1e1c1a;
  --max-w:      1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

header {
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  padding: 0 2rem;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
}

.site-logo span { color: var(--gold); }

nav a {
  color: #b0a898;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 2rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold); }

.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid #333;
}

.page-hero .genre-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2em 0.8em;
  margin-bottom: 1.2rem;
}

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 0.75rem;
}

.page-hero .subtitle {
  font-size: 1rem;
  color: #a09888;
  font-style: italic;
}

.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 2.5rem 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.panel-book {
  background: var(--book-col);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--rule);
}

.panel-film {
  background: var(--film-col);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.panel-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.panel-book .panel-label { color: var(--ink-light); }
.panel-film .panel-label { color: #888; }

.book-cover {
  width: 160px;
  height: 240px;
  object-fit: cover;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.25);
  border-radius: 2px;
  display: block;
}

.book-cover-link {
  display: block;
  transition: transform 0.25s, box-shadow 0.25s;
}
.book-cover-link:hover {
  transform: translateY(-4px);
  box-shadow: 4px 12px 28px rgba(0,0,0,0.3);
}

.buy-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.55em 1.4em;
  background: var(--gold);
  color: var(--ink);
  font-family: 'Source Serif 4', serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.buy-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

.trailer-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
}
.trailer-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.trailer-note {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: #555;
  text-align: center;
}

.meta-strip {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
  color: var(--ink-light);
}

.meta-item strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  font-weight: 400;
  margin-bottom: 0.15rem;
}

.verdict-badge {
  margin-left: auto;
  padding: 0.3em 1em;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.verdict-book { background: #e8f0e8; color: #2a5a2a; border: 1px solid #b0cdb0; }
.verdict-film { background: #1e1c1a; color: var(--gold); border: 1px solid #444; }
.verdict-tie  { background: #f0ebe0; color: #5a4a20; border: 1px solid #c8b880; }

.body-text { max-width: 720px; }

.body-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--ink);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

.body-text p {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  color: #2a2520;
}

.verdict-box {
  background: var(--ink);
  color: var(--cream);
  padding: 1.75rem 2rem;
  border-radius: 4px;
  margin: 2.5rem 0;
  border-left: 4px solid var(--gold);
}

.verdict-box .verdict-title {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.verdict-box p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: #e8e0d4;
  margin: 0;
}

.related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.related-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--ink-light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.related-card {
  display: block;
  padding: 1rem;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 3px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s, transform 0.15s;
}
.related-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.related-card .rel-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  display: block;
  margin-bottom: 0.25rem;
}

footer {
  background: var(--ink);
  border-top: 3px solid var(--gold);
  color: #666;
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
footer a { color: var(--gold); text-decoration: none; }

.home-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.home-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.home-hero h1 em { font-style: italic; color: var(--gold); }
.home-hero p { font-size: 1.1rem; color: #a09888; max-width: 560px; margin: 0 auto; }

.cards-section {
  max-width: var(--max-w);
  margin: 3rem auto;
  padding: 0 2rem;
}

.cards-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.book-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.book-card-img {
  background: var(--film-col);
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}
.book-card-img img {
  height: 180px;
  width: auto;
  object-fit: cover;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.4);
}

.book-card-body { padding: 1.25rem; flex: 1; }

.book-card-body .card-genre {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}

.book-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.book-card-body .card-author { font-size: 0.82rem; color: var(--ink-light); font-style: italic; }

.book-card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.75rem;
  color: #999;
}

@media (max-width: 700px) {
  .comparison { grid-template-columns: 1fr; }
  .panel-book { border-right: none; border-bottom: 1px solid var(--rule); }
  .meta-strip { flex-direction: column; gap: 1rem; }
  .verdict-badge { margin-left: 0; }
  .header-inner nav { display: none; }
}

/* ── TRAILER FACADE ── */
.trailer-link {
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
}

.trailer-thumbnail {
  position: relative;
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  background: #000;
}

.trailer-thumbnail img {
  width: 100%;
  display: block;
  transition: opacity 0.2s;
}

.trailer-link:hover .trailer-thumbnail img {
  opacity: 0.85;
}

.trailer-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(26, 23, 20, 0.82);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  transition: background 0.2s, transform 0.2s;
  pointer-events: none;
}

.trailer-link:hover .trailer-play {
  background: var(--ink);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ── KEY DIFFERENCES ── */
.difference {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.difference:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
}

.difference h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
