/* ==========================================================================
   NAVORA INK - LUXURY SELF-PUBLISHING DESIGN SYSTEM
   Modern, elegant typography, curated gold & deep midnight palette,
   micro-interactions, glassmorphism, responsive marquee animations,
   and cinematic multi-layer fading background transitions.
   ========================================================================== */

:root {
  --color-black: #000000;
  --color-obsidian: #05080C;
  --color-obsidian-card: #0A0F16;
  --color-obsidian-light: #101722;

  --color-seafoam: #8DBAB7;
  --color-seafoam-light: #AEE2DF;
  --color-seafoam-bright: #C7ECE9;
  --color-seafoam-glow: rgba(141, 186, 183, 0.3);

  --color-ocean: #296E8C;
  --color-ocean-light: #3D88A8;
  --color-ocean-dark: #1E556E;

  --color-olive: #85843C;
  --color-olive-light: #9E9D4C;
  --color-olive-dark: #6C6B2E;

  --color-sand: #F9EDE0;
  --color-sand-light: #FCF7F1;
  --color-sand-dark: #EAD8C3;

  /* Backward-compatible variables remapped to the new palette */
  --color-midnight: #05080C;
  --color-midnight-dark: #000000;
  --color-midnight-card: #0A0F16;
  --color-midnight-light: #101722;

  --color-gold: #8DBAB7;
  --color-gold-light: #AEE2DF;
  --color-gold-bright: #F9EDE0;
  --color-gold-dark: #85843C;
  --color-gold-glow: rgba(141, 186, 183, 0.28);

  --color-charcoal: #0B1017;
  --color-muted: #94A3B8;
  --color-border-dark: rgba(141, 186, 183, 0.22);
}

/* ==========================================================================
   GLOBAL RESPONSIVE CONTAINMENT (Prevents Mobile Viewport Out-of-Frame Bugs)
   ========================================================================== */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

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

img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   1. SPECULAR TEXT-SHINE GLASS HEADLINE
   ========================================================================== */
@keyframes textGlassSweep {
  0% {
    background-position: 220% center;
  }
  100% {
    background-position: -220% center;
  }
}

.glass-shine-headline {
  background: linear-gradient(
    115deg,
    #FFFFFF 0%,
    #FFFFFF 35%,
    #8DBAB7 43%,
    #FFFFFF 48%,
    #FFF8E7 52%,
    #8DBAB7 57%,
    #FFFFFF 65%,
    #FFFFFF 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: textGlassSweep 7s linear infinite;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

.gold-gradient-text {
  background: linear-gradient(135deg, #F9EDE0 0%, #8DBAB7 50%, #296E8C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   2. SLIDING BOOK SHOWCASE MARQUEE (3-ROW OPPOSITE DIRECTION)
   ========================================================================== */
@keyframes slideRowLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slideRowRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.marquee-row-left {
  display: flex;
  width: max-content;
  animation: slideRowLeft 50s linear infinite;
}

.marquee-row-right {
  display: flex;
  width: max-content;
  animation: slideRowRight 50s linear infinite;
}

.marquee-container:hover .marquee-row-left,
.marquee-container:hover .marquee-row-right {
  animation-play-state: paused;
}

/* ==========================================================================
   2b. PARTNER LOGO SLIDING MARQUEE UNDER HERO
   ========================================================================== */
@keyframes slideLogosLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slider-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: slideLogosLeft 28s linear infinite;
}

.logo-slider-container:hover .logo-slider-track {
  animation-play-state: paused;
}

.partner-logo-item {
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo-item:hover {
  transform: scale(1.08);
  filter: brightness(1.2);
}

/* Book Cover 3D Hover Effect */
.book-card {
  perspective: 1000px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.book-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 73, 0.25);
  z-index: 20;
}

/* ==========================================================================
   3. TIMELINE POINTER TRIANGLES
   ========================================================================== */
.timeline-card-top::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #F9EDE0 transparent transparent transparent;
}

.timeline-card-bottom::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #F9EDE0 transparent;
}

/* ==========================================================================
   4. GOLD ACCENT RIBBONS & BUTTON GLOWS
   ========================================================================== */
.btn-gold {
  background: linear-gradient(135deg, #296E8C 0%, #3B88A8 50%, #8DBAB7 100%);
  color: #04080D;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 18px rgba(141, 186, 183, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #3B88A8 0%, #8DBAB7 50%, #AEE2DF 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(41, 110, 140, 0.5);
}

.btn-olive {
  background: linear-gradient(135deg, #85843C 0%, #9E9D4C 100%);
  color: #FFFFFF;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(133, 132, 60, 0.35);
}

.btn-olive:hover {
  background: linear-gradient(135deg, #9E9D4C 0%, #B4B35D 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(133, 132, 60, 0.5);
}

.btn-crimson {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.3);
}

.btn-crimson:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.45);
}

/* ==========================================================================
   5. MODAL FADE & POPUP (Fully responsive, mobile-fit, never overflows)
   ========================================================================== */
.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-overflow-scrolling: touch;
}

.modal-card::-webkit-scrollbar {
  width: 4px;
}
.modal-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
}
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 73, 0.5);
  border-radius: 9999px;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

/* ==========================================================================
   6. FAQ ACCORDION TRANSITIONS
   ========================================================================== */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 400px;
  opacity: 1;
  margin-top: 0.75rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #FFFFFF;
}
::-webkit-scrollbar-thumb {
  background: #8DBAB7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #296E8C;
}

/* ==========================================================================
   7. MIGRATED HERO FADING BACKGROUND SLIDESHOW (From new/)
   Cycles through 3 high-definition literary visuals seamlessly.
   ========================================================================== */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  transform: scale(1.04);
  transition: transform 10s ease-out;
  will-change: opacity, transform;
}

.hero-bg-1 {
  /* Grand Classic Library & Bookshelves */
  background-image: url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&q=80&w=2070');
  animation-name: fadeBg1;
  animation-delay: 0s;
  opacity: 1;
}

.hero-bg-2 {
  /* Author Writing Desk, Vintage Typewriter & Manuscripts */
  background-image: url('https://images.unsplash.com/photo-1457369804613-52c61a468e7d?auto=format&fit=crop&q=80&w=2070');
  animation-name: fadeBg2;
  animation-delay: 0s;
}

.hero-bg-3 {
  /* Open Books with Ambient Light & Elegant Pages */
  background-image: url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?auto=format&fit=crop&q=80&w=2073');
  animation-name: fadeBg3;
  animation-delay: 0s;
}

@keyframes fadeBg1 {
  0%, 28% { opacity: 1; }
  38% { opacity: 0; }
  92% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeBg2 {
  0%, 28% { opacity: 0; }
  38%, 61% { opacity: 1; }
  71% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes fadeBg3 {
  0%, 61% { opacity: 0; }
  71%, 94% { opacity: 1; }
  100% { opacity: 0; }
}

/* Hero Dark Scrim: Left-biased dark vignette for crystal-clear background scenery & crisp typography */
.hero-dark-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 8, 12, 0.82) 0%,
    rgba(5, 8, 12, 0.55) 42%,
    rgba(5, 8, 12, 0.22) 75%,
    rgba(5, 8, 12, 0.08) 100%
  );
}

@media (max-width: 1023px) {
  .hero-dark-scrim {
    background: linear-gradient(
      180deg,
      rgba(5, 8, 12, 0.80) 0%,
      rgba(5, 8, 12, 0.48) 45%,
      rgba(5, 8, 12, 0.70) 100%
    );
  }
}

/* Hero Dark Scrim Center: Vignette for centered hero titles & stats */
.hero-dark-scrim-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(5, 8, 12, 0.55) 0%, rgba(5, 8, 12, 0.78) 75%, rgba(5, 8, 12, 0.90) 100%),
              linear-gradient(180deg, rgba(5, 8, 12, 0.65) 0%, rgba(5, 8, 12, 0.35) 45%, rgba(5, 8, 12, 0.85) 100%);
}

/* ==========================================================================
   8. AMBIENT GLOW ORBS & BACKGROUND PATTERN (From new/styles.css)
   ========================================================================== */
.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(rgba(41, 110, 140, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.7;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.glow-top-left {
  top: -120px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(141, 186, 183, 0.28) 0%, rgba(249, 237, 224, 0.4) 60%, transparent 100%);
}

.glow-bottom-right {
  bottom: -120px;
  right: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(41, 110, 140, 0.16) 0%, rgba(133, 132, 60, 0.1) 60%, transparent 100%);
}

@media (max-width: 767px) {
  .glow-top-left {
    top: -40px;
    left: -30px;
    width: 240px;
    height: 240px;
    filter: blur(50px);
  }
  .glow-bottom-right {
    bottom: -40px;
    right: -30px;
    width: 240px;
    height: 240px;
    filter: blur(50px);
  }
}

/* ==========================================================================
   9. DYNAMIC WORD ROTATOR (From new/style.css)
   ========================================================================== */
.word-rotator {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.35em;
}

.word-rotator-list {
  animation: rotateWords 9s cubic-bezier(0.1, 0.7, 0.1, 1) infinite;
  margin: 0;
  padding: 0;
  list-style: none;
}

.word-rotator-list li {
  height: 1.35em;
  line-height: 1.35em;
  display: flex;
  align-items: center;
}

@keyframes rotateWords {
  0%, 22% {
    transform: translateY(0%);
  }
  28%, 55% {
    transform: translateY(-33.333%);
  }
  61%, 88% {
    transform: translateY(-66.666%);
  }
  94%, 100% {
    transform: translateY(0%);
  }
}

/* ==========================================================================
   10. ANIMATION UTILITIES (From new/sections/hero.html & new/style.css)
   ========================================================================== */
.animate__fadeInUpShorter {
  animation: fadeInUpShorter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUpShorter {
  from {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__expandIn {
  animation: expandIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes expandIn {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   DYNAMIC NAVBAR THEME (TEXT CHANGES BASED ON BACKGROUND & SCROLL)
   ========================================================================== */
#navbar {
  transition: all 0.3s ease;
  border: none !important;
  outline: none !important;
}

#navbar a,
#navbar a:focus,
#navbar a:active,
#navbar button,
#navbar button:focus {
  outline: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
  box-shadow: none;
}

#main-nav-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link-dynamic {
  color: #1E293B;
  transition: color 0.25s ease, background-color 0.25s ease;
  text-decoration: none !important;
  border: none !important;
}

.nav-link-dynamic:hover {
  color: #296E8C !important;
  text-decoration: none !important;
}

#mobile-menu-btn {
  color: #1E293B;
  border-color: rgba(0, 0, 0, 0.12);
  background-color: rgba(0, 0, 0, 0.04);
}

#mobile-menu {
  background-color: #FFFFFF;
  color: #1E293B;
}

#mobile-menu a {
  color: #1E293B;
  text-decoration: none !important;
  border: none !important;
}

/* --- WHITE GLASS SCROLLED NAVBAR --- */
#navbar.nav-scrolled #main-nav-bar {
  background-color: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(41, 110, 140, 0.22) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07) !important;
}

#navbar.nav-scrolled .nav-link-dynamic:not(.nav-active-pill) {
  color: #1E293B !important;
  font-weight: 600;
  text-decoration: none !important;
}

#navbar.nav-scrolled .nav-link-dynamic:not(.nav-active-pill):hover {
  color: #296E8C !important;
}

#navbar.nav-scrolled #mobile-menu-btn {
  color: #296E8C !important;
  border-color: rgba(41, 110, 140, 0.3) !important;
  background-color: rgba(41, 110, 140, 0.08) !important;
}

/* Responsive Center Crest Tab on Header */
.crest-tab-box {
  width: 195px;
  height: 74px;
}
.crest-tab-link {
  width: 165px;
  height: 68px;
}
@media (min-width: 640px) {
  .crest-tab-box {
    width: 255px;
    height: 92px;
  }
  .crest-tab-link {
    width: 215px;
    height: 86px;
  }
}

/* Scrolled Mobile Menu: White with clean borders and palette accents */
#navbar.nav-scrolled #mobile-menu {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid rgba(41, 110, 140, 0.25) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

#navbar.nav-scrolled #mobile-menu a:not(.nav-active-pill) {
  color: #1E293B !important;
}

#navbar.nav-scrolled #mobile-menu a:hover {
  color: #296E8C !important;
}

#navbar.nav-scrolled #mobile-menu .nav-service-group-title {
  color: #296E8C !important;
}

/* ==========================================================================
   SERVICES MEGA-DROPDOWN: TRANSLUCENT FROSTED GLASS & HIGH READABILITY
   ========================================================================== */
.services-mega-menu {
  background: linear-gradient(145deg, rgba(7, 20, 38, 0.96) 0%, rgba(10, 26, 48, 0.98) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(197, 160, 73, 0.45);
  box-shadow: 0 28px 65px -12px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* When navbar is scrolled over a white background or light sections */
#navbar.nav-scrolled .services-mega-menu {
  background: linear-gradient(145deg, rgba(6, 17, 33, 0.98) 0%, rgba(9, 22, 42, 0.99) 100%) !important;
  border-color: rgba(197, 160, 73, 0.6) !important;
  box-shadow: 0 32px 75px -10px rgba(0, 0, 0, 0.88),
              0 0 0 1px rgba(197, 160, 73, 0.25) inset,
              0 0 25px rgba(197, 160, 73, 0.15) !important;
}

/* ==========================================================================
   SHINY GLASS SPECULAR LIGHT SWEEP ON HEADER LOGO
   ========================================================================== */
@keyframes logoGlassSweep {
  0% {
    transform: translateX(-160%) skewX(-25deg);
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  35% {
    transform: translateX(260%) skewX(-25deg);
    opacity: 0;
  }
  100% {
    transform: translateX(260%) skewX(-25deg);
    opacity: 0;
  }
}

.logo-glass-sheen {
  position: absolute;
  top: -20%;
  left: 0;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 15%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(245, 211, 130, 0.6) 65%,
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: logoGlassSweep 4.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 10;
}

/* ==========================================================================
   MOBILE STACKING CARDS DECK (Interactive Upward Swipe/Scroll Overlap)
   ========================================================================== */
@media (max-width: 767px) {
  .mobile-stack-deck {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding-bottom: 2rem !important;
  }

  .mobile-stack-card {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: calc(86px + var(--card-offset, 0px)) !important;
    z-index: var(--card-index, 1) !important;
    margin-bottom: 1.75rem !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(141, 186, 183, 0.45) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08),
                0 4px 10px -2px rgba(0, 0, 0, 0.04) !important;
    transform-origin: center top;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
  }

  .mobile-stack-card:last-child {
    margin-bottom: 0 !important;
  }
}

/* ==========================================================================
   INTERACTIVE 4-BOOK CUDDLE COLLECTION & 3D SPINES
   ========================================================================== */
.book-spine-item {
  position: relative;
  transition: transform 0.35s cubic-bezier(0.2, 0.85, 0.32, 1.2), box-shadow 0.3s ease, filter 0.3s ease;
  will-change: transform;
  transform: translateY(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Active Book Lift Effect (Keeps Selected Book Proud & Elevated) */
.book-spine-item.active-spine {
  transform: translateY(-16px) !important;
  z-index: 30 !important;
  box-shadow: 0 0 0 2px #296E8C, 0 16px 28px rgba(0, 0, 0, 0.28), 0 0 16px rgba(41, 110, 140, 0.45) !important;
}

@media (min-width: 640px) {
  .book-spine-item.active-spine {
    transform: translateY(-22px) !important;
  }
}

/* Smooth Slide-Up on Hover only for pointer/mouse devices */
@media (hover: hover) and (pointer: fine) {
  .book-spine-item:hover {
    transform: translateY(-26px) !important;
    z-index: 40 !important;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.25)) drop-shadow(0 0 14px rgba(197, 160, 73, 0.55));
  }

  .book-spine-item.active-spine:hover {
    transform: translateY(-28px) !important;
    z-index: 40 !important;
  }
}

/* Vertical Text Orientation for Luxury Book Spines */
.spine-vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Hardcover Embossed Spine Ribs (Raised Bands) */
.spine-rib {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0%, rgba(212, 175, 90, 0.85) 50%, rgba(0, 0, 0, 0.65) 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Cover reveal animation */
@keyframes bookCoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.book-cover-reveal {
  animation: bookCoverFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


