/* ============================================================
   KUMON KIDS NUMBER CONNECT - EYE-FRIENDLY TABLET THEME
   Warm paper tones, soft pastel contrast, non-overstimulating
   ============================================================ */

:root {
  --bg-paper: #FAF6EB;
  --bg-paper-grid: rgba(215, 206, 187, 0.35);
  --ink-charcoal: #2C3539;
  --ink-secondary: #5A6570;
  --kumon-blue: #007EA7;
  --kumon-red: #E63946;
  --pastel-teal: #2A9D8F;
  --pastel-green: #52B788;
  --pastel-yellow: #F4A261;
  --pastel-sand: #E9D8A6;
  --pastel-coral: #E76F51;
  --pastel-blue: #48CAE4;
  --paper-shadow: 0 8px 24px rgba(60, 50, 30, 0.08);
  --card-bg: #FFFFFF;
  --font-family: 'Comic Sans MS', 'Chalkboard SE', 'Quicksand', 'Nunito', system-ui, -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-paper);
  font-family: var(--font-family);
  color: var(--ink-charcoal);
  touch-action: none;
}

#game-app {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-paper);
  position: relative;
}

/* ============================================================
   TOP BAR HEADER
   ============================================================ */
#top-bar {
  height: 64px;
  min-height: 64px;
  flex-shrink: 0;
  background-color: #F4EEDC;
  border-bottom: 2px solid #E4DAC4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  z-index: 10;
}

#numbers-view, #maze-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 10;
  overflow: hidden;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.worksheet-badge {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid #DDD3BE;
  font-weight: 700;
  font-size: 14px;
  gap: 8px;
}

.kumon-tag {
  background: var(--kumon-blue);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 1px;
}

.stage-indicator {
  display: flex;
  gap: 6px;
}

.stage-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #D9CEB8;
  transition: all 0.3s ease;
}

.stage-dot.completed {
  background: var(--pastel-green);
  transform: scale(1.1);
}

.stage-dot.active {
  background: var(--kumon-blue);
  box-shadow: 0 0 0 3px rgba(0, 126, 167, 0.25);
}

.header-center h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-charcoal);
  letter-spacing: 0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #D5C9B0;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, background-color 0.2s;
}

.circle-btn:active {
  transform: scale(0.92);
  background-color: #F8F3E6;
}

.lock-btn {
  border-color: #E29578;
  background: #FFF5F0;
}

/* ============================================================
   PLAY AREA & WORKSHEET PAPER
   ============================================================ */
#play-area {
  flex: 1 1 0%;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
}

#worksheet-paper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1100px;
  max-height: 560px;
  aspect-ratio: 1000 / 600;
  background-color: #FDFAF2; /* Kertas hangat anti-silau yang ramah mata */
  border-radius: 20px;
  box-shadow: var(--paper-shadow);
  border: 2px solid #EADBCE;
  overflow: hidden;
  background-image: 
    radial-gradient(circle, rgba(180, 160, 130, 0.18) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(230, 218, 200, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(230, 218, 200, 0.12) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px, 32px 32px;
}

#drawing-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: crosshair;
}

#reveal-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#reveal-svg {
  width: 90%;
  height: 90%;
}

#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* ============================================================
   KUMON 100 REWARD STAMP
   ============================================================ */
#stamp-reward {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 5;
  pointer-events: none;
  animation: stampSlam 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.kumon-stamp {
  width: 100px;
  height: 100px;
  border: 4px dashed var(--kumon-red);
  border-radius: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  opacity: 0.92;
}

.stamp-inner {
  width: 100%;
  height: 100%;
  border: 2.5px solid var(--kumon-red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--kumon-red);
  font-weight: 900;
}

.stamp-text {
  font-size: 32px;
  line-height: 1;
}

.stamp-sub {
  font-size: 11px;
  letter-spacing: 2px;
}

@keyframes stampSlam {
  0% { transform: scale(3) rotate(20deg); opacity: 0; }
  70% { transform: scale(0.9) rotate(-15deg); opacity: 1; }
  100% { transform: scale(1) rotate(-12deg); opacity: 0.95; }
}

@keyframes popIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================================
   BOTTOM BAR & ACTIONS
   ============================================================ */
#bottom-bar {
  height: 60px;
  min-height: 60px;
  flex-shrink: 0;
  background-color: #F4EEDC;
  border-top: 2px solid #E4DAC4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
}

.instruction-box {
  background: #FFFFFF;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1.5px solid #DDD3BE;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-charcoal);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  height: 42px;
  padding: 0 20px;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease;
}

.action-btn:active {
  transform: scale(0.94);
}

.primary-btn {
  background: var(--pastel-green);
  color: #FFFFFF;
}

.secondary-btn {
  background: #FFFFFF;
  color: var(--ink-secondary);
  border: 2px solid #D5C9B0;
}

/* ============================================================
   PARENTAL GATE & KIOSK MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 25, 20, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border: 3px solid #EADBCE;
}

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

.modal-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-charcoal);
}

.close-x {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink-secondary);
}

.pin-hint {
  text-align: center;
  font-size: 14px;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}

.pin-display {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.pin-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid #C4B59E;
  background: transparent;
  transition: all 0.2s;
}

.pin-dot.filled {
  background: var(--kumon-blue);
  border-color: var(--kumon-blue);
  transform: scale(1.15);
}

.pin-error {
  text-align: center;
  color: var(--kumon-red);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
}

.key-btn {
  height: 52px;
  border-radius: 14px;
  border: 2px solid #E2D7C3;
  background: #FAF7F0;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-charcoal);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.1s, background-color 0.15s;
}

.key-btn:active {
  transform: scale(0.92);
  background: #EFE8DA;
}

.key-action {
  background: #F1ECE1;
  color: var(--ink-secondary);
  font-size: 18px;
}

/* Settings View inside Modal */
.settings-group {
  margin-bottom: 16px;
}

.settings-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.settings-tabs-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  background: #F2ECE1;
  padding: 4px;
  border-radius: 14px;
}

.settings-tabs-row .tab-btn {
  flex: 1;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #6C584C;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-tabs-row .tab-btn.active {
  background: #FFFFFF;
  color: var(--kumon-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.settings-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-tab-panel.hidden {
  display: none !important;
}

.level-selector-row {
  display: flex;
  gap: 8px;
}

.sel-level-btn, .sel-maze-btn, .sel-words-group-btn {
  flex: 1;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid #D5C9B0;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sel-level-btn.active, .sel-maze-btn.active, .sel-words-group-btn.active {
  background: var(--kumon-blue);
  color: #FFFFFF;
  border-color: var(--kumon-blue);
}

.select-box {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid #D5C9B0;
  font-size: 14px;
  font-family: inherit;
}

.kiosk-action-btn {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 2px dashed var(--kumon-blue);
  background: #F0F8FF;
  color: var(--kumon-blue);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.settings-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.danger-btn {
  flex: 1;
  height: 44px;
  border-radius: 14px;
  background: #FFF0F0;
  color: var(--kumon-red);
  border: 2px solid var(--kumon-red);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.settings-actions .primary-btn {
  flex: 1;
  height: 44px;
  border-radius: 14px;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   STUDENT PROFILE & PROGRESS BAR (LOBBY & MODAL)
   ============================================================ */
.profile-card-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 2.5px solid #E6DCBE;
  border-radius: 22px;
  padding: 12px 20px;
  max-width: 820px;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.profile-avatar-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #FFF4D9;
  border: 2px solid #F4A261;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(244, 162, 97, 0.2);
}

.profile-info-text {
  flex: 1;
  text-align: left;
}

.profile-greeting {
  font-size: 18px;
  font-weight: 800;
  color: #003459;
  margin-bottom: 4px;
}

.profile-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F4EEDC;
  color: #5A6570;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.stat-pill b {
  color: #003459;
}

.btn-secondary-pill {
  background: #F0F8FF;
  border: 2px solid var(--kumon-blue);
  color: var(--kumon-blue);
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-secondary-pill:hover {
  background: var(--kumon-blue);
  color: #FFFFFF;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 26px;
  border: 3px solid #E6DCBE;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 480px;
  padding: 28px 24px;
  text-align: center;
  animation: fadeIn 0.2s ease-out;
}

.modal-card h2 {
  font-size: 22px;
  font-weight: 900;
  color: #003459;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 13px;
  color: #718096;
  margin-bottom: 18px;
}

.avatar-selection-grid {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.avatar-option-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px solid #E6DCBE;
  background: #FAF7EE;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.avatar-option-btn:hover {
  transform: scale(1.1);
}

.avatar-option-btn.selected {
  border-color: #007EA7;
  background: #EBF8FF;
  box-shadow: 0 0 0 3px rgba(0, 126, 167, 0.3);
  transform: scale(1.15);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 14px;
  border: 2px solid #D5C9B0;
  outline: none;
  text-align: center;
  margin-bottom: 18px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--kumon-blue);
  box-shadow: 0 0 0 3px rgba(0, 126, 167, 0.2);
}

.existing-profiles-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1.5px dashed #E6DCBE;
  text-align: left;
}

.existing-title {
  font-size: 12px;
  font-weight: 800;
  color: #718096;
  margin-bottom: 8px;
}

.profiles-list-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FAF7EE;
  border: 1.5px solid #DDD3BE;
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-chip:hover {
  background: #EBF8FF;
  border-color: var(--kumon-blue);
}

.profile-chip.active {
  background: #007EA7;
  color: #FFFFFF;
  border-color: #007EA7;
}

/* ============================================================
   KUMON KIDS - MENYUSUN HURUF (WORD BUILDER) VIEW
   ============================================================ */
#words-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 10;
  overflow: hidden;
}

#word-paper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 900px;
  max-height: 560px;
  background-color: #FDFAF2;
  border-radius: 24px;
  box-shadow: var(--paper-shadow);
  border: 2px solid #EADBCE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  box-sizing: border-box;
  background-image: 
    radial-gradient(circle, rgba(180, 160, 130, 0.15) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(230, 218, 200, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(230, 218, 200, 0.1) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 28px 28px;
}

.word-header-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.word-illustration-box {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  background: #FFFFFF;
  border: 2px solid #E6DCBE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.2s ease;
}

.word-illustration-box:hover {
  transform: scale(1.05);
}

.btn-speaker-bubble {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--kumon-blue);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.word-target-title {
  font-size: 26px;
  font-weight: 900;
  color: #003459;
  letter-spacing: 1px;
}

/* Slots Row (Target Kotak Kosong) */
.word-slots-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 12px 0;
  min-height: 72px;
  align-items: center;
}

.word-slot-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 3px solid #4A3E3D;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

/* Kotak Huruf Bantuan (Pre-filled Clue) */
.word-slot-box.prefilled {
  border: 3px solid #007EA7;
  background: #EAF4F8;
  box-shadow: 0 2px 6px rgba(0, 126, 167, 0.15);
}

.word-tile-placed.prefilled {
  background: transparent;
  color: #003459;
  cursor: default;
  box-shadow: none;
  animation: none;
}

/* Kotak Kosong yang Perlu Dilengkapi (Missing Slot) */
.word-slot-box.missing-slot {
  border: 3px dashed #8D7B68;
  background: #FFFDF9;
}

.word-slot-box.missing-slot.filled {
  border: 3px solid #2A9D8F;
  background: #FFFFFF;
}

.word-tile-placed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  background: #FFFFFF;
  color: #264653;
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  animation: popIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.word-tile-placed.correct {
  background: linear-gradient(135deg, #52B788, #2A9D8F);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.4);
}

/* Garis Gunting Putus-Putus Khas Lembar Kerja Kumon */
.word-cut-line {
  width: 100%;
  max-width: 680px;
  border-bottom: 2px dashed #B8A995;
  position: relative;
  margin: 6px 0 16px;
  text-align: center;
}

.cut-icon {
  position: absolute;
  top: -12px;
  left: 12px;
  background: #FDFAF2;
  padding: 0 6px;
  font-size: 16px;
}

/* Rack Kartu Huruf Acak di Bawah */
.word-tiles-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 72px;
  align-items: center;
  margin-bottom: 8px;
}

.word-tile-card {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 2.5px dashed #4A5568;
  background: #FFFFFF;
  color: #1A202C;
  font-size: 32px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s;
  user-select: none;
  touch-action: none;
}

.word-tile-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  background: #F0F9FF;
  border-color: var(--kumon-blue);
  color: var(--kumon-blue);
}

.word-tile-card:active {
  transform: scale(0.94);
}

/* Wobble wrong effect */
.wobble {
  animation: wobbleAnim 0.5s ease-in-out;
}

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


