/* ==========================================================================
   AUGUST PROSPER | AUTHOR WEBSITE STYLESHEET
   Domain: AUGUSTPROSPER.COM
   Theme: Elegant Indian Noir & Atmospheric Mystery
   ========================================================================== */

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #101622;
  --bg-card: #151d2e;
  --bg-card-hover: #1c273d;
  --border-color: rgba(212, 175, 55, 0.15);
  --border-hover: rgba(212, 175, 55, 0.45);
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #997a15;
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --text-main: #f0f4f8;
  --text-muted: #9ba7b9;
  --text-dim: #6c798c;
  
  --crimson-accent: #9e1a1a;
  
  --font-heading: 'Cinzel', serif;
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-book: -10px 15px 30px rgba(0, 0, 0, 0.7);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-primary); }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #ffffff;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.title-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold-primary);
  font-size: 0.9rem;
  margin: 0.75rem 0 1.25rem;
}

.title-separator::before,
.title-separator::after {
  content: "";
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.title-separator.left-aligned {
  justify-content: flex-start;
}
.title-separator.left-aligned::after { width: 100px; }
.title-separator.left-aligned::before { display: none; }

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: #ffffff;
  border-color: #e67e22;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0a0d14;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--gold-glow);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
}
.btn-outline:hover {
  background: var(--gold-primary);
  color: #0a0d14;
  transform: translateY(-2px);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-primary);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 75% 30%, rgba(20, 32, 55, 0.7), transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(158, 26, 26, 0.15), transparent 50%),
              var(--bg-primary);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.badge-series {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 40%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.retailer-pill-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pill-label {
  font-weight: 600;
  color: var(--gold-primary);
}

.pill {
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* 3D Book Presentation */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-card-3d {
  position: relative;
  perspective: 1000px;
}

.book-cover-wrapper {
  position: relative;
  width: 320px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border-right: 3px solid rgba(255, 255, 255, 0.2);
}

.book-card-3d:hover .book-cover-wrapper {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.85);
}

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

.book-spine-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.4) 60%, transparent);
  pointer-events: none;
}

.book-badge-corner {
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--gold-primary);
  color: #0a0d14;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 35px;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ==========================================================================
   Series Spotlight
   ========================================================================== */
.series-spotlight {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.series-bio-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.series-bio-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
}

.series-bio-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.series-bio-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   Books Grid Section
   ========================================================================== */
.books-section {
  padding: 6rem 0;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.book-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.card-ribbon {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  background: var(--crimson-accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
}

.book-card-media {
  padding: 2rem 2rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), transparent);
  display: flex;
  justify-content: center;
}

.book-cover-container {
  width: 220px;
  position: relative;
  box-shadow: var(--shadow-book);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.book-card:hover .book-cover-container {
  transform: scale(1.03);
}

.series-order-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.book-card-info {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-category {
  font-size: 0.75rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.book-card-title {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.book-card-hook {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.book-card-synopsis {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.book-meta-list {
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.book-meta-list li {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.book-meta-list li i {
  color: var(--gold-primary);
  font-size: 0.8rem;
}

.book-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

/* ==========================================================================
   Where to Buy / Retailers Hub
   ========================================================================== */
.retailers-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.retailer-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.retailer-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.retailer-box.featured-retailer {
  border-color: rgba(230, 126, 34, 0.4);
  box-shadow: 0 8px 30px rgba(230, 126, 34, 0.15);
}

.retailer-box-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
}

.featured-retailer .retailer-box-icon {
  color: #f39c12;
}

.retailer-box h3 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.retailer-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.retailer-features {
  margin-bottom: 2rem;
}

.retailer-features li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.retailer-features li i {
  color: #2ecc71;
}

.store-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.store-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-pill i {
  color: var(--gold-primary);
}

/* ==========================================================================
   Excerpt / Sample Reader
   ========================================================================== */
.excerpt-section {
  padding: 6rem 0;
}

.excerpt-tab-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.excerpt-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-smooth);
}

.excerpt-tab.active,
.excerpt-tab:hover {
  background: var(--gold-primary);
  color: #0a0d14;
  border-color: var(--gold-primary);
}

.excerpt-reader-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.excerpt-reader-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.reader-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.reader-header h3 {
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 0.3rem;
}

.reader-header h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

.reader-body {
  padding: 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.reader-body p {
  margin-bottom: 1.4rem;
  text-indent: 1.5rem;
}

.reader-body p:first-of-type {
  text-indent: 0;
}

.reader-body p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  float: left;
  line-height: 0.8;
  padding-right: 0.6rem;
  padding-top: 0.2rem;
  color: var(--gold-primary);
}

.reader-footer {
  padding: 1.5rem 2.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

/* ==========================================================================
   About the Author
   ========================================================================== */
.about-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
}

.about-container {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 4rem;
}

.about-image-col {
  display: flex;
  justify-content: center;
}

.author-portrait-frame {
  width: 280px;
  height: 380px;
  background: linear-gradient(135deg, #182236, #0e1420);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  position: relative;
}

.author-silhouette {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold-primary);
  margin-bottom: 2rem;
}

.author-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: #ffffff;
  font-weight: 700;
}

.about-p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.author-credentials {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

.cred-item {
  display: flex;
  flex-direction: column;
}

.cred-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.cred-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
  padding: 6rem 0;
}

.newsletter-box {
  background: linear-gradient(135deg, #151e30, #0f1624);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3.5rem 3rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.newsletter-icon {
  font-size: 2.5rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.newsletter-header h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.newsletter-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 650px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
}

.newsletter-form .form-group {
  flex: 1;
  min-width: 200px;
}

.newsletter-form input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(10, 13, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.newsletter-form input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

.btn-submit {
  padding: 0.9rem 1.8rem;
}

.privacy-note {
  color: var(--text-dim);
}

.form-message {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  display: none;
}
.form-message.success {
  color: #2ecc71;
  display: block;
}
.form-message.error {
  color: #ff6b6b;
  display: block;
}
.form-message a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #07090e;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.footer-col h5 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: 0.08em;
}

.footer-col p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.domain-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.links-col ul li {
  margin-bottom: 0.6rem;
}

.links-col ul li a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.links-col ul li a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-mail {
  color: var(--gold-light);
  font-weight: 500;
}
.footer-mail:hover {
  color: var(--gold-primary);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.social-icons a:hover {
  background: var(--gold-primary);
  color: #0a0d14;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.disclaimer-mini {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #555f6d;
}

/* ==========================================================================
   Sample Reader Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 100%;
  max-width: 750px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: var(--gold-primary);
}

.modal-content-inner {
  padding: 2.2rem 2.5rem;
}

.modal-reader-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.modal-badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modal-title {
  font-family: var(--font-heading);
  color: var(--gold-primary);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.modal-chapter {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 500;
  font-family: var(--font-serif);
  font-style: italic;
}

.modal-quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--gold-primary);
  padding-left: 1rem;
  margin: 1rem 0;
  font-size: 1.05rem;
}

.modal-reader-body {
  background: rgba(10, 13, 20, 0.6);
  padding: 1.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-reader-footer {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.modal-footer-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-right: auto;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    order: 2;
  }
  .hero-visual {
    order: 1;
  }
  .hero-actions {
    justify-content: center;
  }
  .retailer-pill-row {
    justify-content: center;
  }
  .series-bio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .series-bio-icon {
    margin: 0 auto;
  }
  .retailer-showcase-grid {
    grid-template-columns: 1fr;
  }
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .title-separator.left-aligned {
    justify-content: center;
  }
  .author-credentials {
    justify-content: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .book-cover-wrapper {
    width: 260px;
  }
  .reader-body {
    padding: 1.5rem;
    font-size: 1.05rem;
  }
}
