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

:root {
  --bg:      #2a1a2e;
  --accent:  #c9a96e;
  --text:    #f0e6d3;
  --muted:   #9e8a7a;
  --card-bg: rgba(255,255,255,0.07);
  --radius:  14px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 15% 40%, rgba(120,60,100,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(80,40,90,0.25) 0%, transparent 50%);
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 18px 0;
  background: rgba(30,15,35,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.15);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 48px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.book-main {
  padding: 110px 6% 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.back-btn {
  display: inline-block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 30px;
  transition: color 0.2s, border-color 0.2s;
}

.back-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* BOOK DETAIL */
.book-detail {
  display: flex;
  gap: 48px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}

.book-cover img {
  width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.book-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text);
}

.book-meta {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.book-meta li {
  font-size: 0.95rem;
  color: var(--muted);
}

.book-meta li span {
  color: var(--accent);
  font-weight: 500;
}

.synopsis {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  font-weight: 300;
}

/* RECOMMENDATION */
.recommendation {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 340px;
  margin-left: auto;
  animation: fadeUp 0.7s 0.15s ease both;
}

.recommendation p {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.recommendation a {
  text-decoration: none;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.recommendation a:hover {
  opacity: 0.75;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}