:root {
  --maroon-900: #2a0505;
  --maroon-800: #3d0a0a;
  --saffron: #ff9933;
  --gold: #ffcf66;
  --gold-light: #fff1c1;
  --cream: #fff8e7;
  --font-deva: 'Tiro Devanagari Marathi', 'Mukta', 'Noto Sans Devanagari', serif;
  --font-ui: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body { height: 100%; }
body {
  min-height: 100dvh;
  font-family: var(--font-ui);
  color: var(--cream);
  background: var(--maroon-900);
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.shimmer {
  background: linear-gradient(90deg, #ffcf66 0%, #fff6d5 25%, #ffb347 50%, #fff6d5 75%, #ffcf66 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

/* ---------- Background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 30%, #8a2a0c 0%, #5a0f0f 40%, #2a0505 100%);
}
.bg-photo {
  position: absolute;
  inset: 0;
  background: url('swami.jpg') center 30% / cover no-repeat;
  opacity: .8;
  animation: kenBurns 40s ease-in-out infinite alternate;
  transition: opacity 1.2s ease;
}
/* Fade photo edges into the maroon theme */
.bg-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 38%, rgba(42, 5, 5, 0) 0%, rgba(42, 5, 5, .5) 60%, #2a0505 100%);
}
body.chanting .bg-photo { opacity: .2; }
.bg-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 140vmax;
  height: 140vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 170, 60, .35) 0%, rgba(255, 120, 30, .12) 25%, transparent 55%);
  animation: breathe 6s ease-in-out infinite;
}
.mandala {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%);
  opacity: .13;
  fill: none;
  stroke: var(--gold);
  stroke-width: .6;
  animation: spin 180s linear infinite;
}
.particles span {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3c4, #ffb347 60%, transparent 70%);
  opacity: 0;
  animation: rise linear infinite;
}

/* ---------- Buttons ---------- */
.btn-primary {
  padding: .9rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb347, #ff7a00 60%, #e85d04);
  color: var(--maroon-800);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 8px 30px rgba(255, 120, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .15s;
}
.btn-primary:active { transform: scale(.96); }
.btn-ghost {
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 207, 102, .6);
  color: var(--gold);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform .15s;
}
.btn-ghost:active { transform: scale(.96); }

/* ---------- Splash ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: .9rem;
  padding: 2rem 2rem calc(env(safe-area-inset-bottom) + 1.5rem);
  text-align: center;
  transition: opacity .8s ease, transform .8s ease;
}
/* Darken the lower half so text stays readable over the photo */
.splash::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 40%, rgba(42, 5, 5, .75) 62%, rgba(42, 5, 5, .95) 100%);
}
.splash.leave { opacity: 0; transform: scale(1.12); pointer-events: none; }
.splash-om {
  font-family: var(--font-deva);
  font-size: clamp(3rem, 16vw, 5rem);
  line-height: 1;
  color: var(--gold);
  animation: fadeUp 1.2s both, omGlow 3s ease-in-out infinite;
}
.splash-title {
  font-family: var(--font-deva);
  font-weight: 400;
  font-size: clamp(1.9rem, 8.5vw, 3rem);
  animation: fadeUp 1.2s .3s both, shimmer 4s linear infinite;
}
.splash-quote { font-size: 1.15rem; opacity: .9; animation: fadeUp 1.2s .6s both; }
.splash-resume {
  padding: .3rem 1rem;
  border-radius: 999px;
  background: rgba(255, 207, 102, .14);
  color: var(--gold-light);
  animation: fadeUp 1.2s .75s both;
}
.splash-btn { margin-top: .6rem; animation: fadeUp 1.2s .9s both, btnGlow 2.4s 2s ease-in-out infinite; }
.splash-hint { font-size: .9rem; opacity: .7; animation: fadeUp 1.2s 1.1s both; }
.photo-credit { font-size: .65rem; color: var(--gold-light); opacity: .45; text-decoration: none; }

/* ---------- App ---------- */
.app {
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + .75rem) 1rem calc(env(safe-area-inset-bottom) + .9rem);
  animation: fadeIn 1s ease both;
}
.topbar {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.title {
  flex: 1;
  text-align: center;
  font-family: var(--font-deva);
  font-weight: 400;
  font-size: clamp(1.15rem, 5.2vw, 1.8rem);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: .35rem .6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 207, 102, .18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.stat-label { font-size: .72rem; opacity: .8; }
.stat-value { font-size: 1.15rem; font-weight: 800; color: var(--gold); line-height: 1.2; }

/* ---------- Mala ---------- */
.mala-wrap {
  position: relative;
  width: min(88vw, 46dvh, 440px);
  aspect-ratio: 1;
  cursor: pointer;
  container-type: size;
  animation: malaIn 1.4s cubic-bezier(.2, .8, .2, 1) both, levitate 6s 1.4s ease-in-out infinite;
}
.mala { position: relative; width: 100%; height: 100%; overflow: visible; }
#beads {
  transform-origin: 200px 200px;
  transition: transform .5s cubic-bezier(.3, 1.4, .5, 1);
}
#beads.rewind { transition: transform 1.8s cubic-bezier(.6, 0, .2, 1); }
.thread { fill: none; stroke: rgba(255, 207, 102, .35); stroke-width: 1.2; }
.bead {
  fill: url(#gBead);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .35s ease;
}
.bead.done { fill: url(#gGold); }
.bead.active { transform: scale(1.7); filter: url(#glow); }
.meru { fill: url(#gMeru); filter: url(#glow); }
.tassel { fill: #ff7a00; }
.tassel-knot { fill: var(--gold); }
.progress-track { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 5; }
.progress-arc {
  fill: none;
  stroke: url(#gArc);
  stroke-width: 5;
  stroke-linecap: round;
  transition: stroke-dashoffset .5s cubic-bezier(.3, 1.4, .5, 1);
}
#beads.rewind .progress-arc { transition-duration: 1.8s; transition-timing-function: cubic-bezier(.6, 0, .2, 1); }
.pointer { fill: var(--gold); filter: url(#glow); }
.bead-burst {
  fill: none;
  stroke: #ffe08a;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.bead-burst.go { animation: beadBurst .7s .15s ease-out; }

.mala-center {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 7%;
  border: 2px solid rgba(255, 207, 102, .7);
  background:
    linear-gradient(to bottom, transparent 55%, rgba(42, 5, 5, .6) 70%, rgba(42, 5, 5, .92) 100%),
    url('swami.jpg') 50% 43% / 120% auto no-repeat,
    radial-gradient(circle, #8a2a0c, #3d0a0a);
  pointer-events: none;
}
.mala-center.flash { animation: halo .5s ease-out; }
.count-row { display: flex; align-items: baseline; gap: .25em; }
.count {
  display: inline-block;
  font-weight: 800;
  font-size: 2.3rem;
  font-size: 12cqw;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6), 0 0 24px rgba(255, 180, 60, .7);
}
.count.bump { animation: bump .35s ease-out; }
.count-total { font-size: 1rem; font-size: 4.5cqw; opacity: .9; }
.mala-no {
  margin-top: .15rem;
  padding: .05rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  background: rgba(255, 207, 102, .18);
  color: var(--gold-light);
}

.mantra-line {
  font-family: var(--font-deva);
  font-size: clamp(1.3rem, 6vw, 2rem);
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(255, 170, 60, .6);
}
.mantra-line span { display: inline-block; }
.mantra-line.glow span { animation: wordGlow .7s ease-out both; }
.mantra-line.glow span:nth-child(2) { animation-delay: .12s; }
.mantra-line.glow span:nth-child(3) { animation-delay: .24s; }

/* ---------- Tap button ---------- */
.tap-zone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.6rem, 6vw, 2.2rem);
}
.tap-btn {
  position: relative;
  width: min(36vw, 19dvh, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  background: radial-gradient(circle at 35% 30%, #ffd27a, #ff9933 45%, #d9480f 100%);
  color: var(--maroon-800);
  box-shadow:
    0 10px 30px rgba(255, 110, 0, .5),
    0 0 0 6px rgba(255, 207, 102, .18),
    inset 0 -6px 14px rgba(120, 20, 0, .45),
    inset 0 4px 10px rgba(255, 255, 255, .5);
  transition: transform .12s;
}
.tap-btn:active { transform: scale(.93); }
.tap-btn.pulse { animation: tapPulse .4s ease-out; }
.tap-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 207, 102, .6);
  pointer-events: none;
  animation: ring 2.4s ease-out infinite;
}
.tap-ring.r2 { animation-delay: 1.2s; }
.tap-text {
  font-family: var(--font-deva);
  font-size: clamp(1rem, 4.6vw, 1.35rem);
  line-height: 1.2;
  text-align: center;
}
.tap-hint { font-size: .72rem; font-weight: 600; opacity: .75; }

.float-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 2;
  pointer-events: none;
}
.float-text {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  font-family: var(--font-deva);
  font-size: 1.15rem;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(255, 160, 40, .9);
  animation: floatUp 1.8s ease-out forwards;
}
.spark {
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #ffcf66 50%, transparent 70%);
  animation: spark .7s ease-out forwards;
}

.shock {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 150px;
  margin: -75px;
  border-radius: 50%;
  border: 3px solid rgba(255, 207, 102, .8);
  animation: shock .7s ease-out forwards;
}

/* ---------- Divine light rays ---------- */
.halo { position: absolute; pointer-events: none; }
.halo.flare { animation: haloFlare .6s ease-out; }
.rays {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 120, .18) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 12%, transparent 68%);
  mask: radial-gradient(circle, #000 12%, transparent 68%);
  will-change: transform;
  animation: spinRays 60s linear infinite;
}
.mala-halo { inset: -45%; opacity: .8; }
.splash-om { position: relative; isolation: isolate; }
.splash-halo { left: 50%; top: 50%; width: 300%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -1; }
.splash-halo .rays { animation-duration: 30s; }
.complete-halo { left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; }
.complete-halo .rays { animation-duration: 40s; background: repeating-conic-gradient(from 0deg, rgba(255, 210, 120, .22) 0deg 6deg, transparent 6deg 14deg); }

/* ---------- Diyas ---------- */
.diya { position: relative; width: 46px; height: 74px; flex-shrink: 0; }
.diya::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 110px;
  height: 110px;
  margin-left: -55px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 50, .45), transparent 65%);
  animation: glowPulse 2.2s ease-in-out infinite alternate;
}
.diya.flare::before { animation: flare .6s ease-out; }
.diya .flame {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 16px;
  height: 34px;
  margin-left: -8px;
  border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
  background: radial-gradient(ellipse at 50% 80%, #fff 0%, #fff3b0 22%, #ffb703 48%, #ff6a00 78%, rgba(255, 80, 0, 0) 100%);
  transform-origin: 50% 100%;
  animation: flicker .9s ease-in-out infinite alternate;
}
.diya:last-child .flame { animation-duration: 1.15s; animation-delay: -.4s; }
.diya .lamp {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 22px;
  border-radius: 6px 6px 50% 50% / 6px 6px 100% 100%;
  background: radial-gradient(ellipse at 50% 0%, #ffcf66 0%, #c76a12 45%, #7a2e05 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}
.diya .lamp::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 4px;
  right: 4px;
  height: 7px;
  border-radius: 50%;
  background: #5a2205;
}

/* ---------- Ambient falling petals ---------- */
.petal-rain span {
  position: absolute;
  top: -30px;
  width: var(--s);
  height: calc(var(--s) * .6);
  border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, var(--c), #e85d04);
  opacity: 0;
  animation: petalFall var(--d) linear infinite;
  animation-delay: var(--delay);
}

/* ---------- Controls ---------- */
.controls { display: flex; gap: .6rem; }
.ctrl {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  font-size: .9rem;
  color: var(--gold-light);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 207, 102, .22);
  transition: opacity .2s;
}
.ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ctrl .slash { display: none; }
.ctrl[aria-pressed="false"] { opacity: .5; }
.ctrl[aria-pressed="false"] .slash { display: inline; }
.ctrl[aria-pressed="false"] .wave { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 4.6rem);
  z-index: 40;
  max-width: 92vw;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  background: rgba(40, 5, 5, .88);
  border: 1px solid rgba(255, 207, 102, .5);
  color: var(--gold-light);
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -20px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Completion ---------- */
.complete, .modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn .6s both;
}
.complete { background: radial-gradient(circle at 50% 40%, rgba(255, 150, 40, .35), rgba(30, 3, 3, .93) 70%); }
.modal { background: rgba(20, 2, 2, .7); }
.complete-card, .modal-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 207, 102, .16), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 207, 102, .4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 60px rgba(255, 150, 40, .25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: cardIn .8s cubic-bezier(.2, 1.2, .4, 1) both;
}
.complete-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: linear-gradient(160deg, rgba(110, 30, 10, .96), rgba(45, 6, 6, .97));
}
.complete-om {
  font-family: var(--font-deva);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
  animation: omGlow 2.5s ease-in-out infinite;
}
.complete h2 { font-family: var(--font-deva); font-weight: 400; font-size: 1.9rem; margin: .5rem 0; }
.complete-num { opacity: .9; }
.complete-num strong { color: var(--gold); font-size: 1.2rem; }
.blessing { line-height: 1.6; margin: 1rem 0 .5rem; }
.quote { font-family: var(--font-deva); color: var(--gold); font-size: 1.15rem; margin-bottom: 1.5rem; }
.complete-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; }

.modal-card {
  padding: 1.6rem 1.4rem;
  background: linear-gradient(160deg, rgba(110, 30, 10, .96), rgba(45, 6, 6, .97));
}
.modal-card p { font-size: 1.1rem; line-height: 1.5; margin-bottom: 1.3rem; }
.modal-actions { display: flex; justify-content: center; gap: .8rem; }

.petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

/* ---------- Keyframes ---------- */
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes breathe {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .6; }
  100% { transform: translate(var(--drift), -105vh); opacity: 0; }
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes omGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(255, 190, 80, .6), 0 0 50px rgba(255, 140, 0, .35); }
  50% { text-shadow: 0 0 35px rgba(255, 210, 120, .95), 0 0 90px rgba(255, 140, 0, .6); }
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 30px rgba(255, 120, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
  50% { box-shadow: 0 8px 50px rgba(255, 160, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
}
@keyframes malaIn { from { opacity: 0; transform: scale(.6) rotate(-120deg); } }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(255, 200, 100, .55); } 100% { box-shadow: 0 0 0 40px rgba(255, 200, 100, 0); } }
@keyframes wordGlow {
  40% { color: #fff; transform: translateY(-5px) scale(1.12); text-shadow: 0 0 18px #ffcf66, 0 0 36px #ff9933; }
}
@keyframes levitate { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes beadBurst { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes shock { from { transform: scale(.7); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }
@keyframes spinRays { to { transform: rotate(360deg); } }
@keyframes haloFlare { 35% { opacity: 1; filter: brightness(1.8); } }
@keyframes glowPulse { from { opacity: .7; transform: scale(.9); } to { opacity: 1; transform: scale(1.1); } }
@keyframes flare { 30% { opacity: 1; transform: scale(1.7); } }
@keyframes flicker {
  0% { transform: scale(1, 1) rotate(-2deg); }
  25% { transform: scale(.92, 1.08) rotate(2deg); }
  50% { transform: scale(1.05, .94) rotate(-1deg); }
  75% { transform: scale(.96, 1.1) rotate(3deg); }
  100% { transform: scale(1.02, .97) rotate(-3deg); }
}
@keyframes petalFall {
  0% { transform: translate(0, 0) rotate(0deg) rotateY(0deg); opacity: 0; }
  10% { opacity: .85; }
  25% { transform: translate(var(--sway), 27vh) rotate(110deg) rotateY(160deg); }
  50% { transform: translate(calc(var(--sway) * -1), 54vh) rotate(220deg) rotateY(320deg); }
  75% { transform: translate(var(--sway), 81vh) rotate(330deg) rotateY(480deg); }
  90% { opacity: .7; }
  100% { transform: translate(0, 110vh) rotate(440deg) rotateY(640deg); opacity: 0; }
}
@keyframes tapPulse { 40% { transform: scale(.9); } 70% { transform: scale(1.05); } }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes floatUp {
  0% { transform: translate(calc(-50% + var(--x)), 0) scale(.7); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--x)), -190px) scale(1.1); opacity: 0; }
}
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(.9); } }
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.12); } }

/* ---------- Responsive / a11y ---------- */
@media (max-height: 620px) {
  .ctrl span { display: none; }
  .diya { transform: scale(.8); }
  .stat { min-width: 56px; padding: .25rem .5rem; }
  .mala-no { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mandala, .bg-glow, .bg-photo, .tap-ring, .shimmer, .rays, .flame, .mala-wrap { animation: none; }
  .particles, .petal-rain { display: none; }
}
