:root {
  --bg: #071C3D;
  --bg-dark: #041124;
  --text: #ffffff;
  --muted: #c8d4e3;
  --accent: #00E5FF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #133d8b 0%, var(--bg) 35%, var(--bg-dark) 100%);
  color: var(--text);
  line-height: 1.7;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: auto;
}

/* Main */
.books {
  width: min(1200px, 90%);
  margin: auto;
  padding-bottom: 80px;
}

/* Book Row */
.book {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 70px 0;
}

/* Alternate right image */
.book.reverse {
  flex-direction: row-reverse;
}

/* Cover */
.book-image {
  flex: 0 0 280px;
}

.book-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  transition: transform 0.35s ease;
}

.book-image img:hover {
  transform: translateY(-8px) rotate(-1deg);
}

/* Content */
.book-content {
  flex: 1;
}

.book-content h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.book-content p {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

/* Button */
.buy-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(90deg, var(--accent), #0095ff);
  color: #041124;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0,229,255,0.45);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.8), transparent);
}

/* Mobile */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .book,
  .book.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 60px 0;
  }

  .book-image {
    flex: none;
    width: 220px;
  }

  .book-content p {
    margin-left: auto;
    margin-right: auto;
  }
}