/* DESIGN SYSTEM VARIABLES */
:root {
  /* Colors */
  --bg-color-main: #080d1a;
  --bg-color-alt: #0d1527;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  
  /* Gradients */
  --grad-warm: linear-gradient(135deg, #ffd23f 0%, #ff6b6b 100%);
  --grad-cool: linear-gradient(135deg, #4ea8de 0%, #06d6a0 100%);
  
  /* Solid Accent Colors */
  --color-coral: #ff6b6b;
  --color-teal: #06d6a0;
  --color-sky: #4ea8de;
  --color-yellow: #ffd23f;
  
  /* Brand Glow Shadows */
  --glow-coral: 0 10px 30px rgba(255, 107, 107, 0.45);
  --glow-teal: 0 10px 30px rgba(6, 214, 160, 0.35);
  
  /* Glassmorphism */
  --glass-bg: rgba(13, 21, 39, 0.65);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Lora', serif;
}

/* BASE RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color-main);
  color: var(--text-primary);
  font-family: var(--font-body);
}

#app-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* FLOAT HEADER */
.app-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 100;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-sky);
}

.header-logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-nav {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05); /* Soft white translucency */
  border-radius: 30px;
  padding: 4px;
}

.nav-link {
  position: relative;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 20px;
  z-index: 2;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #080d1a; /* Dark text on white pill */
}

.nav-pill-bg {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* SLIDER VIEWPORT */
.slider-viewport {
  flex: 1;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: 400vw;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  overflow-y: auto;
  padding: 120px 5% 80px 5%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color-main);
  position: relative;
}

/* Background Glowing Accents */
.panel::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

#panel-home::before { background: var(--color-teal); }
#panel-books::before { background: var(--color-coral); }
#panel-bio::before { background: var(--color-yellow); }
#panel-contact::before { background: var(--color-sky); }

/* FIXED FOOTER */
.app-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 13, 26, 0.95); /* Dark background instead of white */
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Light border */
  font-size: 0.75rem;
  color: var(--text-muted);
  z-index: 90;
}

.app-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.app-footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE MOBILE VIEWPORTS */
@media (max-width: 768px) {
  .slider-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .slider-track {
    transition: none; /* Let hardware acceleration handle swiping snap */
  }
  
  .panel {
    scroll-snap-align: start;
    padding-top: 100px;
    padding-bottom: 70px;
  }
  
  .app-header {
    height: 60px;
    top: 10px;
    padding: 0 15px;
  }
  
  .header-logo span {
    display: none;
  }
}

/* HOME SECTION LAYOUT */
.container-home {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.home-hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.home-hero-text h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--color-sky);
  margin-bottom: 8px;
}

.home-hero-text h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.home-hero-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--grad-warm);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.95rem;
  box-shadow: var(--glow-coral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

/* 5-COLUMN CHARACTER DECK */
.character-deck {
  display: flex;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: var(--glass-border);
}

.deck-column {
  flex: 1;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  cursor: pointer;
  filter: grayscale(40%) contrast(90%);
}

.deck-column:hover {
  flex: 1.8;
  filter: grayscale(0%) contrast(100%);
}

.column-text {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(10px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.deck-column:hover .column-text {
  transform: translateY(0);
}

.column-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.column-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 200px;
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0.1s;
}

.deck-column:hover .column-text p {
  opacity: 1;
}

/* Keyframe entrance animations */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .character-deck {
    flex-direction: column;
    height: 600px;
  }
  .deck-column {
    background-position: center 30% !important;
  }
  .deck-column:hover {
    flex: 2;
  }
}

/* BOOKS CONTAINER LAYOUT */
.container-books {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.books-header {
  text-align: center;
  margin-bottom: 40px;
}

.books-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  background: var(--grad-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

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

/* format switcher capsule */
.format-switcher {
  position: relative;
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px;
  border-radius: 40px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.format-tab {
  border: none;
  background: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
}

.format-tab.active {
  color: #080d1a; /* Dark text on white pill */
}

.format-pill-bg {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: calc((100% - 10px) / 3);
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* CATALOG GRID & CARDS */
.catalog-wrapper {
  width: 100%;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.book-card {
  background: var(--glass-bg);
  border-radius: 20px;
  padding: 20px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

/* Colorful 3D styled CSS Cover Card representation */
.cover-canvas {
  width: 160px;
  height: 240px;
  border-radius: 8px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 15px;
  color: #ffffff;
  text-align: left;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-canvas::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.03) 80%, rgba(0,0,0,0.1) 100%);
  z-index: 3;
}

.cover-canvas h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cover-canvas span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Specific Cover Styles based on dominant tones */
.cover-v1 { background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%); }
.cover-v2 { background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%); }
.cover-v3 { background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%); }
.cover-v4 { background: linear-gradient(135deg, #f59e0b 0%, #e11d48 100%); }
.cover-v5 { background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); }
.cover-v6 { background: linear-gradient(135deg, #14b8a6 0%, #0f172a 100%); }
.cover-bundle { background: var(--grad-warm); }

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.book-card:hover .cover-canvas {
  transform: scale(1.04) rotate(-2deg);
}

.book-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.book-author {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.book-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* SYNOPSIS SLIDE DRAWER */
.synopsis-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 200;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: rgba(13, 21, 39, 0.85); /* Dark translucent background */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08); /* Soft white border */
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 60px 40px 40px 40px;
  overflow-y: auto;
}

.synopsis-drawer.open {
  pointer-events: auto;
}

.synopsis-drawer.open .drawer-overlay {
  opacity: 1;
}

.synopsis-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 30px;
  border: none;
  background: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--text-secondary); /* Light close button instead of muted grey */
  transition: color 0.3s ease;
  z-index: 10;
}

.drawer-close:hover {
  color: var(--text-primary);
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.drawer-inner .cover-canvas {
  width: 180px;
  height: 270px;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

.drawer-text {
  width: 100%;
  text-align: left;
}

.drawer-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.drawer-text h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-sky);
  margin-bottom: 20px;
}

.drawer-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.drawer-buy-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: var(--color-coral);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: var(--glow-coral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drawer-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 107, 107, 0.4);
}

/* BIOGRAPHY SECTION */
.container-bio {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.bio-banner {
  height: 220px;
  border-radius: 20px;
  background-size: cover;
  background-position: center 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  color: #ffffff;
  box-shadow: var(--glass-shadow);
  border: var(--glass-border);
}

.bio-banner h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bio-banner p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-sky);
}

.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

.bio-portrait-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: var(--glass-border);
  position: relative;
  aspect-ratio: 4/5;
  background: #0f172a;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
}

.bio-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bio-portrait-card:hover img {
  transform: scale(1.05);
}

.bio-text-column {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-text-column h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.drop-cap::first-letter {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  float: left;
  line-height: 0.8;
  margin-right: 12px;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* CONTACT SECTION */
.container-contact {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.contact-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.contact-form-card {
  background: var(--glass-bg); /* Glassmorphism instead of #ffffff */
  padding: 40px;
  border-radius: 20px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Light border */
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.03); /* Light background */
  color: var(--text-primary);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sky);
  background: rgba(255, 255, 255, 0.08); /* Keep it dark glass translucent on focus */
}

.submit-button {
  width: 100%;
  padding: 14px;
  border: none;
  background: var(--grad-cool);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.4);
}

/* SOCIAL PULSE GRID */
.social-pulse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.social-pulse-card {
  background: var(--glass-bg); /* Glassmorphism instead of #ffffff */
  padding: 24px;
  border-radius: 20px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.social-icon {
  font-size: 1.8rem;
  font-weight: 800;
  display: block;
}

.social-pulse-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.social-pulse-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Platform Colors for social icons */
.card-reddit .social-icon { color: #ff4500; }
.card-x .social-icon { color: #ffffff; } /* Change color from black to white */
.card-instagram .social-icon { color: #e1306c; }
.card-tiktok .social-icon { color: #00f2fe; }

.social-pulse-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.social-pulse-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35); /* Darker shadow */
}

.social-pulse-card:hover::after {
  opacity: 1;
}

/* LANDING PAGE VIDEO SHOWCASE styling */
.home-video-showcase {
  width: 100%;
  max-width: 800px;
  margin: 20px auto 30px auto;
  border-radius: 24px;
  overflow: hidden;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  background: var(--glass-bg); /* Glassmorphism instead of rgba(255, 255, 255, 0.5) */
  padding: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-video-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* BIO PORTRAIT & SOCIAL LINKS styling */
.bio-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.bio-social-links-wrapper {
  background: var(--glass-bg); /* Glassmorphism instead of #ffffff */
  border-radius: 20px;
  padding: 24px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.bio-social-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Light border instead of dark */
  padding-bottom: 10px;
}

.bio-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bio-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Light border */
  background: rgba(255, 255, 255, 0.03); /* Light background */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-social-btn .btn-icon {
  font-size: 1.1rem;
}

.bio-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.bio-instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

.bio-x:hover {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bio-tiktok:hover {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bio-portrait-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* HERO EMAIL CAPTURE */
.hero-email-capture {
  margin-top: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.inline-email-form {
  display: flex;
  gap: 10px;
  background: var(--glass-bg);
  padding: 8px;
  border-radius: 40px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

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

.email-submit-btn {
  background: var(--grad-warm);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: var(--glow-coral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.social-pulse-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35); /* Darker shadow */
}

.social-pulse-card:hover::after {
  opacity: 1;
}

/* LANDING PAGE VIDEO SHOWCASE styling */
.home-video-showcase {
  width: 100%;
  max-width: 800px;
  margin: 20px auto 30px auto;
  border-radius: 24px;
  overflow: hidden;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  background: var(--glass-bg); /* Glassmorphism instead of rgba(255, 255, 255, 0.5) */
  padding: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-video-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* BIO PORTRAIT & SOCIAL LINKS styling */
.bio-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.bio-social-links-wrapper {
  background: var(--glass-bg); /* Glassmorphism instead of #ffffff */
  border-radius: 20px;
  padding: 24px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.bio-social-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Light border instead of dark */
  padding-bottom: 10px;
}

.bio-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bio-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08); /* Light border */
  background: rgba(255, 255, 255, 0.03); /* Light background */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-social-btn .btn-icon {
  font-size: 1.1rem;
}

.bio-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.bio-instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

.bio-x:hover {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bio-tiktok:hover {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.3);
}

@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bio-portrait-card {
    max-width: 320px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* HERO EMAIL CAPTURE */
.hero-email-capture {
  margin-top: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.inline-email-form {
  display: flex;
  gap: 10px;
  background: var(--glass-bg);
  padding: 8px;
  border-radius: 40px;
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

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

.email-submit-btn {
  background: var(--grad-warm);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: var(--glow-coral);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.email-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.5);
}

@media (max-width: 500px) {
  .inline-email-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 15px;
  }
  .email-submit-btn {
    width: 100%;
  }
  .social-pulse-grid {
    grid-template-columns: 1fr;
  }
  .home-video-showcase {
    padding: 8px;
  }
  .contact-form-card {
    padding: 20px;
  }
}

/* EXTENDED MOBILE & TABLET OPTIMIZATIONS */
@media (max-width: 1024px) {
  .home-hero-text h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .home-hero-text h1 {
    font-size: 2.2rem;
  }
  .books-header h1 {
    font-size: 2rem;
  }
  .bio-banner h1 {
    font-size: 2rem;
  }
  .contact-header h1 {
    font-size: 2rem;
  }
  .synopsis-drawer .drawer-content {
    max-width: 100%;
    padding: 60px 20px 20px 20px;
  }
}
