/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Nunito:wght@400;600;800&display=swap');

/* ===== General Setup & Variables ===== */
:root {
  --purple: #9B5DE5;
  --blue: #00BBF9;
  --teal: #00F5D4;
  --pink: #F15BB5;
  --yellow: #FEE440;
  --text-dark: #2A1B3D;
  --text-light: #FFFFFF;
  --bg-cream: #FFFBF0;
  --bg-soft: #F4F9FD;
  --bg-lavender: #F3E5F5;
  --bg-mint: #E0F2F1;
}

/* Smooth Scrolling & Offset for Sticky Navbar */
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fredoka', cursive;
  line-height: 1.2;
}

/* ===== Hero Fade & Slide Animation ===== */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 1001;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow) 0%, var(--pink) 35%, var(--purple) 70%, var(--blue) 100%);
  border-radius: 0 4px 4px 0;
  transition: width 0.1s ease-out;
}

/* ===== Image Placeholder Baseline ===== */
.image-placeholder {
  background-color: #E0E0E0;
  border: 3px dashed #BDBDBD;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #757575;
  font-weight: bold;
  border-radius: 24px;
  text-align: center;
  padding: 20px;
  font-family: 'Nunito', sans-serif;
  transition: transform 0.3s ease;
}

/* ===== Buttons ===== */
.btn {
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-family: 'Fredoka', cursive;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--yellow);
  color: var(--text-dark);
  box-shadow: 0 6px 0 #e6c800;
}

.btn-primary:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 15px rgba(0,0,0,0.15); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #e6c800; }

.btn-secondary {
  background-color: var(--pink);
  color: var(--text-light);
  box-shadow: 0 6px 0 #d44a9a;
}

.btn-secondary:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 15px rgba(0,0,0,0.15); }
.btn-secondary:active { transform: translateY(2px); box-shadow: 0 2px 0 #d44a9a; }

.btn-quiz {
  background-color: var(--blue);
  color: var(--text-light);
  box-shadow: 0 6px 0 #0288d1;
}

.btn-quiz:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 15px rgba(0,0,0,0.15); }
.btn-quiz:active { transform: translateY(2px); box-shadow: 0 2px 0 #0288d1; }

/* Add to Cart Button specific to product cards */
.btn-add-cart {
  width: calc(100% - 50px);
  margin: 0 25px 25px;
  background-color: var(--purple);
  color: var(--text-light);
  box-shadow: 0 6px 0 #7e3fc9;
  padding: 12px 20px;
}

.btn-add-cart:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 10px 15px rgba(0,0,0,0.15); }
.btn-add-cart:active { transform: translateY(2px); box-shadow: 0 2px 0 #7e3fc9; }

/* ===== Navigation Bar (Desktop) ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  margin-top: 8px;
  background-color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(155, 93, 229, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-box {
  display: flex;
  align-items: center;
}

/* Style for the actual navigation logo image */
.nav-logo {
  height: 50px; /* Controls the height of your logo in the nav bar */
  width: auto;
  display: block;
}

/* Fallback text style (not used in HTML anymore, but kept for safety) */
.logo-text {
  font-family: 'Fredoka', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-btn {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px;
  transition: color 0.2s ease;
}

.cart-btn:hover { color: var(--pink); }

.cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  background: var(--pink);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  border: 2px solid #FFFFFF;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  margin-left: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--pink); }

.nav-toggle, .nav-toggle-label { display: none; }

/* ===== Shopping Cart Overlay & Panel ===== */
.cart-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 27, 61, 0.6);
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
  visibility: visible;
  opacity: 1;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-cream);
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 2001;
}

.cart-overlay.open .cart-panel {
  transform: translateX(0);
}

.cart-header {
  padding: 20px 25px;
  background: var(--purple);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 { color: var(--text-light); font-size: 1.5rem; }

.close-cart {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.close-cart:hover { transform: scale(1.1); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.empty-cart {
  text-align: center;
  color: #888;
  margin-top: 50px;
  font-style: italic;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border-left: 5px solid var(--blue);
}

.cart-item-info h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 1rem;
  color: var(--pink);
  font-weight: 800;
  margin: 0;
}

.remove-btn {
  background: #FFEBEE;
  color: #f44336;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.remove-btn:hover { background: #ffcdd2; }

.cart-footer {
  padding: 20px 25px;
  background: #FFFFFF;
  border-top: 2px solid #E0E0E0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: 'Fredoka', cursive;
  font-size: 1.5rem;
  color: var(--text-dark);
}

#cart-total-amount {
  color: var(--purple);
}

.checkout-btn {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 80px 5%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.hero::before { top: -50px; right: -50px; width: 300px; height: 300px; }
.hero::after { bottom: -80px; left: 10%; width: 200px; height: 200px; }

.hero-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  margin-right: 40px;
  position: relative;
  z-index: 1;
  animation: fadeSlideIn 1.2s ease-out both;
}

.hero-text h1 { font-size: 3.5rem; margin-bottom: 20px; color: var(--text-light); text-shadow: 2px 2px 0px rgba(0,0,0,0.1); }
.hero-text p { font-size: 1.3rem; margin-bottom: 35px; color: rgba(255, 255, 255, 0.9); }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-image {
  flex: 1;
  min-width: 300px;
  height: 450px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 1;
  animation: fadeSlideIn 1.2s ease-out 0.4s both;
}

/* ===== General Section Styling ===== */
section { scroll-margin-top: 80px; }
.section { padding: 100px 5%; text-align: center; }
.section h2 { font-size: 3rem; margin-bottom: 20px; color: var(--purple); }
.section p { max-width: 700px; margin: 0 auto 50px; font-size: 1.2rem; color: #555; }
.section-alt { background-color: var(--bg-lavender); }
#products { background-color: var(--bg-mint); }
#faq { background-color: var(--bg-soft); }

.section-image {
  max-width: 700px;
  height: 350px;
  width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border: 5px solid #FFFFFF;
}

/* ===== Why You'll Love It (Features) ===== */
.features { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }

.feature {
  background: #FFFFFF;
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 8px solid var(--blue);
}

.feature:hover { transform: translateY(-12px); box-shadow: 0 20px 35px rgba(0, 187, 249, 0.15); }
.feature h3 { color: var(--pink); margin: 20px 0 15px; font-size: 1.6rem; }

.feature-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 15px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--yellow);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ===== Products Section ===== */
.product-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }

.product-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 320px;
  display: flex;
  flex-direction: column;
  border-top: 8px solid var(--yellow);
}

.product-card:nth-child(2) { border-top-color: var(--pink); }
.product-card:nth-child(3) { border-top-color: var(--blue); }

.product-card:hover { transform: translateY(-12px); box-shadow: 0 20px 35px rgba(155, 93, 229, 0.15); }

.product-image {
  height: 220px;
  border: none;
  border-radius: 0;
  background-color: var(--blue); 
  color: #FFFFFF; 
  font-size: 1rem; 
}

img.product-image {
  width: 100%;
  object-fit: cover;
  display: block;
  background-color: transparent;
}

.product-card h3 { color: var(--purple); margin: 25px 25px 10px; font-size: 1.5rem; }
.product-card p { margin: 0 25px 15px; text-align: left; font-size: 1.1rem; }

.product-price {
  font-family: 'Fredoka', cursive;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 20px !important;
}

/* ===== Gallery Section ===== */
.gallery-grid { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; }

.gallery-image {
  width: 32%;
  min-width: 300px;
  height: 280px;
  background-color: var(--pink); 
  border-color: #d44a9a; 
  color: #FFFFFF; 
  font-size: 1rem; 
  transition: transform 0.3s ease;
}

img.gallery-image {
  width: 32%;
  min-width: 300px;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  border: none;
  background-color: transparent;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-image:hover { transform: scale(1.03) rotate(-1deg); }

/* ===== Brand Campaign Section ===== */
#campaign { background-color: var(--bg-soft); }

.campaign-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.campaign-video { flex: 1 1 500px; min-width: 300px; max-width: 800px; display: flex; flex-direction: column; }

.video-iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border: 5px solid #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.jingle-card {
  flex: 1 1 300px;
  max-width: 400px;
  background: #FFFFFF;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 8px solid var(--pink);
  display: flex;
  flex-direction: column;
}

.jingle-title { color: var(--purple); font-size: 1.8rem; margin-bottom: 10px; }
.jingle-desc { font-size: 1rem; color: #555; margin-bottom: 20px; }

.jingle-lyrics {
  background: var(--bg-cream);
  padding: 20px;
  border-radius: 16px;
  font-family: 'Fredoka', cursive;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.8;
  border-left: 6px solid var(--yellow);
  text-align: left;
}

.audio-player { width: 100%; margin-top: auto; outline: none; border-radius: 16px; }

/* ===== Sample Comments Section ===== */
.disclaimer { font-size: 1rem !important; color: #888 !important; font-style: italic; margin-bottom: 40px !important; }
.comments-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.comment-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  text-align: left;
  transition: transform 0.3s ease;
  border-top: 6px solid var(--purple);
}

.comment-card:nth-child(2) { border-top-color: var(--blue); }
.comment-card:nth-child(3) { border-top-color: var(--teal); }
.comment-card:hover { transform: translateY(-8px) rotate(1deg); }
.comment-card p { font-size: 1.1rem; margin-bottom: 15px; color: #444; }
.comment-author { font-weight: 800; color: var(--purple); text-align: right; }

/* ===== Final CTA Section ===== */
.cta {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  color: var(--text-light);
  padding: 120px 5%;
  text-align: center;
}

.cta h2 { color: var(--text-light); font-size: 3.2rem; margin-bottom: 20px; text-shadow: 2px 2px 0px rgba(0,0,0,0.1); }
.cta p { font-size: 1.4rem; margin-bottom: 40px; color: rgba(255, 255, 255, 0.9); }

/* ===== FAQ Section ===== */
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }

.faq-item {
  background: #FFFFFF;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 8px solid var(--yellow);
  transition: transform 0.2s ease;
}

.faq-item:hover { transform: scale(1.01); }
.faq-item h3 { color: var(--blue); margin-bottom: 10px; font-size: 1.4rem; }
.faq-item p { margin: 0; font-size: 1.1rem; color: #555; }

/* ===== Contact Form Section ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: left;
  border-top: 8px solid var(--pink);
}

.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 800; margin-bottom: 8px; font-family: 'Fredoka', cursive; color: var(--text-dark); }

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 3px solid #E0E0E0;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 8px rgba(0, 187, 249, 0.3); }

/* ===== Subscription Section ===== */
.newsletter-section {
  background-color: var(--bg-mint);
  padding: 80px 5%;
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-container h2 {
  color: var(--purple);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.newsletter-container p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 15px 20px;
  border: 3px solid #E0E0E0;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 8px rgba(0, 187, 249, 0.3);
}

.newsletter-form .btn {
  margin: 0;
}

/* ===== Quiz Page Styles ===== */
#quiz { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }

.quiz-card, .result-container {
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 8px solid var(--blue);
}

.quiz-progress { font-family: 'Fredoka', cursive; color: var(--pink); margin-bottom: 15px; font-size: 1.1rem; font-weight: 600; }

.quiz-bar-container { width: 100%; height: 12px; background-color: #E0E0E0; border-radius: 10px; margin: 0 auto 30px auto; overflow: hidden; }

.quiz-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--yellow) 0%, var(--pink) 50%, var(--purple) 100%); border-radius: 10px; transition: width 0.4s ease; }

.question-text { color: var(--text-dark); font-size: 1.6rem; margin-bottom: 30px; }
.options-container { display: flex; flex-direction: column; gap: 15px; }

.quiz-option {
  background: var(--bg-soft);
  border: 3px solid #E0E0E0;
  padding: 15px 20px;
  border-radius: 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.quiz-option:hover { transform: translateY(-3px); border-color: var(--blue); background: #e1f5fe; }

.result-container { border-top-color: var(--yellow); display: block; } 
.result-container h3 { color: var(--purple); font-size: 2rem; margin-bottom: 15px; }
.result-container p { font-size: 1.2rem; margin-bottom: 30px; }
.result-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== Fun Zone Page Styles ===== */
.game-divider { margin-top: 60px; padding-top: 40px; border-top: 4px dashed #E0E0E0; }
.game-divider:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.game-title { color: var(--blue); font-size: 2rem; margin-bottom: 10px; }
.game-instructions { font-size: 1.1rem !important; color: #666 !important; margin-bottom: 30px !important; }

.game-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 900px; margin: 0 auto; }
.game-column { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.game-header { color: var(--purple); font-size: 1.4rem; margin-bottom: 5px; text-align: center; }

.game-card {
  background: var(--bg-soft);
  border: 4px solid #E0E0E0;
  padding: 30px 20px;
  min-height: 100px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.game-card:hover { transform: translateY(-3px); border-color: var(--blue); background: #e1f5fe; }
.game-card.selected { border-color: var(--purple); background: var(--bg-lavender); transform: scale(1.02); }
.game-card.matched { border-color: #4CAF50; background: #E8F5E9; color: #2E7D32; cursor: default; transform: none; }
.game-card.wrong { border-color: #f44336; background: #FFEBEE; color: #c62828; animation: shake 0.4s; }

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.1); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  80% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.game-win-message {
  margin-top: 50px;
  padding: 50px 30px;
  background: linear-gradient(135deg, #E8F5E9 0%, var(--bg-lavender) 100%);
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-top: 8px solid #4CAF50;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.memory-win { background: linear-gradient(135deg, #E3F2FD 0%, #FFF8E1 100%); border-top-color: var(--blue); }
.game-win-message h3 { color: var(--purple); font-size: 2.2rem; margin-bottom: 15px; }
.game-win-message p { font-size: 1.2rem; color: #555; margin-bottom: 30px; }

/* ===== Memory Game Specific Styles ===== */
.memory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 600px; margin: 0 auto 40px auto; }

.memory-card {
  background-color: var(--purple);
  border: 4px solid var(--text-dark);
  min-height: 120px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
  font-family: 'Fredoka', cursive;
  font-weight: 700;
  perspective: 1000px;
}

.memory-card:hover:not(.flipped):not(.matched) { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.memory-card .card-cover { color: var(--yellow); font-size: 3rem; }
.memory-card .card-text { display: none; color: var(--text-dark); font-size: 1.1rem; padding: 10px; }

.memory-card.flipped, .memory-card.matched { background-color: var(--bg-soft); border-color: var(--blue); transform: scale(1.05); }
.memory-card.flipped .card-cover, .memory-card.matched .card-cover { display: none; }
.memory-card.flipped .card-text, .memory-card.matched .card-text { display: block; }

.memory-card.matched { border-color: #4CAF50; background-color: #E8F5E9; color: #2E7D32; }

/* ===== Confetti Effect Styles ===== */
.confetti-piece {
  position: fixed;
  top: -10px;
  width: 12px;
  height: 12px;
  z-index: 9999;
  pointer-events: none;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ===== Footer Section ===== */
.footer {
  background-color: #2A1B3D;
  color: #FFFFFF;
  padding: 60px 5%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  border-top: 8px solid var(--purple);
}

.footer-column { flex: 1; min-width: 250px; }

/* Style for the actual footer logo image */
.footer-logo-img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
  display: block;
}

/* Fallback placeholder style (kept for safety) */
.footer-logo {
  width: 150px;
  height: 60px;
  background-color: #3D2A52;
  border-color: #5C3F7A;
  color: #CCCCCC;
  margin-bottom: 15px;
}

.footer h3 { color: var(--teal); margin-bottom: 20px; font-size: 1.4rem; }
.footer p { margin-bottom: 12px; color: #CCCCCC; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #CCCCCC; text-decoration: none; font-weight: 700; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--yellow); }

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background-color: var(--purple);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.back-to-top:hover { background-color: var(--pink); transform: translateY(-5px) scale(1.1); }

/* ===== Responsive Design (Mobile Friendly) ===== */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
  }
  
  .nav-toggle-label span { display: block; width: 28px; height: 4px; background-color: var(--purple); border-radius: 2px; }
  
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
    margin-top: 15px;
    gap: 10px;
    background: #FFFFFF;
    padding-bottom: 15px;
    order: 3;
  }
  
  .nav-links a { margin: 0; display: block; padding: 10px 0; }
  
  #nav-toggle:checked ~ .nav-links { display: flex; }
  
  .hero { flex-direction: column; text-align: center; padding: 60px 5%; }
  .hero-text { margin-right: 0; margin-bottom: 40px; }
  .hero-buttons { justify-content: center; }
  .hero-text h1 { font-size: 2.5rem; }
  
  .section h2, .cta h2 { font-size: 2.3rem; }
  .hero-image, .section-image, .gallery-image { width: 100%; }
  .video-iframe { min-height: 250px; }
  .jingle-card { max-width: none; }
  
  /* Make logo slightly smaller on mobile if needed */
  .nav-logo { height: 40px; }
  
  .back-to-top { width: 45px; height: 45px; font-size: 1.4rem; bottom: 20px; right: 20px; }
  .contact-form { padding: 25px; }
  .quiz-card, .result-container { padding: 25px; }
  .game-column { max-width: none; }
  .memory-grid { grid-template-columns: repeat(2, 1fr); }
  
  .cart-panel { width: 100%; }
  
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
}