/* ==========================================================================
   BỘ STYLE BÀI GIẢNG MẦM NON: BÉ KHÁM PHÁ VỀ GIÓ
   Thiết kế giao diện tươi sáng, bắt mắt, trực quan và tương tác thân thiện
   ========================================================================== */

:root {
  --primary-sky: #64B5F6;
  --primary-sky-light: #E1F5FE;
  --sun-gold: #FFCA28;
  --sun-orange: #FFA000;
  --grass-green: #81C784;
  --grass-dark: #388E3C;
  --candy-pink: #FF80AB;
  --candy-red: #FF5252;
  --cloud-white: #FFFFFF;
  --text-dark: #263238;
  --text-muted: #546E7A;
  --card-bg: rgba(255, 255, 255, 0.94);
  --shadow-soft: 0 10px 30px rgba(0, 70, 150, 0.12);
  --shadow-hover: 0 16px 36px rgba(0, 70, 150, 0.22);
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-child: 'Baloo 2', 'Nunito', 'Segoe UI', cursive, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

body {
  font-family: var(--font-child);
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ==========================================================================
   KHUNG CHỨA TOÀN BỘ BÀI GIẢNG (16:9 VIEWPORT)
   ========================================================================== */
.presentation-container {
  width: 100vw;
  height: 100vh;
  max-width: 1920px;
  max-height: 1080px;
  position: relative;
  background: linear-gradient(180deg, #81D4FA 0%, #E1F5FE 50%, #C8E6C9 80%, #81C784 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  transition: background 0.8s ease-in-out;
}

/* Nền slide thay đổi sinh động theo chủ đề từng câu hỏi */
.presentation-container[data-theme="slide-1"] {
  background: linear-gradient(180deg, #81D4FA 0%, #E1F5FE 50%, #C8E6C9 80%, #81C784 100%);
}
.presentation-container[data-theme="slide-2"] {
  background: linear-gradient(180deg, #90CAF9 0%, #E3F2FD 45%, #FFE082 85%, #FFCA28 100%);
}
.presentation-container[data-theme="slide-3"] {
  background: linear-gradient(180deg, #4FC3F7 0%, #B3E5FC 45%, #E1F5FE 75%, #DCEDC8 100%);
}
.presentation-container[data-theme="slide-4"] {
  background: linear-gradient(180deg, #5C6BC0 0%, #7986CB 35%, #9FA8DA 65%, #C5CAE9 100%);
}
.presentation-container[data-theme="slide-5"] {
  background: linear-gradient(180deg, #FFE0B2 0%, #FFF3E0 45%, #FFCCBC 80%, #FFAB91 100%);
}
.presentation-container[data-theme="slide-6"] {
  background: linear-gradient(180deg, #F8BBD0 0%, #E1BEE7 35%, #D1C4E9 70%, #C5CAE9 100%);
}

/* Biến đổi hoạ tiết trang trí sinh động theo từng câu hỏi / trang slide */
.presentation-container[data-theme="slide-1"] .deco-rainbow {
  opacity: 0.4;
}

.presentation-container[data-theme="slide-3"] .deco-rainbow {
  opacity: 0.55;
  filter: blur(1px);
}
.presentation-container[data-theme="slide-3"] .sun-ambient {
  transform: scale(1.05);
}

/* Slide 4: Gió bão - Bầu trời chuyển mây đen, sấm chớp, mưa rơi, mặt trời lu mờ */
.presentation-container[data-theme="slide-4"] .sun-ambient {
  opacity: 0.18;
  transform: scale(0.75);
  filter: grayscale(85%) drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}
.presentation-container[data-theme="slide-4"] .deco-rainbow {
  opacity: 0.05;
}
.presentation-container[data-theme="slide-4"] .ambient-cloud {
  filter: drop-shadow(0 8px 16px rgba(26, 35, 126, 0.6)) brightness(0.7);
  animation-duration: 20s !important;
}
.presentation-container[data-theme="slide-4"] .deco-butterfly {
  opacity: 0.15;
}

/* Slide 5: Trong nhà an toàn - Ánh hoàng hôn ấm cúng của ngôi nhà sum vầy */
.presentation-container[data-theme="slide-5"] .sun-ambient {
  background: radial-gradient(circle, #ff8a65 35%, #ff7043 80%, rgba(255, 112, 67, 0) 100%);
  filter: drop-shadow(0 0 28px #ffab91);
  transform: scale(1.1);
}
.presentation-container[data-theme="slide-5"] .deco-rainbow {
  opacity: 0.3;
}

/* Slide 6: Tuyên dương - Cầu vồng rực rỡ, mặt trời cười tươi */
.presentation-container[data-theme="slide-6"] .deco-rainbow {
  opacity: 0.75;
  filter: blur(0px);
}
.presentation-container[data-theme="slide-6"] .sun-ambient {
  transform: scale(1.2);
}


/* ==========================================================================
   BẦU TRỜI NỀN & HOẠ TIẾT MẦM NON SINH ĐỘNG
   ========================================================================== */
.sky-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.sun-ambient {
  position: absolute;
  top: 25px;
  right: 140px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #ffee58 35%, #fbc02d 80%, rgba(251, 192, 45, 0) 100%);
  border-radius: 50%;
  filter: drop-shadow(0 0 25px #ffee58);
  animation: sunGlow 4s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-face {
  font-size: 2.8rem;
  user-select: none;
}

@keyframes sunGlow {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* Cầu vồng mầm non */
.deco-rainbow {
  position: absolute;
  top: -50px;
  left: 60px;
  width: 260px;
  height: 130px;
  border-radius: 130px 130px 0 0;
  border: 10px solid #FF8A80;
  border-bottom: 0;
  box-shadow: 0 0 0 10px #FFD180, 0 0 0 20px #FFFF8D, 0 0 0 30px #CCFF90, 0 0 0 40px #A7FFEB, 0 0 0 50px #80D8FF;
  opacity: 0.35;
  pointer-events: none;
  filter: blur(2px);
}

/* Khinh khí cầu hoạt hình */
.deco-balloon {
  position: absolute;
  top: 90px;
  left: 40px;
  font-size: 3.5rem;
  animation: floatBalloon 12s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

@keyframes floatBalloon {
  0% { transform: translateY(0) rotate(-4deg); }
  100% { transform: translateY(-35px) rotate(4deg); }
}

/* Bướm lượn dập dờn */
.deco-butterfly {
  position: absolute;
  font-size: 2.2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  animation: flutterFly 8s ease-in-out infinite;
}
.deco-butterfly.b1 { top: 200px; left: 80px; animation-duration: 9s; }
.deco-butterfly.b2 { top: 140px; right: 80px; animation-duration: 11s; animation-delay: 2s; }

@keyframes flutterFly {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(5deg); }
  25% { transform: translate(25px, -20px) scale(0.9) rotate(-10deg); }
  50% { transform: translate(45px, 10px) scale(1.1) rotate(15deg); }
  75% { transform: translate(15px, -15px) scale(0.95) rotate(-5deg); }
}

/* Lớp hoa cỏ đung đưa dưới chân màn hình */
.bottom-grass-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 44px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding-bottom: 2px;
  pointer-events: none;
  z-index: 2;
}

.bottom-grass-layer .flower {
  font-size: 1.8rem;
  display: inline-block;
  animation: flowerSway 3s ease-in-out infinite alternate;
}
.flower.f1 { animation-delay: 0s; }
.flower.f2 { animation-delay: 0.5s; font-size: 2.2rem; }
.flower.f3 { animation-delay: 1.2s; }
.flower.f4 { animation-delay: 0.8s; font-size: 2rem; }
.flower.f5 { animation-delay: 1.5s; }
.flower.f6 { animation-delay: 0.3s; }

@keyframes flowerSway {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

/* Lớp mưa cho Slide 4 (Gió bão) */
.rain-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: linear-gradient(135deg, transparent 94%, rgba(255, 255, 255, 0.4) 95%, transparent 97%);
  background-size: 25px 25px;
}

.presentation-container[data-theme="slide-4"] .rain-layer {
  opacity: 0.6;
  animation: rainDropAnim 0.35s linear infinite;
}

@keyframes rainDropAnim {
  from { background-position: 0 0; }
  to { background-position: 25px 50px; }
}

/* Sticker góc cho từng slide câu hỏi */
.slide-sticker {
  position: absolute;
  font-size: 3.2rem;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  animation: stickerBob 3s ease-in-out infinite alternate;
}
.sticker-left {
  top: 20px;
  left: 25px;
}
.sticker-right {
  top: 20px;
  right: 25px;
}

@keyframes stickerBob {
  0% { transform: translateY(0) rotate(-6deg); }
  100% { transform: translateY(-12px) rotate(6deg); }
}

.storm-spin {
  animation: stormShake 1.5s ease-in-out infinite alternate !important;
}

@keyframes stormShake {
  0% { transform: scale(0.95) rotate(-8deg); }
  100% { transform: scale(1.1) rotate(8deg); }
}

.ambient-cloud {
  position: absolute;
  font-size: 3.5rem;
  opacity: 0.85;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.05));
  animation: floatCloud linear infinite;
}

.cloud-1 { top: 70px; left: -100px; animation-duration: 35s; }
.cloud-2 { top: 160px; left: -120px; animation-duration: 48s; animation-delay: 8s; font-size: 2.8rem; }
.cloud-3 { top: 220px; left: -80px; animation-duration: 40s; animation-delay: 18s; font-size: 4rem; }

@keyframes floatCloud {
  0% { transform: translateX(-150px); }
  100% { transform: translateX(calc(100vw + 200px)); }
}

.floating-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.falling-leaf {
  position: absolute;
  font-size: 1.8rem;
  pointer-events: none;
  animation: leafBlow 9s linear infinite;
  opacity: 0.9;
}

@keyframes leafBlow {
  0% {
    transform: translate(-50px, -50px) rotate(0deg);
    opacity: 0;
  }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% {
    transform: translate(calc(100vw + 60px), 70vh) rotate(540deg);
    opacity: 0;
  }
}

/* ==========================================================================
   2 NÚT TIỆN ÍCH GÓC TRÊN BÊN PHẢI (TINH GỌN, KHÔNG CÓ THANH HEADER)
   ========================================================================== */
.top-compact-tools {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 100;
  display: flex;
  gap: 8px;
}

.mini-tool-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(100, 181, 246, 0.5);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-child);
  font-size: 0.95rem;
  font-weight: 800;
  color: #1976D2;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mini-tool-btn:hover {
  transform: translateY(-2px);
  background: #E3F2FD;
  border-color: #2196F3;
  color: #0D47A1;
}

.mini-tool-btn.highlight {
  background: linear-gradient(135deg, #FFB300, #FF8F00);
  color: #FFF;
  border-color: #FFA000;
}

.mini-tool-btn.highlight:hover {
  background: linear-gradient(135deg, #FFA000, #F57C00);
}

/* Trạng thái khi nút đang đọc bài - Phản hồi tức thì và nút Dừng đọc */
.mini-tool-btn.speaking {
  background: linear-gradient(135deg, #FF1744, #D50000) !important;
  color: #FFF !important;
  border-color: #FF5252 !important;
  box-shadow: 0 4px 14px rgba(255, 23, 68, 0.45) !important;
  animation: pulseSpeaking 1.2s infinite alternate !important;
}

.mini-tool-btn.speaking:hover {
  background: linear-gradient(135deg, #D50000, #B71C1C) !important;
}

@keyframes pulseSpeaking {
  0% { transform: scale(1); box-shadow: 0 0 6px rgba(255, 23, 68, 0.35); }
  100% { transform: scale(1.05); box-shadow: 0 0 16px rgba(255, 23, 68, 0.7); }
}

/* ==========================================================================
   KHÔNG GIAN SLIDES
   ========================================================================== */
.slides-viewport {
  position: relative;
  flex: 1;
  z-index: 5;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 16px 24px 58px; /* Để trống 58px phía dưới cho thanh footer nhỏ gọn */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(60px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.slide-content {
  width: 100%;
  max-width: 1300px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Tiêu đề chung cho slide */
.slide-header {
  text-align: center;
  margin-bottom: 24px;
}

.slide-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0D47A1;
  text-shadow: 2px 2px 0 #FFF, 4px 4px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 6px;
}

.lead-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: #37474F;
}

/* ==========================================================================
   SLIDE 1: TRANG BÌA
   ========================================================================== */
.intro-slide {
  text-align: center;
  gap: 20px;
}

.tag-preschool {
  display: inline-block;
  background: #FFF3E0;
  color: #E65100;
  border: 2px dashed #FFB74D;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
}

.main-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.main-title .word {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.main-title .word:hover {
  transform: translateY(-8px) rotate(-3deg);
}

.w1 { color: #E91E63; text-shadow: 3px 3px 0 #FFF, 5px 5px 0 #C2185B; }
.w2 { color: #FF9800; text-shadow: 3px 3px 0 #FFF, 5px 5px 0 #F57C00; }
.w3 { color: #4CAF50; text-shadow: 3px 3px 0 #FFF, 5px 5px 0 #388E3C; }
.w4 { color: #00BCD4; text-shadow: 3px 3px 0 #FFF, 5px 5px 0 #0097A7; }
.w5 { color: #3F51B5; text-shadow: 3px 3px 0 #FFF, 5px 5px 0 #303F9F; }

.wind-emoji-puff {
  display: inline-block;
  animation: puffBounce 2s ease-in-out infinite;
}

@keyframes puffBounce {
  0%, 100% { transform: scale(1) translateX(0); }
  50% { transform: scale(1.25) translateX(12px); }
}

.subtitle {
  font-size: 1.35rem;
  color: #455A64;
  font-weight: 600;
}

/* ==========================================================================
   SLIDE 1: TRANG BÌA CHÀO MỪNG (BÉ KHÁM PHÁ VỀ GIÓ)
   ========================================================================== */
.cover-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 6px auto 14px;
}

.cover-hero-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 330px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 70, 160, 0.18), 0 0 0 6px #FFF;
  cursor: pointer;
  background: #FFF;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}

.cover-hero-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 42px rgba(0, 70, 160, 0.25), 0 0 0 6px #FFD54F;
}

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

.hero-pinwheel-badge {
  position: absolute;
  bottom: 12px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: 2px solid #FFCA28;
}

.hero-pinwheel-badge .badge-icon {
  font-size: 1.5rem;
  display: inline-block;
  animation: spinWheel 4s linear infinite;
}

.hero-pinwheel-badge .badge-hint {
  font-size: 1.05rem;
  font-weight: 800;
  color: #E65100;
}

.hero-kite-sticker {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2.6rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  animation: waveHair 2s ease-in-out infinite alternate;
}

.hero-leaf-sticker {
  position: absolute;
  font-size: 1.6rem;
  pointer-events: none;
}

.hero-leaf-sticker.l1 {
  top: 20px;
  left: 25px;
  animation: leafFlutter 3s ease-in-out infinite alternate;
}

.hero-leaf-sticker.l2 {
  bottom: 20px;
  right: 28px;
  animation: leafFlutter 2.5s ease-in-out infinite alternate;
}

.btn-primary-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FF6F00, #FF3D00);
  color: #FFF;
  font-family: var(--font-child);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 12px 34px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 61, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #FF6F00, #FF3D00);
  color: #FFF;
  font-family: var(--font-child);
  font-size: 1.6rem;
  font-weight: 800;
  padding: 16px 48px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 61, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary-big:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 32px rgba(255, 61, 0, 0.5);
}

.btn-primary-big:active {
  transform: translateY(2px) scale(0.98);
}

/* ==========================================================================
   SLIDE 2: VIDEO KHÁM PHÁ VỀ GIÓ
   ========================================================================== */
.video-slide {
  width: 100%;
  max-width: 950px;
}

.video-tv-wrapper {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.tv-decor {
  position: absolute;
  font-size: 2.8rem;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}
.tv-decor-l {
  top: -15px;
  left: -30px;
  animation: puffBounce 3s ease-in-out infinite alternate;
}
.tv-decor-r {
  bottom: 20px;
  right: -30px;
  animation: heartBeat 2.5s infinite;
}

.tv-frame {
  position: relative;
  width: 100%;
  background: #FFF;
  border: 10px solid #FFCA28;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(255, 160, 0, 0.25), 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 8px;
  background: linear-gradient(135deg, #FFF9C4, #FFF);
}

.tv-antenna {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  z-index: 2;
}

.ant {
  display: block;
  width: 6px;
  height: 24px;
  background: #FFA000;
  border-radius: 4px;
  position: relative;
}

.ant::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -4px;
  width: 14px;
  height: 14px;
  background: #FF5722;
  border-radius: 50%;
}

.ant-l {
  transform: rotate(-25deg);
}

.ant-r {
  transform: rotate(25deg);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
}

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

.video-prompt {
  margin-top: 16px;
  max-width: 820px;
  text-align: center;
}

/* ==========================================================================
   SLIDE 3, 4, 5: 3 CÂU HỎI TRỌNG TÂM BÀI HỌC (TRANH TO RÕ CHO MẦM NON)
   ========================================================================== */
.question-slide {
  width: 95%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.question-banner {
  text-align: center;
}

.q-tag {
  display: inline-block;
  background: linear-gradient(135deg, #FF6F00, #FFA000);
  color: #FFF;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 6px 26px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(255, 111, 0, 0.3);
}

.q-main-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0D47A1;
  text-shadow: 2px 2px 0 #FFF, 3px 3px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 4px;
  line-height: 1.2;
}

.q-hint {
  font-size: 1.35rem;
  font-weight: 700;
  color: #455A64;
}

.choices-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  margin-top: 8px;
}

.choice-card {
  position: relative;
  background: #FFF;
  border: 5px solid #90CAF9;
  border-radius: 26px;
  padding: 12px 12px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 28px rgba(0, 70, 150, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 330px;
}

.choice-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #0288D1;
  box-shadow: 0 16px 40px rgba(2, 136, 209, 0.25);
}

.choice-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #E1F5FE;
  color: #0277BD;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #4FC3F7;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.choice-visual {
  width: 100%;
  height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  background: #EBF3FA;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.choice-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s ease;
}

.choice-card:hover .choice-img {
  transform: scale(1.06);
}

.choice-label {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1A237E;
  line-height: 1.3;
  padding: 0 6px;
}

.choice-card.selected-correct {
  background: linear-gradient(180deg, #FFFFFF 30%, #E8F5E9 100%) !important;
  border-color: #2E7D32 !important;
  box-shadow: 0 16px 40px rgba(46, 125, 50, 0.4) !important;
  transform: scale(1.05);
}

.choice-card.selected-correct .choice-badge {
  background: #2E7D32;
  color: #FFF;
  border-color: #1B5E20;
}

.choice-card.selected-wrong {
  background: #FFEBEE !important;
  border-color: #C62828 !important;
  animation: shake 0.4s ease;
  opacity: 0.75;
}

.question-feedback {
  min-height: 56px;
  margin-top: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-success {
  color: #2E7D32;
  background: #E8F5E9;
  border: 2px solid #81C784;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.2);
  animation: bounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fb-wrong {
  color: #C62828;
  background: #FFEBEE;
  border: 2px solid #EF9A9A;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   SLIDE 3: GIÓ LÀ GÌ
   ========================================================================== */
.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.info-card.soft-blue {
  border-color: #90CAF9;
  background: linear-gradient(180deg, #FFFFFF 60%, #E3F2FD 100%);
}

.info-card.soft-yellow {
  border-color: #FFE082;
  background: linear-gradient(180deg, #FFFFFF 60%, #FFF8E1 100%);
}

.big-icon-bubble {
  font-size: 3.5rem;
  background: #FFF;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  font-size: 1.8rem;
  color: #0D47A1;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 1.25rem;
  line-height: 1.55;
  color: #37474F;
}

.tip-box {
  margin-top: 18px;
  background: #FFF;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 1.1rem;
  color: #1565C0;
  border-left: 5px solid #2196F3;
}

.mini-experiment {
  margin-top: 18px;
  width: 100%;
}

.exp-title {
  font-size: 1.2rem;
  color: #E65100;
  margin-bottom: 10px;
}

.action-bubble-btn {
  background: linear-gradient(135deg, #00C853, #00E676);
  color: #FFF;
  font-family: var(--font-child);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 200, 83, 0.3);
  transition: all 0.25s ease;
}

.action-bubble-btn:hover {
  transform: scale(1.05);
}

.exp-result {
  display: none;
  margin-top: 14px;
  padding: 12px 18px;
  background: #E8F5E9;
  border: 2px dashed #4CAF50;
  border-radius: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2E7D32;
  animation: fadeIn 0.4s ease;
}

.teacher-prompt {
  margin-top: 24px;
  background: #FFF9C4;
  border: 2px dashed #FBC02D;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  color: #E65100;
  box-shadow: 0 4px 12px rgba(251, 192, 45, 0.2);
}

/* ==========================================================================
   SLIDE 3: DẤU HIỆU CÓ GIÓ (4 CLUE CARDS)
   ========================================================================== */
.clue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
}

.clue-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 3px solid #E0E0E0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.clue-card:hover {
  transform: translateY(-8px);
  border-color: #29B6F6;
  box-shadow: var(--shadow-hover);
}

.clue-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 12px;
}

.leaves-scene .tree-leaves {
  font-size: 4.5rem;
}

.swing-anim {
  animation: swingBranch 3s ease-in-out infinite alternate;
}

@keyframes swingBranch {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(10deg); }
}

.flying-leaf {
  position: absolute;
  font-size: 1.8rem;
  animation: leafFlutter 2.5s ease-in-out infinite alternate;
}
.leaf-1 { top: 20px; left: 15px; }
.leaf-2 { bottom: 15px; right: 20px; animation-delay: 1.2s; }

@keyframes leafFlutter {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(25px, -15px) rotate(45deg); }
}

.mini-pinwheel {
  position: relative;
  width: 80px;
  height: 80px;
}

.mp-blade {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 0 40px 0 40px;
}
.mp-1 { top: 0; left: 0; background: #FF5252; transform-origin: bottom right; }
.mp-2 { top: 0; right: 0; background: #FFD600; transform-origin: bottom left; transform: rotate(90deg); }
.mp-3 { bottom: 0; right: 0; background: #40C4FF; transform-origin: top left; transform: rotate(180deg); }
.mp-4 { bottom: 0; left: 0; background: #69F0AE; transform-origin: top right; transform: rotate(270deg); }

.spin-hover {
  animation: spinWheel 4s linear infinite;
}

.kid-face {
  font-size: 4.5rem;
}

.hair-blow {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  animation: waveHair 1.5s ease-in-out infinite alternate;
}

@keyframes waveHair {
  0% { transform: rotate(-10deg) scale(0.9); }
  100% { transform: rotate(15deg) scale(1.1); }
}

.flag {
  font-size: 4.5rem;
  animation: waveFlag 1.6s ease-in-out infinite alternate;
}

@keyframes waveFlag {
  0% { transform: skewX(-5deg) scaleX(0.95); }
  100% { transform: skewX(12deg) scaleX(1.1); }
}

.clue-card h4 {
  font-size: 1.35rem;
  color: #0277BD;
  margin-bottom: 8px;
}

.clue-card p {
  font-size: 1.05rem;
  color: #546E7A;
  line-height: 1.4;
  margin-bottom: 12px;
}

.click-tag {
  display: inline-block;
  background: #E1F5FE;
  color: #0288D1;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SLIDE 4: THỰC HÀNH TẠO RA GIÓ
   ========================================================================== */
.creation-workshop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
  margin-bottom: 24px;
}

.creator-box {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 3px solid #B3E5FC;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.creator-icon {
  font-size: 3.8rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.creator-box h3 {
  font-size: 1.5rem;
  color: #0D47A1;
  margin-bottom: 8px;
}

.creator-box p {
  font-size: 1.15rem;
  color: #546E7A;
  margin-bottom: 16px;
  flex: 1;
}

.btn-create-wind {
  background: linear-gradient(135deg, #0288D1, #03A9F4);
  color: #FFF;
  font-family: var(--font-child);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(3, 169, 244, 0.35);
  transition: all 0.25s ease;
}

.btn-create-wind:hover {
  transform: scale(1.06);
  background: linear-gradient(135deg, #01579B, #0288D1);
}

.interactive-stage {
  width: 100%;
  height: 180px;
  background: rgba(255, 255, 255, 0.9);
  border: 4px dashed #64B5F6;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-placeholder {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0277BD;
  text-align: center;
  padding: 20px;
}

.blown-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  font-size: 2.2rem;
  animation: flyAcross 2.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes flyAcross {
  0% {
    left: -50px;
    top: 50%;
    transform: rotate(0deg) scale(0.6);
    opacity: 0;
  }
  20% { opacity: 1; }
  100% {
    left: 110%;
    top: var(--target-y, 30%);
    transform: rotate(720deg) scale(1.2);
    opacity: 0;
  }
}

/* ==========================================================================
   SLIDE 5: ÍCH LỢI CỦA GIÓ
   ========================================================================== */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.benefit-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 22px;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.benefit-card.b1 { border-color: #FFE082; background: linear-gradient(135deg, #FFFDE7, #FFF); }
.benefit-card.b2 { border-color: #80DEEA; background: linear-gradient(135deg, #E0F7FA, #FFF); }
.benefit-card.b3 { border-color: #90CAF9; background: linear-gradient(135deg, #E3F2FD, #FFF); }
.benefit-card.b4 { border-color: #A5D6A7; background: linear-gradient(135deg, #E8F5E9, #FFF); }

.benefit-img {
  font-size: 3.2rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 100px;
  text-align: center;
}

.benefit-info h3 {
  font-size: 1.55rem;
  color: #0D47A1;
  margin-bottom: 6px;
}

.benefit-info p {
  font-size: 1.2rem;
  color: #455A64;
  line-height: 1.5;
}

/* ==========================================================================
   SLIDE 6: KHI GIÓ NỔI GIẬN (AN TOÀN)
   ========================================================================== */
.safety-slide .storm-comparison {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 30px;
  width: 100%;
}

.storm-visual-box {
  background: linear-gradient(180deg, #ECEFF1, #CFD8DC);
  border: 4px solid #78909C;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cloud-storm {
  font-size: 4.8rem;
  margin-bottom: 16px;
  animation: shakeStorm 2s ease-in-out infinite;
}

@keyframes shakeStorm {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-8px) rotate(-3deg); }
  75% { transform: translateY(6px) rotate(3deg); }
}

.storm-visual-box h3 {
  font-size: 1.8rem;
  color: #C62828;
  margin-bottom: 12px;
}

.storm-desc {
  font-size: 1.25rem;
  color: #37474F;
  line-height: 1.5;
}

.rules-box {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 3px solid #81C784;
}

.rules-box h3 {
  font-size: 1.7rem;
  color: #2E7D32;
  margin-bottom: 20px;
}

.safety-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safe-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F9FBE7;
  padding: 14px 20px;
  border-radius: 16px;
  border: 2px solid #DCEDC8;
}

.safe-badge {
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #FFF;
  min-width: 90px;
  text-align: center;
}

.safe-badge.green {
  background: #2E7D32;
}

.safe-badge.red {
  background: #D32F2F;
}

.safe-text {
  font-size: 1.25rem;
  color: #263238;
  line-height: 1.45;
}

/* ==========================================================================
   SLIDE 7: TRÒ CHƠI QUIZ TƯƠNG TÁC
   ========================================================================== */
.quiz-container {
  width: 100%;
  max-width: 880px;
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  box-shadow: 0 16px 40px rgba(0, 70, 150, 0.15);
  border: 4px solid #FFD54F;
  margin-bottom: 20px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-card {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.4s ease;
}

.quiz-card.active {
  display: flex;
}

.question-header {
  text-align: center;
  margin-bottom: 26px;
}

.q-badge {
  display: inline-block;
  background: #FF6F00;
  color: #FFF;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.q-title {
  font-size: 1.85rem;
  color: #0D47A1;
  font-weight: 800;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.opt-btn {
  background: #F5F5F5;
  border: 3px solid #E0E0E0;
  border-radius: 20px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-child);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.opt-btn:hover {
  transform: translateY(-5px);
  border-color: #42A5F5;
  background: #E3F2FD;
}

.opt-btn.correct {
  background: #E8F5E9 !important;
  border-color: #2E7D32 !important;
  transform: scale(1.05);
  animation: pulseGreen 0.6s ease infinite alternate;
}

.opt-btn.wrong {
  background: #FFEBEE !important;
  border-color: #C62828 !important;
  opacity: 0.7;
}

@keyframes pulseGreen {
  from { box-shadow: 0 0 10px rgba(46, 125, 50, 0.4); }
  to { box-shadow: 0 0 25px rgba(46, 125, 50, 0.8); }
}

.opt-emoji {
  font-size: 3.5rem;
}

.opt-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #263238;
  text-align: center;
}

.answer-feedback {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
}

.feedback-success {
  color: #2E7D32;
  animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feedback-error {
  color: #D81B60;
  animation: shake 0.4s ease;
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.quiz-page-btn {
  background: #FFF;
  border: 2px solid #90CAF9;
  border-radius: var(--radius-full);
  padding: 8px 22px;
  font-family: var(--font-child);
  font-size: 1.1rem;
  font-weight: 700;
  color: #1565C0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-page-btn:hover {
  background: #E3F2FD;
  transform: scale(1.05);
}

.quiz-dots {
  display: flex;
  gap: 12px;
}

.q-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ECEFF1;
  color: #546E7A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.q-dot.active {
  background: #FF9800;
  color: #FFF;
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(255, 152, 0, 0.4);
}

/* ==========================================================================
   SLIDE 8: TỔNG KẾT & KHEN NGỢI
   ========================================================================== */
.finish-slide {
  text-align: center;
  gap: 16px;
}

.trophy-zone {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.gold-medal {
  font-size: 6.5rem;
  filter: drop-shadow(0 12px 24px rgba(255, 193, 7, 0.45));
}

.star {
  position: absolute;
  font-size: 2.8rem;
  animation: starTwinkle 1.5s ease-in-out infinite alternate;
}
.star-l { top: -10px; left: -30px; }
.star-r { bottom: 10px; right: -30px; animation-delay: 0.7s; }

@keyframes starTwinkle {
  0% { transform: scale(0.8) rotate(-15deg); opacity: 0.6; }
  100% { transform: scale(1.3) rotate(20deg); opacity: 1; }
}

.congrats-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: #E65100;
  text-shadow: 2px 2px 0 #FFF, 4px 4px 12px rgba(230, 81, 0, 0.2);
}

.congrats-sub {
  font-size: 1.5rem;
  color: #37474F;
  font-weight: 600;
}

.summary-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 850px;
  margin: 15px auto 25px;
}

.chip {
  background: #FFF;
  border: 2px solid #81C784;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  font-weight: 700;
  color: #2E7D32;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.finish-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-fireworks {
  background: linear-gradient(135deg, #FF1744, #D500F9);
  color: #FFF;
  font-family: var(--font-child);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 16px 38px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(213, 0, 249, 0.4);
  transition: all 0.25s ease;
}

.btn-fireworks:hover {
  transform: translateY(-4px) scale(1.05);
}

.btn-secondary {
  background: #FFF;
  border: 3px solid #78909C;
  color: #455A64;
  font-family: var(--font-child);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: #ECEFF1;
  transform: translateY(-2px);
}

/* ==========================================================================
   THANH ĐIỀU HƯỚNG CHÍNH DƯỚI CÙNG (TINH GỌN, KHÔNG CHE NỘI DUNG)
   ========================================================================== */
.bottom-controls {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(100, 181, 246, 0.35);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0, 70, 150, 0.12);
  max-width: 90%;
}

.nav-arrow-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #E3F2FD;
  border: 2px solid #64B5F6;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-child);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0D47A1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 2px 6px rgba(33, 150, 243, 0.15);
}

.nav-arrow-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: #BBDEFB;
}

.nav-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.nav-arrow-btn.next-btn {
  background: linear-gradient(135deg, #00C853, #00E676);
  border-color: #00E676;
  color: #FFF;
  box-shadow: 0 3px 10px rgba(0, 200, 83, 0.25);
}

.nav-arrow-btn.next-btn:hover {
  background: linear-gradient(135deg, #00B248, #00C853);
}

.slide-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0D47A1;
}

.current-num {
  font-size: 1.25rem;
  color: #FF6F00;
}

.slide-caption {
  margin-left: 6px;
  background: #FFF3E0;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: #E65100;
  border: 1px solid #FFE082;
}

.timeline-bar {
  width: 90px;
  height: 6px;
  background: #E0E0E0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 4px;
}

.timeline-fill {
  height: 100%;
  background: linear-gradient(90deg, #29B6F6, #00E676);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* ==========================================================================
   DRAWER MỤC LỤC BÀI GIẢNG (SIDE PANEL)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: #FFF;
  z-index: 100;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 24px;
}

.menu-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ECEFF1;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.drawer-header h3 {
  font-size: 1.45rem;
  color: #0D47A1;
}

.close-drawer-btn {
  background: #FFEBEE;
  border: none;
  font-size: 1.3rem;
  color: #D32F2F;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.slide-menu-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #F8F9FA;
  border: 2px solid #E9ECEF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: #E3F2FD;
  border-color: #90CAF9;
  transform: translateX(-4px);
}

.menu-item.active {
  background: #E8F5E9;
  border-color: #4CAF50;
  font-weight: 800;
}

.item-index {
  background: #2196F3;
  color: #FFF;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
}

.item-title {
  font-size: 1.15rem;
  color: #263238;
}

.drawer-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid #ECEFF1;
  font-size: 0.95rem;
  color: #78909C;
}

/* ==========================================================================
   CANVAS HIỆU ỨNG PHÁO HOA
   ========================================================================== */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS CHUNG
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.pulse-anim {
  animation: pulseScale 3s ease-in-out infinite;
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse-slow {
  animation: heartBeat 2s infinite;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.06); }
  28% { transform: scale(1); }
  42% { transform: scale(1.06); }
  70% { transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE CHO CÁC MÀN HÌNH NHỎ HƠN
   ========================================================================== */
@media (max-width: 1024px) {
  .main-title { font-size: 3rem; }
  .clue-grid { grid-template-columns: repeat(2, 1fr); }
  .options-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .safety-slide .storm-comparison { grid-template-columns: 1fr; }
}
