:root {
  --color-bg: #0c0b10;
  --color-surface: #16151d;
  --color-border: #2a2838;
  --color-text: #d8d5e0;
  --color-muted: #8885a0;
  --color-accent: #c0392b;
  --color-accent-hover: #e74c3c;
  --color-accent-glow: rgba(192, 57, 43, 0.25);
  --color-gold: #d4a853;
  --color-white: #ffffff;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1100px;
  --radius: 8px;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

.site-header {
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.site-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.site-description {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

main {
  padding: 3rem 0;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.book-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.book-card.coming-soon {
  opacity: 0.85;
}

.book-cover-link {
  display: block;
}

.book-cover {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.book-info {
  padding: 1.25rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.book-title a {
  color: var(--color-text);
  text-decoration: none;
}

.book-title a:hover {
  color: var(--color-accent);
}

.book-author {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.book-description {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.buy-button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.buy-button:hover {
  opacity: 0.9;
}

.coming-soon-section {
  margin-top: 2rem;
}

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

.author-bio {
  margin-bottom: 2rem;
}

.author-bio h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.author-bio p {
  color: var(--color-muted);
  line-height: 1.7;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .site-header {
    padding: 2.5rem 0 2rem;
  }
  .site-title {
    font-size: 2rem;
  }
  .book-grid {
    grid-template-columns: 1fr;
  }
}
