/* ============================================================
   JANET BALLETTA — Children's Book Website
   Colombian Mermaid Theme | Colorful & Magical
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Nunito:wght@300;400;600;700;800;900&family=Pacifico&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --purple:       #6B2FA0;
  --purple-mid:   #8B44C8;
  --purple-light: #C39BD3;
  --purple-pale:  #F0E6FF;
  --teal:         #00B4D8;
  --teal-dark:    #0077B6;
  --teal-light:   #90E0EF;
  --coral:        #FF6B6B;
  --gold:         #FFD700;
  --gold-dark:    #FFA500;
  --emerald:      #2DC653;
  --jade:         #00AF91;
  --sky:          #4CC9F0;
  --cream:        #FFF9F0;
  --white:        #FFFFFF;
  --text-dark:    #2C1654;
  --text-mid:     #4A3060;
  --text-light:   #7B5EA7;

  --shadow-sm:    0 4px 16px rgba(107,47,160,.12);
  --shadow-md:    0 8px 32px rgba(107,47,160,.18);
  --shadow-lg:    0 16px 48px rgba(107,47,160,.26);
  --r:            20px;
  --r-lg:         32px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Dancing Script', cursive; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
p  { font-size: 1.05rem; color: var(--text-mid); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  transition: all .35s ease;
}
.nav.scrolled {
  background: rgba(43, 16, 82, .96);
  backdrop-filter: blur(14px);
  padding: 12px 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.nav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.7rem; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  letter-spacing: .5px;
}
.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-weight: 700; font-size: .9rem; color: #fff;
  letter-spacing: .5px; text-shadow: 0 1px 6px rgba(0,0,0,.3);
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px;
  background: #fff; border-radius: 2px; margin: 5px 0;
  transition: all .3s;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 50px; border: 2px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  color: #fff; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .82rem;
  cursor: pointer; transition: all .25s; letter-spacing: .8px; text-transform: uppercase;
  flex-shrink: 0;
}
.lang-toggle:hover {
  background: rgba(255,255,255,.25); border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}
.lang-flag  { font-size: 1rem; line-height: 1; }
.lang-label { font-size: .78rem; font-weight: 900; }

/* Nav right-side cluster (links + lang toggle) */
.nav-right {
  display: flex; align-items: center; gap: 28px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .95rem;
  cursor: pointer; transition: all .3s; border: 2px solid transparent;
  letter-spacing: .4px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(255,215,0,.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(255,215,0,.6); }
.btn-outline {
  background: rgba(255,255,255,.15); color: #fff;
  border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.28); transform: translateY(-3px); }
.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  color: #fff; box-shadow: var(--shadow-sm);
}
.btn-purple:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-amazon {
  background: linear-gradient(135deg, #FF9900, #e47911);
  color: #fff; box-shadow: 0 4px 16px rgba(255,153,0,.4);
}
.btn-amazon:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,153,0,.5); }

.btn-paypal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0070ba;
  color: #fff !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 50px;
  transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 16px rgba(0,112,186,0.2);
}
.btn-paypal:hover {
  background: #005ea6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,112,186,0.4);
}
.btn-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #006aff, #0052cc);
  color: #fff !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 16px rgba(0,106,255,0.3);
}
.btn-square:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,106,255,0.5);
}
.btn-square:disabled { opacity: .65; cursor: not-allowed; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg,
      #040d04 0%,
      #0b1f0b 4%,
      #0e3010 10%,
      #145a20 18%,
      #0d7a8c 32%,
      #085e7a 46%,
      #063e5e 60%,
      #042b45 75%,
      #021c30 88%,
      #01121e 100%
    );
}

/* Mountain silhouette layers */
.hero-mountains {
  position: absolute; bottom: 60%; left: 0; right: 0;
  z-index: 1; pointer-events: none;
}
.hero-mountains svg { width: 100%; height: auto; display: block; }

/* Water surface shimmer */
.hero-surface {
  position: absolute; top: 38%; left: 0; right: 0; z-index: 2;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(144,224,239,.6) 20%,
    rgba(255,255,255,.9) 50%,
    rgba(144,224,239,.6) 80%,
    transparent 100%
  );
  animation: surface-shimmer 5s ease-in-out infinite;
}
@keyframes surface-shimmer {
  0%, 100% { opacity: .5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.5); }
}

/* Light rays */
.hero-rays {
  position: absolute; top: 28%; left: 0; right: 0;
  height: 72%; z-index: 1; pointer-events: none; overflow: hidden;
}
.ray {
  position: absolute; top: 0;
  background: linear-gradient(180deg, rgba(144,224,239,.18) 0%, transparent 100%);
  transform-origin: top center;
  animation: ray-sway 5s ease-in-out infinite;
}
.ray:nth-child(1) { left: 8%;  width: 55px;  height: 75%; transform: rotate(-18deg); animation-delay: 0s; }
.ray:nth-child(2) { left: 22%; width: 80px;  height: 70%; transform: rotate(-9deg);  animation-delay: .7s; }
.ray:nth-child(3) { left: 40%; width: 110px; height: 80%; transform: rotate(0deg);   animation-delay: 1.2s; }
.ray:nth-child(4) { left: 62%; width: 75px;  height: 70%; transform: rotate(10deg);  animation-delay: 1.8s; }
.ray:nth-child(5) { left: 80%; width: 60px;  height: 65%; transform: rotate(18deg);  animation-delay: .4s; }
@keyframes ray-sway {
  0%, 100% { opacity: .4; }
  50% { opacity: .85; }
}

/* Bubbles */
.hero-bubbles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bubble {
  position: absolute; border-radius: 50%; bottom: -60px;
  background: rgba(144,224,239,.25);
  border: 1px solid rgba(255,255,255,.5);
  animation: bubble-rise linear infinite;
}
.bubble:nth-child(1)  { width:8px;  height:8px;  left:12%; animation-duration:8s;   animation-delay:0s; }
.bubble:nth-child(2)  { width:13px; height:13px; left:28%; animation-duration:10s;  animation-delay:2s; }
.bubble:nth-child(3)  { width:6px;  height:6px;  left:47%; animation-duration:7s;   animation-delay:1s; }
.bubble:nth-child(4)  { width:10px; height:10px; left:65%; animation-duration:9s;   animation-delay:3s; }
.bubble:nth-child(5)  { width:15px; height:15px; left:82%; animation-duration:11s;  animation-delay:.5s; }
.bubble:nth-child(6)  { width:8px;  height:8px;  left:5%;  animation-duration:8.5s; animation-delay:4s; }
.bubble:nth-child(7)  { width:6px;  height:6px;  left:38%; animation-duration:6.5s; animation-delay:2.5s; }
.bubble:nth-child(8)  { width:10px; height:10px; left:58%; animation-duration:9.5s; animation-delay:1.5s; }
.bubble:nth-child(9)  { width:7px;  height:7px;  left:73%; animation-duration:7.5s; animation-delay:3.5s; }
.bubble:nth-child(10) { width:12px; height:12px; left:91%; animation-duration:10.5s;animation-delay:.9s; }
@keyframes bubble-rise {
  0%   { transform: translateY(0)   translateX(0);   opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .3; }
  100% { transform: translateY(-105vh) translateX(20px); opacity: 0; }
}

/* Sparkles */
.hero-sparkles { position: absolute; top: 25%; left: 0; right: 0; height: 55%; z-index: 2; pointer-events: none; }
.sparkle {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,215,0,.85);
  animation: twinkle 3.5s ease-in-out infinite;
}
.sparkle:nth-child(1)  { left:18%; top:15%; animation-delay:0s; }
.sparkle:nth-child(2)  { left:36%; top:55%; width:7px; height:7px; animation-delay:.8s; }
.sparkle:nth-child(3)  { left:72%; top:22%; animation-delay:1.6s; }
.sparkle:nth-child(4)  { left:54%; top:68%; animation-delay:2.4s; }
.sparkle:nth-child(5)  { left:88%; top:42%; width:6px; height:6px; animation-delay:.4s; }
.sparkle:nth-child(6)  { left:6%;  top:50%; width:4px; height:4px; animation-delay:1.2s; }
.sparkle:nth-child(7)  { left:44%; top:28%; animation-delay:2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Seaweed */
.seaweed {
  position: absolute; bottom: 0; width: 28px; height: 100px;
  background: linear-gradient(180deg, #2DC653, #1a5c30);
  border-radius: 14px 14px 0 0;
  transform-origin: bottom center;
  animation: sway 3.5s ease-in-out infinite;
  z-index: 2;
}
.seaweed:nth-child(1) { left: 3%; height: 110px; animation-delay: 0s; }
.seaweed:nth-child(2) { left: 7%; height: 80px; width: 20px; animation-delay: .5s; }
.seaweed:nth-child(3) { right: 4%; height: 120px; animation-delay: 1s; animation-direction: reverse; }
.seaweed:nth-child(4) { right: 9%; height: 75px; width: 22px; animation-delay: .3s; animation-direction: reverse; }
@keyframes sway {
  0%, 100% { transform: rotate(-9deg); }
  50% { transform: rotate(9deg); }
}

/* Hero content */
.hero-inner {
  position: relative; z-index: 10;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 110px 48px 70px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-text { color: #fff; }
.hero-badge {
  display: inline-block;
  background: rgba(255,215,0,.18);
  border: 1px solid rgba(255,215,0,.55);
  color: var(--gold);
  font-size: .8rem; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 22px; border-radius: 50px;
  margin-bottom: 18px; backdrop-filter: blur(8px);
}
.hero-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  color: #fff; line-height: 1.15;
  text-shadow: 0 3px 24px rgba(0,0,0,.45);
  margin-bottom: 6px;
}
.hero-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--teal-light);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.82);
  line-height: 1.75; margin-bottom: 34px; max-width: 460px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Mermaid image side */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-duo { 
  display: flex; align-items: center; justify-content: center; 
  position: relative; width: 100%; gap: 10px; 
}
.hero-img-wrap {
  position: relative; width: 340px; max-width: 45vw; flex-shrink: 1;
}
.mermaid-wrap { z-index: 1; margin-right: -40px; }
.author-wrap  { z-index: 2; }

.hero-glow {
  position: absolute; inset: -24px;
  background: radial-gradient(circle, rgba(0,180,216,.4) 0%, transparent 68%);
  border-radius: 50%; animation: glow-pulse 3.5s ease-in-out infinite; z-index: 0;
}
@keyframes glow-pulse {
  0%, 100% { transform: scale(.95); opacity: .6; }
  50% { transform: scale(1.08); opacity: 1; }
}
.hero-img {
  position: relative; z-index: 1;
  width: 100%; height: 320px;
  object-fit: cover; object-position: center 48%;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 40px rgba(0,180,216,.2);
  animation: float 4.5s ease-in-out infinite;
}
.hero-author-img { 
  border-radius: 50%; 
  border: 6px solid #fff; 
  animation: float-alt 5s ease-in-out infinite !important; 
  object-position: center top;
}
@keyframes float {
  0%, 100% { transform: translateY(0)  rotate(-.5deg); }
  50%       { transform: translateY(-12px) rotate(.5deg); }
}
/* Tablet/Mobile Adjustments */
@media (max-width: 1024px) {
  .hero-duo { gap: 10px; }
  .hero-img-wrap { width: 300px; }
  .mermaid-wrap { margin-right: -30px; }
}

@media (max-width: 768px) {
  .hero-duo { flex-direction: column; gap: 30px; }
  .hero-img-wrap { width: 320px; max-width: 85vw; }
  .mermaid-wrap { margin-right: 0; }
  .hero-img { height: 280px; }
}
.hero-awards-row {
  position: absolute; bottom: -24px; right: -8px;
  display: flex; gap: 10px; z-index: 2;
}
.award-medal {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(255,165,0,.5);
  animation: medal-spin 12s linear infinite;
}
.award-medal:nth-child(2) { animation-direction: reverse; animation-duration: 15s; }
@keyframes medal-spin {
  from { transform: rotate(0deg); } to { transform: rotate(360deg); }
}

/* Wave divider */
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; }

/* ===== SECTION SCAFFOLDING ===== */
.section { padding: 88px 24px; }
.section-center { text-align: center; }
.section-title { color: var(--text-dark); margin-bottom: 10px; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; margin-bottom: 14px; max-width: 600px; margin-left: auto; margin-right: auto; }
.divider {
  width: 56px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  margin: 12px auto 40px;
}

/* ===== FEATURED BOOKS ===== */
.books-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 32px; max-width: 1100px; margin: 0 auto;
}
.book-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .3s; position: relative;
}
.book-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.book-card-img {
  width: 100%; height: 290px; object-fit: cover; object-position: top;
}
.book-card-body { padding: 26px; }
.book-tag {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}
.tag-mermaid   { background: #D0F4FF; color: #005f7a; }
.tag-pirate    { background: #FFE8CC; color: #7a3700; }
.tag-mission   { background: #D4F5D4; color: #1a5c1a; }
.book-card-title { color: var(--text-dark); margin-bottom: 8px; font-size: 1.55rem; }
.book-card-desc  { font-size: .9rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; }
.book-card-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.award-chip {
  background: linear-gradient(135deg, rgba(255,215,0,.2), rgba(255,165,0,.2));
  border: 1px solid rgba(255,165,0,.35);
  color: #7a5500; font-size: .72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px;
}
.book-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--purple); font-weight: 700; font-size: .88rem;
  transition: gap .2s, color .2s;
}
.book-card-link:hover { gap: 12px; color: var(--teal-dark); }

/* ===== AUTHOR STRIP ===== */
.author-section {
  background: linear-gradient(135deg, #f5eeff 0%, #e4f6ff 100%);
  padding: 88px 24px;
}
.author-inner {
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center;
}
.author-frame { position: relative; width: 220px; flex-shrink: 0; }
.author-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 3px dashed var(--purple-light); animation: medal-spin 22s linear infinite;
}
.author-photo {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff; box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.author-name  { color: var(--text-dark); margin-bottom: 4px; }
.author-role  { color: var(--purple); font-size: .95rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 18px; }
.author-bio   { color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.author-quote {
  border-left: 4px solid var(--teal);
  background: #fff; padding: 16px 22px;
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; color: var(--text-mid); font-size: .95rem; line-height: 1.72;
  margin-bottom: 24px;
}

/* ===== AWARDS BANNER ===== */
.awards-banner {
  background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
  padding: 22px 40px;
  display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.award-item { text-align: center; color: #3d2600; }
.award-item-icon { font-size: 2rem; }
.award-item-label { font-size: .78rem; font-weight: 800; letter-spacing: .3px; margin-top: 4px; max-width: 120px; }

/* ===== BLOG PREVIEW ===== */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px; max-width: 1000px; margin: 0 auto;
}
.blog-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .3s;
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.blog-card-img  { width: 100%; height: 210px; object-fit: cover; }
.blog-card-body { padding: 26px; }
.blog-card-meta { font-size: .78rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.blog-card-title { color: var(--text-dark); font-size: 1.5rem; margin-bottom: 10px; line-height: 1.3; }
.blog-card-excerpt { font-size: .9rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; }
.read-more { color: var(--purple); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 5px; transition: color .2s, gap .2s; }
.read-more:hover { color: var(--teal-dark); gap: 10px; }

/* ===== ACTIVITIES CTA ===== */
.activities-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--emerald) 100%);
  padding: 88px 24px; text-align: center;
}
.activities-section .section-title,
.activities-section .section-subtitle { color: rgba(255,255,255,.9); }
.activities-section .section-title { color: #fff; }
.activities-section .divider { background: rgba(255,255,255,.6); }
.activities-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px; max-width: 880px; margin: 0 auto 40px;
}
.activity-item {
  background: rgba(255,255,255,.16); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r); padding: 24px 14px;
  transition: all .3s; cursor: default;
}
.activity-item:hover { background: rgba(255,255,255,.28); transform: translateY(-5px); }
.activity-icon  { font-size: 2.4rem; margin-bottom: 8px; }
.activity-label { font-family: 'Dancing Script', cursive; font-size: 1.15rem; color: #fff; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 128px 40px 60px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal-dark) 100%);
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero h1 { font-family: 'Pacifico', cursive; color: #fff; margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 540px; margin: 0 auto; }
.page-hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.page-hero-wave svg { width: 100%; }

/* ===== BOOKS FULL PAGE ===== */
.books-list { max-width: 1060px; margin: 0 auto; padding: 70px 24px 80px; }
.book-full {
  background: #fff; border-radius: var(--r-lg);
  padding: 42px; box-shadow: var(--shadow-sm);
  margin-bottom: 44px;
  display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start;
  transition: box-shadow .3s;
}
.book-full:hover { box-shadow: var(--shadow-lg); }
.book-cover-primary {
  width: 100%; border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2); margin-bottom: 12px;
}
.book-lang-row { display: flex; gap: 10px; width: 100%; max-width: 230px; }
.book-lang-thumb { flex: 1; min-width: 0; border-radius: 9px; box-shadow: 0 4px 14px rgba(0,0,0,.15); height: auto; }
.book-full-title { color: var(--text-dark); margin-bottom: 4px; }
.book-year { color: var(--text-light); font-size: .9rem; font-weight: 700; margin-bottom: 18px; }
.book-full-desc { color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; }
.book-awards-ul { margin-bottom: 24px; }
.book-awards-ul li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #f0e6ff;
  font-size: .92rem; color: var(--text-mid);
}
.book-awards-ul li:last-child { border-bottom: none; }
.book-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.book-tag-large {
  display: inline-block; padding: 5px 18px; border-radius: 50px;
  font-size: .78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 14px;
}

/* ===== BLOG LIST PAGE ===== */
.blog-posts {
  max-width: 100%; margin: 0 auto; padding: 64px 24px 80px;
  background: linear-gradient(160deg, var(--purple-pale) 0%, #e0f4fb 100%);
}
.blog-posts > article { max-width: 820px; margin-left: auto; margin-right: auto; }
.blog-post-row {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 6px 28px rgba(107,47,160,.18); margin-bottom: 32px;
  display: grid; grid-template-columns: 300px 1fr;
  transition: all .3s; border-left: 5px solid var(--purple);
}
.blog-post-row:hover { transform: translateX(6px); box-shadow: 0 12px 40px rgba(107,47,160,.28); }
.blog-post-row-img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.blog-post-row-body { padding: 32px; }
.post-date { font-size: .78rem; font-weight: 700; color: var(--purple-mid); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.blog-post-row-title { font-family: 'Dancing Script', cursive; font-size: 1.85rem; color: var(--text-dark); margin-bottom: 12px; line-height: 1.3; }
.blog-post-row-excerpt { font-size: .92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 18px; }

/* ===== BLOG POST PAGE ===== */
.post-wrap { max-width: 760px; margin: 0 auto; padding: 44px 24px 88px; }
.post-hero-img {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--r-lg); margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}
.post-title { color: var(--text-dark); margin-bottom: 10px; }
.post-meta  { color: var(--text-light); font-size: .88rem; font-weight: 700; margin-bottom: 40px; display: flex; gap: 20px; }
.post-body  { font-size: 1.04rem; color: var(--text-mid); line-height: 1.9; }
.post-body h2 { font-family: 'Dancing Script', cursive; font-size: 2rem; color: var(--text-dark); margin: 38px 0 14px; }
.post-body p  { margin-bottom: 22px; }
.post-body blockquote {
  background: var(--purple-pale); border-left: 5px solid var(--purple);
  padding: 20px 26px; border-radius: 0 var(--r) var(--r) 0;
  margin: 30px 0; font-style: italic; color: var(--text-dark); font-size: 1.02rem;
}
.post-body ul { margin: 14px 0 22px 24px; list-style: disc; }
.post-body ul li { margin-bottom: 8px; color: var(--text-mid); }

/* ===== AWARDS GRID (About Page) ===== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 24px;
}
.award-badge-item {
  width: 100%;
  max-width: 150px;
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.award-badge-item:hover {
  transform: scale(1.1);
}
.award-badge-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(107,47,160,0.15));
}

/* ===== ACTIVITIES PAGE ===== */
.activities-page { max-width: 980px; margin: 0 auto; padding: 64px 24px 80px; }
.activity-book-block {
  background: #fff; border-radius: var(--r-lg); padding: 38px;
  margin-bottom: 36px; box-shadow: var(--shadow-sm);
}
.activity-book-header {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 2px solid var(--purple-pale);
}
.activity-thumb { width: 78px; border-radius: 9px; box-shadow: 0 4px 12px rgba(0,0,0,.14); }
.activity-book-name { font-family: 'Dancing Script', cursive; font-size: 1.85rem; color: var(--text-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--purple-pale), #e4f6ff);
  border: 1px solid rgba(107,47,160,.14);
  border-radius: 50px; padding: 10px 18px;
  font-size: .88rem; font-weight: 700; color: var(--text-dark);
  transition: all .25s; cursor: pointer; text-decoration: none;
}
.chip:hover {
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff; transform: translateY(-3px); text-decoration: none;
}
.chip-icon { font-size: 1.1rem; }

/* ===== PRESENTATIONS PAGE ===== */
.pres-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto; padding: 64px 24px 80px;
}
.pres-card {
  background: #fff; border-radius: var(--r); padding: 30px;
  box-shadow: var(--shadow-sm); border-top: 5px solid var(--purple); transition: all .3s;
}
.pres-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-top-color: var(--teal); }
.pres-icon  { font-size: 2.8rem; margin-bottom: 14px; }
.pres-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0; display: block; margin: -30px -30px 20px; width: calc(100% + 60px); }
.pres-title { color: var(--text-dark); margin-bottom: 10px; font-size: 1.5rem; }
.pres-desc  { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }
.pres-card-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== CONTACT PAGE ===== */
.contact-wrap {
  max-width: 960px; margin: 0 auto; padding: 64px 24px 88px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start;
}
.contact-info h2 { color: var(--text-dark); margin-bottom: 14px; }
.contact-info > p { color: var(--text-mid); line-height: 1.8; margin-bottom: 28px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: var(--r); padding: 16px 20px;
  box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.contact-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.contact-item-text strong { display: block; font-size: .8rem; font-weight: 800; color: var(--text-dark); text-transform: uppercase; letter-spacing: .5px; }
.contact-item-text span   { font-size: .92rem; color: var(--text-mid); }
.contact-form {
  background: #fff; border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow-sm);
}
.contact-form h3 { color: var(--text-dark); margin-bottom: 24px; font-size: 1.8rem; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-weight: 800; font-size: .85rem;
  color: var(--text-dark); margin-bottom: 7px; letter-spacing: .3px;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 13px 18px;
  border: 2px solid var(--purple-pale); border-radius: 14px;
  font-family: 'Nunito', sans-serif; font-size: .95rem; color: var(--text-dark);
  background: #fafafa; transition: border-color .25s, background .25s; outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--purple); background: #fff;
}
.form-textarea { height: 130px; resize: vertical; }
.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--purple), var(--teal-dark));
  color: #fff; border: none; border-radius: 50px;
  font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1rem;
  cursor: pointer; transition: all .3s; letter-spacing: .5px;
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(107,47,160,.45); }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #2C1654, #1a0d30);
  color: rgba(255,255,255,.75); padding: 64px 48px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; margin-bottom: 44px;
}
.footer-logo { font-family: 'Pacifico', cursive; font-size: 1.9rem; color: #fff; margin-bottom: 12px; }
.footer-tagline { font-size: .88rem; line-height: 1.75; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; transition: all .25s;
}
.footer-social a:hover { background: var(--teal); transform: translateY(-3px); }
.footer-col h4 { font-family: 'Dancing Script', cursive; font-size: 1.35rem; color: #fff; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col li a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color .2s; }
.footer-col li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  text-align: center; font-size: .82rem; color: rgba(255,255,255,.45);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 18px rgba(107,47,160,.45);
  transition: all .3s; opacity: 0; visibility: hidden; z-index: 998; border: none;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-5px); }

/* ===== ANIMATE IN ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 110px 28px 60px; gap: 40px; }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-cta, .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .author-inner { grid-template-columns: 1fr; text-align: center; }
  .author-frame { margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .book-full { grid-template-columns: 1fr; }
  .book-full .book-cover-primary { max-width: 200px; margin: 0 auto 12px; }
  .blog-post-row { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; z-index: 999; background: rgba(43,16,82,.97); backdrop-filter: blur(14px); align-items: center; justify-content: center; gap: 36px; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .nav-toggle { display: block; z-index: 1000; position: relative; }
  .hero-img-wrap { width: 100%; }
  .hero-img { height: 240px; }
  .awards-banner { gap: 24px; padding: 22px 20px; }
  .book-full { padding: 24px; }
  .footer { padding: 50px 24px 24px; }
}
