/* === ENHANCED BASE & TYPOGRAPHY === */
:root {
  /* Enhanced color palette - removed purple, using complementary colors */
  --primary-color: #d4af37; /* Gold color for the mandalas */
  --primary-light: #e9cd6a; /* Lighter gold for hover states */
  --primary-dark: #b08c30; /* Darker gold */
  --secondary-color: #5f73a1; /* Richer blue for better contrast */
  --accent-color: #34495e;    /* Deep navy blue replacing purple */
  --accent-light: #4a6b8a;    /* Lighter navy blue replacing purple */
  --dark-bg: #182235;         /* Deeper blue background for better contrast */
  --darker-bg: #0f1824;       /* Even deeper blue */
  --light-text: #f8fafc;      /* Brighter white for text on dark backgrounds */
  --text-color: #2d3748;      /* Better contrast main text color */
  --text-light: #4a5568;      /* Lighter text for less emphasis but still readable */
  
  /* Enhanced typography variables */
  --heading-font: 'Cormorant Garamond', serif;
  --body-font: 'Montserrat', sans-serif;
  --display-font: 'Playfair Display', serif;
  
  /* Enhanced transitions */
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-medium: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-slow: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  
  /* Enhanced 3D effects */
  --book-perspective: 1500px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-hard: 0 20px 40px rgba(0, 0, 0, 0.16);
  
  /* Enhanced spacing system */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  
  /* Enhanced border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  /* Enhanced background with better readability */
  background: 
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 60%),
    radial-gradient(circle at bottom left, rgba(142, 94, 178, 0.08), transparent 60%),
    linear-gradient(135deg, #ffffff, #f7f9fc);
  color: var(--text-color);
  font-family: var(--body-font);
  margin: 0;
  padding: 0;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('noise-texture.png');
  opacity: 0.025; /* Subtle texture */
  pointer-events: none;
  z-index: -1;
}

/* Enhanced subtle divine light effect */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8), transparent 70%);
  opacity: 0.3;
  z-index: -2;
  pointer-events: none;
  animation: divinePulse 20s infinite alternate ease-in-out;
}

@keyframes divinePulse {
  0% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.05); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0.2; }
}

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--dark-bg);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  letter-spacing: -0.02em;
  position: relative;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  opacity: 0.95;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 1.25rem;
}

/* Enhanced common components */
.section {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  transition: var(--transition-medium);
}

.section:hover {
  box-shadow: var(--shadow-medium);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='https://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.2;
  z-index: -1;
}

/* Critical hidden class definition */
.hidden {
  display: none !important;
}

/* Enhanced loading overlay */
.loading-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced particles container */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Enhanced sacred symbols */
.sacred-symbol {
  position: absolute;
  width: clamp(130px, 16vw, 220px);
  height: clamp(130px, 16vw, 220px);
  background-image: url('sacred-symbol.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.07;
  pointer-events: none;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
  transition: var(--transition-slow);
}

.sacred-symbol:hover {
  opacity: 0.1;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.top-right {
  top: 8%;
  right: 4%;
  animation: float 22s ease-in-out infinite;
}

.bottom-left {
  bottom: 8%;
  left: 4%;
  animation: float 26s ease-in-out infinite reverse;
}

.center-bottom {
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* === ENHANCED NAVIGATION === */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  padding: 1.2rem 0;
  transition: var(--transition-medium);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.brand-text {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 3px;
}

.brand-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  transform: scaleX(0.7);
  transform-origin: left;
  transition: var(--transition-fast);
}

.navbar-brand:hover .brand-text::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  transition: var(--transition-fast);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler:hover {
  transform: rotate(90deg);
}

.navbar-nav .nav-item {
  margin: 0 0.5rem;
  position: relative;
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition-fast);
  opacity: 0.7;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.preorder-nav-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
  transition: var(--transition-fast) !important;
}

.preorder-nav-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.preorder-nav-btn::after {
  display: none;
}

/* === ENHANCED HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 10rem 0 7rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-light {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15), transparent 70%);
  animation: rotateLight 180s linear infinite;
}

.hero-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background-image: url('sacred-symbol.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.04;
  animation: pulseMandala 20s ease-in-out infinite;
  transition: opacity 0.5s ease;
}

.hero:hover .hero-mandala {
  opacity: 0.06;
}

.mandala-words {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateMandalaWords 120s linear infinite;
}

.mandala-words .word {
  position: absolute;
  color: rgba(212, 175, 55, 0.15);
  font-family: var(--heading-font);
  font-weight: 600;
  white-space: nowrap;
  transform-origin: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.word-1 {
  top: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 2.2rem;
}

.word-2 {
  top: 85%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 2.2rem;
}

.word-3 {
  top: 50%;
  left: 15%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 2.2rem;
}

.word-4 {
  top: 50%;
  right: 15%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 2.2rem;
}

.word-5 {
  top: 25%;
  left: 25%;
  transform: rotate(-45deg);
  font-size: 1.8rem;
}

.word-6 {
  top: 25%;
  right: 25%;
  transform: rotate(45deg);
  font-size: 1.8rem;
}

.word-7 {
  bottom: 25%;
  left: 25%;
  transform: rotate(45deg);
  font-size: 1.8rem;
}

.word-8 {
  bottom: 25%;
  right: 25%;
  transform: rotate(-45deg);
  font-size: 1.8rem;
}

@keyframes rotateMandalaWords {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseMandala {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.03; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.05; }
}

.hero-content {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--shadow-medium);
  position: relative;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 60%);
  z-index: -1;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(95, 115, 161, 0.35);
  transform: translateY(0);
  transition: var(--transition-fast);
  letter-spacing: 0.03em;
}

.hero-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(95, 115, 161, 0.45);
}

.hero-content h1 {
  position: relative;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color) 30%, var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
}

.hero-content .subtitle {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  position: relative;
}

.hero-content .subtitle::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
}

.text-lg-start .subtitle::after {
  left: 0;
  right: auto;
}

.text-center .subtitle::after {
  left: 50%;
  transform: translateX(-50%);
}

.hero-content .lead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--accent-color);
}

/* Enhanced countdown timer */
.countdown-container {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  margin: 2.2rem 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  overflow: hidden;
  transition: var(--transition-medium);
}

.countdown-container:hover {
  box-shadow: var(--shadow-hard);
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
}

.countdown-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: 0;
}

.countdown-text {
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  text-align: center;
  position: relative;
  letter-spacing: 0.02em;
}

.countdown-boxes {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.countdown-box {
  flex: 1;
  background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: var(--radius-md);
  padding: 1rem 0.7rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 65px;
  transform: translateY(0);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
  z-index: 0;
}

.countdown-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.countdown-value {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.countdown-label {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  text-transform: uppercase;
  opacity: 0.9;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.countdown-footer {
  text-align: center;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.05rem;
  position: relative;
  font-style: italic;
}

/* Enhanced CTA button */
.cta-group {
  margin-top: 2.2rem;
  position: relative;
  z-index: 10;
}

.preorder-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 1.2rem;
  transition: var(--transition-medium);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.02em;
}

.preorder-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.preorder-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.preorder-btn:hover, .preorder-btn:focus {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  color: white;
}

.preorder-btn i {
  transition: transform 0.3s ease;
}

.preorder-btn:hover i {
  transform: translateX(8px);
}

.pulse-btn {
  animation: pulsate 2.5s infinite;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  }
}

.bonus-text {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--primary-dark);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.bonus-text i {
  color: var(--accent-color);
  margin-right: 0.5rem;
}

/* Enhanced ribbon styling */
.ribbon span {
  position: absolute;
  display: block;
  width: 190px;
  padding: 10px 0;
  background-color: #b08c30;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(45deg);
  right: -45px;
  top: 30px;
  letter-spacing: 0.08em;
}

/* Quick preorder enhancements */
.quick-preorder-content h3 {
  color: var(--primary-dark);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.quick-preorder-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 1.8rem;
  color: var(--text-color);
  line-height: 1.6;
}

.price-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.control-hint span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-full);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* === ENHANCED 3D BOOK SECTION === */
.book-3d-container {
  perspective: var(--book-perspective);
  transform-style: preserve-3d;
  height: 530px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-3d {
  width: 300px;
  height: 450px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-30deg) rotateX(5deg) translateZ(0);
  transition: var(--transition-medium);
  animation: bookHover 8s ease-in-out infinite;
}

@keyframes bookHover {
  0%, 100% {
    transform: rotateY(-30deg) rotateX(5deg) translateY(0);
  }
  50% {
    transform: rotateY(-25deg) rotateX(8deg) translateY(-15px);
  }
}

.book-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: var(--transition-medium);
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.book-cover.front {
  transform: translateZ(15px);
}

.book-cover.back {
  transform: translateZ(-15px) rotateY(180deg);
}

.book-spine {
  position: absolute;
  width: 30px;
  height: 100%;
  left: -15px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
  transform: rotateY(90deg) translateZ(150px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-family: var(--heading-font);
  padding: 0 2px;
  box-sizing: border-box;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.book-spine span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.3rem;
  margin: 10px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.book-spine .author {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

.book-shadow {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 80%);
  transform: rotateX(90deg);
  z-index: -1;
  filter: blur(7px);
  animation: shadowPulse 8s ease-in-out infinite;
}

@keyframes shadowPulse {
  0%, 100% {
    opacity: 0.7;
    transform: rotateX(90deg) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: rotateX(90deg) scale(0.95);
  }
}

.shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  border-radius: var(--radius-sm);
}

.control-hint {
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.control-hint:hover {
  opacity: 1;
}

.control-hint span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* === ENHANCED QUICK PREORDER SECTION === */
.quick-preorder-section {
  padding: 0;
  margin-top: -100px;
  position: relative;
  z-index: 20;
}

.quick-preorder-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition-medium);
}

.quick-preorder-container:hover {
  box-shadow: var(--shadow-hard);
  transform: translateY(-5px);
}

.quick-preorder-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.quick-preorder-image {
  position: relative;
  padding-top: 1rem;
  z-index: 1;
  transition: var(--transition-medium);
}

.quick-preorder-image:hover {
  transform: translateY(-8px);
}

.quick-preorder-img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  transform: perspective(800px) rotateY(-8deg);
  transition: var(--transition-medium);
}

.quick-preorder-img:hover {
  transform: perspective(800px) rotateY(0deg);
  box-shadow: var(--shadow-hard);
}

.price-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 20px rgba(142, 94, 178, 0.35);
  transform: rotate(8deg) translateX(10px);
  z-index: 5;
  transition: var(--transition-fast);
}

.price-tag:hover {
  transform: rotate(0deg) translateX(5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(142, 94, 178, 0.45);
}

.price-amount {
  font-size: 1.6rem;
  line-height: 1;
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
}

.quick-preorder-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.quick-preorder-content h3 {
  color: var(--primary-dark);
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.quick-preorder-content p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 1.8rem;
  color: var(--text-light);
}

.quick-preorder-form {
  margin-bottom: 1.2rem;
}

.quick-preorder-form .input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.quick-preorder-form .form-control {
  border-radius: var(--radius-md);
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  font-size: 1rem;
  flex: 1;
  min-width: 150px;
  transition: var(--transition-fast);
}

.quick-preorder-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
  outline: none;
}

.quick-preorder-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.quick-preorder-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.quick-preorder-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.35);
}

.quick-preorder-btn:hover i {
  transform: translateX(4px);
}

.quick-form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1.2rem;
  text-align: center;
}

/* === ENHANCED DISCOVER SECTION === */
.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
  position: relative;
}

.symbol-container {
  margin-bottom: 1.8rem;
  position: relative;
}

.divider-symbol {
  width: 120px;
  height: 35px;
  background-image: url('divider-symbol.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  opacity: 0.9;
  transition: var(--transition-medium);
}

.divider-symbol:hover {
  transform: scale(1.1);
  opacity: 1;
}

.section-subtitle {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--accent-color);
  margin-top: 0.7rem;
  letter-spacing: 0.01em;
}

.phases-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.phase-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 3rem 2.2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition-medium);
  overflow: hidden;
  z-index: 1;
}

.phase-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-medium);
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: -1;
}

.phase-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  z-index: 1;
  transition: var(--transition-medium);
}

.phase-card:hover .phase-card-glow {
  height: 8px;
  box-shadow: 0 3px 15px rgba(212, 175, 55, 0.4);
}

.phase-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  z-index: 2;
  transition: var(--transition-fast);
}

.phase-card:hover .phase-number {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
}

.phase-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 0.8rem;
}

.phase-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  right: 30%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  opacity: 0.3;
}

.phase-card p {
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.phase-icon {
  margin-top: 1.2rem;
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.8;
  transition: var(--transition-medium);
}

.phase-card:hover .phase-icon {
  transform: scale(1.2);
  opacity: 1;
}

.book-corner-visual {
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  overflow: hidden;
  z-index: -1;
  opacity: 0.15;
  transition: var(--transition-slow);
}

.book-corner-img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  transform: rotate(-45deg);
}

.discover-section:hover .book-corner-visual {
  opacity: 0.2;
}

/* === ENHANCED TESTIMONIAL SECTION === */
.testimonial-section {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 252, 0.8));
  padding: 7rem 2.5rem;
}

.testimonial-wrapper {
  background: rgba(255, 255, 255, 0.85);
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
  overflow: hidden;
  transition: var(--transition-medium);
}

.testimonial-wrapper:hover {
  box-shadow: var(--shadow-hard);
  transform: translateY(-5px);
}

.testimonial-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.05), transparent 70%);
  z-index: 0;
}

.quote-marks {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 3.5rem;
  color: rgba(212, 175, 55, 0.15);
  z-index: 1;
}

.testimonial-text {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(1.4rem, 2.7vw, 1.9rem);
  line-height: 1.5;
  margin-bottom: 2.2rem;
  position: relative;
  padding-left: 2.5rem;
  z-index: 1;
}

.author-container {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  position: relative;
  z-index: 1;
}

.author-image {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.author-image:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.author-details h4 {
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
  color: var(--primary-dark);
}

.author-details p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
}

.book-side-visual {
  position: relative;
  perspective: 1000px;
}

.book-side-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard);
  transform: perspective(1000px) rotateY(25deg);
  transition: var(--transition-medium);
}

.book-side-img:hover {
  transform: perspective(1000px) rotateY(15deg) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.book-side-glow {
  position: absolute;
  top: 0;
  right: -25px;
  width: 50px;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.3), transparent 70%);
  filter: blur(15px);
  z-index: -1;
  animation: glowPulse 4s infinite alternate ease-in-out;
}

@keyframes glowPulse {
  0% { opacity: 0.7; }
  100% { opacity: 0.3; }
}

.ornamental-design {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-image: url('ornamental-design.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  transition: var(--transition-slow);
}

.testimonial-section:hover .ornamental-design {
  opacity: 0.18;
}

/* === ENHANCED BONUS SECTION === */
.bonus-section {
  background: linear-gradient(0deg, rgba(247, 249, 252, 0.8), rgba(255, 255, 255, 0.8));
  position: relative;
}

.bonus-container {
  background: white;
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.15);
  z-index: 2;
  transition: var(--transition-medium);
}

.bonus-container:hover {
  box-shadow: var(--shadow-hard);
  transform: translateY(-5px);
}

.bonus-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 70%);
  z-index: -1;
}

.book-floating-visual {
  position: relative;
  perspective: 1000px;
}

.book-floating-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-medium);
  animation: floatingBook 5s ease-in-out infinite;
  transition: var(--transition-medium);
}

.book-floating-img:hover {
  box-shadow: var(--shadow-hard);
  animation-play-state: paused;
}

@keyframes floatingBook {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

.book-floating-glow {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  transform: scaleX(0.8);
  animation: floatingGlow 5s ease-in-out infinite;
}

@keyframes floatingGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.3;
    transform: scaleX(0.6);
  }
}

.bonus-content {
  padding-left: 1.5rem;
}

.bonus-content h3 {
  color: var(--primary-dark);
  font-size: 1.9rem;
  margin-bottom: 1.8rem;
  position: relative;
  display: inline-block;
}

.bonus-content h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), transparent);
}

.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.bonus-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  transition: var(--transition-fast);
}

.bonus-item:hover {
  transform: translateX(5px);
}

.bonus-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

.bonus-item:hover .bonus-icon {
  background: rgba(212, 175, 55, 0.18);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.bonus-text {
  font-weight: 500;
  font-size: 1.1rem;
}

.glow-effect {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2), transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: -1;
  animation: rotatingSlow 20s linear infinite;
}

@keyframes rotatingSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* === ENHANCED PREORDER SECTION === */
.preorder-section {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 252, 0.8));
  position: relative;
}

.preorder-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

.preorder-image-container {
  position: relative;
  text-align: center;
}

.preorder-book-cover {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  border: 6px solid white;
  transition: var(--transition-medium);
}

.preorder-book-cover:hover {
  transform: perspective(1000px) rotateY(-8deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.best-seller-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #34495e, #4a6b8a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(52, 73, 94, 0.4);
  transform: rotate(15deg);
  line-height: 1.3;
  z-index: 2;
  transition: var(--transition-fast);
}

.best-seller-badge:hover {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(52, 73, 94, 0.5);
}

.preorder-content {
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: var(--transition-medium);
}

.preorder-content:hover {
  box-shadow: var(--shadow-hard);
  transform: translateY(-5px);
}

.preorder-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: 0;
  border-radius: var(--radius-lg);
}

.preorder-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.preorder-headline {
  font-size: 2.7rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; 
  text-fill-color: transparent;
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}

.preorder-subheadline {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.preorder-intro {
  margin-bottom: 2.2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.preorder-benefits {
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 1;
}

.preorder-benefits h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.benefits-list li:hover {
  transform: translateX(5px);
}

.benefits-list li i {
  color: var(--primary-color);
  margin-top: 0.4rem;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.preorder-form-section {
  background: rgba(247, 249, 252, 0.7);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(212, 175, 55, 0.12);
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.preorder-form-title {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 0.6rem;
  text-align: center;
}

.urgency-note {
  text-align: center;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1.8rem;
  font-size: 1rem;
}

.urgency-note i {
  margin-right: 0.6rem;
}

.preorder-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group {
  margin-bottom: 0.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  transition: var(--transition-fast);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.12);
  outline: none;
  background: white;
}

.price-display {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  margin: 1.8rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.price-display .price-amount {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
}

.price-display::before, .price-display::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.paypal-button-container {
  margin-bottom: 1.8rem;
}

.payment-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.alternate-payment-btn {
  background: white;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  font-size: 1.05rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.alternate-payment-btn:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.secure-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.card-icons {
  display: flex;
  gap: 0.7rem;
  font-size: 1.7rem;
  color: var(--text-light);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 1.8rem;
}

.testimonials-section {
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.testimonials-title {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 1.8rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.testimonials-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.testimonial {
  background: rgba(247, 249, 252, 0.7);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.8rem;
  position: relative;
  border-left: 3px solid var(--primary-color);
  transition: var(--transition-fast);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-left-width: 5px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial p::before {
  content: '\201C';
  font-family: serif;
  font-size: 3rem;
  position: absolute;
  top: -1.5rem;
  left: -0.8rem;
  color: rgba(212, 175, 55, 0.1);
  z-index: -1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

/* === ENHANCED FINAL CTA SECTION === */
.final-cta {
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.08), rgba(255, 255, 255, 0.9));
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(52, 73, 94, 0.15);
  transition: var(--transition-medium);
}

.final-cta:hover {
  box-shadow: var(--shadow-hard);
  transform: translateY(-5px);
}

.final-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('sacred-symbol.png');
  background-size: 80%;
  background-position: center right -100px;
  background-repeat: no-repeat;
  opacity: 0.03;
  z-index: 0;
  transition: var(--transition-medium);
}

.final-cta:hover .final-cta-bg {
  opacity: 0.05;
  transform: scale(1.05);
}

.final-cta h2 {
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.final-cta p {
  font-size: 1.3rem;
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.preorder-btn.glow {
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  position: relative;
  z-index: 1;
}

.preorder-btn.glow:hover {
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.book-floating-angled {
  position: relative;
  perspective: 1000px;
  transform: translateZ(0);
}

.book-angled-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard);
  transform: perspective(1000px) rotateY(-25deg) rotate(-5deg);
  transition: var(--transition-medium);
}

.book-angled-img:hover {
  transform: perspective(1000px) rotateY(-15deg) rotate(-2deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* === ENHANCED FOOTER === */
footer {
  background: rgba(255, 255, 255, 0.97);
  padding: 5rem 0 3rem;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--text-color);
  margin-top: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.03);
}

footer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: -1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: auto 1fr auto;
    text-align: left;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-brand {
    margin: 0;
  }
}

.footer-book-mini {
  width: 55px;
  height: 75px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
}

.footer-book-mini:hover {
  transform: translateY(-5px) rotate(-5deg);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.footer-book-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-logo {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-icons {
    justify-content: flex-end;
  }
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-icons a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  margin: 1.8rem 0;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    margin: 0;
    justify-content: flex-end;
  }
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: 3px;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.copyright {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* === ENHANCED MODALS === */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-bottom: none;
  padding: 1.8rem;
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.preorder-modal-title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.9rem;
}

.btn-close {
  color: white;
  opacity: 0.8;
  transition: var(--transition-fast);
}

.btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2.5rem;
}

.confirmation-icon {
  text-align: center;
  font-size: 5.5rem;
  color: var(--primary-color);
  margin-bottom: 1.8rem;
  animation: confirmPulse 2s infinite;
}

@keyframes confirmPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}

.confirmation-message {
  margin-bottom: 2.2rem;
}

.confirmation-message p {
  margin-bottom: 1.2rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.order-id {
  font-family: monospace;
  background: rgba(212, 175, 55, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-top: 1.8rem;
  border-left: 3px solid var(--primary-color);
}

.next-steps {
  background: rgba(247, 249, 252, 0.8);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  margin-top: 1.8rem;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.next-steps h5 {
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.next-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  transition: var(--transition-fast);
}

.next-steps-list li:hover {
  transform: translateX(5px);
}

.next-steps-list li i {
  color: var(--primary-color);
  margin-top: 0.4rem;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem 2.5rem 2.5rem;
}

.modal-close-btn {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.modal-share-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: var(--transition-fast);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

.modal-share-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

/* Enhanced credit card form */
#credit-card-form .form-group {
  margin-bottom: 1.8rem;
}

.secure-payment-note {
  background: rgba(212, 175, 55, 0.1);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0;
  font-size: 0.95rem;
  color: var(--primary-dark);
  border-left: 3px solid var(--primary-color);
}

.payment-submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 1.6rem;
  font-weight: 600;
  width: 100%;
  transition: var(--transition-fast);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}

.payment-submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.payment-submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

/* Enhanced toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 5000;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  align-items: center;
  min-width: 320px;
  pointer-events: none;
  overflow: hidden;
}

.toast-content {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.8rem;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

.toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast-success { 
  background: linear-gradient(to right, #25a25a, #2ecc71);
}

.toast-error { 
  background: linear-gradient(to right, #c0392b, #e74c3c);
}

.toast-info { 
  background: linear-gradient(to right, #2980b9, #3498db);
}

.toast i {
  font-size: 1.3rem;
}

/* Enhanced form validation */
.form-control.is-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23e74c3c'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23e74c3c' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #2ecc71;
  background-image: url("data:image/svg+xml,%3csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%232ecc71' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Enhanced highlight effect for payment container */
.highlight-payment {
  animation: highlightPulse 2s ease;
}

@keyframes highlightPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.3);
  }
}

/* === ENHANCED RESPONSIVE STYLES === */
@media (max-width: 1199px) {
  .hero {
    padding: 9rem 0 6rem;
  }
  
  .book-3d {
    width: 270px;
    height: 405px;
  }
  
  .preorder-container {
    grid-template-columns: 1fr 1.8fr;
  }
}

@media (max-width: 991px) {
  .hero {
    padding: 8rem 0 5rem;
  }
  
  .section {
    padding: 6rem 2rem;
  }
  
  .preorder-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .preorder-image-container {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .book-3d-container {
    height: 450px;
  }
  
  .book-3d {
    width: 240px;
    height: 360px;
  }
  
  .quick-preorder-container .row {
    flex-direction: column;
  }
  
  .quick-preorder-image {
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  .quick-preorder-img {
    max-width: 180px;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.4rem;
  }
  
  .hero .row {
    flex-direction: column-reverse;
  }
  
  .hero-content {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem;
  }
  
  .emphasis-line {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .book-3d-container {
    height: 380px;
    margin-bottom: 1.5rem;
  }
  
  .book-3d {
    width: 220px;
    height: 330px;
  }
  
  .countdown-container {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .phase-card {
    padding: 2.5rem 1.8rem;
  }
  
  .testimonial-wrapper {
    padding: 2.5rem 1.8rem;
  }
  
  .testimonial-text {
    font-size: 1.4rem;
  }
  
  .bonus-container {
    padding: 2.5rem 1.8rem;
  }
  
  .preorder-content {
    padding: 2rem;
  }
  
  .preorder-headline {
    font-size: 2.2rem;
  }
  
  .final-cta {
    padding: 2.5rem 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }
  
  .footer-brand {
    margin: 0 auto;
  }
  
  .social-icons, .footer-links {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .section {
    padding: 5rem 1.5rem;
  }
  
  h1 {
    font-size: 2.7rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-content {
    padding: 1.8rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.3rem;
  }
  
  .hero-content .lead {
    font-size: 1.05rem;
  }
  
  .countdown-container {
    padding: 1.5rem;
  }
  
  .countdown-box {
    min-width: auto;
    padding: 0.7rem;
  }
  
  .countdown-value {
    font-size: 1.6rem;
  }
  
  .countdown-label {
    font-size: 0.75rem;
  }
  
  .book-3d-container {
    height: 320px;
  }
  
  .book-3d {
    width: 200px;
    height: 300px;
  }
  
  .preorder-btn {
    padding: 0.9rem 1.8rem;
    font-size: 1.05rem;
  }
  
  .quick-preorder-container {
    padding: 1.8rem 1.2rem;
  }
  
  .testimonial-wrapper {
    padding: 1.8rem 1.2rem;
  }
  
  .testimonial-text {
    font-size: 1.2rem;
    padding-left: 1.8rem;
  }
  
  .bonus-container {
    padding: 1.8rem 1.2rem;
  }
  
  .preorder-form-section {
    padding: 1.8rem 1.2rem;
  }
  
  .preorder-form-title {
    font-size: 1.7rem;
  }
  
  .final-cta {
    padding: 1.8rem 1.2rem;
  }
  
  .final-cta h2 {
    font-size: 2.2rem;
  }
  
  .final-cta p {
    font-size: 1.15rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .modal-body {
    padding: 1.8rem;
  }
  
  .confirmation-icon {
    font-size: 4.5rem;
  }
  
  .next-steps {
    padding: 1.5rem;
  }

  .toast {
    min-width: 280px;
    max-width: 90%;
  }
}

/* Enhanced print styles */
@media print {
  .navbar, .hero, .quick-preorder-section, .footer,
  .preorder-btn, .particles-container, .modal {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .section {
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
    page-break-inside: avoid;
    background: white !important;
    box-shadow: none !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    text-shadow: none !important;
  }
  
  .sacred-symbol, .book-corner-visual, .ornamental-design,
  .preorder-form-section, .bonus-container, .final-cta {
    display: none !important;
  }
}

/* === POST-PURCHASE PAGES STYLES === */

/* Common styles for post-purchase pages */
.post-purchase-page {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.9)),
              url('sacred-symbol.png') center/50% no-repeat fixed;
}

/* ===== SUCCESS PAGE STYLES ===== */
.success-header {
  text-align: center;
  margin-bottom: 4rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  animation: successPulse 2s infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; }
}

.success-header h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.success-subheading {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.order-details {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: inline-block;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.order-details p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.order-details span {
  font-weight: 600;
  color: var(--primary-dark);
}

.success-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(212, 175, 55, 0.15);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.success-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: 0;
}

.success-book-container {
  position: relative;
  text-align: center;
}

.success-book-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  transform: perspective(1000px) rotateY(-15deg);
  transition: var(--transition-medium);
}

.success-book-image:hover {
  transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.success-book-glow {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.next-steps-container {
  position: relative;
  z-index: 1;
  padding-left: 1.5rem;
}

.next-steps-container h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
}

.bonus-timeline {
  margin: 3rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 25px;
  height: calc(100% + 1.5rem);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), transparent);
  z-index: 0;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-content h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.timeline-content ul {
  padding-left: 1.5rem;
}

.timeline-content li {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.alt-btn {
  background: white;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  width: 100%;
  font-size: 1.05rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  color: var(--text-color);
  text-decoration: none;
}

.alt-btn:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  color: var(--primary-dark);
}

/* ===== CUSTOMER PORTAL STYLES ===== */
.portal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portal-header h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portal-welcome {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  color: var(--accent-color);
}

.portal-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portal-nav-btn {
  background: transparent;
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-light);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  position: relative;
}

.portal-nav-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
  transition: var(--transition-fast);
}

.portal-nav-btn:hover {
  color: var(--primary-dark);
}

.portal-nav-btn:hover::after {
  width: 60%;
}

.portal-nav-btn.active {
  color: var(--primary-dark);
  background: rgba(212, 175, 55, 0.08);
}

.portal-nav-btn.active::after {
  width: 80%;
}

.portal-content {
  margin-bottom: 3rem;
}

.portal-section {
  display: none;
}

.portal-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.portal-cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.portal-card {
  height: 100%;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portal-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: 0;
}

.portal-card-icon {
  width: 70px;
  height: 70px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition-fast);
}

.portal-card:hover .portal-card-icon {
  transform: scale(1.1);
  background: rgba(212, 175, 55, 0.18);
  color: var(--primary-dark);
}

.portal-card h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.portal-card p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  position: relative;
  z-index: 1;
  flex: 1;
}

.portal-card-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 1;
  position: relative;
}

.portal-card-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), transparent);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.portal-card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.portal-card-btn:hover i {
  transform: translateX(4px);
}

.portal-card-glow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 80%;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15), transparent 70%);
  transform: translateX(-50%);
  filter: blur(5px);
  z-index: 0;
}

.coming-soon {
  opacity: 0.8;
}

.coming-soon-badge {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  color: white;
  border-radius: var(--radius-full);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(52, 73, 94, 0.2);
}

/* Book Details Styles */
.book-details-image {
  text-align: center;
  margin-bottom: 2rem;
}

.book-details-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  transition: var(--transition-medium);
}

.book-details-image img:hover {
  transform: perspective(1000px) rotateY(-8deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.book-details-content {
  padding: 1rem;
}

.book-details-content h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.book-author {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-light);
}

.book-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.book-description {
  margin-bottom: 2rem;
}

.book-description p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.book-status {
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.book-status h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.book-status p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Account Section Styles */
.account-details {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.account-details h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-info-container {
  margin-bottom: 2.5rem;
}

.account-info-row {
  display: flex;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.account-info-label {
  width: 150px;
  font-weight: 700;
  color: var(--accent-color);
}

.account-info-value {
  flex: 1;
  font-weight: 500;
}

.account-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.account-actions .alt-btn {
  flex: 1;
  min-width: 200px;
}

/* Book Preview Modal Styles */
.book-preview-container {
  padding: 1rem;
}

.book-preview-page {
  background: white;
  border-radius: var(--radius-md);
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.book-preview-page h2 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.preview-text {
  font-family: var(--body-font);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.preview-page-number {
  position: absolute;
  bottom: 1.5rem;
  right: 3rem;
  font-size: 1.2rem;
  color: var(--text-light);
  font-style: italic;
}

.book-preview-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.preview-nav-btn {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.preview-nav-btn:hover:not([disabled]) {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.preview-nav-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.preview-footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-color);
}

.preview-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Audio Blessing Modal Styles */
.audio-blessing-container {
  padding: 1rem;
}

.audio-visual {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.author-image-large {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.audio-waves {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  height: 40px;
  margin-top: 1.5rem;
}

.wave {
  width: 4px;
  height: 20px;
  background: rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-full);
  animation: waveAnimation 1.5s infinite ease-in-out;
}

.wave:nth-child(2) {
  animation-delay: 0.2s;
  height: 25px;
}

.wave:nth-child(3) {
  animation-delay: 0.4s;
  height: 35px;
}

.wave:nth-child(4) {
  animation-delay: 0.6s;
  height: 25px;
}

.wave:nth-child(5) {
  animation-delay: 0.8s;
  height: 20px;
}

@keyframes waveAnimation {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

.audio-player h3 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.audio-description {
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.audio-control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.25);
}

.audio-control-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.audio-progress {
  flex: 1;
}

.audio-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.audio-transcript-toggle {
  text-align: center;
  margin-top: 1.5rem;
}

.transcript-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  transition: var(--transition-fast);
  cursor: pointer;
  color: var(--primary-dark);
}

.transcript-btn:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
}

.audio-transcript {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-color);
}

.audio-transcript h4 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.audio-transcript p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Share Modal Styles */
.share-container {
  padding: 1rem;
}

.share-container > p {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.share-preview {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(247, 249, 252, 0.8);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.share-preview-img {
  width: 80px;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.share-preview-content {
  flex: 1;
}

.share-preview-content h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.share-preview-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--text-light);
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.share-btn {
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.share-btn.facebook {
  background: #3b5998;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.share-btn.email {
  background: #666666;
}

.share-link-container {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.copy-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.copy-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Responsive styles for post-purchase pages */
@media (max-width: 991px) {
  .success-content {
    padding: 2rem;
  }
  
  .timeline-item {
    margin-bottom: 2rem;
  }
  
  .portal-nav-btn {
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  
  .account-details {
    padding: 2rem;
  }
  
  .book-preview-page {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .post-purchase-page {
    padding: 100px 0 60px;
  }
  
  .success-header {
    margin-bottom: 2.5rem;
  }
  
  .success-book-container {
    margin-bottom: 2rem;
  }
  
  .next-steps-container {
    padding-left: 0;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-icon {
    margin-bottom: 1rem;
  }
  
  .timeline-item::after {
    top: 50px;
    left: 25px;
    height: calc(100% + 2.5rem);
  }
  
  .portal-navigation {
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  
  .portal-nav-btn {
    width: calc(50% - 0.25rem);
  }
  
  .account-info-row {
    flex-direction: column;
  }
  
  .account-info-label {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .share-preview {
    flex-direction: column;
    text-align: center;
  }
  
  .share-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .order-details {
    width: 100%;
  }
  
  .success-content {
    padding: 1.5rem;
  }
  
  .portal-card {
    padding: 1.5rem;
  }
  
  .account-details {
    padding: 1.5rem;
  }
  
  .account-actions {
    flex-direction: column;
  }
  
  .book-preview-page {
    padding: 1.5rem;
  }
  
  .preview-text {
    font-size: 1rem;
  }
  
  .preview-nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .audio-controls {
    flex-wrap: wrap;
  }
  
  .share-link-container {
    flex-direction: column;
  }
  
  .copy-btn {
    width: 100%;
    justify-content: center;
  }
}

/* === AUDIOBOOK PAGE STYLES === */
.audiobook-body {
  background: 
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 60%),
    radial-gradient(circle at bottom left, rgba(142, 94, 178, 0.08), transparent 60%),
    linear-gradient(135deg, #ffffff, #f7f9fc);
}

.hide-initially {
  display: none;
}

/* Audiobook Hero Section */
.audiobook-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.audiobook-cover-container {
  position: relative;
  perspective: 1200px;
  margin: 0 auto;
  max-width: 350px;
}

.audiobook-cover {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-15deg);
  transition: var(--transition-medium);
}

.audiobook-cover:hover {
  transform: perspective(1000px) rotateY(-8deg) translateY(-10px);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.25);
}

.audiobook-cover-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25), transparent 70%);
  filter: blur(15px);
  z-index: -1;
  transition: var(--transition-medium);
}

.audiobook-cover:hover + .audiobook-cover-glow {
  width: 90%;
  opacity: 0.7;
}

.narrated-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border-radius: var(--radius-full);
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
  transform: rotate(5deg);
  z-index: 10;
  transition: var(--transition-medium);
}

.narrated-badge:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.audiobook-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(95, 115, 161, 0.35);
  transform: translateY(0);
  transition: var(--transition-fast);
  letter-spacing: 0.03em;
}

.audiobook-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(95, 115, 161, 0.45);
}

.audiobook-hero-content {
  padding: 0 1.5rem;
}

.audiobook-hero-content h1 {
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  background: linear-gradient(135deg, var(--primary-color) 30%, var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.audiobook-hero-content .subtitle {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  position: relative;
}

.audiobook-hero-content .subtitle::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), transparent);
}

.audiobook-hero-content .lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  margin-bottom: 1.2rem;
  font-weight: 500;
  color: var(--accent-color);
}

.audiobook-stats {
  display: flex;
  gap: 2rem;
  margin: 2.5rem 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.audiobook-cta {
  margin-top: 2.5rem;
}

.start-listening-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-medium);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
}

.start-listening-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.start-listening-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
}

.login-note {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
}

/* Audiobook Player Section */
.audiobook-player-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.audiobook-player-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.audiobook-player-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: 0;
}

/* Chapter Navigation */
.chapter-navigation {
  background: rgba(247, 249, 252, 0.8);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.chapter-navigation h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  text-align: center;
}

.chapter-search {
  position: relative;
  margin-bottom: 1.5rem;
}

.chapter-search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.9);
  transition: var(--transition-fast);
}

.chapter-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.chapter-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.chapter-list-container {
  height: 380px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.5rem;
}

.chapter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chapter-item {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.chapter-item:hover {
  background: rgba(212, 175, 55, 0.08);
}

.chapter-item.active {
  background: rgba(212, 175, 55, 0.15);
}

.chapter-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.chapter-number {
  width: 30px;
  height: 30px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.chapter-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
}

.chapter-duration {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-left: 0.5rem;
}

.chapter-list-toggle {
  text-align: center;
}

.chapter-list-toggle button {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chapter-list-toggle button:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Player Main Container */
.player-main-container {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.now-playing-info {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.author-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
  flex-shrink: 0;
  border: 3px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.author-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playing-text {
  flex: 1;
}

.now-playing-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.playing-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
}

.author-name {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent-color);
}

.waveform-container {
  margin-bottom: 2rem;
}

.waveform {
  height: 100px;
  background: rgba(247, 249, 252, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.playback-timestamps {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.playback-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.secondary-controls {
  display: flex;
  gap: 1rem;
}

.control-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.control-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.main-play-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.main-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
}

.advanced-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.volume-slider-container {
  width: 120px;
}

.volume-slider {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-dark);
}

.playback-speed-container {
  position: relative;
}

.speed-btn {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.speed-btn:hover {
  background: rgba(212, 175, 55, 0.2);
}

.speed-options {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-medium);
  padding: 0.8rem;
  display: none;
  z-index: 10;
}

.speed-options.show {
  display: block;
}

.speed-option {
  background: none;
  border: none;
  width: 100%;
  text-align: center;
  padding: 0.5rem 1rem;
  margin-bottom: 0.3rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.speed-option:hover {
  background: rgba(212, 175, 55, 0.1);
}

.speed-option.active {
  background: rgba(212, 175, 55, 0.2);
  font-weight: 600;
}

.player-options {
  display: flex;
  gap: 1rem;
}

.player-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding-top: 1.5rem;
}

.player-footer-items {
  display: flex;
  justify-content: space-between;
  color: var(--text-light);
  font-size: 0.9rem;
}

.saved-position i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Notes Section */
.notes-section {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  margin-top: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.notes-header h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin: 0;
}

.close-notes-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close-notes-btn:hover {
  color: var(--primary-dark);
  transform: rotate(90deg);
}

.notes-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding-bottom: 1rem;
}

.notes-tab {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

.notes-tab::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: var(--transition-fast);
}

.notes-tab:hover {
  color: var(--primary-dark);
}

.notes-tab.active {
  color: var(--primary-dark);
}

.notes-tab.active::after {
  background: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.empty-state i {
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 1.5rem;
}

.empty-state p {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.empty-state-sub {
  color: var(--text-light) !important;
  font-size: 0.95rem !important;
  margin-bottom: 1.5rem !important;
}

.add-note-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.add-note-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* Audiobook Features Section */
.audiobook-features {
  padding: 6rem 0;
  background: linear-gradient(0deg, rgba(247, 249, 252, 0.8), rgba(255, 255, 255, 0.8));
}

.features-container {
  margin-top: 4rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: var(--transition-medium);
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition-fast);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  background: rgba(212, 175, 55, 0.18);
  transform: scale(1.1);
  color: var(--primary-dark);
}

.feature-card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Audiobook Testimonials Section */
.audiobook-testimonials {
  padding: 6rem 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(247, 249, 252, 0.8));
}

.testimonials-container {
  max-width: 800px;
  margin: 4rem auto 0;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-medium);
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}

.testimonial-quote {
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-medium);
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.testimonial-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 70%);
  z-index: 0;
  border-radius: var(--radius-lg);
}

.testimonial-quote i {
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.testimonial-quote p {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2rem;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding-left: 2.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1.2rem;
  border: 3px solid rgba(212, 175, 55, 0.2);
}

.testimonial-author-info h4 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.testimonial-author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 2rem;
}

.testimonial-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-nav:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.1);
}

.testimonial-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator:hover {
  background: rgba(212, 175, 55, 0.3);
}

.indicator.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 10px;
}

/* Audiobook CTA Section */
.audiobook-cta-section {
  padding: 5rem 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
}

.audiobook-cta-container {
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.08), rgba(255, 255, 255, 0.9));
  padding: 3.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(52, 73, 94, 0.15);
  transition: var(--transition-medium);
}

.audiobook-cta-container:hover {
  box-shadow: var(--shadow-hard);
  transform: translateY(-5px);
}

.sacred-symbol-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('sacred-symbol.png');
  background-size: 60%;
  background-position: center right -50px;
  background-repeat: no-repeat;
  opacity: 0.035;
  z-index: 0;
  transition: var(--transition-medium);
}

.audiobook-cta-container:hover .sacred-symbol-bg {
  opacity: 0.05;
  transform: scale(1.05);
}

.audiobook-cta-container h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.audiobook-cta-container p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.preorder-info {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.preorder-price {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-right: 1.5rem;
}

.preorder-details {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: var(--text-color);
}

.audiobook-cta-visual {
  position: relative;
  perspective: 1000px;
  transform: translateZ(0);
}

.audiobook-cta-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard);
  transform: perspective(1000px) rotateY(-25deg) rotate(-5deg);
  transition: var(--transition-medium);
}

.audiobook-cta-img:hover {
  transform: perspective(1000px) rotateY(-15deg) rotate(-2deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.audiobook-cta-glow {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.audio-waves-visual {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  height: 60%;
  justify-content: center;
  align-items: flex-start;
  gap: 0.3rem;
}

.audio-wave {
  width: 3px;
  height: 15px;
  background: rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-full);
  animation: waveAnimation 1.2s infinite ease-in-out alternate;
}

.audio-wave:nth-child(1) {
  height: 25px;
  animation-delay: 0.2s;
}

.audio-wave:nth-child(2) {
  height: 40px;
  animation-delay: 0.4s;
}

.audio-wave:nth-child(3) {
  height: 30px;
  animation-delay: 0.6s;
}

.audio-wave:nth-child(4) {
  height: 20px;
  animation-delay: 0.8s;
}

@keyframes waveAnimation {
  0% {
    transform: scaleY(0.5) translateX(0);
  }
  100% {
    transform: scaleY(1) translateX(5px);
  }
}

/* Sleep Timer Modal */
.sleep-timer-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.sleep-option {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sleep-option:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-3px);
}

.sleep-option.active {
  background: var(--primary-color);
  color: white;
}

.sleep-timer-custom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.sleep-timer-custom label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
}

.custom-timer-input {
  display: flex;
  gap: 1rem;
}

.custom-timer-input input {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 1rem;
}

.custom-timer-input input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.set-custom-timer-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.set-custom-timer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.active-timer {
  background: rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  border-left: 3px solid var(--primary-color);
}

.active-timer-indicator {
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
}

.active-timer-indicator::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.active-timer p {
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.active-timer span {
  color: var(--primary-dark);
  font-weight: 700;
}

.cancel-timer-btn {
  background: rgba(52, 73, 94, 0.08);
  color: var(--accent-color);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cancel-timer-btn:hover {
  background: rgba(52, 73, 94, 0.15);
}

/* Add Note Modal */
.note-timestamp {
  background: rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--primary-color);
}

.note-timestamp p {
  margin: 0;
  color: var(--text-color);
}

.note-timestamp span {
  font-weight: 600;
  color: var(--primary-dark);
}

.note-form {
  margin-bottom: 1rem;
}

.note-textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1rem;
  resize: vertical;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.note-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.note-form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.note-highlight-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.modal-cancel-btn {
  background: rgba(52, 73, 94, 0.08);
  color: var(--accent-color);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.modal-cancel-btn:hover {
  background: rgba(52, 73, 94, 0.15);
}

.modal-save-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.modal-save-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Responsive Styles for Audiobook Page */
@media (max-width: 991px) {
  .audiobook-hero {
    padding: 8rem 0 4rem;
  }
  
  .audiobook-stats {
    gap: 1.5rem;
  }
  
  .chapter-navigation {
    margin-bottom: 2rem;
  }
  
  .testimonial-quote {
    padding: 2.5rem;
  }
  
  .audiobook-cta-container {
    padding: 2.5rem;
  }
}

@media (max-width: 767px) {
  .audiobook-hero {
    padding: 7rem 0 3rem;
  }
  
  .audiobook-hero-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .audiobook-hero-content .subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .audiobook-stats {
    justify-content: center;
  }
  
  .audiobook-cover-container {
    max-width: 280px;
  }
  
  .feature-card {
    padding: 2.5rem 1.5rem;
  }
  
  .testimonial-quote {
    padding: 2rem 1.5rem;
  }
  
  .testimonial-quote p {
    font-size: 1.1rem;
    padding-left: 1.5rem;
  }
  
  .testimonial-author {
    padding-left: 1.5rem;
  }
  
  .audiobook-cta-container {
    padding: 2rem;
  }
  
  .audiobook-cta-container h2 {
    font-size: 2rem;
  }
  
  .preorder-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .advanced-controls {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .player-footer-items {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 575px) {
  .audiobook-stats {
    flex-wrap: wrap;
  }
  
  .stat {
    width: 40%;
  }
  
  .author-thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .playing-text h2 {
    font-size: 1.4rem;
  }
  
  .player-main-container {
    padding: 1.5rem;
  }
  
  .waveform {
    height: 80px;
  }
  
  .playback-controls {
    gap: 1rem;
  }
  
  .main-play-btn {
    width: 60px;
    height: 60px;
  }
  
  .control-btn {
    width: 40px;
    height: 40px;
  }
  
  .advanced-controls {
    justify-content: center;
  }
}