/* ==========================================================================
   BOOKSTREET.IN - Core Stylesheet
   Designed with Editorial Elegance & Subtle Luxury
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Editorial Palette */
  --bg-primary: #FAF7F2;
  --bg-surface: #F5EFE6;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-dark: #121211;
  --bg-dark-surface: #1E1D1B;
  
  --text-main: #1D1C1A;
  --text-secondary: #6B655D;
  --text-tertiary: #968F85;
  --text-light: #F7F5F0;
  --text-muted: #A39E96;

  --accent-gold: #B88B4A;
  --accent-gold-light: #E8D8B8;
  --accent-gold-soft: rgba(184, 139, 74, 0.12);
  --accent-terracotta: #B9583F;
  --accent-olive: #3D5A45;
  
  --border-light: rgba(30, 28, 25, 0.08);
  --border-medium: rgba(30, 28, 25, 0.14);
  --border-dark: rgba(255, 255, 255, 0.12);

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-serif-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-handwriting: 'Caveat', cursive, serif;

  --shadow-sm: 0 2px 8px rgba(26, 23, 20, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 23, 20, 0.07);
  --shadow-lg: 0 16px 40px rgba(26, 23, 20, 0.10);
  --shadow-book: -8px 12px 28px rgba(18, 14, 10, 0.18), -2px 2px 6px rgba(18, 14, 10, 0.08);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.4);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1280px;
  --nav-height: 80px;
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* Snappy 60fps touch responsiveness */
button,
a,
input,
select,
textarea,
.reel-card,
.cluster-book,
.flatlay-book,
.polaroid-tile {
  touch-action: manipulation;
}

/* GPU-accelerated rendering layers for buttery 60fps micro-interactions */
.cluster-book,
.reel-card,
.flatlay-book,
.polaroid-tile,
.phone-mockup,
.book-drawer,
.drawer-overlay,
.target-cursor {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Subtle Paper Grain Overlay */
.paper-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text-main);
}

.font-handwritten {
  font-family: var(--font-handwriting);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ==========================================================================
   Custom Magnetic / Interactive Cursor
   ========================================================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(29, 28, 26, 0.4);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--transition-smooth), height 0.3s var(--transition-smooth), background-color 0.3s, border-color 0.3s, opacity 0.3s;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: transparent;
  user-select: none;
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--text-main);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10001;
  transition: transform 0.1s ease, opacity 0.3s ease;
}

.custom-cursor.active {
  width: 72px;
  height: 72px;
  background-color: rgba(29, 28, 26, 0.88);
  border-color: transparent;
  color: #FAF7F2;
  backdrop-filter: blur(4px);
}

.custom-cursor.active-light {
  width: 76px;
  height: 76px;
  background-color: rgba(255, 255, 255, 0.95);
  border-color: transparent;
  color: #121211;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-dot {
    display: none !important;
  }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(250, 247, 242, 0.96);
  box-shadow: 0 4px 20px rgba(26, 23, 20, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  font-family: var(--font-serif-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: inline-flex;
  align-items: baseline;
}

.brand-logo .dot {
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-main);
  animation: inkLine 0.3s var(--transition-smooth) forwards;
}

@keyframes inkLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sound Ambience Toggle in Nav */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background-color: rgba(30, 28, 25, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.sound-toggle-btn:hover {
  background-color: rgba(30, 28, 25, 0.08);
  color: var(--text-main);
}

.sound-toggle-btn.active {
  background-color: var(--accent-gold-soft);
  border-color: rgba(184, 139, 74, 0.4);
  color: var(--accent-gold);
}

.sound-icon-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound-icon-bars span {
  width: 2px;
  background-color: currentColor;
  border-radius: 1px;
  transition: height 0.2s ease;
}

.sound-toggle-btn.active .sound-icon-bars span:nth-child(1) {
  animation: soundBar 0.8s ease-in-out infinite alternate;
}
.sound-toggle-btn.active .sound-icon-bars span:nth-child(2) {
  animation: soundBar 1.1s ease-in-out infinite alternate 0.2s;
}
.sound-toggle-btn.active .sound-icon-bars span:nth-child(3) {
  animation: soundBar 0.9s ease-in-out infinite alternate 0.4s;
}

@keyframes soundBar {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-medium);
  white-space: nowrap;
}

.btn-dark {
  background-color: var(--text-main);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px rgba(29, 28, 26, 0.16);
}

.btn-dark:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(29, 28, 26, 0.24);
  color: #FFFFFF;
}

.btn-dark-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-dark-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-light {
  background-color: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.btn-light:hover {
  background-color: var(--bg-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
  background-color: #FFFFFF;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.btn-icon-round:hover {
  border-color: var(--text-main);
  background-color: var(--text-main);
  color: #FFFFFF;
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 1.25rem;
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-handwritten-note {
  position: relative;
  display: inline-block;
  margin-bottom: 0.6rem;
  transform: rotate(-3deg);
}

.hero-handwritten-note span {
  font-family: var(--font-handwriting);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-serif-display);
  font-size: clamp(2.75rem, 4.6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.025em;
}

.hero-title-nowrap {
  white-space: nowrap;
  display: inline-block;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-subtext {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}

.hero-subtext .bullet {
  margin: 0 0.5rem;
  color: var(--accent-gold);
}

.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Hand-drawn Literary Doodles Cluster (Open Book, Book Stack, Coffee Mug)
   Arranged asymmetrically up-down directly in view of screen in the hero section */
.hero-doodles-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.8rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 440px;
  color: var(--text-secondary);
  pointer-events: none; /* Disables hover collision */
  user-select: none;
  position: relative;
  z-index: 5;
}

.hero-doodle-item {
  display: block;
  height: auto;
  opacity: 0.75;
  color: inherit;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
  transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Asymmetric Up & Down Staggered Composition */
.doodle-open-book {
  width: 110px;
  transform: translateY(6px) rotate(-2deg);
}

.doodle-book-stack {
  width: 60px;
  transform: translateY(-12px) rotate(3deg);
}

.doodle-coffee-mug {
  width: 46px;
  transform: translateY(8px) rotate(-1.5deg);
}

/* ==========================================================================
   Hero Visual: Curated Books Photo Cluster (Background Removed)
   Featuring Atomic Habits, Rich Dad Poor Dad, Psychology of Money, & Body Keeps Score
   ========================================================================== */
.hero-books-showcase {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  padding: 0.5rem 0 1rem;
}

.hero-books-cluster {
  position: relative;
  width: 500px;
  max-width: 500px;
  height: 440px;
  perspective: 1600px;
  perspective-origin: 50% 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}

/* Natural Floor Contact & Ambient Shadow */
.books-cluster-floor-shadow {
  position: absolute;
  bottom: 25px;
  left: 6%;
  width: 88%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(30, 22, 14, 0.28) 0%, rgba(30, 22, 14, 0.10) 50%, transparent 75%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 1;
}

/* Base Cluster Book Structure */
.cluster-book {
  position: absolute;
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform, box-shadow;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), z-index 0.2s ease, filter 0.3s ease, opacity 0.3s ease;
  outline: none;
}

.cluster-book:focus-visible {
  outline: 2px solid var(--accent-gold, #B88B4A);
  outline-offset: 4px;
}

/* Hover "Gets Out Selected" 3D Popout Elevation */
.cluster-book:not(.book-bodyscore):hover {
  z-index: 50 !important;
}

.cluster-book:hover .book-cover-wrap {
  box-shadow:
    0 28px 56px rgba(26, 20, 14, 0.38),
    0 12px 24px rgba(26, 20, 14, 0.2),
    0 0 0 1.5px rgba(184, 139, 74, 0.45);
}

/* Book Cover Wrapper */
.book-cover-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 4px 10px 10px 4px;
  overflow: hidden;
  background: #FCFBF9;
  box-shadow:
    -10px 18px 36px rgba(26, 20, 14, 0.22),
    -3px 6px 12px rgba(26, 20, 14, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease;
}

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

/* Realistic 3D Book Spine Ridge */
.book-spine-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0.22) 40%, rgba(0,0,0,0.18) 100%);
  z-index: 5;
  border-radius: 4px 0 0 4px;
  pointer-events: none;
}

/* Realistic Paper Edge Block */
.book-pages-3d {
  position: absolute;
  top: 4px;
  right: -8px;
  width: 9px;
  height: calc(100% - 8px);
  background: repeating-linear-gradient(
    180deg,
    #F5EFE6 0px,
    #F5EFE6 2px,
    #EADFCF 2px,
    #EADFCF 3px
  );
  border-radius: 0 3px 3px 0;
  box-shadow: 2px 4px 8px rgba(0,0,0,0.15);
  transform: rotateY(45deg);
  transform-origin: left center;
  pointer-events: none;
}

/* Subtle Book Surface Glare / Tactile Sheen */
.book-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28) 0%,
    transparent 45%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
}

/* Book #1: Rich Dad Poor Dad (Left Leaning) */
.book-rich-dad {
  width: 175px;
  height: 255px;
  left: 35px;
  bottom: 85px;
  transform: rotateY(-18deg) rotateZ(-8deg) translateZ(-40px);
  z-index: 5;
}

.book-rich-dad:hover {
  transform: rotateY(-18deg) rotateZ(-8deg) translateZ(-40px) translateY(-14px) scale(1.03);
}

/* Book #2: The Psychology of Money (Far Right Angled) */
.book-psychology {
  width: 175px;
  height: 258px;
  right: 30px;
  bottom: 90px;
  transform: rotateY(16deg) rotateZ(9deg) translateZ(-30px);
  z-index: 6;
}

.book-psychology:hover {
  transform: rotateY(16deg) rotateZ(9deg) translateZ(-30px) translateY(-14px) scale(1.03);
}

/* Book #3: The Immortals of Meluha (Back Center Elevation - Fixed Background) */
.book-bodyscore {
  width: 170px;
  height: 252px;
  left: 175px;
  top: 55px;
  transform: rotateY(4deg) rotateZ(2deg) translateZ(-80px) !important;
  z-index: 3 !important;
  pointer-events: none !important;
  cursor: default;
}

.book-bodyscore:hover {
  transform: rotateY(4deg) rotateZ(2deg) translateZ(-80px) !important;
  z-index: 3 !important;
}

.book-bodyscore:hover .book-cover-wrap {
  box-shadow: -10px 18px 36px rgba(26, 20, 14, 0.22), -3px 6px 12px rgba(26, 20, 14, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Book #4: Atomic Habits (Front Hero Centerpiece) */
.book-atomic-habits {
  width: 195px;
  height: 290px;
  left: 162px;
  bottom: 60px;
  transform: rotateY(-4deg) rotateZ(-2deg) translateZ(40px);
  z-index: 10;
}

.book-atomic-habits:hover {
  transform: rotateY(-4deg) rotateZ(-2deg) translateZ(40px) translateY(-14px) scale(1.03);
}

/* ==========================================================================
   Section 2: Trending on Instagram (Reels)
   ========================================================================== */
.reels-section {
  padding: 4.5rem 0 5.5rem;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  position: relative;
}

.reels-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.reels-intro {
  position: relative;
}

.reels-intro .handwritten-title {
  font-family: var(--font-handwriting);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  transform: rotate(-4deg);
  margin-bottom: 0.2rem;
}

.reels-heading {
  font-size: 2.6rem;
  font-family: var(--font-serif-display);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.reels-heading .insta-icon {
  width: 28px;
  height: 28px;
  color: var(--text-main);
}

.reels-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* Hand-drawn Arrow pointing to cards */
.reels-doodle-arrow {
  position: relative;
  margin-top: 1rem;
}

.reels-doodle-arrow .arrow-text {
  font-family: var(--font-handwriting);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.15;
  display: block;
  margin-bottom: 0.5rem;
  transform: rotate(-6deg);
}

.reels-doodle-arrow svg {
  width: 120px;
  height: 60px;
  stroke: var(--text-secondary);
  opacity: 0.6;
}

/* Reel Cards Row */
.reels-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.reel-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-surface);
  box-shadow: 0 10px 30px rgba(29, 26, 22, 0.08);
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease;
  user-select: none;
}

.reel-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 45px rgba(29, 26, 22, 0.16);
}

.reel-card-img,
.reel-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition-smooth);
}

.reel-card:hover .reel-card-img,
.reel-card:hover .reel-card-video {
  transform: scale(1.06);
}

.reel-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.68) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  color: #FFFFFF;
  pointer-events: none;
}

.reel-bottom-info {
  display: flex;
  align-items: center;
}

.reel-views-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.reel-views-pill svg {
  width: 13px;
  height: 13px;
  fill: #FFFFFF;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}

.reel-title-snippet,
.reel-equalizer {
  display: none !important;
}

/* ==========================================================================
   Section 3: Explore Books (Scattered Editorial Flat-lay)
   ========================================================================== */
.explore-section {
  padding: 6rem 0;
  background-color: #F8F4EC;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Scattered Book Covers Flat-lay */
.books-flatlay-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.flatlay-container {
  position: relative;
  width: 480px;
  max-width: 100%;
  height: 480px;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Book Cover 3D Component with Real Photo Covers */
.flatlay-book {
  position: absolute;
  width: 148px;
  height: 215px;
  border-radius: 4px 10px 10px 4px;
  box-shadow:
    -6px 12px 28px rgba(24, 18, 12, 0.22),
    -2px 4px 10px rgba(24, 18, 12, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.4s ease, z-index 0.15s ease;
  transform-style: preserve-3d;
  user-select: none;
  overflow: hidden;
  padding: 0;
  background: transparent;
  outline: none;
}

.flatlay-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px 10px 10px 4px;
}

.flatlay-book:focus-visible {
  outline: 2px solid var(--accent-gold, #B88B4A);
  outline-offset: 4px;
}

.flatlay-book:hover {
  transform: scale(1.14) rotate(0deg) !important;
  z-index: 50 !important;
  box-shadow:
    0 30px 60px rgba(20, 15, 10, 0.38),
    0 10px 20px rgba(20, 15, 10, 0.18),
    0 0 0 1.5px rgba(184, 139, 74, 0.45);
}

/* Individual Book Placements - Symmetrically Centered Composition */
.book-pos-1 {
  /* The Immortals of Meluha (Amish) */
  top: 35px;
  left: 8px;
  transform: rotate(-10deg);
  z-index: 3;
}

.book-pos-2 {
  /* Wings of Fire (Dr. A.P.J. Abdul Kalam) */
  top: 15px;
  left: 166px;
  transform: rotate(4deg);
  z-index: 2;
}

.book-pos-3 {
  /* The Palace of Illusions (Chitra Banerjee Divakaruni) */
  top: 25px;
  left: 324px;
  transform: rotate(-5deg);
  z-index: 4;
}

.book-pos-4 {
  /* Life's Amazing Secrets (Gaur Gopal Das) */
  top: 215px;
  left: 166px;
  transform: rotate(7deg);
  z-index: 5;
}

.book-pos-5 {
  /* The Alchemist (Paulo Coelho) */
  top: 255px;
  left: 282px;
  transform: rotate(-4deg);
  z-index: 6;
}

.book-pos-6 {
  /* Ikigai */
  top: 240px;
  left: 50px;
  transform: rotate(-7deg);
  z-index: 4;
}

/* Book Cover Typography Inside */
.flatlay-book .book-tag-top {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.8;
}

.flatlay-book .book-title-main {
  font-family: var(--font-serif-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0.35rem 0;
}

.flatlay-book .book-author-name {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.flatlay-book .book-ribbon {
  position: absolute;
  top: 0;
  right: 18px;
  width: 10px;
  height: 24px;
  background-color: var(--accent-gold);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Doodle note on flatlay */
.flatlay-doodle {
  position: absolute;
  bottom: 25px;
  left: 230px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.flatlay-doodle .doodle-quote {
  font-family: var(--font-handwriting);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.15;
  text-align: center;
  transform: rotate(-8deg);
}

.flatlay-doodle svg {
  width: 70px;
  height: 40px;
  stroke: var(--text-secondary);
  opacity: 0.6;
}

/* Right Content of Explore Books */
.explore-content {
  position: relative;
}

.explore-illustration-botanical {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 130px;
  opacity: 0.35;
  pointer-events: none;
}

.explore-illustration-books {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 140px;
  opacity: 0.35;
  pointer-events: none;
}

.explore-content .handwritten-title {
  font-family: var(--font-handwriting);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transform: rotate(-4deg);
  display: block;
  margin-bottom: 0.2rem;
}

.explore-heading {
  font-family: var(--font-serif-display);
  font-size: clamp(3rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.explore-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 2.2rem;
}

/* ==========================================================================
   Section 4: Curated Collections
   ========================================================================== */
.collections-section {
  padding: 5.5rem 0 6rem;
  background-color: var(--bg-primary);
  position: relative;
}

.collections-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.collections-header-text .handwritten-title {
  font-family: var(--font-handwriting);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  transform: rotate(-3deg);
  margin-bottom: 0.2rem;
}

.collections-title {
  font-family: var(--font-serif-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.collections-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

.collections-nav-arrows {
  display: flex;
  gap: 0.8rem;
}

/* Collections Cards Grid */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(29, 26, 22, 0.08);
  cursor: pointer;
  background-color: var(--bg-surface);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
}

.collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(29, 26, 22, 0.16);
}

.collection-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.collection-card:hover .collection-card-img {
  transform: scale(1.08);
}

.collection-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem 1.4rem;
  color: #FFFFFF;
}

.collection-card-title {
  font-family: var(--font-serif-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.collection-card-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.collection-card-meta .meta-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.collection-card:hover .collection-card-meta .meta-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Section 5: From our Instagram (Polaroid Scrapbook Grid)
   ========================================================================== */
.instagram-scrapbook-section {
  padding: 6rem 0;
  background-color: #F7F3EB;
  border-top: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.scrapbook-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
}

.scrapbook-intro {
  position: relative;
  z-index: 2;
}

/* Botanical Branch Background sketch */
.scrapbook-bg-botanical {
  position: absolute;
  top: -60px;
  left: -40px;
  width: 240px;
  opacity: 0.15;
  pointer-events: none;
}

.scrapbook-intro .handwritten-title {
  font-family: var(--font-handwriting);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  transform: rotate(-3deg);
  margin-bottom: 0.2rem;
}

.scrapbook-heading {
  font-family: var(--font-serif-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.scrapbook-heading .insta-icon {
  width: 32px;
  height: 32px;
}

.scrapbook-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

/* 6-Photo Scrapbook Gallery (3x2 Grid) */
.polaroid-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.polaroid-tile {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-surface);
  box-shadow: 0 8px 24px rgba(25, 20, 15, 0.08);
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: none;
}

.polaroid-tile:hover,
.polaroid-tile:active,
.polaroid-tile:focus {
  transform: none !important;
  box-shadow: 0 8px 24px rgba(25, 20, 15, 0.08) !important;
  z-index: 1 !important;
  outline: none !important;
}

.polaroid-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.3s ease;
}

.polaroid-tile:hover .polaroid-tile-img,
.polaroid-tile:active .polaroid-tile-img {
  transform: none !important;
}

/* Washi Tape Pinning removed per design request */
.washi-tape-pin {
  display: none !important;
}

/* Video Play Overlay */
.polaroid-video-badge {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.polaroid-video-badge svg {
  width: 12px;
  height: 12px;
  fill: #FFFFFF;
  margin-left: 1px;
}

/* ==========================================================================
   Section 6: Worldwide Delivery
   ========================================================================== */
.delivery-section {
  padding: 5.5rem 0 6rem;
  background-color: var(--bg-primary);
  position: relative;
}

.delivery-card-banner {
  background-color: #F6F1E7;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 3.5rem 4rem;
  box-shadow: 0 12px 36px rgba(28, 24, 18, 0.06);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Postage Stamp in Top-Right Corner */
.vintage-stamp {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  opacity: 0.85;
}

.stamp-box {
  width: 62px;
  height: 74px;
  background-color: #EDE4D1;
  border: 2px dashed #9E917A;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  text-align: center;
}

.stamp-box .stamp-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6E6350;
  text-transform: uppercase;
}

.stamp-box .stamp-price {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #4A4032;
}

.stamp-waves {
  position: absolute;
  top: 24px;
  right: 50px;
  width: 70px;
  height: 35px;
  opacity: 0.6;
}

/* Globe & Flight Trail Visual */
.delivery-globe-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(28, 24, 18, 0.12);
  background-color: #FEF5EC;
}

@keyframes slowGlobeRotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.globe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  animation: slowGlobeRotation 70s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.globe-img.is-spinning,
.delivery-card-banner.is-visible .globe-img {
  animation-play-state: running;
}

/* Sticky note on globe */
.globe-sticky-note {
  position: absolute;
  bottom: 25px;
  right: -10px;
  background-color: #FFFDF9;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.6rem 1.1rem;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: rotate(6deg);
  z-index: 5;
}

.globe-sticky-note span {
  font-family: var(--font-handwriting);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

/* Flying Miniature Airplane along SVG path */
.flight-path-svg {
  position: absolute;
  top: -20px;
  left: -30px;
  width: 120%;
  height: 120%;
  pointer-events: none;
}

/* Delivery Text Content */
.delivery-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.delivery-tag-badge svg {
  width: 16px;
  height: 16px;
}

.delivery-heading {
  font-family: var(--font-serif-display);
  font-size: clamp(2.8rem, 4.2vw, 3.8rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.delivery-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 480px;
}

/* Regions Badges Row */
.delivery-regions-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.region-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.region-flag-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.region-text h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.region-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Interactive Shipping Estimator Form */
.shipping-calc-box {
  background-color: #FFFFFF;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.shipping-calc-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

.shipping-calc-input::placeholder {
  color: var(--text-muted);
}

.shipping-calc-result {
  margin-top: 0.8rem;
  font-size: 0.82rem;
  color: var(--accent-olive);
  font-weight: 500;
  display: none;
}

.shipping-calc-result.show {
  display: block;
}

/* ==========================================================================
   Section 7: Follow Us On Instagram (Dark Immersive Banner)
   ========================================================================== */
.instagram-banner-section {
  padding: clamp(3.2rem, 5vh, 4.5rem) 0 clamp(2.8rem, 4.5vh, 4rem);
  background-color: #12110F;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* Warm Ambient Glow in Background */
.insta-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 139, 74, 0.16) 0%, rgba(18, 17, 15, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.insta-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.insta-banner-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}

/* Handwritten doodle accent cleanly positioned above heading */
.insta-banner-doodle {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  pointer-events: none;
  z-index: 5;
}

.insta-banner-doodle span {
  font-family: var(--font-handwriting);
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.15;
  transform: rotate(-4deg);
}

.insta-banner-doodle svg {
  width: 52px;
  height: 32px;
  stroke: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  margin-left: 1.5rem;
  transform: rotate(35deg);
}

.insta-banner-content {
  padding-left: 0;
}

.insta-banner-subtag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
  display: block;
}

.insta-banner-heading {
  font-family: var(--font-serif-display);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 1.1rem;
}

.insta-banner-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 440px;
}

/* Phone Mockup 3D Display */
.insta-phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.phone-mockup {
  width: 255px;
  max-height: 540px;
  aspect-ratio: 485 / 1024;
  height: auto;
  background-color: #0E0D0C;
  border-radius: 36px;
  border: 6.5px solid #22201D;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.75),
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
  color: #FFFFFF;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  cursor: default;
}

.phone-mockup:hover {
  transform: rotateY(-8deg) rotateX(3deg);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(184, 139, 74, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #000000;
  border-radius: 19px;
  overflow: hidden;
  position: relative;
  pointer-events: none;
  user-select: none;
}

.phone-screen-image-wrap {
  padding: 0 !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 19px;
  background-color: #000000;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 19px;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Phone Instagram UI Header */
.phone-insta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
}

.phone-insta-username {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-insta-username svg {
  width: 14px;
  height: 14px;
  fill: #3897F0;
}

.phone-insta-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.phone-profile-pic {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888);
}

.phone-profile-pic img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #000000;
}

.phone-stat-counts {
  display: flex;
  gap: 16px;
  text-align: center;
}

.phone-stat-item .stat-num {
  font-size: 0.92rem;
  font-weight: 700;
  display: block;
}

.phone-stat-item .stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.phone-insta-bio {
  font-size: 0.76rem;
  line-height: 1.35;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

/* Phone Story Highlights */
.phone-stories {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  overflow-x: hidden;
}

.phone-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.phone-story-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #181818;
}

.phone-story-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Phone 3x3 Photo Feed */
.phone-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.phone-grid-item {
  aspect-ratio: 1/1;
  background-color: #222222;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.phone-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.phone-grid-item:hover img {
  transform: scale(1.1);
}

/* ==========================================================================
   Section 8: Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-medium);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--text-main);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-handwritten-note {
  font-family: var(--font-handwriting);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transform: rotate(-3deg);
}

.footer-handwritten-note .heart-icon {
  font-size: 1.3rem;
  color: var(--accent-terracotta);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.footer-credit-link {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-credit-link:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(14, 13, 11, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* Reel Modal */
.reel-modal-container {
  width: 90%;
  max-width: 440px;
  height: 88vh;
  max-height: 820px;
  background-color: #000000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.3s var(--transition-bounce);
}

.modal-overlay.active .reel-modal-container {
  transform: scale(1);
}

.reel-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
  cursor: pointer;
  line-height: 0;
}

.reel-modal-close svg {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
  flex-shrink: 0;
}

.reel-modal-close:hover {
  transform: scale(1.1);
}

.reel-modal-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.reel-modal-media img,
.reel-modal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-modal-overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.8rem 1.4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.92) 100%);
  color: #FFFFFF;
  z-index: 20;
}

.reel-modal-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.reel-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.reel-author-name {
  font-size: 0.92rem;
  font-weight: 600;
}

.reel-modal-desc {
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.reel-modal-audio {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Reel Actions Sidebar on Modal */
.reel-modal-actions {
  position: absolute;
  right: 1.2rem;
  bottom: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  z-index: 25;
}

.reel-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #FFFFFF;
}

.reel-action-btn svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  transition: transform 0.2s;
}

.reel-action-btn:hover svg {
  transform: scale(1.15);
}

.reel-action-btn.liked svg {
  fill: #FF3B30;
  stroke: #FF3B30;
}

.reel-action-count {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Background Scroll Lock (Zero jump, zero scrolling effect on close) */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Book Details Drawer (Right-aligned sliding drawer on PC - Sharp & Decent) */
.drawer-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(14, 13, 11, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

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

.book-drawer {
  position: relative;
  width: min(480px, 90vw);
  height: 100vh;
  max-height: 100vh;
  background-color: var(--bg-primary);
  border-radius: 0; /* Sharp, decent right panel as in the starting design */
  border-left: 1px solid var(--border-medium);
  border-top: none;
  border-bottom: none;
  border-right: none;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2.8rem 2.2rem 2.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
}

.drawer-overlay.active .book-drawer {
  transform: translateX(0);
}

.drawer-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 10;
  line-height: 0;
}

.drawer-close-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  pointer-events: none;
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  background-color: var(--text-main);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.drawer-book-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.drawer-book-cover-wrap {
  width: 125px;
  height: 185px;
  border-radius: 6px 12px 12px 6px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
  background-color: var(--bg-surface);
}

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

.drawer-book-spine {
  display: none;
}

.drawer-book-info h3 {
  font-family: var(--font-serif-display);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.drawer-book-info .author {
  font-size: 0.95rem;
  color: var(--accent-gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.drawer-meta-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.drawer-pill {
  padding: 0.25rem 0.65rem;
  background: var(--bg-surface);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.drawer-quote-box {
  background-color: var(--bg-surface);
  border-left: 3px solid var(--accent-gold);
  padding: 1.1rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.8rem;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-main);
}

.drawer-synopsis {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  pointer-events: none;
}

.toast {
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: toastSlideUp 0.3s var(--transition-bounce) forwards;
  pointer-events: auto;
}

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