/* ==========================================================================
   ClassLem - Sınıf Zamanlayıcısı İlkokul Görsel Animasyonları ve Efektleri v5.0
   ========================================================================== */

/* Başlık ve İpucu (Modal) */
.timer-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.timer-section-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.timer-effect-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary, #6366f1);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
}

/* 7'li Görsel Efekt Kartları Izgarası (Modal) */
.timer-effects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 520px) {
  .timer-effects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.timer-effect-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.35rem;
  background: #ffffff;
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  user-select: none;
  position: relative;
}

.timer-effect-btn:hover {
  border-color: var(--primary, #6366f1);
  background: #f5f7ff;
  transform: translateY(-2px);
}

.timer-effect-btn.active {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  border-color: var(--primary, #6366f1);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.22);
  transform: scale(1.03);
}

.timer-effect-btn .act-emoji {
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.timer-effect-btn .act-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  line-height: 1.2;
}

.timer-effect-btn .act-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary, #6366f1);
  margin-top: 0.25rem;
  background: rgba(99, 102, 241, 0.12);
  padding: 0.12rem 0.45rem;
  border-radius: 9999px;
}

.timer-effect-btn.active .act-badge {
  background: var(--primary, #6366f1);
  color: #ffffff;
}

/* Modal Canlı Animasyon Sahnesi */
.timer-stage-card {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 175px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.timer-stage-card.is-classic-hidden {
  display: none !important;
}

.timer-stage-card.is-running {
  border-color: var(--primary, #6366f1);
  background: linear-gradient(180deg, #faf5ff 0%, #eff6ff 100%);
  box-shadow: inset 0 0 18px rgba(99, 102, 241, 0.12);
}

.timer-stage-card.is-finished {
  border-color: #10b981;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.25);
}

.timer-anim-wrapper {
  width: 100%;
  max-width: 320px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-anim-wrapper svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: visible;
}

.timer-anim-caption {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main, #1e293b);
  margin-top: 0.35rem;
  text-align: center;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.08);
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

/* ==========================================================================
   AKILLI TAHTA DEV TAM EKRAN (HERO STAGE) TASARIMI
   ========================================================================== */

.fullscreen-timer-overlay {
  overflow: hidden;
}

.fs-theme-selector-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin: 0.2rem 0 0.4rem;
  z-index: 5;
}

.fs-theme-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.fs-theme-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.fs-theme-pill.active {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-color: #a5b4fc;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transform: scale(1.05);
}

/* Ana Sahne Konteyneri */
.fs-hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  gap: 0.85rem;
  position: relative;
  z-index: 3;
}

/* Üst Sıra: Kocaman Animasyon Sahnesi + Yan Motivasyon Kartı */
.fs-hero-main-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  width: 100%;
}

@media (max-width: 900px) {
  .fs-hero-main-row {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* KOCAMAN VE GÖRKEMLİ ANİMASYON ALANI */
.fs-giant-anim-card {
  position: relative;
  width: min(72vw, 840px);
  height: min(48vh, 390px);
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.78) 0%, rgba(15, 23, 42, 0.92) 100%);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), inset 0 0 35px rgba(99, 102, 241, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.fs-giant-anim-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.65), inset 0 0 45px rgba(99, 102, 241, 0.22);
}

.fs-giant-anim-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-giant-anim-wrapper svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
}

/* YANDAKİ MOTİVASYON KARTI */
.fs-motivation-card {
  width: min(28vw, 330px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  padding: 1.35rem 1.45rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.95rem;
  animation: motivePulse 4s infinite alternate ease-in-out;
}

@keyframes motivePulse {
  0% { transform: translateY(0); box-shadow: 0 12px 35px rgba(0,0,0,0.4); }
  100% { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(99, 102, 241, 0.4); }
}

.fs-motive-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fs-motive-badge-icon {
  font-size: 1.25rem;
  animation: boltFlicker 1.5s infinite;
}

@keyframes boltFlicker {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #facc15); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 8px #f59e0b); }
}

.fs-motive-badge-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.fs-motive-bubble {
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.1rem 1.25rem;
  position: relative;
}

.fs-motive-quote {
  font-family: var(--font-fun, 'Nunito', sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.38;
  color: #ffffff;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.fs-motive-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fs-motive-emoji {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

.fs-motive-hint {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* ==========================================================================
   DAİRESEL SAYAÇ (BÜYÜTÜLMÜŞ & YAZI İÇERİ TAM SIĞDIRILMIŞ)
   ========================================================================== */

.fs-compact-counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: all 0.3s ease;
}

/* Sayaç Çemberi: 190px'ten 230px'e büyütüldü */
.fs-compact-ring-wrapper {
  position: relative;
  width: 230px !important;
  height: 230px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fs-compact-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.4));
}

.fs-compact-center-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  width: 100%;
  padding: 0 10px;
}

.fs-compact-center-content .fs-sub-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* Rakamlar: 2.6rem'den 3.4rem'e büyütüldü */
.fs-compact-center-content .fs-digits {
  font-family: var(--font-fun, 'Nunito', sans-serif);
  font-size: 3.4rem !important;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

/* Durum Rozeti: Çemberin içine tam sığacak şekilde tasarlandı */
.fs-compact-center-content .fs-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 0.35rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  max-width: 155px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   KLASİK SAYAÇ MODU (SADE SÜRE - RESİMSİZ DEV ZAMANLAYICI)
   ========================================================================== */

.fullscreen-timer-overlay.is-classic-mode .fs-hero-main-row {
  display: none !important;
}

.fullscreen-timer-overlay.is-classic-mode .fs-compact-counter-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.fullscreen-timer-overlay.is-classic-mode .fs-compact-ring-wrapper {
  width: min(68vw, 440px) !important;
  height: min(68vw, 440px) !important;
}

.fullscreen-timer-overlay.is-classic-mode .fs-compact-center-content .fs-digits {
  font-size: clamp(4.8rem, 11vw, 7.8rem) !important;
  letter-spacing: 2px;
  line-height: 0.92;
}

.fullscreen-timer-overlay.is-classic-mode .fs-compact-center-content .fs-sub-label {
  font-size: 1.2rem !important;
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
}

.fullscreen-timer-overlay.is-classic-mode .fs-compact-center-content .fs-status-pill {
  font-size: 1.05rem !important;
  padding: 0.35rem 1.25rem !important;
  max-width: none !important;
  margin-top: 0.85rem;
}

/* ==========================================================================
   TÜM EKRANA SAÇILAN PATLAYAN MISIR YAĞMURU (.fs-fullscreen-popcorn-shower)
   ========================================================================== */

.fs-fullscreen-popcorn-shower {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
  overflow: hidden;
}

.shower-popcorn-piece {
  position: absolute;
  top: 45%;
  left: 50%;
  font-size: 2.4rem;
  line-height: 1;
  user-select: none;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4));
  opacity: 0;
}

.shower-butter-popcorn {
  display: inline-block;
  width: 32px;
  height: 30px;
  background: radial-gradient(circle at 35% 35%, #fffbeb 0%, #fef08a 45%, #facc15 85%, #ca8a04 100%);
  border: 2px solid #eab308;
  border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  position: relative;
}

.shower-butter-popcorn::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 40%;
  width: 11px;
  height: 9px;
  background: #f59e0b;
  border-radius: 50%;
  opacity: 0.85;
}

@keyframes flyingShowerPopcorn {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.3) rotate(0deg);
  }
  15% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translate(var(--fly-x), var(--fly-y)) scale(var(--fly-scale)) rotate(var(--fly-rot));
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--fly-x) * 1.35), calc(var(--fly-y) + 300px)) scale(calc(var(--fly-scale) * 0.85)) rotate(calc(var(--fly-rot) * 1.7));
  }
}

/* ==========================================================================
   KOCAMAN ANİMASYON KEYFRAMES & HAREKETLER (60 FPS DİNAMİK)
   ========================================================================== */

/* Süre bitiş modalının ekranı engellemesi tamamen kapatıldı */
.fs-celebration-overlay {
  display: none !important;
}

/* 1. Popcorn Mega Animations */
.mega-flame {
  transform-origin: bottom center;
}
.anim-popcorn-giant.is-running .mega-flame {
  animation: megaFlameFlicker 0.35s infinite alternate ease-in-out;
}
.anim-popcorn-giant.is-running .f-2 { animation-delay: 0.08s; }
.anim-popcorn-giant.is-running .f-3 { animation-delay: 0.16s; }
.anim-popcorn-giant.is-running .f-4 { animation-delay: 0.12s; }
.anim-popcorn-giant.is-running .f-5 { animation-delay: 0.2s; }

@keyframes megaFlameFlicker {
  0% { transform: scaleY(0.9) scaleX(0.95); }
  100% { transform: scaleY(1.25) scaleX(1.06); }
}

.pot-realistic-unit {
  transform-origin: 180px 204px;
}

.pot-mega-simmer {
  animation: potMegaSimmerWiggle 1.4s infinite ease-in-out;
}
@keyframes potMegaSimmerWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-1.2deg); }
  75% { transform: rotate(1.2deg); }
}

.pot-mega-shake {
  animation: potMegaShakeAnim 0.22s infinite ease-in-out;
}
@keyframes potMegaShakeAnim {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

.pot-crazy-shake {
  animation: potCrazyShakeAnim 0.09s infinite ease-in-out;
}
@keyframes potCrazyShakeAnim {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-3px, 1px) rotate(-4.5deg); }
  40% { transform: translate(3px, -1px) rotate(4.5deg); }
  60% { transform: translate(-2px, -2px) rotate(-3deg); }
  80% { transform: translate(2px, 1px) rotate(3deg); }
}

.pot-insane-quake {
  animation: potInsaneQuakeAnim 0.06s infinite ease-in-out;
  transform-origin: 180px 204px;
}
@keyframes potInsaneQuakeAnim {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-4px, 1.5px) rotate(-4.5deg); }
  50% { transform: translate(4px, -1.5px) rotate(4.5deg); }
  75% { transform: translate(-2px, -1.5px) rotate(-2.5deg); }
}

.pot-mega-jumping {
  animation: potMegaJumpJoy 0.5s infinite alternate cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes potMegaJumpJoy {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-16px) scale(1.05); }
}

.pot-realistic-lid {
  transform-origin: 180px 104px;
}

.pot-mega-lid-rattle {
  animation: potMegaLidRattleAnim 0.14s infinite ease-in-out;
}
@keyframes potMegaLidRattleAnim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(-4deg); }
}

.pot-mega-lid-burst {
  animation: potMegaLidFlyOff 0.65s forwards cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@keyframes potMegaLidFlyOff {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-85px) rotate(-44deg); }
}

.jumping-kernels.is-dancing circle {
  animation: kernelJiggle 0.16s infinite alternate ease-in-out;
}
.jumping-kernels.is-dancing circle:nth-child(2) { animation-delay: 0.04s; }
.jumping-kernels.is-dancing circle:nth-child(3) { animation-delay: 0.08s; }
.jumping-kernels.is-dancing circle:nth-child(4) { animation-delay: 0.02s; }
.jumping-kernels.is-dancing circle:nth-child(5) { animation-delay: 0.06s; }
@keyframes kernelJiggle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px) scale(1.1); }
}

.mega-steam {
  animation: megaSteamDrift 1.2s infinite linear;
}
.mega-steam.ms-2 { animation-delay: 0.35s; }
.mega-steam.ms-3 { animation-delay: 0.7s; }

@keyframes megaSteamDrift {
  0% { opacity: 0; transform: translateY(0) scale(0.8); }
  50% { opacity: 0.85; }
  100% { opacity: 0; transform: translateY(-28px) scale(1.35); }
}

.mega-pop-piece {
  transform-origin: 180px 95px;
  animation: megaPopcornShoot 0.85s forwards cubic-bezier(0.18, 0.89, 0.32, 1.28);
  animation-delay: var(--bd, 0s);
  opacity: 0;
}
@keyframes megaPopcornShoot {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.2) rotate(0deg);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(var(--bx), var(--by)) scale(var(--bs)) rotate(var(--br));
  }
}

/* 2. Rocket Mega Animations */
.tower-beacon-light {
  animation: beaconBlink 0.6s infinite alternate ease-in-out;
}
@keyframes beaconBlink {
  0% { fill: #ef4444; filter: drop-shadow(0 0 1px #ef4444); opacity: 0.4; }
  100% { fill: #facc15; filter: drop-shadow(0 0 8px #facc15); opacity: 1; }
}

.anim-rocket-giant.is-running .rocket-mega-flames path {
  animation: megaRocketFire 0.12s infinite alternate ease-in-out;
  transform-origin: 180px 185px;
}
@keyframes megaRocketFire {
  0% { transform: scaleY(0.95); }
  100% { transform: scaleY(1.35) scaleX(0.92); }
}

.rocket-mega-tremble {
  animation: megaRocketRumble 0.1s infinite ease-in-out;
}
@keyframes megaRocketRumble {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2px, 1.5px); }
  75% { transform: translate(2px, -1.5px); }
}

.rocket-mega-hovering {
  animation: rocketHoverVibrate 0.08s infinite alternate ease-in-out;
}
@keyframes rocketHoverVibrate {
  0% { transform: translateY(-10px) translate(-1.5px, 0.5px); }
  100% { transform: translateY(-15px) translate(1.5px, -0.5px); }
}

.rocket-mega-blastoff {
  animation: megaRocketBlastoffAnim 0.95s forwards cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes megaRocketBlastoffAnim {
  0% { transform: translateY(0); }
  12% { transform: translateY(8px); }
  100% { transform: translateY(-420px); }
}

/* 3. Dino Egg Mega Animations */
.egg-mega-wobble {
  animation: megaEggWobble 1.5s infinite ease-in-out;
  transform-origin: 180px 198px;
}
@keyframes megaEggWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

.egg-mega-shake-med {
  animation: eggShakeMed 0.22s infinite ease-in-out;
  transform-origin: 180px 198px;
}
@keyframes eggShakeMed {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3.5deg); }
  75% { transform: rotate(3.5deg); }
}

.egg-mega-shake-fast {
  animation: megaEggShakeFast 0.12s infinite ease-in-out;
  transform-origin: 180px 198px;
}
@keyframes megaEggShakeFast {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-3px, 0) rotate(-5deg); }
  75% { transform: translate(3px, 0) rotate(5deg); }
}

.egg-mega-crazy {
  animation: eggCrazyTremble 0.07s infinite ease-in-out;
  transform-origin: 180px 198px;
}
@keyframes eggCrazyTremble {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-3px, 1px) rotate(-5deg); }
  50% { transform: translate(3px, -1px) rotate(5deg); }
  75% { transform: translate(-2px, -1px) rotate(-3deg); }
}

.egg-top-flying {
  animation: megaEggTopFly 0.55s forwards cubic-bezier(0.18, 0.89, 0.32, 1.28);
  transform-origin: 180px 110px;
}
@keyframes megaEggTopFly {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(40px, -55px) rotate(48deg); opacity: 0.85; }
}

.dino-mega-baby-emerge {
  animation: megaDinoPopUp 0.65s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: 180px 150px;
}
@keyframes megaDinoPopUp {
  0% { transform: translateY(45px) scale(0.6); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* 4. Balloon Mega Animations */
.pump-piston.is-pumping {
  animation: pumpPistonStroke 0.8s infinite ease-in-out;
  transform-origin: 73px 125px;
}
@keyframes pumpPistonStroke {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

.balloon-mega-float {
  animation: megaBalloonHover 2.2s infinite ease-in-out;
  transform-origin: 180px 185px;
}
@keyframes megaBalloonHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.balloon-mega-tremble {
  animation: megaBalloonTremble 0.12s infinite ease-in-out;
  transform-origin: 180px 185px;
}
@keyframes megaBalloonTremble {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.03, 0.97) rotate(-2deg); }
  75% { transform: scale(0.97, 1.03) rotate(2deg); }
}

.balloon-mega-popped {
  display: none;
}

/* 5. Flower Mega Animations */
.flower-mega-bloom {
  animation: megaFlowerBloom 0.75s forwards cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: 0 0;
}
@keyframes megaFlowerBloom {
  0% { transform: scale(0.15) rotate(-45deg); opacity: 0; }
  70% { transform: scale(1.15) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.butterfly-flutter {
  display: inline-block;
  animation: butterflyFloat 1.8s infinite ease-in-out;
}
@keyframes butterflyFloat {
  0%, 100% { transform: translate(0, 0) rotate(-6deg); }
  50% { transform: translate(-10px, -12px) rotate(8deg); }
}

/* 6. Volcano Mega Animations */
.volcano-mega-rumble {
  animation: megaVolcanoRumble 0.12s infinite ease-in-out;
}
@keyframes megaVolcanoRumble {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2.5px, 1.5px); }
  75% { transform: translate(2.5px, -1.5px); }
}

.volcano-mega-quake {
  animation: volcanoQuakeAnim 0.07s infinite ease-in-out;
}
@keyframes volcanoQuakeAnim {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3.5px, 1.5px); }
  50% { transform: translate(3.5px, -1.5px); }
  75% { transform: translate(-2px, -1px); }
}

/* Dağ Bitişte Sarsılmaz ve Sabit Kalır */
.volcano-mountain-joy {
  animation: mountainJoyTremor 0.6s infinite alternate ease-in-out;
}
@keyframes mountainJoyTremor {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

/* Kraterden Fışkıran Dev Gökkuşağı Lavı */
.volcano-mega-rainbow {
  transform-origin: 180px 88px;
  animation: volcanoEruptionFountain 0.85s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
@keyframes volcanoEruptionFountain {
  0% {
    transform: scale(0.1) translateY(45px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.volcano-spark {
  animation: sparkRise 0.9s infinite linear;
}
.volcano-spark:nth-child(2) { animation-delay: 0.25s; }
.volcano-spark:nth-child(3) { animation-delay: 0.5s; }
.volcano-spark:nth-child(4) { animation-delay: 0.7s; }
@keyframes sparkRise {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-24px) translateX(4px); opacity: 0; }
}

.lava-bubble {
  animation: lavaBubblePop 0.7s infinite alternate ease-in-out;
  transform-origin: center;
}
.lava-bubble.b-2 { animation-delay: 0.35s; }
@keyframes lavaBubblePop {
  0% { transform: scale(0.6); opacity: 0.4; }
  100% { transform: scale(1.35); opacity: 1; }
}
