/* ═══════════════════════════════════════════════════
   ЗНАМ / I KNOW — Marjan M. Tasevski
   Premium Author Website Styles
   ═══════════════════════════════════════════════════ */

:root {
  --ink: #060E1A;
  --ink-light: #0C1B30;
  --navy: #0A1A2F;
  --cream: #F0F2F5;
  --warm: #E8EAF0;
  --gold: #C9A84C;
  --gold-light: #DBBF6A;
  --gold-dim: #9A7E38;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --charcoal: #0E2240;
  --text: #1B3A5C;
  --text-light: #5A7A9A;
  --white: #F7F8FA;
  --glass: rgba(255, 255, 255, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Franklin', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────────
   LANGUAGE SWITCHER
   ───────────────────────────────────────────────── */
.lang-switcher {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(6,14,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 30px;
  padding: 4px;
  gap: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 26px;
  text-decoration: none;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(240,242,245,0.5);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lang-switcher a:hover {
  color: var(--gold-light);
}

.lang-switcher a.active {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(201,168,76,0.3);
}

.lang-switcher a.active:hover {
  background: var(--gold-light);
  color: var(--ink);
}

.lang-flag {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 480px) {
  .lang-switcher {
    bottom: 12px;
    left: 12px;
  }

  .lang-switcher a {
    padding: 6px 12px;
    font-size: 10px;
    gap: 4px;
  }

  .lang-flag {
    font-size: 14px;
  }
}

/* ─────────────────────────────────────────────────
   HERO SECTION — Cinematic Book Showcase
   ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

/* Ambient background layers */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 20%, rgba(30,60,110,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(30,60,110,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--ink), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 8s infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.5s; animation-duration: 9s; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 3s; animation-duration: 6s; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 0.8s; animation-duration: 8s; }
.particle:nth-child(5) { left: 80%; top: 40%; animation-delay: 2.2s; animation-duration: 10s; }
.particle:nth-child(6) { left: 90%; top: 15%; animation-delay: 4s; animation-duration: 7.5s; }
.particle:nth-child(7) { left: 35%; top: 85%; animation-delay: 1s; animation-duration: 8.5s; }
.particle:nth-child(8) { left: 55%; top: 10%; animation-delay: 5s; animation-duration: 6.5s; }

/* Gold arc decorations */
.hero-arc {
  position: absolute;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 2s forwards;
}

.hero-arc--1 {
  top: -40%; left: -20%;
  width: 140%;
  height: 130%;
  animation-delay: 0.5s;
}

.hero-arc--2 {
  top: 10%; right: -35%;
  width: 120%;
  height: 120%;
  animation-delay: 0.8s;
  border-color: rgba(201,168,76,0.08);
}

.hero-arc--3 {
  bottom: -50%; left: -10%;
  width: 100%;
  height: 100%;
  animation-delay: 1.1s;
  border-color: rgba(201,168,76,0.06);
}

/* ─── Golden sweeping ribbon lines ─── */
.golden-ribbon {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

/* Top-left sweeping ribbon — curves from upper-left down across */
.golden-ribbon--1 {
  top: 8%;
  left: -10%;
  width: 70%;
  height: 80%;
  border: none;
  border-bottom: 2px solid;
  border-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(201,168,76,0.6) 20%,
    rgba(219,191,106,0.9) 40%,
    rgba(201,168,76,0.5) 60%,
    transparent 100%
  ) 1;
  border-radius: 0 0 50% 0;
  transform: rotate(-8deg);
  animation: ribbonSweep1 1.8s 0.6s forwards;
}

/* Secondary thinner line parallel to first */
.golden-ribbon--2 {
  top: 12%;
  left: -8%;
  width: 60%;
  height: 70%;
  border: none;
  border-bottom: 1px solid;
  border-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(201,168,76,0.3) 25%,
    rgba(219,191,106,0.5) 45%,
    rgba(201,168,76,0.2) 65%,
    transparent 100%
  ) 1;
  transform: rotate(-6deg);
  animation: ribbonSweep1 2s 0.9s forwards;
}

/* Bottom-right sweeping ribbon — curves from lower-right up */
.golden-ribbon--3 {
  bottom: 12%;
  right: -10%;
  width: 65%;
  height: 70%;
  border: none;
  border-top: 2px solid;
  border-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(201,168,76,0.5) 20%,
    rgba(219,191,106,0.8) 45%,
    rgba(201,168,76,0.4) 65%,
    transparent 100%
  ) 1;
  transform: rotate(6deg);
  animation: ribbonSweep2 1.8s 1s forwards;
}

/* Secondary bottom ribbon */
.golden-ribbon--4 {
  bottom: 8%;
  right: -6%;
  width: 55%;
  height: 60%;
  border: none;
  border-top: 1px solid;
  border-image: linear-gradient(
    to left,
    transparent 0%,
    rgba(201,168,76,0.25) 25%,
    rgba(219,191,106,0.4) 50%,
    rgba(201,168,76,0.15) 70%,
    transparent 100%
  ) 1;
  transform: rotate(8deg);
  animation: ribbonSweep2 2s 1.2s forwards;
}

/* ─── Golden starburst / sparkle ─── */
.golden-starburst {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.golden-starburst--1 {
  top: 15%;
  left: 22%;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow:
    0 0 20px 8px rgba(219,191,106,0.6),
    0 0 60px 20px rgba(201,168,76,0.3),
    0 0 100px 40px rgba(201,168,76,0.15);
  animation: starburstPulse 3s 1.5s forwards;
}

/* Cross rays of the starburst */
.golden-starburst--1::before,
.golden-starburst--1::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(to right, transparent, rgba(219,191,106,0.8), transparent);
  transform-origin: center;
}

.golden-starburst--1::before {
  width: 80px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.golden-starburst--1::after {
  width: 1px;
  height: 80px;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom, transparent, rgba(219,191,106,0.8), transparent);
}

/* Smaller secondary sparkle */
.golden-starburst--2 {
  top: 28%;
  right: 18%;
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow:
    0 0 12px 4px rgba(219,191,106,0.5),
    0 0 30px 10px rgba(201,168,76,0.2);
  animation: starburstPulse 4s 2s forwards;
}

.golden-starburst--2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(219,191,106,0.5), transparent);
  transform: translate(-50%, -50%);
}

/* Tiny sparkle near bottom */
.golden-starburst--3 {
  bottom: 25%;
  left: 15%;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 8px 3px rgba(201,168,76,0.4),
    0 0 20px 8px rgba(201,168,76,0.15);
  animation: starburstPulse 3.5s 2.5s forwards;
}

/* ─── Golden floor glow under books ─── */
.golden-floor-glow {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(201,168,76,0.15) 15%,
    rgba(219,191,106,0.5) 35%,
    rgba(219,191,106,0.7) 50%,
    rgba(219,191,106,0.5) 65%,
    rgba(201,168,76,0.15) 85%,
    transparent
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1.5s 1.3s forwards;
}

.golden-floor-glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 24px;
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
  position: relative;
}

.hero-badge::before,
.hero-badge::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  top: 50%;
}

.hero-badge::before { right: 100%; margin-right: 12px; }
.hero-badge::after { left: 100%; margin-left: 12px; }

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 10vw, 130px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero h1 .gold {
  color: var(--gold);
  font-weight: 700;
  font-style: italic;
  text-shadow: 0 0 60px rgba(201,168,76,0.3);
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: rgba(219,191,106,0.8);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-author-name {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(240,242,245,0.4);
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-author-name strong {
  color: rgba(240,242,245,0.7);
  font-weight: 500;
}

/* ─── HERO BOOKS SHOWCASE ─── */
.hero-books {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  perspective: 1400px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
  position: relative;
  z-index: 2;
}

/* Reflective surface under books */
.hero-books-stage {
  position: relative;
  padding-bottom: 70px;
}

.hero-books-stage::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.06), transparent);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-book {
  width: 220px;
  height: 320px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-book img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  box-shadow:
    0 15px 35px rgba(0,0,0,0.4),
    0 5px 15px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(201,168,76,0.1);
}

/* 3D book spine effect */
.hero-book::before {
  content: '';
  position: absolute;
  top: 2%;
  left: -16px;
  width: 16px;
  height: 96%;
  background: linear-gradient(to right, #0a1520, #142840);
  transform: rotateY(-90deg);
  transform-origin: right center;
  border-radius: 2px 0 0 2px;
}

/* Book shadow on surface */
.hero-book::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: rgba(0,0,0,0.3);
  filter: blur(10px);
  border-radius: 50%;
  transition: all 0.6s ease;
}

/* Individual book positioning for depth */
.hero-book:nth-child(1) { transform: rotateY(8deg) translateZ(0px); }
.hero-book:nth-child(2) { transform: rotateY(4deg) translateZ(20px); margin-bottom: 10px; }
.hero-book:nth-child(3) { transform: rotateY(-4deg) translateZ(20px); margin-bottom: 10px; }
.hero-book:nth-child(4) { transform: rotateY(-8deg) translateZ(0px); }

/* Hover animations */
.hero-book:hover {
  transform: rotateY(0deg) translateZ(40px) translateY(-20px) scale(1.08) !important;
  z-index: 10;
}

.hero-book:hover img,
.hero-book:hover .hero-book-link img {
  box-shadow:
    0 25px 50px rgba(0,0,0,0.5),
    0 10px 25px rgba(0,0,0,0.4),
    0 0 40px rgba(201,168,76,0.15),
    inset 0 0 0 1px rgba(201,168,76,0.2);
}

.hero-book:hover::after {
  bottom: -30px;
  filter: blur(15px);
  opacity: 0.5;
}

/* Gold shimmer on hover */
.hero-book .book-shimmer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(201,168,76,0.08) 45%,
    rgba(201,168,76,0.15) 50%,
    rgba(201,168,76,0.08) 55%,
    transparent 60%
  );
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.hero-book:hover .book-shimmer {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* Book CTA buttons under each book — always visible */
.hero-book-cta {
  position: absolute;
  bottom: -52px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  transition: all 0.4s ease;
  white-space: nowrap;
  z-index: 3;
}

.hero-book:hover .hero-book-cta {
  bottom: -56px;
  transform: translateX(-50%) scale(1.05);
}

.btn-more {
  display: inline-block;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(201,168,76,0.25);
}

.btn-more:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(201,168,76,0.4);
  transform: translateY(-1px);
}

/* Hero book link wrapper — makes entire cover clickable */
.hero-book-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.hero-book-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  box-shadow:
    0 15px 35px rgba(0,0,0,0.4),
    0 5px 15px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(201,168,76,0.1);
  transition: box-shadow 0.4s ease;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(240,242,245,0.25);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 2s forwards;
  z-index: 3;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.4), transparent);
  animation: pulse 2.5s infinite;
}

/* ─────────────────────────────────────────────────
   BIO / ABOUT SECTION
   ───────────────────────────────────────────────── */
.bio {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
  position: relative;
}

.bio-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.bio-ornament .line {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.bio-ornament .diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.bio h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 36px;
  line-height: 1.35;
}

.bio h2 em {
  color: var(--gold-dim);
  font-style: italic;
}

.bio p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bio-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.bio-stat {
  text-align: center;
  position: relative;
}

.bio-stat::after {
  content: '';
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3), transparent);
}

.bio-stat:last-child::after { display: none; }

.bio-stat .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.bio-stat .label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 10px;
}

/* ─────────────────────────────────────────────────
   DISCOVER BOOKS — SECTION HEADING
   ───────────────────────────────────────────────── */
.books-section {
  background: var(--white);
  padding: 120px 24px;
  position: relative;
}

.books-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.3), transparent);
}

.books-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 80px;
}

.section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.books-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}

/* ─────────────────────────────────────────────────
   BOOK CARDS — Horizontal Layout
   ───────────────────────────────────────────────── */
.books-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.book-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 48px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  position: relative;
}

.book-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.book-card:last-child { border-bottom: none; }

/* Hover highlight */
.book-card::before {
  content: '';
  position: absolute;
  top: 0; left: -24px; right: -24px; bottom: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.02), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: 8px;
  pointer-events: none;
}

.book-card:hover::before { opacity: 1; }

/* Book cover in card */
.book-cover-wrap {
  width: 220px;
  height: 310px;
  position: relative;
  perspective: 800px;
  flex-shrink: 0;
}

.book-cover {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
  box-shadow:
    8px 12px 30px rgba(0,0,0,0.15),
    0 2px 8px rgba(0,0,0,0.1);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3D tilt on hover */
.book-card:hover .book-cover {
  transform: rotateY(-8deg) rotateX(3deg) translateY(-8px);
  box-shadow:
    15px 20px 40px rgba(0,0,0,0.25),
    0 5px 15px rgba(0,0,0,0.15),
    0 0 30px rgba(201,168,76,0.08);
}

/* Shine sweep on hover */
.book-cover::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.08),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.book-card:hover .book-cover::after {
  left: 150%;
}

/* Fallback cover (no image) */
.book-cover-fallback {
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.book-cover-fallback::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(201,168,76,0.15) 0%, transparent 50%),
    linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.book-cover-fallback .cover-label {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  position: relative;
}

.book-cover-fallback .cover-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.25;
  position: relative;
}

.book-cover-fallback .cover-subtitle {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(240,242,245,0.4);
  margin-top: 16px;
  position: relative;
}

/* Book info */
.book-info {
  padding: 8px 0;
}

.book-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
}

.book-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
  max-width: 480px;
}

/* CTA button */
.book-cta { flex-shrink: 0; }

.btn-kindle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-kindle::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
  transition: left 0.5s;
}

.btn-kindle:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn-kindle:hover::before {
  left: 100%;
}

.btn-kindle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─────────────────────────────────────────────────
   FEATURED / LEAD BOOK
   ───────────────────────────────────────────────── */
.featured {
  background: var(--ink);
  color: var(--cream);
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(30,60,110,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.featured::after {
  content: '';
  position: absolute;
  top: -60%; right: -30%;
  width: 140%;
  height: 160%;
  border: 1px solid rgba(201,168,76,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.featured-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.featured h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--cream);
}

.featured h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.featured p {
  font-size: 15px;
  color: rgba(240,242,245,0.55);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto 48px;
}

.featured .btn-kindle {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.featured .btn-kindle:hover {
  background: var(--gold-light);
  color: var(--ink);
}

/* ─────────────────────────────────────────────────
   EMAIL CAPTURE
   ───────────────────────────────────────────────── */
.email-section {
  padding: 120px 24px;
  text-align: center;
  background: var(--warm);
  position: relative;
}

.email-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.2), transparent);
}

.email-inner {
  max-width: 560px;
  margin: 0 auto;
}

.email-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.email-section p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.85;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.email-form input[type="email"] {
  flex: 1;
  padding: 18px 24px;
  border: 1px solid rgba(201,168,76,0.25);
  border-right: none;
  background: #fff;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 2px 0 0 2px;
}

.email-form input[type="email"]::placeholder {
  color: rgba(90,122,154,0.5);
}

.email-form input[type="email"]:focus {
  border-color: var(--gold);
}

.email-form button {
  padding: 18px 32px;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  font-family: 'Libre Franklin', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s;
  white-space: nowrap;
  border-radius: 0 2px 2px 0;
}

.email-form button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.email-note {
  font-size: 12px;
  color: rgba(90,122,154,0.5);
  margin-top: 18px;
  letter-spacing: 0.5px;
}

/* ─────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(240,242,245,0.3);
  text-align: center;
  padding: 56px 24px;
  font-size: 12px;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.15), transparent);
}

footer .footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold-dim);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

footer p {
  line-height: 1.8;
}

/* ─────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}

@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-120px) translateX(30px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes ribbonSweep1 {
  0% { opacity: 0; transform: rotate(-8deg) translateX(-40px); }
  100% { opacity: 1; transform: rotate(-8deg) translateX(0); }
}

@keyframes ribbonSweep2 {
  0% { opacity: 0; transform: rotate(6deg) translateX(40px); }
  100% { opacity: 1; transform: rotate(6deg) translateX(0); }
}

@keyframes starburstPulse {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.85; transform: scale(1); }
}

@keyframes starburstGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ─────────────────────────────────────────────────
   RESPONSIVE — TABLET (max-width: 1024px)
   ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-books {
    gap: 20px;
  }

  .hero-book {
    width: 180px;
    height: 260px;
  }

  .hero-book::before {
    width: 12px;
    left: -12px;
  }

  .hero-book-cta {
    display: none;
  }

  .book-card {
    grid-template-columns: 180px 1fr auto;
    gap: 32px;
  }

  .book-cover-wrap {
    width: 180px;
    height: 255px;
  }
}

/* ─────────────────────────────────────────────────
   RESPONSIVE — MOBILE (max-width: 768px)
   ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    padding: 50px 16px 40px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 80px);
  }

  .hero-content {
    margin-bottom: 10px;
  }

  .hero-author-name {
    margin-bottom: 40px;
  }

  .hero-books-stage {
    padding-bottom: 60px;
  }

  .hero-books {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-book {
    width: 150px;
    height: 218px;
  }

  .hero-book::before {
    width: 10px;
    left: -10px;
  }

  .hero-book:nth-child(1) { transform: rotateY(3deg) translateZ(0px); }
  .hero-book:nth-child(2) { transform: rotateY(-3deg) translateZ(0px); }
  .hero-book:nth-child(3) { transform: rotateY(3deg) translateZ(0px); }
  .hero-book:nth-child(4) { transform: rotateY(-3deg) translateZ(0px); }

  .hero-badge::before,
  .hero-badge::after { display: none; }

  .hero-scroll { display: none; }

  .bio {
    padding: 80px 20px;
  }

  .bio-stats {
    gap: 24px;
  }

  .bio-stat::after { display: none; }

  .book-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
    padding: 48px 16px;
  }

  .book-cover-wrap {
    width: 180px;
    height: 255px;
    margin: 0 auto;
  }

  .book-desc {
    max-width: 100%;
  }

  .book-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .book-cta {
    text-align: center;
  }

  .books-section {
    padding: 80px 20px;
  }

  .featured {
    padding: 80px 20px;
  }

  .email-section {
    padding: 80px 20px;
  }

  .email-form {
    flex-direction: column;
    box-shadow: none;
  }

  .email-form input[type="email"] {
    border-right: 1px solid rgba(201,168,76,0.25);
    border-bottom: none;
    border-radius: 2px 2px 0 0;
  }

  .email-form button {
    border-radius: 0 0 2px 2px;
  }
}

/* ─────────────────────────────────────────────────
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-books {
    gap: 8px;
    max-width: 320px;
  }

  .hero-book {
    width: 130px;
    height: 189px;
  }

  .hero-book::before {
    width: 8px;
    left: -8px;
  }

  .hero-book-cta {
    bottom: -40px;
  }

  .btn-more {
    padding: 7px 14px;
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .hero-badge {
    font-size: 8px;
    letter-spacing: 3px;
    padding: 6px 16px;
  }

  .bio-stat .number {
    font-size: 38px;
  }
}

@media (max-width: 360px) {
  .hero-book {
    width: 110px;
    height: 160px;
  }

  .hero-books {
    gap: 6px;
    max-width: 260px;
  }
}
