/* ==========================================================================
   THERE'S ONLY ONE WAY TO GO - INSPIRATIONAL CHILDREN'S BOOK WEBSITE
   Master Responsive Stylesheet: Playful, Whimsical & 100% Mobile Responsive
   ========================================================================== */

:root {
  --bg-primary: #fffdf7;
  --bg-surface: #fef9c3;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-border: rgba(250, 204, 21, 0.35);
  
  --accent-yellow: #eab308;
  --accent-yellow-light: #fef08a;
  --accent-sky: #0284c7;
  --accent-sky-light: #e0f2fe;
  --accent-mint: #16a34a;
  --accent-mint-light: #dcfce7;
  --accent-coral: #e11d48;
  --accent-coral-light: #ffe4e6;
  --accent-purple: #9333ea;
  --accent-orange: #f97316;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-gold: #ca8a04;

  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Quicksand', 'Plus Jakarta Sans', sans-serif;

  --container-max: 1320px;
  --header-height: 85px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: auto;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-yellow);
  border-radius: 6px;
  border: 2px solid var(--bg-surface);
}

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

ul {
  list-style: none;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gold-text {
  background: linear-gradient(135deg, #eab308 0%, #f97316 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sky-text {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: #fef08a;
  border: 2px dashed #eab308;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #854d0e;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 3px solid #fef08a;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(234, 179, 8, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all var(--transition-bounce);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #facc15 0%, #f97316 100%);
  color: #000000;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
  border: 2px solid #ffffff;
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.5);
}

.btn-outline {
  background: #ffffff;
  color: #0284c7;
  border: 3px solid #38bdf8;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.15);
}
.btn-outline:hover {
  border-color: #0284c7;
  color: #ffffff;
  background: #0284c7;
  transform: translateY(-3px) scale(1.02);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.preloader {
  position: fixed;
  inset: 0;
  background: #fffdf7;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
  text-align: center;
  max-width: 320px;
  padding: 0 1rem;
}

.author-monogram {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #facc15 0%, #f97316 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.preloader-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-sky);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.preloader-bar-bg {
  width: 100%;
  height: 6px;
  background: #fef08a;
  border-radius: 6px;
  margin-top: 2rem;
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #facc15, #f97316);
  transition: width 0.3s ease;
}

.top-announcement {
  background: linear-gradient(90deg, #fef08a, #bae6fd, #fef08a);
  border-bottom: 2px dashed #facc15;
  padding: 0.55rem 1rem;
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  position: relative;
  z-index: 101;
}

.announcement-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.announcement-badge {
  background: #f97316;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.announcement-link {
  color: #0284c7;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 3px solid #fef08a;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(234, 179, 8, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: #f97316;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0284c7;
  white-space: nowrap;
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: #f97316;
  transition: width var(--transition-bounce);
  border-radius: 4px;
}

.nav-link:hover, .nav-link.active {
  color: #f97316;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
  background: none;
  border: none;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #f97316;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

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

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fffdf7;
  border-left: 4px solid #facc15;
  z-index: 1001;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed #facc15;
}

.mobile-close {
  font-size: 1.75rem;
  color: #f97316;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0;
}

.mobile-nav-link i {
  color: #0284c7;
  width: 24px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(3rem, 6vw, 5rem) 0;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, #fef08a 0%, #e0f2fe 50%, var(--bg-primary) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: #334155;
  font-weight: 600;
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 3px dashed #facc15;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #f97316;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  color: #475569;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-book-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  z-index: 10;
  width: 100%;
}

.book-3d-wrapper {
  position: relative;
  width: min(320px, 80vw);
  height: clamp(380px, 55vw, 480px);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-3d-cover {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: -20px 30px 60px rgba(249, 115, 22, 0.35), 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: rotateY(-16deg) rotateX(6deg);
  transition: all 0.5s ease;
  border: 4px solid #ffffff;
}

.book-3d-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 100%;
  background: #fef08a;
  transform: rotateY(-90deg) translateZ(0px);
  transform-origin: left;
  border-radius: 6px 0 0 6px;
}

.book-badge-floating {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #f97316, #e11d48);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.4);
  animation: floatBadge 4s ease-in-out infinite;
  border: 2px solid #ffffff;
  white-space: nowrap;
}

.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.floating-sun {
  top: 30px;
  right: 5%;
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: #facc15;
  filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.6));
  animation: spinSun 25s linear infinite;
}

.floating-helicopter {
  top: 100px;
  left: -80px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #0284c7;
  animation: flyHelicopter 18s linear infinite;
}

.floating-pencil-1 {
  top: 45%;
  left: 2%;
  font-size: 2.8rem;
  color: #e11d48;
  transform: rotate(-35deg);
  animation: floatPencil 5s ease-in-out infinite;
}

.floating-pencil-2 {
  top: 70%;
  right: 3%;
  font-size: 2.5rem;
  color: #16a34a;
  transform: rotate(25deg);
  animation: floatPencil 6s ease-in-out infinite reverse;
}

.floating-book-icon-1 {
  top: 30%;
  right: 10%;
  font-size: 3rem;
  color: #f97316;
  animation: floatBook 7s ease-in-out infinite;
}

.floating-book-icon-2 {
  bottom: 15%;
  left: 6%;
  font-size: 2.8rem;
  color: #9333ea;
  animation: floatBook 8s ease-in-out infinite reverse;
}

.floating-tree {
  bottom: 0;
  font-size: 3.5rem;
  color: #15803d;
  opacity: 0.85;
}

.floating-paris-tower {
  bottom: 0;
  right: 6%;
  font-size: 4.5rem;
  color: #64748b;
  opacity: 0.6;
}

.the-book-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #ffffff;
  position: relative;
}

.the-book-card {
  padding: clamp(1.75rem, 5vw, 4rem);
  background: var(--bg-primary);
  border: 4px solid #fef08a;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(234, 179, 8, 0.15);
}

.the-book-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.the-book-cover-large {
  width: min(320px, 85vw);
  height: clamp(380px, 55vw, 490px);
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid #ffffff;
  box-shadow: -25px 25px 50px rgba(249, 115, 22, 0.25), 0 10px 30px rgba(0, 0, 0, 0.08);
}

.excerpt-accordion {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 3px solid #bae6fd;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.excerpt-header {
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: #0284c7;
}

.excerpt-body {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: var(--text-secondary);
  display: none;
  line-height: 1.8;
}

.excerpt-body.open {
  display: block;
}

.adventures-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #e0f2fe;
  position: relative;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.highlight-card {
  background: #ffffff;
  border: 3px solid #fef08a;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all var(--transition-bounce);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
  display: flex;
  flex-direction: column;
}

.highlight-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: #f97316;
  box-shadow: 0 20px 45px rgba(249, 115, 22, 0.25);
}

.highlight-img-wrap {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

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

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.highlight-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

.journey-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #fffdf7;
  position: relative;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.journey-card {
  background: #ffffff;
  border: 3px dashed #38bdf8;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.1);
  text-align: center;
}

.journey-icon {
  font-size: 2.8rem;
  color: #f97316;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   11. ABOUT AUTHOR SECTION (#the-author)
   -------------------------------------------------------------------------- */
.author-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #fef9c3;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.author-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.author-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 4px solid #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.author-img {
  width: 100%;
  height: clamp(300px, 45vw, 500px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.author-content {
  width: 100%;
}

.author-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  word-wrap: break-word;
}

.author-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: #334155;
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.7;
}

.author-text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: #475569;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.quote-box {
  border-left: 5px solid #f97316;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.08);
  word-wrap: break-word;
}

.quote-cite {
  display: block;
  text-align: right;
  margin-top: 0.75rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #f97316;
  font-style: normal;
  font-family: var(--font-heading);
  word-wrap: break-word;
}

.author-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   12. WHIMSICAL RESPONSIVE FOOTER & NEWSLETTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0f172a;
  color: #f8fafc;
  padding: clamp(3.5rem, 7vw, 6rem) 0 2rem 0;
  border-top: 4px solid #facc15;
  width: 100%;
}

/* Footer Newsletter Card */
.footer-newsletter-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 3px solid #facc15;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  margin-bottom: 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
}

.newsletter-badge {
  background: #facc15 !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.3rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.newsletter-desc {
  color: #cbd5e1;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
}

.newsletter-form-wrapper {
  width: 100%;
}

.newsletter-form-group {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #facc15;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter-input::placeholder {
  color: rgba(203, 213, 225, 0.8);
}

.newsletter-feedback {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* Footer Main Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 3.5rem;
  width: 100%;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo-text {
  color: #f97316;
}

.footer-logo-tagline {
  color: #facc15;
}

.footer-bio-short {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 1.3rem;
}

.footer-socials .social-icon {
  color: #facc15;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer-socials .social-icon:hover {
  color: #f97316;
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #facc15;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #facc15;
}

.icon-arrow {
  color: #f97316;
  margin-right: 0.3rem;
  font-size: 0.8rem;
}

.footer-book-card {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-book-thumb {
  width: 65px;
  height: 95px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #facc15;
  flex-shrink: 0;
}

.footer-book-title {
  display: block;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.3;
}

.footer-book-sub {
  font-size: 0.85rem;
  color: #facc15;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-book-btn {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

.footer-meta-item {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.icon-meta {
  color: #f97316;
  margin-right: 0.4rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.footer-bottom-links a {
  color: #cbd5e1;
}

.footer-bottom-links a:hover {
  color: #facc15;
}

.footer-bottom-links .dot {
  margin: 0 0.5rem;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f97316;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  border: 2px solid #ffffff;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   13. COMPREHENSIVE RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
  .hero-grid, .the-book-grid, .author-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .author-image-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }
  .author-actions {
    justify-content: center;
  }
  .quote-box {
    text-align: left;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .floating-helicopter {
    display: none;
  }
}

@media (max-width: 900px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .newsletter-form-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .newsletter-form-group .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 70px;
  }
  .header-container {
    padding: 0 1rem;
  }
  .logo-text {
    font-size: 1.2rem;
  }
  .logo-tagline {
    font-size: 0.65rem;
  }
  .header-actions .btn-sm {
    display: none !important;
  }
  .author-section {
    padding: 3.5rem 0;
  }
  .author-image-wrapper {
    max-width: 320px;
  }
  .author-img {
    height: 280px;
  }
  .author-actions {
    flex-direction: column;
    width: 100%;
  }
  .author-actions .btn {
    width: 100%;
  }
  .quote-box {
    padding: 1rem 1.1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  .footer-brand-col .footer-socials {
    justify-content: center;
  }
  .footer-book-card {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .floating-pencil-1, .floating-pencil-2, .floating-book-icon-1, .floating-book-icon-2 {
    display: none;
  }
}
