/* ========================================
   THE SCARS OF LIGHT - Landing Page Styles
   Cinematic, dark, synesthetic aesthetic
   ======================================== */

/* CSS Variables */
:root {
  --bg-primary: #0F0D0B;
  --bg-secondary: #1A1714;
  --bg-card: rgba(242, 237, 228, 0.03);

  --accent-gold: #C4882A;
  --accent-amber: #C4882A;
  --accent-amber-light: #D4A04A;
  --accent-cyan: #688FA8;

  --text-primary: #F2EDE4;
  --text-secondary: rgba(242, 237, 228, 0.7);
  --text-muted: rgba(242, 237, 228, 0.4);

  --accent-synesthesia: #7B6A9E;
  
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   BACKGROUND EFFECTS
   ======================================== */

.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: aurora-drift 20s ease-in-out infinite;
}

.aurora-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-amber) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-duration: 18s;
}

.aurora-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: 20%;
  right: -300px;
  opacity: 0.2;
  animation-duration: 25s;
  animation-delay: -5s;
}

.aurora-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  bottom: -100px;
  left: 30%;
  opacity: 0.25;
  animation-duration: 22s;
  animation-delay: -10s;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
}

@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -20px) rotate(5deg); }
  66% { transform: translate(-20px, 15px) rotate(-3deg); }
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-svg {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 8px rgba(255,191,0,0.2));
}

.logo:hover .logo-svg {
  transform: rotate(8deg) scale(1.08);
  filter: drop-shadow(0 0 15px rgba(255,191,0,0.4));
}

.logo-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-amber-light);
}

.logo-subtitle {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-amber);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-highlight {
  color: var(--accent-amber) !important;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
  padding: 6px 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--accent-amber);
  color: var(--bg-primary);
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-right: 10px;
  }
  
  .lang-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 191, 0, 0.1);
  border: 1px solid rgba(255, 191, 0, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-amber-light);
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
}

.title-main {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
}

.title-shimmer {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(
    90deg,
    var(--accent-amber) 0%,
    var(--accent-amber-light) 25%,
    #fff 50%,
    var(--accent-amber-light) 75%,
    var(--accent-amber) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
  margin-top: 8px;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-amber);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(255, 191, 0, 0.3);
}

.btn-primary:hover {
  background: var(--accent-amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 191, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--accent-amber);
  color: var(--text-primary);
  background: rgba(255, 191, 0, 0.05);
}

.btn-spotify {
  background: #1DB954;
  color: #fff;
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-spotify::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-spotify:hover {
  background: #1ed760;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(29, 185, 84, 0.4);
}

.btn-spotify:hover::before {
  opacity: 1;
}

.spotify-icon {
  flex-shrink: 0;
}

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-text {
  background: none;
  color: var(--accent-amber);
  padding: 0;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--accent-amber-light);
}

.btn-text .arrow {
  transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
  transform: translateX(4px);
}

/* Hero Visual - Book Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-showcase {
  position: relative;
  width: 100%;
  max-width: 380px;
  animation: float 8s ease-in-out infinite;
}

.book-covers {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(255,191,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.book-covers:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 80px rgba(255,191,0,0.3);
}

.book-front {
  position: relative;
}

.book-image {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95) contrast(1.05);
  transition: filter 0.4s ease;
}

.book-covers:hover .book-image {
  filter: saturate(1.05) contrast(1.1);
}

.book-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--accent-amber), transparent, var(--accent-cyan));
  border-radius: 20px;
  opacity: 0.4;
  filter: blur(30px);
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

.book-badge {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.book-badge span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

.scar-light {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.4) 0%, transparent 70%);
  animation: scar-pulse 3.5s ease-in-out infinite;
}

@keyframes scar-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

.book-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}

/* ========================================
   PROGRAMMING SECTION - Floating Words
   ======================================== */

.programming {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.programming-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.programming-header {
  text-align: center;
  margin-bottom: 80px;
}

.programming-header .section-title {
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.programming-subtitle {
  font-family: var(--font-display);
  font-size: 48px;
  font-style: italic;
  color: var(--accent-amber);
  opacity: 0.9;
}

/* Floating Words Container */
.floating-words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 40px;
  margin-bottom: 100px;
  min-height: 300px;
}

/* Individual Word */
.word {
  position: relative;
  padding: 16px 32px;
  cursor: default;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.word.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Word Text - Main Display */
.word-text {
  font-family: var(--font-accent);
  font-size: clamp(14px, 2.5vw, 22px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

.word:hover .word-text {
  color: var(--accent-amber);
  text-shadow: 0 0 30px rgba(255, 191, 0, 0.5);
}

/* Ghost Text - Vertical Writing */
.word-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-display);
  font-size: clamp(10px, 1.8vw, 14px);
  font-style: italic;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}

.word.visible .word-ghost {
  opacity: 1;
}

.word:hover .word-ghost {
  color: rgba(255, 191, 0, 0.08);
  opacity: 1;
}

/* Glow Effect on Hover */
.word::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s ease;
  z-index: -1;
}

.word:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Programming Quote */
.programming-quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.programming-quote p {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.programming-quote.visible p {
  opacity: 1;
  transform: translateY(0);
}

/* Word animation delays - scattered for organic feel */
.word:nth-child(1) { transition-delay: 0ms; }
.word:nth-child(2) { transition-delay: 80ms; }
.word:nth-child(3) { transition-delay: 160ms; }
.word:nth-child(4) { transition-delay: 40ms; }
.word:nth-child(5) { transition-delay: 120ms; }
.word:nth-child(6) { transition-delay: 200ms; }
.word:nth-child(7) { transition-delay: 60ms; }
.word:nth-child(8) { transition-delay: 140ms; }
.word:nth-child(9) { transition-delay: 100ms; }
.word:nth-child(10) { transition-delay: 180ms; }
.word:nth-child(11) { transition-delay: 20ms; }
.word:nth-child(12) { transition-delay: 160ms; }

/* ========================================
   AUDIO PLAYER
   ======================================== */

.audio-player {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.audio-player.active {
  display: flex;
}

.player-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.9);
  backdrop-filter: blur(10px);
}

.player-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  z-index: 1;
}

.player-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.player-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.player-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 80px;
  margin-bottom: 30px;
}

.viz-bar {
  width: 8px;
  background: var(--accent-amber);
  border-radius: 4px;
  opacity: 0.6;
  animation: viz-idle 1s ease-in-out infinite;
}

.viz-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.viz-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.viz-bar:nth-child(3) { height: 45%; animation-delay: 0.2s; }
.viz-bar:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.viz-bar:nth-child(5) { height: 55%; animation-delay: 0.4s; }
.viz-bar:nth-child(6) { height: 70%; animation-delay: 0.5s; }
.viz-bar:nth-child(7) { height: 40%; animation-delay: 0.6s; }
.viz-bar:nth-child(8) { height: 65%; animation-delay: 0.7s; }

@keyframes viz-idle {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

.audio-player.playing .viz-bar {
  animation: viz-active 0.5s ease-in-out infinite;
}

@keyframes viz-active {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.3); }
}

.player-info {
  text-align: center;
  margin-bottom: 30px;
}

.player-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}

.player-info p {
  color: var(--text-muted);
  font-size: 14px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.player-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-amber);
  border: none;
  color: var(--bg-primary);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 191, 0, 0.4);
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-amber);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.time {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ========================================
   PERSONALIZED SECTION
   ======================================== */

.personalized {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.personalized-card {
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.1), rgba(0, 212, 170, 0.05));
  border: 1px solid rgba(255, 191, 0, 0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  animation: slide-up 0.6s ease-out;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.personalized-icon {
  font-size: 32px;
  color: var(--accent-amber);
  margin-bottom: 16px;
}

.personalized-greeting {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 8px;
}

.personalized-greeting span {
  color: var(--accent-amber);
}

.personalized-platform {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.personalized-platform span {
  color: var(--accent-cyan);
  font-weight: 600;
}

.personalized-message {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */

.experience {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.exp-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
}

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

.exp-card:hover {
  border-color: rgba(255, 191, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.exp-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-glow {
  position: absolute;
  inset: 0;
  background: var(--accent-amber);
  border-radius: 16px;
  opacity: 0.15;
  filter: blur(10px);
}

.exp-icon span {
  position: relative;
  font-size: 28px;
  color: var(--accent-amber);
}

.exp-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}

.exp-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   SYNOPSIS SECTION
   ======================================== */

.synopsis {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.synopsis-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.synopsis-text {
  margin-top: 30px;
}

.synopsis-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.synopsis-text em {
  color: var(--accent-amber);
  font-style: italic;
}

.synopsis-themes {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  position: sticky;
  top: 120px;
}

.synopsis-themes h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.themes-list {
  list-style: none;
}

.themes-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.themes-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-amber);
}

.themes-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* Back Cover Showcase */
.back-cover-showcase {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 191, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.back-cover-showcase:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 191, 0, 0.2);
}

.back-cover-showcase img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95) contrast(1.05);
  transition: filter 0.4s ease;
}

.back-cover-showcase:hover img {
  filter: saturate(1.05) contrast(1.1);
}

.back-cover-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--accent-amber), transparent, var(--accent-cyan));
  border-radius: 20px;
  opacity: 0.3;
  filter: blur(30px);
  animation: pulse-glow 4s ease-in-out infinite;
  z-index: -1;
}

/* Synopsis Modal */
.synopsis-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.synopsis-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.95);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
  overflow-y: auto;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 30px;
  padding-right: 40px;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-amber);
  margin: 30px 0 15px;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ========================================
   FORMATS SECTION
   ======================================== */

.formats {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.format-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
}

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

.format-card:hover {
  border-color: rgba(255, 191, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.format-card:hover .format-cta {
  color: var(--accent-amber);
}

.format-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--accent-amber);
  color: var(--bg-primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 0 0 8px 8px;
}

.format-image {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.format-card:hover .format-image {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 191, 0, 0.1);
}

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

.format-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}

.format-subtitle {
  font-size: 13px;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.format-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.format-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

/* ========================================
   REVIEWERS SECTION
   ======================================== */

.reviewers {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.reviewers-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.reviewers-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 30px 0;
}

.reviewers-benefits {
  margin-bottom: 40px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}

.benefit-check {
  width: 24px;
  height: 24px;
  background: rgba(0, 212, 170, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 12px;
}

.reviewers-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.reviewers-disclosure {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 120px;
}

.disclosure-card,
.contact-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
}

.disclosure-card h4,
.contact-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.disclosure-text {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--accent-amber);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Code Modal */
.code-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.code-modal.active {
  display: flex;
}

.code-reveal {
  text-align: center;
  max-width: 450px;
}

.code-header {
  margin-bottom: 30px;
}

.code-icon {
  font-size: 48px;
  color: var(--accent-amber);
  margin-bottom: 16px;
}

.code-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
}

.code-display {
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.15), rgba(0, 212, 170, 0.1));
  border: 2px dashed rgba(255, 191, 0, 0.4);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.code-value {
  font-family: var(--font-accent);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-amber);
}

.btn-copy {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-copy.copied {
  background: rgba(0, 212, 170, 0.3);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.code-instructions {
  text-align: left;
  margin-bottom: 24px;
}

.code-instructions h4 {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.code-instructions ol {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.code-instructions li {
  margin-bottom: 8px;
}

.code-note {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.code-note p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  font-family: var(--font-display);
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-amber);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(255, 191, 0, 0.2);
  color: var(--accent-amber);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-ftc {
  font-size: 12px !important;
  opacity: 0.7;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-text {
    order: 1;
  }
  
  .hero-visual {
    order: 0;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .title-main {
    font-size: 48px;
  }
  
  .title-shimmer {
    font-size: 28px;
  }
  
  .experience-grid,
  .formats-grid {
    grid-template-columns: 1fr;
  }
  
  .synopsis-grid,
  .reviewers-grid {
    grid-template-columns: 1fr;
  }
  
  .synopsis-themes,
  .reviewers-disclosure {
    position: static;
  }
  
  .floating-words {
    gap: 15px 30px;
    padding: 0 20px;
  }
  
  .word {
    padding: 12px 20px;
  }
  
  .word-text {
    font-size: 16px;
  }
  
  .word-ghost {
    font-size: 12px;
  }
  
  .programming-subtitle {
    font-size: 36px;
  }
  
  .programming-quote p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .title-main {
    font-size: 36px;
  }
  
  .title-shimmer {
    font-size: 22px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .book-showcase {
    max-width: 280px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .floating-words {
    gap: 10px 20px;
  }
  
  .word {
    padding: 8px 14px;
  }
  
  .word-text {
    font-size: 13px;
    letter-spacing: 0.1em;
  }
  
  .programming-subtitle {
    font-size: 28px;
  }
  
  .programming-header .section-title {
    font-size: 14px;
  }
  
  .back-cover-showcase {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .format-image {
    max-width: 100px;
    margin: 0 auto 20px;
  }
}

/* ========================================
   ABOUT THE AUTHOR
   ======================================== */

.about-author {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, var(--bg-primary), rgba(10,11,18,0.98));
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.author-portrait {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(255,191,0,0.1);
}

.author-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.author-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, var(--accent-amber), transparent, var(--accent-cyan));
  border-radius: 24px;
  opacity: 0.2;
  filter: blur(30px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

.author-content {
  padding: 20px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 16px;
  padding: 8px 16px;
  background: rgba(255,191,0,0.1);
  border: 1px solid rgba(255,191,0,0.2);
  border-radius: 100px;
}

.author-meaning {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent-cyan);
  margin: -10px 0 30px;
  opacity: 0.9;
}

.author-bio {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.author-bio p {
  margin-bottom: 20px;
}

.author-bio em {
  color: var(--accent-amber);
  font-style: italic;
}

.author-tagline {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--text-primary);
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ========================================
   CHRONICLES OF LIMINA TEASER
   ======================================== */

.limina-teaser {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(10,11,18,0.98), var(--bg-primary));
  border-top: 1px solid rgba(255,255,255,0.05);
}

.limina-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.limina-header .section-title {
  font-size: 52px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent-amber), #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.limina-tagline {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.limina-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.limina-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.limina-book {
  position: relative;
}

.book-portal {
  position: relative;
  margin-bottom: 30px;
}

.book-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 2/3;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.book-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.limina-book:hover .book-image-wrap img {
  transform: scale(1.05);
}

.book-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.door-label {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 8px;
}

.book-status {
  font-size: 14px;
  font-weight: 600;
  color: #1DB954;
}

.book-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255,255,255,0.1);
}

.book-soon {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 0.1em;
}

.book-halo {
  position: absolute;
  inset: -15px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(255,191,0,0.15) 0%, transparent 70%);
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.4s ease;
  z-index: -1;
}

.limina-book:hover .book-halo {
  opacity: 1;
}

.book-info h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.book-hook {
  font-size: 15px;
  font-style: italic;
  color: var(--accent-amber);
  margin-bottom: 12px;
  line-height: 1.5;
}

.book-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-limina {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(255,191,0,0.3);
  color: var(--accent-amber);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-limina:hover {
  background: rgba(255,191,0,0.1);
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}

.btn-teaser {
  cursor: pointer;
}

.limina-footer {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
}

.limina-footer p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.limina-footer em {
  color: var(--accent-amber);
  font-style: italic;
}

/* ========================================
   NEWSLETTER POPUP
   ======================================== */

.newsletter-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.newsletter-popup.active {
  display: flex;
}

.popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,6,10,0.9);
  backdrop-filter: blur(10px);
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,191,0,0.2);
  border-radius: 24px;
  padding: 48px;
  z-index: 1;
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.newsletter-popup.active .popup-content {
  transform: scale(1);
  opacity: 1;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.popup-header {
  text-align: center;
  margin-bottom: 32px;
}

.popup-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.popup-header h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}

.popup-header p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  gap: 12px;
}

.form-group input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus {
  border-color: var(--accent-amber);
  background: rgba(255,255,255,0.08);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group button {
  padding: 16px 28px;
  white-space: nowrap;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.popup-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.popup-success.active {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(29,185,84,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #1DB954;
}

.popup-success h4 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}

.popup-success p {
  color: var(--text-secondary);
}

/* Responsive Limina */
@media (max-width: 1024px) {
  .author-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .author-portrait {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .limina-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .limina-header .section-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }
  
  .popup-content {
    padding: 32px 24px;
  }
  
  .share-widget {
    bottom: 20px;
    right: 20px;
  }
  
  .share-toggle {
    width: 48px;
    height: 48px;
  }
  
  .share-btn {
    width: 40px;
    height: 40px;
  }
}

/* ========================================
   SKIP LINK (Accessibility)
   ======================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-amber);
  color: var(--bg-primary);
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  text-decoration: none;
  z-index: 10002;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   SCROLL PROGRESS
   ======================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-cyan));
  z-index: 10001;
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(255, 191, 0, 0.5);
}

/* ========================================
   PAGE LOADER
   ======================================== */

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  animation: loader-pulse 2s ease-in-out infinite;
  margin-bottom: 24px;
}

@keyframes loader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.loader-text {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  animation: loader-fade 1.5s ease-in-out infinite;
}

@keyframes loader-fade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-cyan));
  animation: loader-progress 1.5s ease-out forwards;
}

@keyframes loader-progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 6px;
  z-index: 101;
}

.menu-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-nav.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav a:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav a:hover {
  color: var(--accent-amber);
}

/* ========================================
   THE PATTERN - Architecture of Survival
   ======================================== */

.the-pattern {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(10,11,18,0.98) 50%, var(--bg-primary) 100%);
  border-top: 1px solid rgba(255, 191, 0, 0.1);
  border-bottom: 1px solid rgba(255, 191, 0, 0.1);
}

.pattern-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pattern-subtitle {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 20px;
}

.pattern-subtitle em {
  color: var(--accent-amber);
}

.pattern-intro {
  max-width: 700px;
  margin: 0 auto 80px;
  text-align: center;
}

.pattern-lead {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.4;
}

.pattern-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Pattern Layers */
.pattern-layers {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 100px;
}

.pattern-layer {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pattern-layer::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent-amber), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pattern-layer:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 191, 0, 0.15);
  transform: translateX(10px);
}

.pattern-layer:hover::before {
  opacity: 1;
}

.layer-number {
  font-family: var(--font-accent);
  font-size: 48px;
  font-weight: 600;
  color: rgba(255, 191, 0, 0.2);
  line-height: 1;
  transition: all 0.4s ease;
}

.pattern-layer:hover .layer-number {
  color: var(--accent-amber);
}

.layer-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.layer-concept {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.layer-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.layer-desc strong {
  color: var(--text-primary);
  font-weight: 500;
}

.layer-quote {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--accent-amber);
  padding-left: 20px;
  border-left: 2px solid rgba(255, 191, 0, 0.3);
  line-height: 1.6;
}

/* Isomorphism Section */
.pattern-isomorphism {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 191, 0, 0.1);
  border-radius: 24px;
  padding: 60px;
  margin-bottom: 80px;
}

.pattern-isomorphism h3 {
  font-family: var(--font-display);
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.iso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.iso-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.iso-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 191, 0, 0.2);
}

.iso-card.active {
  background: rgba(255, 191, 0, 0.08);
  border-color: rgba(255, 191, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 191, 0, 0.1);
}

.iso-icon {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--accent-amber);
}

.iso-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 4px;
}

.iso-sub {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.iso-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.iso-conclusion {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.iso-conclusion p {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--text-primary);
}

.iso-conclusion strong {
  color: var(--accent-amber);
}

/* Invitation */
.pattern-invitation {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.invitation-content {
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.05), rgba(0, 212, 170, 0.05));
  border: 1px solid rgba(255, 191, 0, 0.15);
  border-radius: 24px;
  padding: 60px;
}

.invitation-content h3 {
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.invitation-content > p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.invitation-content strong {
  color: var(--text-primary);
}

.invitation-cta {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.invitation-cta p {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--accent-amber);
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .pattern-layer {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 30px;
  }
  
  .layer-number {
    font-size: 36px;
  }
  
  .iso-grid {
    grid-template-columns: 1fr;
  }
  
  .pattern-isomorphism {
    padding: 40px 24px;
  }
  
  .invitation-content {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  .pattern-layer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .layer-quote {
    border-left: none;
    border-top: 2px solid rgba(255, 191, 0, 0.3);
    padding-left: 0;
    padding-top: 16px;
    margin-top: 16px;
  }
  
  .pattern-lead {
    font-size: 24px;
  }
  
  .invitation-content h3 {
    font-size: 28px;
  }
}

/* ========================================
   BOOK STATS SECTION
   ======================================== */

.book-stats {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.stat-card:hover {
  border-color: rgba(255, 191, 0, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-number::after {
  content: '+';
  font-size: 24px;
  opacity: 0.7;
}

.stat-label {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Reading Tracker */
.reading-tracker {
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.05), rgba(0, 212, 170, 0.05));
  border: 1px solid rgba(255, 191, 0, 0.15);
  border-radius: 24px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.tracker-header {
  text-align: center;
  margin-bottom: 32px;
}

.tracker-header h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 8px;
}

.tracker-header p {
  color: var(--text-muted);
  font-size: 15px;
}

.tracker-progress {
  margin-bottom: 24px;
}

.tracker-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.tracker-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-cyan));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.tracker-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.tracker-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.chapter-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chapter-dot:hover {
  background: rgba(255, 191, 0, 0.1);
  border-color: rgba(255, 191, 0, 0.3);
}

.chapter-dot.read {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: var(--bg-primary);
}

/* ========================================
   RECOMMENDATIONS SECTION
   ======================================== */

.recommendations {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
}

.rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.rec-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s ease;
}

.rec-card:hover {
  border-color: rgba(255, 191, 0, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.rec-image {
  margin-bottom: 20px;
}

.rec-placeholder {
  width: 60px;
  height: 80px;
  background: linear-gradient(135deg, var(--rec-color, var(--accent-amber)), rgba(0,0,0,0.3));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rec-initial {
  font-family: var(--font-display);
  font-size: 36px;
  font-style: italic;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.rec-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 4px;
}

.rec-author {
  font-size: 13px;
  color: var(--accent-amber);
  margin-bottom: 16px;
}

.rec-why {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.rec-why strong {
  color: var(--text-primary);
}

.rec-match {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.match-badge {
  padding: 6px 12px;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.match-theme {
  padding: 6px 12px;
  background: rgba(255, 191, 0, 0.1);
  border: 1px solid rgba(255, 191, 0, 0.2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent-amber);
}

.rec-note {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rec-note p {
  color: var(--text-secondary);
  font-size: 15px;
}

.rec-note a {
  color: var(--accent-amber);
  text-decoration: none;
}

.rec-note a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .stat-card {
    padding: 24px 16px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .rec-grid {
    grid-template-columns: 1fr;
  }
  
  .reading-tracker {
    padding: 24px;
  }
}

/* ========================================
   BACK TO TOP
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 191, 0, 0.1);
  border-color: rgba(255, 191, 0, 0.3);
  color: var(--accent-amber);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   SHARE WIDGET
   ======================================== */

.share-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
}

.share-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-amber), var(--accent-cyan));
  border: none;
  color: var(--bg-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 191, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(255, 191, 0, 0.4);
}

.share-toggle.active {
  transform: rotate(45deg);
  background: var(--text-primary);
}

.share-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-widget.active .share-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
}

.share-widget.active .share-btn {
  opacity: 1;
  transform: scale(1);
}

.share-widget.active .share-btn:nth-child(1) { transition-delay: 0.05s; }
.share-widget.active .share-btn:nth-child(2) { transition-delay: 0.1s; }
.share-widget.active .share-btn:nth-child(3) { transition-delay: 0.15s; }
.share-widget.active .share-btn:nth-child(4) { transition-delay: 0.2s; }

.share-btn:hover {
  transform: scale(1.15);
}

.share-twitter { background: #000; }
.share-facebook { background: #1877f2; }
.share-linkedin { background: #0a66c2; }
.share-copy { background: var(--bg-secondary); border: 1px solid rgba(255,255,255,0.2); color: var(--text-primary); }

/* ========================================
   READING TIME BADGE
   ======================================== */

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.reading-time svg {
  width: 14px;
  height: 14px;
}

/* ========================================
   ENTRANCE ANIMATIONS
   ======================================== */

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="left"] {
  transform: translateX(-30px);
}

[data-animate="right"] {
  transform: translateX(30px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-stagger].animated > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
[data-stagger].animated > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
[data-stagger].animated > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
[data-stagger].animated > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
[data-stagger].animated > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
[data-stagger].animated > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-amber);
  outline-offset: 4px;
}

/* Selection */
::selection {
  background: rgba(255, 191, 0, 0.3);
  color: var(--text-primary);
}
