:root {
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --soft: rgba(255, 255, 255, 0.45);
  --dark-text: #0a0a0a;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--panel-strong);
  font-size: 20px;
}

.brand-label {
  margin: 0 0 2px;
  color: var(--soft);
  font-size: 13px;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.amazon-button,
.primary-btn,
.secondary-btn,
.buy-btn,
.view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.amazon-button,
.primary-btn,
.buy-btn {
  background: #ffffff;
  color: var(--dark-text) !important;
}

.amazon-button:hover,
.primary-btn:hover,
.buy-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.secondary-btn,
.view-btn {
  background: var(--panel-strong);
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.secondary-btn:hover,
.view-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7), #0a0a0a);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 90px 0;
}

.pill {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  font-size: 14px;
}

.hero-text h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
}

.hero-text p {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.featured-books {
  display: grid;
  gap: 16px;
}

.featured-card,
.card,
.book-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.featured-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

.featured-card img {
  width: 82px;
  height: 110px;
  object-fit: cover;
  border-radius: 18px;
}

.featured-card h4,
.book-info h4,
.card h4 {
  margin: 0;
}

.featured-meta,
.small-text,
.section-description,
.tagline,
.bio,
.info-list span,
.connect-list a {
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 36px;
}

.section-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--soft);
}

.section-head h3,
.profile-card h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
}

.section-description {
  max-width: 520px;
  line-height: 1.8;
}

.books-section,
.about-section {
  padding: 90px 0;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.book-card {
  overflow: hidden;
  transition: 0.25s ease;
}

.book-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
}

.book-cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-info {
  padding: 24px;
}

.book-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--panel-strong);
  font-size: 13px;
}

.rating {
  color: var(--muted);
  font-size: 14px;
}

.book-info h4 {
  font-size: 28px;
  line-height: 1.2;
}

.book-subtitle {
  margin: 10px 0 0;
  color: var(--soft);
}

.book-description {
  margin: 18px 0 0;
  line-height: 1.8;
  color: var(--muted);
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
}

.profile-card,
.card {
  padding: 32px;
}

.profile-icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: var(--panel-strong);
  margin-bottom: 20px;
}

.bio {
  line-height: 1.9;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-list,
.connect-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.info-list p {
  margin: 6px 0 0;
  color: var(--text);
}

.connect-list a {
  text-decoration: none;
}

.connect-list a:hover {
  color: var(--text);
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--soft);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-content,
  .about-grid,
  .info-grid,
  .books-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid var(--border);
    border-radius: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .desktop-only {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .books-section,
  .about-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .books-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
  }
}
.book-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.book-card-link:hover {
  text-decoration: none;
  color: inherit;
}