/* ============ Monster Quest design system ============ */
:root {
  --bg: #1b1340;
  --bg2: #2a1d5e;
  --card: #ffffff;
  --ink: #2d2350;
  --ink-soft: #6b6390;
  --purple: #7c4dff;
  --purple-dark: #4f2d8f;
  --yellow: #ffce3a;
  --orange: #ff8a3d;
  --green: #3ddc84;
  --green-dark: #19b46a;
  --red: #ff5b6a;
  --blue: #43b6ff;
  --fire: #ff6b4a;
  --water: #43b6ff;
  --leaf: #3ddc84;
  --rock: #c9a06b;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(0,0,0,.18);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Fredoka', 'Comic Sans MS', ui-rounded, system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #3b2a78 0%, var(--bg) 60%);
  color: #fff;
  overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
  touch-action: manipulation;
}

#app {
  max-width: 540px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--safe-top) + 10px) 14px calc(var(--safe-bottom) + 14px);
}

#fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }

button { font-family: inherit; border: none; cursor: pointer; }

/* ---------- generic UI ---------- */
.screen { display: flex; flex-direction: column; flex: 1; animation: screenIn .25s ease-out; }
@keyframes screenIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.btn {
  display: block; width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 20px; font-weight: 600;
  color: #fff; background: var(--purple);
  box-shadow: 0 5px 0 var(--purple-dark);
  transition: transform .08s, box-shadow .08s;
  text-align: center;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--purple-dark); }
.btn.green { background: var(--green); box-shadow: 0 5px 0 var(--green-dark); }
.btn.green:active { box-shadow: 0 1px 0 var(--green-dark); }
.btn.yellow { background: var(--yellow); box-shadow: 0 5px 0 #cf9e12; color: #5d4400; }
.btn.yellow:active { box-shadow: 0 1px 0 #cf9e12; }
.btn.ghost { background: rgba(255,255,255,.12); box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.btn.small { padding: 10px 16px; font-size: 16px; width: auto; display: inline-block; }
.btn:disabled { opacity: .45; pointer-events: none; }

.topbar {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 2px 12px;
}
.topbar .back {
  background: rgba(255,255,255,.14); color: #fff;
  width: 44px; height: 44px; border-radius: 14px; font-size: 22px; flex: none;
}
.topbar .title { font-size: 20px; font-weight: 600; flex: 1; text-align: center; }
.topbar .spacer { width: 44px; flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.14);
  border-radius: 999px; padding: 6px 12px;
  font-size: 15px; font-weight: 600;
}

/* ---------- home / map ---------- */
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 2px 10px; flex-wrap: wrap; }
.logo { font-size: 26px; font-weight: 700; letter-spacing: .5px; text-shadow: 0 3px 0 rgba(0,0,0,.3); }
.logo span { color: var(--yellow); }

.buddy-chip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 18px; padding: 8px 12px; margin-bottom: 12px;
  width: 100%;
}
.buddy-chip .face { font-size: 34px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.buddy-chip .info { flex: 1; min-width: 0; }
.buddy-chip .name { font-weight: 700; font-size: 16px; }
.buddy-chip .meta { font-size: 12px; color: #cfc6f2; }
.xpbar { height: 8px; background: rgba(0,0,0,.35); border-radius: 99px; margin-top: 4px; overflow: hidden; }
.xpbar > div { height: 100%; background: linear-gradient(90deg, var(--yellow), var(--orange)); border-radius: 99px; transition: width .4s; }

.world-card {
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 14px;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.world-card h2 { margin: 0 0 2px; font-size: 21px; display: flex; align-items: center; gap: 8px; }
.world-card .sub { font-size: 13px; opacity: .85; margin-bottom: 10px; }
.levels-row { display: flex; flex-wrap: wrap; gap: 9px; }
.lvl {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 19px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 0 rgba(0,0,0,.25);
  position: relative;
}
.lvl .stars { font-size: 8px; letter-spacing: 1px; line-height: 1; margin-top: 1px; color: #e8a400; }
.lvl.locked { background: rgba(0,0,0,.28); color: rgba(255,255,255,.55); box-shadow: none; }
.lvl.boss { width: 58px; height: 58px; font-size: 26px; background: linear-gradient(180deg,#ffe089,#ffb83d); }
.lvl.boss.locked { background: rgba(0,0,0,.28); filter: grayscale(1); }
.lvl:active:not(.locked) { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.25); }

.footer-nav { display: flex; gap: 10px; margin-top: 4px; }
.footer-nav .btn { font-size: 16px; padding: 13px 10px; }

/* ---------- question screen ---------- */
.q-progress { display: flex; gap: 5px; margin-bottom: 10px; }
.q-progress i { flex: 1; height: 9px; border-radius: 99px; background: rgba(255,255,255,.16); }
.q-progress i.done { background: var(--green); }
.q-progress i.now { background: var(--yellow); }

.q-card {
  background: var(--card); color: var(--ink);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
  flex: 1; display: flex; flex-direction: column;
  min-height: 0;
}
.q-prompt { font-size: 21px; font-weight: 600; text-align: center; margin: 2px 0 14px; line-height: 1.35; }
.q-prompt .big-emoji { font-size: 44px; display: block; margin-bottom: 6px; }
.q-visual { text-align: center; font-size: 36px; margin-bottom: 10px; line-height: 1.3; }
.q-zone { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }

.tts-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #efe9ff; color: var(--purple-dark);
  border-radius: 999px; padding: 8px 16px; font-size: 16px; font-weight: 600;
  margin: 0 auto 10px;
}

.streak-flame {
  position: absolute; top: -8px; right: 6px;
  font-size: 22px; font-weight: 700; color: var(--orange);
  animation: flamePop .3s ease-out;
}
@keyframes flamePop { from { transform: scale(.3); } to { transform: scale(1); } }

/* equation (numpad) */
.equation {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 38px; font-weight: 700; flex-wrap: wrap;
  margin: auto 0; padding: 14px 0; /* auto margins centre it in the free space above the keypad */
}
.equation .blank {
  min-width: 84px; padding: 4px 10px;
  border: 3px dashed var(--purple); border-radius: 14px;
  color: var(--purple); background: #f4efff;
  min-height: 58px; display: inline-flex; align-items: center; justify-content: center;
}
.equation .blank.filled { border-style: solid; }
.equation .frac { display: inline-flex; flex-direction: column; align-items: center; font-size: 26px; line-height: 1.1; }
.equation .frac b { border-bottom: 3px solid var(--ink); padding: 0 6px; }

.numpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.numpad button {
  padding: 14px 0; font-size: 26px; font-weight: 700;
  background: #f1edff; color: var(--ink);
  border-radius: 16px; box-shadow: 0 4px 0 #d4ccf0;
}
.numpad button:active { transform: translateY(3px); box-shadow: 0 1px 0 #d4ccf0; }
.numpad button.action { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); font-size: 20px; }
.numpad button.del { background: #ffe3e3; color: var(--red); box-shadow: 0 4px 0 #e8b8b8; font-size: 20px; }

/* MCQ */
.mcq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcq.single-col { grid-template-columns: 1fr; }
.mcq button {
  padding: 16px 10px; font-size: 19px; font-weight: 600;
  background: #f1edff; color: var(--ink);
  border-radius: 16px; box-shadow: 0 4px 0 #d4ccf0;
  min-height: 62px; line-height: 1.25;
}
.mcq button .opt-emoji { display: block; font-size: 34px; margin-bottom: 2px; }
.mcq button:active { transform: translateY(3px); box-shadow: 0 1px 0 #d4ccf0; }
.mcq button.correct { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); animation: pulse .35s; }
.mcq button.wrong { background: var(--red); color: #fff; box-shadow: 0 4px 0 #c23744; animation: shake .35s; }
.mcq button.dim { opacity: .35; pointer-events: none; }
.mcq button.arabic { font-size: 28px; min-height: 70px; }
@keyframes pulse { 50% { transform: scale(1.06); } }
@keyframes shake { 20% { transform: translateX(-6px);} 40% { transform: translateX(6px);} 60% { transform: translateX(-4px);} 80% { transform: translateX(4px);} }

/* order (tap-in-sequence) */
.order-slots { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; min-height: 56px; }
.order-slots .slot {
  min-width: 52px; height: 52px; padding: 0 8px;
  border: 3px dashed #c9bfe8; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: var(--ink);
  background: #faf8ff;
}
.order-slots .slot.filled { border-style: solid; border-color: var(--purple); background: #f1eaff; animation: pulse .25s; }
.order-pool { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.order-pool button {
  padding: 12px 14px; font-size: 18px; font-weight: 700;
  background: #fff3d6; color: #6b4d00;
  border-radius: 14px; box-shadow: 0 4px 0 #e3c97f;
}
.order-pool button:active { transform: translateY(3px); box-shadow: 0 1px 0 #e3c97f; }
.order-pool button.used { visibility: hidden; }
.order-pool button.wrongflash { animation: shake .35s; background: var(--red); color: #fff; }

/* bins */
.bins-item {
  text-align: center; font-size: 26px; font-weight: 700;
  background: #fff3d6; color: #6b4d00; border-radius: 16px;
  padding: 14px; margin-bottom: 14px;
  box-shadow: 0 4px 0 #e3c97f;
  animation: screenIn .25s;
}
.bins-item.arabic { font-size: 32px; }
.bins-row { display: grid; grid-template-columns: repeat(var(--bins-n, 2), 1fr); gap: 10px; }
.bins-row button {
  padding: 18px 8px; font-size: 17px; font-weight: 700;
  border-radius: 16px; min-height: 86px;
  background: #e8f6ff; color: #0b5e8f; box-shadow: 0 4px 0 #b3d9ee;
}
.bins-row button:nth-child(2) { background: #ffeede; color: #9c4a00; box-shadow: 0 4px 0 #ecc7a4; }
.bins-row button:nth-child(3) { background: #eaffe8; color: #1d7a14; box-shadow: 0 4px 0 #b6e2b0; }
.bins-row button .bin-emoji { display: block; font-size: 30px; }
.bins-row button:active { transform: translateY(3px); }
.bins-row button.correct { animation: pulse .3s; }
.bins-row button.wrong { animation: shake .35s; }
.bins-count { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* letter tiles */
.tiles-word { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.tiles-word .cell {
  width: 44px; height: 52px; border-radius: 12px;
  border: 3px solid #d6cdf2; background: #faf8ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: var(--ink);
}
.tiles-word .cell.given { background: #ece6ff; border-color: #b9a8ee; color: var(--purple-dark); }
.tiles-word .cell.typed { border-color: var(--purple); background: #f1eaff; animation: pulse .2s; }
.tiles-tray { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tiles-tray button {
  width: 52px; height: 56px; font-size: 25px; font-weight: 700;
  background: #fff3d6; color: #6b4d00;
  border-radius: 14px; box-shadow: 0 4px 0 #e3c97f;
}
.tiles-tray button:active { transform: translateY(3px); box-shadow: 0 1px 0 #e3c97f; }
.tiles-tray button.used { visibility: hidden; }
.tiles-tray button.wrongflash { animation: shake .35s; background: var(--red); color: #fff; }
.tiles-undo { margin: 12px auto 0; display: block; background: #ffe3e3; color: var(--red); border-radius: 99px; padding: 8px 18px; font-size: 15px; font-weight: 700; }

/* pair match */
.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.match-grid button {
  padding: 13px 8px; font-size: 17px; font-weight: 600;
  background: #f1edff; color: var(--ink);
  border-radius: 14px; box-shadow: 0 4px 0 #d4ccf0;
  min-height: 60px; line-height: 1.2;
}
.match-grid button .opt-emoji { display: block; font-size: 30px; }
.match-grid button.arabic { font-size: 24px; }
.match-grid button.sel { background: var(--yellow); color: #5d4400; box-shadow: 0 4px 0 #cf9e12; }
.match-grid button.matched { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark); opacity: .55; pointer-events: none; }
.match-grid button.wrongflash { animation: shake .35s; background: var(--red); color: #fff; }

/* ---------- feedback overlay ---------- */
.feedback {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(20, 12, 50, .82);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn .2s;
}
@keyframes fadeIn { from { opacity: 0; } }
.feedback .panel {
  background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 24px 20px;
  max-width: 420px; width: 100%; text-align: center;
  animation: popIn .3s cubic-bezier(.2, 1.6, .5, 1);
}
@keyframes popIn { from { transform: scale(.6); opacity: 0; } }
.feedback .big { font-size: 52px; line-height: 1; margin-bottom: 6px; }
.feedback h3 { margin: 0 0 6px; font-size: 24px; }
.feedback .explain { font-size: 17px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.4; }
.feedback .answer-reveal { font-size: 21px; font-weight: 700; color: var(--purple-dark); background: #f1eaff; border-radius: 14px; padding: 10px; margin-bottom: 14px; }

/* ---------- boss battle ---------- */
.boss-arena { background: linear-gradient(180deg, #341f6b, #1b1340); border-radius: var(--radius); padding: 14px 14px 10px; margin-bottom: 10px; position: relative; }
.boss-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.boss-face { font-size: 56px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.4)); transition: transform .15s; }
.boss-face.hit { animation: bossHit .4s; }
@keyframes bossHit { 20% { transform: translateX(-8px) rotate(-6deg); filter: drop-shadow(0 0 12px #fff); } 60% { transform: translateX(8px) rotate(5deg); } }
.buddy-face { font-size: 44px; transition: transform .15s; }
.buddy-face.attack { animation: buddyAtk .45s; }
@keyframes buddyAtk { 30% { transform: translateX(40px) scale(1.2) rotate(10deg); } }
.buddy-face.hurt { animation: shake .4s; }
.hpbar { height: 14px; background: rgba(0,0,0,.4); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.hpbar > div { height: 100%; background: linear-gradient(90deg, #ff5b6a, #ff8a3d); transition: width .5s; border-radius: 99px; }
.boss-name { font-size: 14px; font-weight: 700; text-align: center; }
.hearts { font-size: 20px; letter-spacing: 2px; }
.boss-vs { font-size: 18px; font-weight: 800; color: var(--yellow); }
.power-btn {
  position: absolute; right: 10px; bottom: -16px; z-index: 5;
  background: linear-gradient(180deg, #ffe089, #ffb83d); color: #5d4400;
  border-radius: 99px; padding: 9px 14px; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 0 #cf9e12;
}
.power-btn:disabled { filter: grayscale(1); opacity: .6; }
.timerbar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.15); margin: 14px 0 8px; overflow: hidden; }
.timerbar > div { height: 100%; background: var(--blue); border-radius: 99px; }
.type-tip { text-align: center; font-size: 12px; color: #cfc6f2; margin-top: 6px; }

/* ---------- celebration / hatch ---------- */
.celebrate { text-align: center; padding: 30px 10px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.celebrate h1 { font-size: 32px; margin: 8px 0; }
.celebrate .stars-big { font-size: 54px; letter-spacing: 6px; margin: 4px 0 10px; }
.celebrate .stars-big .off { opacity: .25; }
.egg {
  font-size: 110px; display: inline-block; margin: 12px auto;
  animation: eggWobble 1s infinite;
  cursor: pointer; filter: drop-shadow(0 8px 8px rgba(0,0,0,.4));
}
@keyframes eggWobble { 0%,100% { transform: rotate(-6deg);} 50% { transform: rotate(6deg);} }
.monster-reveal { font-size: 110px; display: inline-block; animation: revealJump .6s cubic-bezier(.2,1.8,.4,1); filter: drop-shadow(0 8px 10px rgba(0,0,0,.45)); }
@keyframes revealJump { from { transform: scale(.2) translateY(60px); opacity: 0; } }
.type-badge {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: 999px; padding: 5px 14px; font-size: 15px; font-weight: 700; color: #fff;
}
.type-badge.fire { background: var(--fire); }
.type-badge.water { background: var(--water); }
.type-badge.leaf { background: var(--leaf); color: #0c4a26; }
.type-badge.rock { background: var(--rock); color: #4a3413; }
.power-tag { font-size: 16px; color: #ffe089; margin-top: 8px; }

/* ---------- album ---------- */
.album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mon-card {
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.16);
  border-radius: 16px; padding: 10px 4px 6px; text-align: center; position: relative;
}
.mon-card .face { font-size: 38px; }
.mon-card.unknown .face { filter: brightness(0) opacity(.5); }
.mon-card .nm { font-size: 10px; font-weight: 600; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mon-card .stage-dots { font-size: 8px; color: var(--yellow); }
.mon-card.is-buddy { border-color: var(--yellow); background: rgba(255,206,58,.15); }
.mon-card .buddy-flag { position: absolute; top: -8px; right: -4px; font-size: 16px; }

.mon-detail { text-align: center; padding: 10px 0; }
.mon-detail .face { font-size: 96px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); }
.mon-detail .aura1 .face-wrap { box-shadow: 0 0 30px 6px rgba(255,255,255,.25); border-radius: 50%; }
.face-wrap { display: inline-block; padding: 14px; border-radius: 50%; }
.stage2 .face-wrap { background: radial-gradient(circle, rgba(192,222,255,.25), transparent 70%); }
.stage3 .face-wrap { background: radial-gradient(circle, rgba(255,206,58,.35), transparent 70%); }

/* ---------- parent corner ---------- */
.stat-row { background: rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.stat-row .lbl { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.stat-row .bar { height: 10px; background: rgba(0,0,0,.35); border-radius: 99px; overflow: hidden; }
.stat-row .bar > div { height: 100%; border-radius: 99px; }

/* ---------- splash screen ---------- */
.splash {
  position: fixed; inset: 0; z-index: 80;
  background: radial-gradient(900px 500px at 50% 20%, #3b2a78 0%, var(--bg) 65%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}
.splash .splash-mon {
  font-size: 110px; line-height: 1;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.45));
  animation: splashBounce 1.6s ease-in-out infinite;
}
@keyframes splashBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-22px) scale(1.05) rotate(-4deg); }
  60% { transform: translateY(0) scale(.97); }
}
.splash .logo { font-size: 40px; margin: 14px 0 4px; }
.splash .tagline { color: #cfc6f2; font-size: 15px; margin-bottom: 30px; }
.splash .loadbar {
  width: min(280px, 70vw); height: 16px;
  background: rgba(0,0,0,.4); border-radius: 99px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.15);
}
.splash .loadbar > div {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  border-radius: 99px; transition: width .25s ease-out;
}
.splash .loadmsg { font-size: 14px; color: #b9b0dd; margin-top: 12px; min-height: 20px; }
.splash .play-btn {
  margin-top: 26px; padding: 18px 56px;
  font-size: 26px; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 999px;
  box-shadow: 0 6px 0 var(--green-dark), 0 0 30px rgba(61,220,132,.45);
  animation: popIn .4s cubic-bezier(.2, 1.6, .5, 1), playPulse 1.5s ease-in-out .5s infinite;
}
@keyframes playPulse { 50% { transform: scale(1.06); box-shadow: 0 6px 0 var(--green-dark), 0 0 44px rgba(61,220,132,.7); } }
.splash .play-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--green-dark); }
.splash .welcome { font-size: 16px; color: var(--yellow); font-weight: 600; margin-top: 16px; }

/* confetti */
.confetti-bit { position: absolute; width: 10px; height: 10px; border-radius: 3px; animation: confFall linear forwards; }
@keyframes confFall {
  from { transform: translateY(-20px) rotate(0); opacity: 1; }
  to { transform: translateY(110vh) rotate(720deg); opacity: .8; }
}
.float-xp {
  position: fixed; z-index: 95; font-size: 22px; font-weight: 800; color: var(--yellow);
  text-shadow: 0 2px 0 rgba(0,0,0,.4); animation: floatUp 1s ease-out forwards; pointer-events: none;
}
@keyframes floatUp { to { transform: translateY(-70px); opacity: 0; } }

.arabic-text { direction: rtl; font-size: 30px; line-height: 1.7; }
.muted { color: #b9b0dd; font-size: 14px; text-align: center; }
.hidden { display: none !important; }
