/* ===================================================
   AYAAN DOKANIA — CREATIVE WONDER STUDIO
   Kid-friendly, Colorful, Playful Design System
   =================================================== */

/* ---- GOOGLE FONTS & ROOT VARIABLES ---- */
:root {
  --yellow:    #FFD93D;
  --orange:    #FF6B35;
  --pink:      #FF6B9D;
  --red:       #FF4757;
  --green:     #2ED573;
  --teal:      #1E90FF;
  --blue:      #5352ED;
  --purple:    #A55EEA;
  --lime:      #7BED9F;
  --coral:     #FF6348;
  --saffron:   #FF9000;
  --cream:     #FFF9F0;
  --dark:      #2D2D2D;
  --mid:       #555555;
  --light:     #F5F5F5;
  --font-head: 'Fredoka One', cursive;
  --font-body: 'Nunito', sans-serif;
  --font-hand: 'Caveat', cursive;
  --radius-wobbly: 60% 40% 55% 45% / 45% 55% 45% 55%;
  --radius-wobbly2: 40% 60% 45% 55% / 55% 45% 55% 45%;
  --shadow-fun: 0 8px 25px rgba(0,0,0,0.12);
  --shadow-strong: 0 12px 40px rgba(0,0,0,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- FLOATING DOODLES ---- */
.doodle {
  position: fixed;
  font-size: 2rem;
  pointer-events: none;
  z-index: 0;
  animation: floatDoodle 8s ease-in-out infinite;
  opacity: 0.12;
  user-select: none;
}
.doodle-1 { top: 10%; left: 2%; animation-delay: 0s; }
.doodle-2 { top: 25%; right: 3%; animation-delay: 1s; }
.doodle-3 { top: 45%; left: 1%; animation-delay: 2s; }
.doodle-4 { top: 60%; right: 2%; animation-delay: 3s; }
.doodle-5 { top: 75%; left: 3%; animation-delay: 0.5s; }
.doodle-6 { top: 85%; right: 4%; animation-delay: 1.5s; }
.doodle-7 { top: 15%; left: 95%; animation-delay: 2.5s; }
.doodle-8 { top: 50%; right: 1%; animation-delay: 3.5s; }

@keyframes floatDoodle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-bottom: 4px solid var(--yellow);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--orange);
}

.brand-emoji { font-size: 1.6rem; animation: spinSlow 6s linear infinite; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.6rem;
  border-radius: 20px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
}

/* ---- HERO SECTION ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF0D6 0%, #F0FFF4 50%, #F0F0FF 100%);
}

.hero-paint-blob {
  position: absolute;
  border-radius: var(--radius-wobbly);
  opacity: 0.35;
  animation: blobPulse 7s ease-in-out infinite alternate;
}

.blob-1 {
  width: 500px; height: 500px;
  background: var(--yellow);
  top: -100px; left: -150px;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--pink);
  bottom: -80px; right: -100px;
  animation-delay: 1.5s;
  border-radius: var(--radius-wobbly2);
}
.blob-3 {
  width: 300px; height: 300px;
  background: var(--green);
  bottom: 100px; left: 50px;
  animation-delay: 3s;
}
.blob-4 {
  width: 250px; height: 250px;
  background: var(--teal);
  top: 100px; right: 100px;
  animation-delay: 2s;
  border-radius: var(--radius-wobbly2);
}

@keyframes blobPulse {
  0% { transform: scale(1) rotate(0deg); border-radius: var(--radius-wobbly); }
  100% { transform: scale(1.08) rotate(5deg); border-radius: var(--radius-wobbly2); }
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  max-width: 1100px;
}

.hero-photo-frame {
  position: relative;
  flex-shrink: 0;
}

.hero-photo, .hero-photo-container {
  width: 280px;
  height: 280px;
  border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
  border: 8px solid white;
  box-shadow: var(--shadow-strong),
    0 0 0 5px var(--yellow),
    0 0 0 10px white;
  animation: heroPhotoWobble 5s ease-in-out infinite alternate;
  overflow: hidden;
  background: white;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@keyframes heroPhotoWobble {
  0% { border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%; }
  100% { border-radius: 40% 60% 45% 55% / 45% 55% 45% 55%; }
}

.photo-sticker {
  position: absolute;
  font-size: 1.8rem;
  animation: stickerFloat 4s ease-in-out infinite;
}
.sticker-1 { top: -15px; right: -10px; animation-delay: 0s; }
.sticker-2 { bottom: -10px; left: -10px; animation-delay: 1s; }
.sticker-3 { top: 50%; right: -25px; animation-delay: 2s; }

@keyframes stickerFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(15deg); }
}

.hero-text { max-width: 520px; }

.hero-wave {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--mid);
  margin-bottom: 0.25rem;
}

.hero-name {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.name-highlight {
  background: linear-gradient(135deg, var(--orange), var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-age-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 900;
  font-size: 1rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  animation: badgePop 0.5s ease;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.badge {
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.82rem;
  animation: badgePop 0.5s ease both;
}

.badge-red    { background: #FFE0E0; color: var(--red);    border: 2px solid var(--red); }
.badge-blue   { background: #E0EEFF; color: var(--teal);   border: 2px solid var(--teal); }
.badge-green  { background: #E0FFE8; color: #20bf6b;        border: 2px solid #20bf6b; }
.badge-purple { background: #F0E0FF; color: var(--purple); border: 2px solid var(--purple); }
.badge-orange { background: #FFE8D0; color: var(--orange); border: 2px solid var(--orange); }
.badge-yellow { background: #FFF5CC; color: #c0892a;        border: 2px solid var(--yellow); }

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.btn-hero i { animation: bounce 1s ease infinite; }

/* ---- GENERAL SECTION STYLES ---- */
.section {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.wobbly-title-wrapper { display: inline-block; position: relative; }

.section-title {
  font-family: var(--font-head);
  font-size: 2.8rem;
  display: inline-block;
  position: relative;
}

.title-yellow  { color: #C07A00; }
.title-green   { color: #1a9e52; }
.title-pink    { color: #d4287a; }
.title-blue    { color: var(--blue); }
.title-purple  { color: var(--purple); }
.title-teal    { color: #0073cc; }
.title-orange  { color: var(--orange); }
.title-coral   { color: var(--coral); }
.title-saffron { color: var(--saffron); }
.title-lime    { color: #3da85f; }
.title-rainbow {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-underline {
  height: 5px;
  border-radius: 10px;
  margin: 0.3rem auto 0;
  width: 80%;
}
.underline-yellow  { background: var(--yellow); }
.underline-green   { background: var(--green); }
.underline-pink    { background: var(--pink); }
.underline-blue    { background: var(--blue); }
.underline-purple  { background: var(--purple); }
.underline-teal    { background: var(--teal); }
.underline-orange  { background: var(--orange); }
.underline-coral   { background: var(--coral); }
.underline-saffron { background: var(--saffron); }
.underline-lime    { background: var(--lime); }
.underline-rainbow { background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple)); }

.section-sub {
  margin-top: 0.75rem;
  color: var(--mid);
  font-size: 1.05rem;
  font-weight: 600;
}

/* Alternating section backgrounds */
.section-about    { background: linear-gradient(160deg, #FFFEF5 0%, #FFF8E1 100%); }
.section-sports   { background: linear-gradient(160deg, #F0FFF4 0%, #E8F5E9 100%); }
.section-artwork  { background: linear-gradient(160deg, #FFF0F6 0%, #FCE4EC 100%); }
.section-travel   { background: linear-gradient(160deg, #E8F4FD 0%, #E3F2FD 100%); }
.section-books    { background: linear-gradient(160deg, #F3E5F5 0%, #EDE7F6 100%); }
.section-robotics { background: linear-gradient(160deg, #E0F7FA 0%, #E0F2F1 100%); }
.section-lego     { background: linear-gradient(160deg, #FFFDE7 0%, #FFF8E1 100%); }
.section-games    { background: linear-gradient(160deg, #FFF3E0 0%, #FBE9E7 100%); }
.section-quiz     { background: linear-gradient(160deg, #FCE4EC 0%, #F8BBD0 100%); }
.section-geeta    { background: linear-gradient(160deg, #FFF8E1 0%, #FFECB3 100%); }
.section-writing  { background: linear-gradient(160deg, #F1F8E9 0%, #DCEDC8 100%); }
.section-guestbook { background: linear-gradient(160deg, #E8EAF6 0%, #C5CAE9 100%); }

/* Background accent blobs per section */
.section-blob {
  position: absolute;
  border-radius: var(--radius-wobbly);
  opacity: 0.15;
  pointer-events: none;
}
.section-blob-yellow  { background: var(--yellow);  width: 400px; height: 400px; top: -100px; right: -100px; }
.section-blob-green   { background: var(--green);   width: 350px; height: 350px; bottom: -80px; left: -80px; }
.section-blob-pink    { background: var(--pink);    width: 400px; height: 400px; top: -80px;  left: -80px; }
.section-blob-blue    { background: var(--blue);    width: 350px; height: 350px; bottom: -60px; right: -60px; }
.section-blob-purple  { background: var(--purple);  width: 380px; height: 380px; top: -100px; right: -80px; }
.section-blob-teal    { background: var(--teal);    width: 300px; height: 300px; bottom: -70px; left: -70px; }
.section-blob-orange  { background: var(--orange);  width: 380px; height: 380px; top: -90px;  right: -90px; }
.section-blob-coral   { background: var(--coral);   width: 350px; height: 350px; bottom: -60px; left: -60px; }
.section-blob-lime    { background: var(--lime);    width: 320px; height: 320px; top: -70px;  left: -70px; }
.section-blob-rainbow { background: linear-gradient(135deg, var(--pink), var(--blue)); width: 400px; height: 400px; bottom: -100px; right: -100px; }

/* ---- PHOTO PLACEHOLDERS ---- */
.photo-placeholder {
  background: linear-gradient(135deg, #f5f5f5, #ebebeb);
  border: 3px dashed #ccc;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-placeholder:hover {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-color: var(--orange);
  transform: scale(1.02);
}

.placeholder-inner {
  text-align: center;
  color: #999;
  padding: 1rem;
}

.placeholder-inner i { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.placeholder-inner p { font-weight: 700; font-size: 0.9rem; color: #777; }
.placeholder-inner span { font-size: 0.75rem; color: #aaa; }

/* ---- ABOUT SECTION ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-fun);
  position: relative;
  transition: transform 0.3s ease;
}

.about-card:hover { transform: translateY(-6px); }
.card-doodle { border-top: 5px solid var(--yellow); }

.card-emoji-top {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.about-card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--orange);
}

.love-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.love-list li {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  background: var(--cream);
  transition: transform 0.2s;
}

.love-list li:hover {
  transform: translateX(6px);
  background: var(--yellow);
}

.fun-facts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fact-bubble {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-left: 4px solid var(--orange);
  animation: factPop 0.4s ease both;
}

/* ---- CORKBOARD (Sports + Artwork) ---- */
.corkboard, .art-gallery-board {
  background: #C4813A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='1' fill='rgba(0,0,0,0.08)'/%3E%3C/svg%3E");
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  border: 8px solid #A0622A;
  box-shadow: var(--shadow-strong), inset 0 0 30px rgba(0,0,0,0.2);
}

/* --- PIN ITEMS --- */
.pin-item, .art-pin {
  position: relative;
  text-align: center;
}

.pin-dot {
  width: 14px; height: 14px;
  background: #e74c3c;
  border-radius: 50%;
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  z-index: 2;
}

.pin-dot-red    { background: #e74c3c; }
.pin-dot-blue   { background: #3498db; }
.pin-dot-yellow { background: #f39c12; }
.pin-dot-green  { background: #27ae60; }
.pin-dot-purple { background: #9b59b6; }
.pin-dot-orange { background: var(--orange); }

.pin-photo, .art-photo {
  width: 160px;
  height: 140px;
  border-radius: 8px;
  border: 4px solid white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  margin-top: 8px;
}

.pin-img {
  width: 160px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 4px solid white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  margin-top: 8px;
  display: block;
}

.pin-label, .art-label {
  font-family: var(--font-hand);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  margin-top: 0.5rem;
}

.pin-rotate-left  { transform: rotate(-4deg); }
.pin-rotate-right { transform: rotate(4deg); }
.pin-rotate-none  { transform: rotate(-1deg); }

.pin-item:hover, .art-pin:hover { transform: rotate(0deg) scale(1.05); z-index: 10; }

/* Ribbons */
.ribbons-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.ribbon {
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1rem;
  position: relative;
  box-shadow: var(--shadow-fun);
}

.ribbon::before, .ribbon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
}

.ribbon-gold   { background: #FFD700; color: #7d5d00; border: 3px solid #c8a600; }
.ribbon-silver { background: #C0C0C0; color: #555;    border: 3px solid #a0a0a0; }
.ribbon-blue   { background: #4FC3F7; color: #01579B; border: 3px solid #29B6F6; }

/* ---- ART SECTION ---- */
.art-motto {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--mid);
  background: white;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 2px dashed var(--pink);
}

/* ---- TRAVEL SCRAPBOOK ---- */
.scrapbook-spread {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.scrapbook-entry {
  display: flex;
  gap: 2rem;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-fun);
  position: relative;
  flex-wrap: wrap;
  align-items: flex-start;
}

.entry-tape {
  position: absolute;
  top: -12px;
  left: 30px;
  width: 80px;
  height: 24px;
  background: rgba(255, 220, 100, 0.7);
  border-radius: 3px;
  transform: rotate(-2deg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.entry-tape-right {
  left: auto;
  right: 30px;
  transform: rotate(2deg);
}

.entry-photos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.polaroid {
  background: white;
  padding: 0.75rem 0.75rem 2.5rem;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.polaroid:hover { transform: scale(1.05) rotate(0deg) !important; }

.rotate-left  { transform: rotate(-5deg); }
.rotate-right { transform: rotate(5deg); }

.polaroid-photo, .polaroid-img {
  width: 150px;
  height: 130px;
  border-radius: 2px;
  margin-bottom: 0.5rem;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  text-align: center;
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--mid);
}

.entry-details { flex: 1; min-width: 220px; }

.destination-stamp {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: white;
  font-weight: 900;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.destination-stamp-orange {
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.entry-note {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 1rem;
  font-family: var(--font-hand);
  font-size: 1.1rem;
}

.entry-stickers {
  font-size: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.travel-map-teaser {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.map-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-fun);
  border: 3px dashed var(--teal);
}

.map-icon { font-size: 3rem; }
.map-text h4 { font-family: var(--font-hand); font-size: 1.3rem; color: var(--blue); }

/* ---- FEATURED READING CARD ---- */
.books-feature-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-fun);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  border: 3px solid #E1BEE7;
  flex-wrap: wrap;
}

.books-feature-img-wrapper {
  position: relative;
  flex-shrink: 0;
  max-width: 340px;
  width: 100%;
}

.books-feature-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-fun);
  border: 4px solid white;
  display: block;
}

.books-feature-badge {
  position: absolute;
  bottom: -12px;
  right: 15px;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 2px solid white;
}

.books-feature-text {
  flex: 1;
  min-width: 280px;
}

.books-feature-text h3 {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.books-feature-text p {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.books-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.books-tags span {
  background: #F3E5F5;
  color: var(--purple);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid #CE93D8;
}

/* ---- BOOK SERIES GRID ---- */
.book-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.book-series-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-fun);
  border: 3px solid #E1BEE7;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.book-series-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(165, 94, 234, 0.25);
  border-color: var(--purple);
}

.series-cover-wrap {
  position: relative;
  height: 240px;
  background: #FFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.series-cover-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.book-series-card:hover .series-cover-img {
  transform: scale(1.05);
}

.series-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.series-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.series-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.3;
}

.series-author {
  font-size: 0.95rem;
  color: var(--mid);
}

.series-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.series-stars {
  font-size: 0.9rem;
}

.btn-read-review {
  background: var(--cream);
  color: var(--purple);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid #CE93D8;
  transition: all 0.2s;
}

.book-series-card:hover .btn-read-review {
  background: var(--purple);
  color: white;
}

/* ---- BOOKSHELF ---- */
.bookshelf {
  position: relative;
  padding: 1rem 0 2rem;
  background: white;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-fun);
  border: 3px solid #E1BEE7;
}

.shelf-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.shelf-title {
  font-size: 1.5rem;
  color: var(--purple);
}

.shelf-plank {
  height: 16px;
  background: linear-gradient(to bottom, #8B6343, #6B4423);
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin: 0 -1rem;
}

.books-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.book-card {
  width: 95px;
  height: 210px;
  border-radius: 4px 12px 12px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: -3px 0 8px rgba(0,0,0,0.2), var(--shadow-fun);
  position: relative;
}

.book-card:hover { transform: translateY(-20px) rotate(-3deg); z-index: 5; }

.book-red    { background: linear-gradient(180deg, #FF6B6B, #C0392B); }
.book-blue   { background: linear-gradient(180deg, #5352ED, #3742FA); }
.book-green  { background: linear-gradient(180deg, #2ED573, #1abc9c); }
.book-orange { background: linear-gradient(180deg, #FF6B35, #e67e22); }
.book-purple { background: linear-gradient(180deg, #A55EEA, #8e44ad); }

.book-spine-text {
  color: rgba(255,255,255,0.95);
  font-weight: 800;
  font-size: 0.75rem;
  text-align: center;
  writing-mode: horizontal-tb;
  line-height: 1.3;
}

.book-emoji { font-size: 1.6rem; }

/* Book Modal */
.book-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.book-modal.open { display: flex; }

.book-modal-inner {
  background: white;
  border-radius: 28px;
  padding: 2.5rem;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 4px solid var(--purple);
}

.book-modal-content-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  align-items: center;
}

.book-modal-img-wrap {
  background: #FFF8E1;
  border-radius: 16px;
  overflow: hidden;
  padding: 0.75rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
}

.book-modal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.book-review-author {
  font-size: 1.15rem;
  color: var(--purple);
  margin-bottom: 0.35rem;
}

.review-text {
  font-size: 0.98rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0.75rem 0;
}

@media (max-width: 650px) {
  .book-modal-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .book-modal-img-wrap {
    height: 180px;
  }
}

.book-review-title {
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.star-rating { font-size: 1.5rem; margin-bottom: 1rem; }

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 1rem;
}

.review-genre {
  background: var(--cream);
  border-radius: 50px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

/* ---- ROBOTICS LAB ---- */
.robotics-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.robotics-project-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 3px solid #B2EBF2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.robotics-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 188, 212, 0.25);
  border-color: var(--teal);
}

.robotics-video-wrapper {
  height: 480px;
  background: #f0fbfc;
}

.robotics-project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.robotics-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.robotics-badge {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: white;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
}

.badge-blue-accent {
  background: linear-gradient(135deg, #00BCD4, #1E90FF);
}

.robotics-card-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--dark);
  line-height: 1.3;
}

.robotics-card-desc {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.6;
}

.robotics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.robotics-tags span {
  background: #E0F7FA;
  color: #006064;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  border: 1px solid #80DEEA;
}

.robotics-skills-banner {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-fun);
  display: flex;
  align-items: center;
  gap: 1.75rem;
  border: 3px dashed var(--teal);
  flex-wrap: wrap;
}

.robotics-banner-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.robotics-banner-text {
  flex: 1;
}

.robotics-banner-text h4 {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.robotics-banner-text p {
  font-size: 0.95rem;
  color: var(--mid);
  margin-bottom: 1rem;
}

.skills-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-bubble {
  background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
  color: #006064;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid #80deea;
  transition: transform 0.2s;
}

.skill-bubble:hover { transform: scale(1.05); background: #00BCD4; color: white; }

/* ---- LEGO & CREATIVE PLAY ---- */
.lego-reel-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 4px solid var(--yellow);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.lego-video-wrapper {
  height: 480px;
  background: #FFFDE7;
}

.lego-reel-info {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lego-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lego-badge {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--dark);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 217, 61, 0.4);
}

.lego-reel-title {
  font-size: 2rem;
  color: var(--orange);
  line-height: 1.2;
}

.lego-reel-desc {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
}

.lego-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.lego-tags span {
  background: #FFFDE7;
  color: #795548;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid #FFF59D;
}

/* Lego Gallery Grid */
.lego-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.lego-build-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-fun);
  border: 3px solid #FFF59D;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.lego-build-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(255, 217, 61, 0.35);
  border-color: var(--orange);
}

.lego-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.lego-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #f9f9f9;
}

.lego-card-wide .lego-card-img-wrap {
  height: 320px;
}

.lego-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lego-build-card:hover .lego-card-img {
  transform: scale(1.05);
}

.lego-photo-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.lego-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.lego-build-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--dark);
}

.lego-build-text {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .lego-reel-card {
    grid-template-columns: 1fr;
  }
  .lego-reel-info {
    padding: 1.5rem;
  }
  .lego-card-wide {
    grid-template-columns: 1fr;
  }
  .lego-card-wide .lego-card-img-wrap {
    height: 240px;
  }
}

/* ---- GAME LAUNCH CARDS ---- */
.game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0.5rem;
}

.game-launch-card {
  position: relative;
  background: white;
  border-radius: 28px;
  padding: 2rem;
  text-decoration: none;
  color: var(--dark);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 3px solid transparent;
}

.game-launch-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  border-color: var(--orange);
}

.game-card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.game-glow-purple { background: var(--purple); }
.game-glow-blue   { background: var(--blue); }

.game-card-emoji {
  font-size: 3.5rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.game-card-badge {
  display: inline-block;
  background: var(--cream);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mid);
  border: 2px solid #eee;
  width: fit-content;
}

.game-card-title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--dark);
  position: relative;
  z-index: 1;
}

.game-card-desc {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
}

.game-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-card-features span {
  background: var(--cream);
  border-radius: 50px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #e0e0e0;
}

.game-card-btn {
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: white;
  font-weight: 900;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-align: center;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
  box-shadow: 0 4px 15px rgba(255,107,53,0.35);
}

.game-launch-card:hover .game-card-btn {
  opacity: 0.9;
}

/* Whiteboard (kept for potential future use) */
.whiteboard-section {
  display: flex;
  justify-content: center;
}

.whiteboard-frame {
  background: #F0F4F8;
  border-radius: 16px;
  border: 12px solid #8B6343;
  box-shadow: var(--shadow-strong), inset 0 0 20px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 700px;
  position: relative;
}

.whiteboard-content { padding: 2rem; }

.whiteboard-header {
  font-size: 1.3rem;
  font-weight: 700;
  color: #555;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.wboard-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1rem;
  color: #888;
  font-family: var(--font-hand);
}

/* ---- QUIZ SECTION ---- */
.quiz-box {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--mid);
}

.progress-bar-outer {
  flex: 1;
  height: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 50px;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--coral));
  border-radius: 50px;
  transition: width 0.5s ease;
}

.quiz-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-strong);
  min-height: 250px;
  border-top: 6px solid var(--coral);
}

.quiz-question-num {
  font-size: 1.1rem;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.quiz-question {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.quiz-option {
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  border: 3px solid #eee;
  background: var(--light);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.quiz-option:hover:not(:disabled) {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.quiz-option.correct {
  background: #e8f5e9;
  border-color: var(--green);
  color: #2e7d32;
}

.quiz-option.wrong {
  background: #ffebee;
  border-color: var(--red);
  color: #c62828;
}

.quiz-feedback {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 1rem;
  min-height: 1.5rem;
}

.feedback-correct { color: #2e7d32; }
.feedback-wrong   { color: #c62828; }

.quiz-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.btn-quiz-next {
  background: linear-gradient(135deg, var(--coral), var(--pink));
  color: white;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quiz-next:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255, 99, 72, 0.4); }
.btn-quiz-next:disabled { opacity: 0.5; cursor: not-allowed; }

.quiz-score-board {
  text-align: center;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-strong);
}

.score-trophy { font-size: 4rem; margin-bottom: 1rem; animation: bounce 1s ease infinite; }

.quiz-score-board h3 {
  font-family: var(--font-hand);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.quiz-score-board p { color: var(--mid); font-size: 1.05rem; margin-bottom: 1.5rem; }

.btn-restart-quiz {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 900;
  cursor: pointer;
  font-size: 1rem;
}

/* ---- GEETA SECTION ---- */
.geeta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ctext x='15' y='40' font-size='20' opacity='0.05'%3E🕉️%3C/text%3E%3C/svg%3E");
  pointer-events: none;
}

.geeta-intro-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-fun);
  border: 3px solid var(--saffron);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.om-symbol { font-size: 4rem; flex-shrink: 0; animation: omPulse 3s ease-in-out infinite; }

@keyframes omPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.geeta-intro-text { font-size: 1.1rem; line-height: 1.7; color: var(--mid); }

/* Special Gita Mahotsav Card */
.geeta-mahotsav-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 4px solid var(--saffron);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.mahotsav-video-wrapper {
  height: 480px;
  background: #FFF8E1;
}

.mahotsav-info {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mahotsav-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.mahotsav-special-badge {
  background: linear-gradient(135deg, var(--saffron), #FF6B35);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 144, 0, 0.3);
}

.mahotsav-title {
  font-size: 2rem;
  color: #7D4500;
  line-height: 1.2;
}

.mahotsav-text {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
}

.mahotsav-quote {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--orange);
}

.geeta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.geeta-tags span {
  background: #FFF8E1;
  color: #8D5300;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid #FFE082;
}

@media (max-width: 900px) {
  .geeta-mahotsav-card {
    grid-template-columns: 1fr;
  }
  .mahotsav-info {
    padding: 1.5rem;
  }
}

.geeta-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.geeta-video-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-fun);
  border: 3px solid #FFE0B2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.geeta-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(255, 144, 0, 0.2);
  border-color: var(--saffron);
}

.insta-iframe-wrapper {
  width: 100%;
  height: 480px;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.insta-iframe {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
}

.geeta-video-label {
  padding: 1.2rem;
  background: white;
  border-top: 2px solid #FFF3E0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.geeta-label-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.insta-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.insta-link-btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

.chapter-badge {
  display: inline-block;
  background: var(--saffron);
  color: white;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
}

.geeta-video-label p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.geeta-shloka-card {
  background: linear-gradient(135deg, #fff8e1, #ffecb3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 3px solid var(--saffron);
  box-shadow: var(--shadow-fun);
}

.shloka-text {
  font-size: 1.5rem;
  font-family: 'Noto Sans Devanagari', serif;
  color: #7d4500;
  margin-bottom: 1rem;
}

.shloka-meaning {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.6;
}

/* ---- WRITING SECTION ---- */
.writing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.paper-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-fun);
  text-align: center;
  border-top: 5px solid var(--lime);
  position: relative;
}

.paper-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 22px;
  background: rgba(255, 220, 100, 0.7);
  border-radius: 3px;
}

.paper-icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }

.paper-card h4 { font-size: 1.3rem; color: #3da85f; margin-bottom: 1rem; }

.paper-placeholder { width: 100%; height: 180px; margin-bottom: 1rem; }

.paper-sub { font-size: 1rem; color: var(--mid); }

.writing-ideas-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-fun);
  border-top: 5px solid var(--green);
}

.writing-ideas-card h4 { font-size: 1.3rem; color: #3da85f; margin-bottom: 1rem; }

.writing-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.writing-topics li {
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  background: #f1f8e9;
  font-weight: 600;
  border-left: 4px solid var(--green);
  transition: transform 0.2s;
}

.writing-topics li:hover { transform: translateX(5px); }

.paper-note {
  background: #fffde7;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.95rem;
  color: #795548;
  border: 2px dashed var(--yellow);
  line-height: 1.6;
}

/* ---- GUESTBOOK ---- */
.guestbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.guest-message {
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-fun);
  transition: transform 0.3s ease;
}

.guest-message:hover { transform: rotate(-1deg) scale(1.03); }

.msg-yellow { background: #FFF9C4; border: 3px solid var(--yellow); }
.msg-green  { background: #E8F5E9; border: 3px solid var(--green); }
.msg-blue   { background: #E3F2FD; border: 3px solid var(--teal); }

.msg-emoji { font-size: 2rem; margin-bottom: 0.75rem; }

.guest-message p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.msg-from {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--mid);
}

/* Guestbook Write Card */
.guest-write-card {
  background: white;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-fun);
  border: 3px dashed var(--purple);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.guest-write-card h4 { font-size: 1.1rem; color: var(--purple); }

.guest-input, .guest-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid #ddd;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.guest-input:focus, .guest-textarea:focus { border-color: var(--purple); }

.guest-textarea { height: 80px; resize: none; }

.btn-send-msg {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-send-msg:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(165, 94, 234, 0.4); }

.sent-confirmation {
  display: none;
  color: #2e7d32;
  font-weight: 700;
  text-align: center;
  background: #e8f5e9;
  padding: 0.5rem;
  border-radius: 10px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer-doodles {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-name {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--yellow), var(--pink), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline { color: #aaa; font-size: 0.9rem; margin-bottom: 1rem; }

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

.footer-contact p {
  color: #ddd;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-email {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 217, 61, 0.15);
  transition: all 0.2s ease;
}

.footer-email:hover {
  background: var(--yellow);
  color: var(--dark);
  text-decoration: underline;
}

.footer-copy { color: #888; font-size: 0.85rem; }

/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  display: none;
  z-index: 999;
  transition: all 0.2s ease;
}

.back-to-top:hover { transform: translateY(-4px); }
.back-to-top.visible { display: flex; align-items: center; justify-content: center; }

/* ---- HELPER CLASSES ---- */
.caveat-font { font-family: var(--font-hand) !important; }

/* ---- ANIMATIONS ---- */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes badgePop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes factPop {
  from { transform: translateX(-20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* Section reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; border-radius: 8px; font-size: 1rem; }
  .hamburger { display: flex; }

  .hero-content { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-name { font-size: 2.8rem; }
  .hero-badges { justify-content: center; }
  .hero-photo { width: 200px; height: 200px; }

  .section-title { font-size: 2rem; }

  .quiz-options { grid-template-columns: 1fr; }

  .scrapbook-entry { flex-direction: column; }

  .whiteboard-frame { border-width: 6px; }

  .geeta-videos-grid { grid-template-columns: 1fr; }

  .footer-doodles { gap: 0.5rem; font-size: 1.4rem; }
}
