/* Wamdha Aquatic Preloader — Hardware-Accelerated Styles for Yalla R7la */
:root {
  --wamdha-bg: #041E3A;
  --wamdha-accent: #38BDF8;
  --wamdha-secondary: #0C4A6E;
  --wamdha-coral: #F472B6;
  --wamdha-text: #F0F9FF;
  --wamdha-logo-size: 250px;
  --wamdha-logo-anim-speed: 2.60s;
  --wamdha-tagline-size: 20px;
  --wamdha-tagline-color: #FFFFFF;
  --wamdha-tagline-color-2: #FACC15;
  --wamdha-sitename-size: 30px;
  --wamdha-sitename-color: #FACC15;
  --wamdha-sitename-color-2: #38BDF8;
  --wamdha-sitename-speed: 2.40s;
  --wamdha-url-size: 14px;
  --wamdha-url-color: #BAE6FD;
  --wamdha-exit-duration: 0.80s;
  --wamdha-progress-num: 0;
}

.wamdha-preloader-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wamdha-bg);
  color: var(--wamdha-text);
  overflow: hidden;
  transition: opacity var(--wamdha-exit-duration) cubic-bezier(0.22, 1, 0.36, 1),
              transform var(--wamdha-exit-duration) cubic-bezier(0.22, 1, 0.36, 1),
              filter var(--wamdha-exit-duration) cubic-bezier(0.22, 1, 0.36, 1),
              border-radius var(--wamdha-exit-duration) cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

/* Underwater Sunbeams Layer */
.wamdha-sunbeams-layer {
  position: absolute;
  top: -15%;
  left: 50%;
  width: 120%;
  height: 75%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 155deg at 50% 0%,
    transparent 0deg,
    color-mix(in srgb, var(--wamdha-accent) 20%, transparent) 12deg,
    transparent 24deg,
    color-mix(in srgb, var(--wamdha-coral) 20%, transparent) 36deg,
    transparent 48deg,
    color-mix(in srgb, var(--wamdha-accent) 16%, transparent) 60deg,
    transparent 74deg
  );
  pointer-events: none;
  z-index: 2;
  animation: wamdhaSunSway 4.6s ease-in-out infinite;
}

/* Rising Underwater Bubbles Layer */
.wamdha-bubbles-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.wamdha-bubbles-layer span {
  position: absolute;
  bottom: -24px;
  border-radius: 9999px;
  border: 1.5px solid var(--wamdha-accent);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.88),
    color-mix(in srgb, var(--wamdha-accent) 26%, transparent)
  );
  animation: wamdhaBubbleUp 3.6s ease-in infinite;
}
.wamdha-bubbles-layer .b1 { left: 12%; width: 14px; height: 14px; animation-duration: 3.2s; animation-delay: 0.1s; }
.wamdha-bubbles-layer .b2 { left: 22%; width: 9px; height: 9px; animation-duration: 2.7s; animation-delay: 0.8s; }
.wamdha-bubbles-layer .b3 { left: 31%; width: 18px; height: 18px; animation-duration: 3.9s; animation-delay: 0.3s; }
.wamdha-bubbles-layer .b4 { left: 42%; width: 10px; height: 10px; animation-duration: 3.1s; animation-delay: 1.2s; }
.wamdha-bubbles-layer .b5 { left: 58%; width: 12px; height: 12px; animation-duration: 2.9s; animation-delay: 0.5s; }
.wamdha-bubbles-layer .b6 { left: 68%; width: 19px; height: 19px; animation-duration: 4.1s; animation-delay: 0.2s; }
.wamdha-bubbles-layer .b7 { left: 77%; width: 11px; height: 11px; animation-duration: 3.3s; animation-delay: 1.0s; }
.wamdha-bubbles-layer .b8 { left: 86%; width: 15px; height: 15px; animation-duration: 3.6s; animation-delay: 0.4s; }
.wamdha-bubbles-layer .b9 { left: 18%; width: 7px; height: 7px; animation-duration: 2.5s; animation-delay: 1.5s; }
.wamdha-bubbles-layer .b10 { left: 82%; width: 8px; height: 8px; animation-duration: 2.6s; animation-delay: 1.3s; }

.wamdha-center-stage {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  max-width: 92vw;
  transition: opacity var(--wamdha-exit-duration) ease, transform var(--wamdha-exit-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.wamdha-shape-frame {
  position: relative;
  width: min(88vw, 72vh, calc(var(--wamdha-logo-size) + 84px));
  height: min(88vw, 72vh, calc(var(--wamdha-logo-size) + 84px));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.wamdha-ripple-ring {
  position: absolute;
  inset: 6px;
  border-radius: 9999px;
  border: 2px solid var(--wamdha-accent);
  pointer-events: none;
  animation: wamdhaRippleOut 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.wamdha-ripple-ring.wamdha-r2 {
  border-color: var(--wamdha-coral);
  animation-delay: 0.9s;
}

.wamdha-vortex-svg {
  position: absolute;
  inset: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  pointer-events: none;
  animation: wamdhaSpin 4.4s linear infinite;
}

.wamdha-logo-holder {
  position: relative;
  z-index: 3;
  width: min(80vw, 64vh, var(--wamdha-logo-size));
  height: min(80vw, 64vh, var(--wamdha-logo-size));
  display: flex;
  align-items: center;
  justify-content: center;
}

.wamdha-logo-motion {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wamdha-logo-motion.is-logo-anim-float_bob {
  animation: wamdhaAquaticFloat var(--wamdha-logo-anim-speed) ease-in-out infinite;
}
.wamdha-logo-motion.is-logo-anim-pulse {
  animation: wamdhaLogoPulse var(--wamdha-logo-anim-speed) ease-in-out infinite;
}
.wamdha-logo-motion.is-logo-anim-spin {
  animation: wamdhaLogoSpin var(--wamdha-logo-anim-speed) linear infinite;
}
.wamdha-logo-motion.is-logo-anim-slow_shake {
  animation: wamdhaLogoSlowShake var(--wamdha-logo-anim-speed) ease-in-out infinite;
}
.wamdha-logo-motion.is-logo-anim-zoom_in_out {
  animation: wamdhaLogoZoomInOut var(--wamdha-logo-anim-speed) ease-in-out infinite;
}
.wamdha-logo-motion.is-logo-anim-heartbeat {
  animation: wamdhaLogoHeartbeat var(--wamdha-logo-anim-speed) ease-in-out infinite;
}
.wamdha-logo-motion.is-logo-anim-flip_3d_coin {
  animation: wamdhaLogoFlip3DCoin var(--wamdha-logo-anim-speed) ease-in-out infinite;
}

.wamdha-logo-holder img,
.wamdha-logo-holder svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(2, 132, 199, 0.28));
}

.wamdha-ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Coral Ripples Shape */
.wamdha-shape-coral_ripples .wamdha-ornament-outer {
  border-radius: 9999px;
  border: 2.5px solid var(--wamdha-accent);
  animation: wamdhaRippleOut 2.2s ease-out infinite;
}
.wamdha-shape-coral_ripples .wamdha-ornament-inner {
  inset: 8px;
  border-radius: 9999px;
  border: 2px solid var(--wamdha-coral);
  animation: wamdhaRippleOut 2.2s ease-out 0.7s infinite;
}

/* Diving Porthole Shape */
.wamdha-shape-diving_porthole .wamdha-ornament-outer {
  border-radius: 9999px;
  border: 3px solid var(--wamdha-secondary);
  border-top-color: var(--wamdha-accent);
  border-bottom-color: var(--wamdha-coral);
  animation: wamdhaSpin 3.6s linear infinite;
}
.wamdha-shape-diving_porthole .wamdha-ornament-inner {
  inset: 10px;
  border-radius: 9999px;
  border: 1.5px dashed var(--wamdha-accent);
  animation: wamdhaSpinRev 5.4s linear infinite;
}

/* Orbital Pulse */
.wamdha-shape-orbital_pulse .wamdha-ornament-outer {
  border-radius: 9999px;
  border: 2px solid var(--wamdha-secondary);
  border-top-color: var(--wamdha-accent);
  animation: wamdhaSpin 2.4s linear infinite;
}
.wamdha-shape-orbital_pulse .wamdha-ornament-inner {
  inset: 12px;
  border-radius: 9999px;
  border: 1.5px dashed var(--wamdha-accent);
  opacity: 0.55;
  animation: wamdhaSpinRev 4.2s linear infinite;
}

/* Split Curtain */
.wamdha-curtain-panel { display: none; }
.wamdha-shape-split_curtain .wamdha-ornament-outer {
  border-radius: 9999px;
  border: 2px solid var(--wamdha-secondary);
}
.wamdha-shape-split_curtain .wamdha-ornament-inner {
  inset: 10px;
  border-radius: 9999px;
  border: 2px solid var(--wamdha-accent);
  animation: wamdhaPulse 2.2s ease-in-out infinite;
}

/* Shimmer Sweep */
.wamdha-shimmer-layer { display: none; }
.wamdha-shape-shimmer_sweep .wamdha-shimmer-layer {
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  overflow: hidden;
}
.wamdha-shape-shimmer_sweep .wamdha-shimmer-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--wamdha-accent), transparent);
  opacity: 0.28;
  animation: wamdhaSweep 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Gyro Rings */
.wamdha-shape-gyro_rings .wamdha-shape-frame { perspective: 600px; }
.wamdha-shape-gyro_rings .wamdha-ornament-outer {
  border-radius: 9999px;
  border: 2px solid var(--wamdha-accent);
  animation: wamdhaGyroA 3s linear infinite;
}
.wamdha-shape-gyro_rings .wamdha-ornament-inner {
  inset: 8px;
  border-radius: 9999px;
  border: 2px solid var(--wamdha-secondary);
  border-left-color: var(--wamdha-coral);
  animation: wamdhaGyroB 3.6s linear infinite;
}

/* Liquid Wave */
.wamdha-wave-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 120px;
  opacity: 0.22;
  pointer-events: none;
  animation: wamdhaWave 4s ease-in-out infinite;
}
.wamdha-wave-footer svg {
  width: 100%;
  height: 100%;
  fill: var(--wamdha-accent);
}

/* Iris Aperture */
.wamdha-shape-iris_aperture .wamdha-ornament-outer {
  border-radius: 9999px;
  border: 2px solid var(--wamdha-accent);
  animation: wamdhaPulse 2s ease-in-out infinite;
}

/* Stagger Columns */
.wamdha-stagger-grid { display: none; }
.wamdha-exit-mode-stagger_bars .wamdha-stagger-grid,
.wamdha-shape-stagger_columns .wamdha-stagger-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.wamdha-stagger-grid span {
  background-color: var(--wamdha-bg);
  border-left: 1px solid rgba(14, 165, 233, 0.08);
  transition: transform var(--wamdha-exit-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.wamdha-brand-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(92vw, 640px);
  padding: 0 8px;
}
.wamdha-brand-title-wrap.is-pos-below_tagline {
  margin-top: 10px;
}
.wamdha-brand-title-wrap.is-pos-above_tagline {
  margin-top: 14px;
}
.wamdha-brand-title-wrap.is-pos-below_logo {
  margin-top: 4px;
  margin-bottom: 10px;
}
.wamdha-brand-title-inner {
  display: inline-block;
  font-size: clamp(15px, 6.2vw, var(--wamdha-sitename-size));
  color: var(--wamdha-sitename-color);
  line-height: 1.3;
}
.wamdha-brand-title-inner.is-font-cairo { font-family: 'Cairo', system-ui, sans-serif; }
.wamdha-brand-title-inner.is-font-tajawal { font-family: 'Tajawal', system-ui, sans-serif; }
.wamdha-brand-title-inner.is-font-alexandria { font-family: 'Alexandria', system-ui, sans-serif; }
.wamdha-brand-title-inner.is-font-readex_pro { font-family: 'Readex Pro', system-ui, sans-serif; }
.wamdha-brand-title-inner.is-font-changa { font-family: 'Changa', system-ui, sans-serif; }
.wamdha-brand-title-inner.is-font-amiri { font-family: 'Amiri', Georgia, serif; }
.wamdha-brand-title-inner.is-font-ibm_plex_arabic { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }

.wamdha-brand-title-inner.is-weight-extralight { font-weight: 200; letter-spacing: 0.02em; }
.wamdha-brand-title-inner.is-weight-light { font-weight: 300; letter-spacing: 0.015em; }
.wamdha-brand-title-inner.is-weight-regular { font-weight: 400; }
.wamdha-brand-title-inner.is-weight-medium { font-weight: 500; }
.wamdha-brand-title-inner.is-weight-bold { font-weight: 700; }
.wamdha-brand-title-inner.is-weight-extrabold { font-weight: 800; letter-spacing: -0.01em; }
.wamdha-brand-title-inner.is-weight-black { font-weight: 900; letter-spacing: -0.015em; }

.wamdha-brand-title-inner.is-gradient {
  background: linear-gradient(90deg, var(--wamdha-sitename-color), var(--wamdha-sitename-color-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.wamdha-brand-title-inner.is-shimmer {
  background: linear-gradient(
    110deg,
    var(--wamdha-sitename-color) 18%,
    #ffffff 46%,
    var(--wamdha-sitename-color-2) 56%,
    var(--wamdha-sitename-color) 82%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: wamdhaSiteShimmer var(--wamdha-sitename-speed) linear infinite;
}

.wamdha-brand-title-wrap.is-style-three_d_extrude {
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.42)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.34));
}
.wamdha-brand-title-wrap.is-style-glow_aura {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--wamdha-sitename-color) 65%, transparent))
          drop-shadow(0 0 22px color-mix(in srgb, var(--wamdha-sitename-color-2) 48%, transparent));
}
.wamdha-brand-title-wrap.is-style-glass_plaque {
  padding: 7px 22px;
  border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, var(--wamdha-sitename-color) 48%, transparent);
  background: color-mix(in srgb, var(--wamdha-secondary) 44%, transparent);
  backdrop-filter: blur(8px);
}
.wamdha-title-underline-bar {
  display: block;
  height: 3.5px;
  width: 78%;
  margin: 5px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wamdha-sitename-color), var(--wamdha-sitename-color-2));
  animation: wamdhaUnderlineFlow var(--wamdha-sitename-speed) ease-in-out infinite;
}

.wamdha-brand-title-wrap.is-anim-wave_float { animation: wamdhaSiteWaveFloat var(--wamdha-sitename-speed) ease-in-out infinite; }
.wamdha-brand-title-wrap.is-anim-neon_pulse { animation: wamdhaSiteNeonPulse var(--wamdha-sitename-speed) ease-in-out infinite; }
.wamdha-brand-title-wrap.is-anim-pop_elastic { animation: wamdhaSitePopElastic var(--wamdha-sitename-speed) ease-in-out infinite; }
.wamdha-brand-title-wrap.is-anim-typewriter_reveal { animation: wamdhaSiteClipReveal var(--wamdha-sitename-speed) cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.wamdha-brand-title-wrap.is-anim-flip_3d { animation: wamdhaSiteFlip3D var(--wamdha-sitename-speed) ease-in-out infinite; }
.wamdha-brand-title-wrap.is-anim-water_ripple_scale { animation: wamdhaSiteRippleScale var(--wamdha-sitename-speed) ease-in-out infinite; }

.wamdha-brand-tagline {
  font-size: clamp(13px, 5vw, var(--wamdha-tagline-size));
  color: var(--wamdha-tagline-color);
  line-height: 1.45;
  max-width: min(90vw, 580px);
  margin-bottom: 16px;
}
.wamdha-brand-tagline.is-bold {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.wamdha-brand-tagline.is-bottom {
  margin-top: 14px;
  margin-bottom: 0;
}
.wamdha-brand-tagline.is-gradient {
  background: linear-gradient(90deg, var(--wamdha-tagline-color), var(--wamdha-tagline-color-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wamdha-website-url-wrap {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0.9;
  max-width: min(90vw, 560px);
}
.wamdha-website-url-line {
  width: 24px;
  height: 1px;
  border-radius: 999px;
  background-color: var(--wamdha-url-color);
  opacity: 0.35;
}
.wamdha-website-url-text {
  font-size: clamp(11px, 3.8vw, var(--wamdha-url-size));
  color: var(--wamdha-url-color);
  line-height: 1.35;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.wamdha-website-url-text.is-url-weight-extralight { font-weight: 200; }
.wamdha-website-url-text.is-url-weight-light { font-weight: 300; }
.wamdha-website-url-text.is-url-weight-regular { font-weight: 400; }
.wamdha-website-url-text.is-wide-tracking { letter-spacing: 0.16em; }

.wamdha-counter-subtext {
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  font-size: clamp(11px, 3.8vw, var(--wamdha-subtext-size, 13px));
  color: var(--wamdha-subtext-color, var(--wamdha-text));
  opacity: 0.92;
  text-align: center;
  max-width: min(90vw, 540px);
  margin-top: 8px;
  margin-bottom: 4px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.wamdha-counter-subtext.is-subtext-weight-extralight { font-weight: 200; }
.wamdha-counter-subtext.is-subtext-weight-light { font-weight: 300; }
.wamdha-counter-subtext.is-subtext-weight-regular { font-weight: 400; }

/* Enlarged Around-Logo & Lively Below-Logo Counter Styles */
.wamdha-around-counter-svg {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  z-index: 4;
  pointer-events: none;
}

.wamdha-orbit-boat-svg {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  z-index: 4;
  pointer-events: none;
}

.wamdha-ring-progress {
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--wamdha-progress-num));
  transition: stroke-dashoffset 0.08s linear;
}

.wamdha-ring-tip {
  transform-origin: 140px 140px;
  transform: rotate(calc(var(--wamdha-progress-num) * 3.6deg));
  transition: transform 0.08s linear;
}

.wamdha-orbit-carrier {
  transform-origin: 166px 166px;
  transform: rotate(calc(var(--wamdha-progress-num) * 3.6deg));
  transition: transform 0.08s linear;
}

.wamdha-swim-zone {
  width: min(86vw, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.wamdha-swim-zone.is-lively {
  width: min(88vw, 316px);
}

.wamdha-swim-track {
  position: relative;
  width: 100%;
  height: 44px;
}
.wamdha-swim-track.is-fish-lively { height: 56px; }
.wamdha-swim-track.is-octopus-lively { height: 60px; }
.wamdha-swim-track.is-boat-wave { height: 56px; }

.wamdha-swim-wake-line {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 10px;
  border-radius: 999px;
  background-color: var(--wamdha-secondary);
  opacity: 0.72;
  overflow: hidden;
}
.wamdha-swim-wake-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(var(--wamdha-progress-num) * 1%);
  background: linear-gradient(90deg, var(--wamdha-accent), var(--wamdha-coral));
  border-radius: 999px;
  transition: width 0.09s linear;
  overflow: hidden;
}
.wamdha-swim-wake-shimmer {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: wamdhaCurrentShimmer 1.35s linear infinite;
}

.wamdha-wave-bed-bg,
.wamdha-wave-bed-active {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 20px;
  overflow: hidden;
  border-radius: 6px;
  pointer-events: none;
}
.wamdha-wave-bed-bg {
  left: 0;
  opacity: 0.4;
}
.wamdha-wave-bed-active {
  width: calc(var(--wamdha-progress-num) * 1%);
  transition: width 0.09s linear;
}
.wamdha-wave-bed-bg svg,
.wamdha-wave-bed-active svg {
  width: 280px;
  height: 100%;
  animation: wamdhaWave 3.2s ease-in-out infinite;
}
.wamdha-wave-bed-bg svg { fill: var(--wamdha-secondary); width: 200%; }
.wamdha-wave-bed-active svg { fill: var(--wamdha-accent); opacity: 0.88; }

.wamdha-rtl-swimmer {
  position: absolute;
  top: 0;
  right: calc(var(--wamdha-progress-num) * (100% - 48px) / 100);
  width: 48px;
  height: 38px;
  z-index: 3;
  transition: right 0.09s linear;
  pointer-events: none;
}
.wamdha-rtl-swimmer.is-lively {
  right: calc(var(--wamdha-progress-num) * (100% - 64px) / 100);
  width: 64px;
  height: 44px;
}
.wamdha-rtl-swimmer.is-lively.is-octo {
  height: 48px;
}
.wamdha-rtl-swimmer.is-boat {
  height: 44px;
}
.wamdha-creature-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}
.wamdha-fish-anim {
  animation: wamdhaFishSwim 0.82s ease-in-out infinite;
}
.wamdha-fish-tail-lively {
  transform-origin: 36px 23px;
  animation: wamdhaFishTailLively 0.28s ease-in-out infinite;
}
.wamdha-fish-fin-flutter {
  transform-origin: 16px 24px;
  animation: wamdhaFishFinFlutter 0.32s ease-in-out infinite;
}
.wamdha-fish-dorsal-flex {
  transform-origin: 26px 22px;
  animation: wamdhaFishDorsalFlex 0.56s ease-in-out infinite;
}
.wamdha-octo-anim {
  animation: wamdhaOctoJet 0.92s cubic-bezier(0.36, 0, 0.24, 1) infinite;
}
.wamdha-octo-tent-a {
  transform-origin: 28px 22px;
  animation: wamdhaOctoTentWaveA 0.42s ease-in-out infinite;
}
.wamdha-octo-tent-b {
  transform-origin: 28px 24px;
  animation: wamdhaOctoTentWaveB 0.42s ease-in-out infinite;
}
.wamdha-octo-spot-pulse {
  animation: wamdhaOctoSpotPulse 0.8s ease-in-out infinite;
}
.wamdha-trail-b1 {
  transform-origin: 55px 17px;
  animation: wamdhaTrailBubble 0.72s ease-out infinite;
}
.wamdha-trail-b2 {
  transform-origin: 60px 26px;
  animation: wamdhaTrailBubble 0.78s ease-out 0.24s infinite;
}
.wamdha-trail-b3 {
  transform-origin: 62px 18px;
  animation: wamdhaTrailBubble 0.85s ease-out 0.46s infinite;
}
.wamdha-boat-anim {
  animation: wamdhaBoatBob 1.35s ease-in-out infinite;
}

.wamdha-sonar-tick {
  stroke: var(--wamdha-secondary);
  opacity: 0.32;
  transition: stroke 0.12s ease, opacity 0.12s ease;
}
.wamdha-sonar-tick.is-lit {
  stroke: var(--wamdha-accent);
  opacity: 1;
}
.wamdha-sonar-tick.is-coral.is-lit {
  stroke: var(--wamdha-coral);
  opacity: 1;
}

.wamdha-rim-percent {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  padding: 2px 10px;
  border-radius: 6px;
  background-color: var(--wamdha-bg);
  border: 1px solid var(--wamdha-accent);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wamdha-bubble-capsule {
  position: relative;
  width: 240px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid var(--wamdha-accent);
  background-color: var(--wamdha-secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.wamdha-capsule-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(var(--wamdha-progress-num) * 1%);
  background: linear-gradient(90deg, var(--wamdha-accent), var(--wamdha-coral));
  opacity: 0.82;
  transition: width 0.1s linear;
}
.wamdha-capsule-label,
.wamdha-capsule-pct {
  position: relative;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.wamdha-steps-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wamdha-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--wamdha-secondary);
  opacity: 0.45;
  transform: scale(0.9);
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.wamdha-step-dot.is-lit {
  background-color: var(--wamdha-accent);
  opacity: 1;
  transform: scale(1.12);
}
.wamdha-step-dot.is-coral.is-lit {
  background-color: var(--wamdha-coral);
}

.wamdha-big-typo-pct {
  font-size: 1.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.wamdha-typo-underline {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--wamdha-accent), var(--wamdha-coral));
  border-radius: 999px;
}

.wamdha-progress-zone {
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wamdha-progress-track {
  width: 100%;
  height: 5px;
  background-color: var(--wamdha-secondary);
  border-radius: 999px;
  overflow: hidden;
}

.wamdha-progress-fill {
  width: calc(var(--wamdha-progress-num) * 1%);
  height: 100%;
  background: linear-gradient(90deg, var(--wamdha-accent), var(--wamdha-coral));
  border-radius: 999px;
  transition: width 0.1s linear;
}

.wamdha-progress-percent {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  opacity: 0.88;
}

/* Fade-out & Exit Transitions */
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-gradual_fade {
  opacity: 0;
  pointer-events: none;
}
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-gradual_fade .wamdha-center-stage {
  opacity: 0;
  transform: scale(0.98);
}

.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-slide_down {
  transform: translateY(102%);
  border-top-left-radius: 36% 10%;
  border-top-right-radius: 36% 10%;
  pointer-events: none;
}
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-slide_down .wamdha-center-stage {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
}

.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-wave_surge_up {
  transform: translateY(-102%);
  border-bottom-left-radius: 40% 12%;
  border-bottom-right-radius: 40% 12%;
  pointer-events: none;
}
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-wave_surge_up .wamdha-center-stage {
  opacity: 0;
  transform: translateY(-18px) scale(0.96);
}

.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-blur_dissolve {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(12px);
  pointer-events: none;
}

.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-iris_open {
  opacity: 0;
  transform: scale(1.38);
  pointer-events: none;
}

.wamdha-exit-mode-split_horizontal { background-color: transparent !important; }
.wamdha-exit-mode-split_horizontal .wamdha-curtain-panel {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background-color: var(--wamdha-bg);
  z-index: 1;
  transition: transform var(--wamdha-exit-duration) cubic-bezier(0.22, 1, 0.36, 1);
}
.wamdha-exit-mode-split_horizontal .wamdha-curtain-left { left: 0; }
.wamdha-exit-mode-split_horizontal .wamdha-curtain-right { right: 0; }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-split_horizontal .wamdha-center-stage { opacity: 0; transform: scale(0.92); }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-split_horizontal .wamdha-curtain-left { transform: translateX(-102%); }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-split_horizontal .wamdha-curtain-right { transform: translateX(102%); }

.wamdha-exit-mode-stagger_bars { background-color: transparent !important; }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-stagger_bars .wamdha-center-stage { opacity: 0; transform: translateY(14px); }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-stagger_bars .wamdha-stagger-grid span:nth-child(1) { transform: translateY(102%); transition-delay: 0ms; }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-stagger_bars .wamdha-stagger-grid span:nth-child(2) { transform: translateY(102%); transition-delay: 55ms; }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-stagger_bars .wamdha-stagger-grid span:nth-child(3) { transform: translateY(102%); transition-delay: 110ms; }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-stagger_bars .wamdha-stagger-grid span:nth-child(4) { transform: translateY(102%); transition-delay: 165ms; }
.wamdha-preloader-overlay.is-exiting.wamdha-exit-mode-stagger_bars .wamdha-stagger-grid span:nth-child(5) { transform: translateY(102%); transition-delay: 220ms; }

@keyframes wamdhaSpin { to { transform: rotate(360deg); } }
@keyframes wamdhaSpinRev { to { transform: rotate(-360deg); } }
@keyframes wamdhaAquaticFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40% { transform: translateY(-6px) rotate(0.8deg); }
  75% { transform: translateY(-2px) rotate(-0.6deg); }
}
@keyframes wamdhaRippleOut {
  0% { transform: scale(0.9); opacity: 0.85; }
  80% { transform: scale(1.22); opacity: 0.12; }
  100% { transform: scale(1.28); opacity: 0; }
}
@keyframes wamdhaBubbleUp {
  0% { transform: translateY(20px) scale(0.6); opacity: 0; }
  20% { opacity: 0.75; }
  100% { transform: translateY(-85vh) scale(1.15); opacity: 0; }
}
@keyframes wamdhaSunSway {
  0%, 100% { transform: translateX(-50%) rotate(-3deg); opacity: 0.5; }
  50% { transform: translateX(-50%) rotate(3deg); opacity: 0.82; }
}
@keyframes wamdhaPulse { 0%, 100% { transform: scale(0.94); opacity: 0.55; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes wamdhaSweep { 0% { transform: translateX(-130%) skewX(-20deg); } 100% { transform: translateX(150%) skewX(-20deg); } }
@keyframes wamdhaWave { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-25%); } }
@keyframes wamdhaGyroA { 0% { transform: rotateX(62deg) rotateY(15deg) rotateZ(0deg); } 100% { transform: rotateX(62deg) rotateY(15deg) rotateZ(360deg); } }
@keyframes wamdhaGyroB { 0% { transform: rotateX(22deg) rotateY(64deg) rotateZ(360deg); } 100% { transform: rotateX(22deg) rotateY(64deg) rotateZ(0deg); } }
@keyframes wamdhaFishSwim {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  25% { transform: translateY(-4.5px) translateX(-1.5px) rotate(4deg); }
  50% { transform: translateY(0.5px) translateX(1px) rotate(-1deg); }
  75% { transform: translateY(4px) translateX(-1px) rotate(-4deg); }
}
@keyframes wamdhaFishTailLively {
  0%, 100% { transform: scaleX(1) rotate(0deg) skewY(0deg); }
  25% { transform: scaleX(0.84) rotate(7deg) skewY(6deg); }
  75% { transform: scaleX(0.86) rotate(-7deg) skewY(-6deg); }
}
@keyframes wamdhaFishFinFlutter {
  0%, 100% { transform: rotate(0deg) scaleY(1); }
  50% { transform: rotate(-16deg) scaleY(0.82); }
}
@keyframes wamdhaFishDorsalFlex {
  0%, 100% { transform: scaleY(1) skewX(0deg); }
  50% { transform: scaleY(1.07) skewX(-3deg); }
}
@keyframes wamdhaOctoJet {
  0%, 100% { transform: translateY(0) translateX(0) scaleX(1) scaleY(1) rotate(0deg); }
  30% { transform: translateY(-5px) translateX(-3px) scaleX(1.09) scaleY(0.91) rotate(3deg); }
  65% { transform: translateY(2.5px) translateX(1.5px) scaleX(0.94) scaleY(1.07) rotate(-2.5deg); }
}
@keyframes wamdhaOctoTentWaveA {
  0%, 100% { transform: rotate(0deg) scaleX(1) skewY(0deg); }
  50% { transform: rotate(6deg) scaleX(0.9) skewY(5deg); }
}
@keyframes wamdhaOctoTentWaveB {
  0%, 100% { transform: rotate(0deg) scaleX(0.92) skewY(0deg); }
  50% { transform: rotate(-6.5deg) scaleX(1.04) skewY(-5deg); }
}
@keyframes wamdhaOctoSpotPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
@keyframes wamdhaTrailBubble {
  0% { transform: translate(0, 0) scale(0.55); opacity: 0.95; }
  70% { opacity: 0.65; }
  100% { transform: translate(8px, -7px) scale(1.25); opacity: 0; }
}
@keyframes wamdhaCurrentShimmer {
  0% { transform: translateX(110%); }
  100% { transform: translateX(-110%); }
}
@keyframes wamdhaBoatBob {
  0%, 100% { transform: translateY(0) rotate(-2.5deg); }
  50% { transform: translateY(-3.5px) rotate(3deg); }
}
@keyframes wamdhaSiteShimmer {
  0% { background-position: 200% center; }
  100% { background-position: -40% center; }
}
@keyframes wamdhaSiteWaveFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-5px) rotate(0.7deg); }
  70% { transform: translateY(2px) rotate(-0.7deg); }
}
@keyframes wamdhaSiteNeonPulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.045); opacity: 1; }
}
@keyframes wamdhaSitePopElastic {
  0%, 100% { transform: scale(1) translateY(0); }
  25% { transform: scale(1.07, 0.95) translateY(-4px); }
  50% { transform: scale(0.98, 1.03) translateY(0); }
  75% { transform: scale(1.02, 0.99) translateY(-2px); }
}
@keyframes wamdhaSiteClipReveal {
  0% { clip-path: inset(0 48% 0 48%); opacity: 0.35; transform: scale(0.96); }
  45%, 85% { clip-path: inset(0 0% 0 0%); opacity: 1; transform: scale(1); }
  100% { clip-path: inset(0 0% 0 0%); opacity: 0.92; transform: scale(0.99); }
}
@keyframes wamdhaSiteFlip3D {
  0%, 100% { transform: perspective(520px) rotateX(0deg) rotateY(-5deg); }
  50% { transform: perspective(520px) rotateX(8deg) rotateY(5deg) translateY(-2px); }
}
@keyframes wamdhaSiteRippleScale {
  0%, 100% { transform: scaleX(1) scaleY(1); }
  50% { transform: scaleX(1.045) scaleY(0.975); }
}
@keyframes wamdhaUnderlineFlow {
  0%, 100% { transform: scaleX(0.72); opacity: 0.7; }
  50% { transform: scaleX(1); opacity: 1; }
}
@keyframes wamdhaLogoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 8px 20px rgba(56, 189, 248, 0.22)); }
  50% { transform: scale(1.075); filter: drop-shadow(0 12px 30px rgba(56, 189, 248, 0.48)); }
}
@keyframes wamdhaLogoSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes wamdhaLogoSlowShake {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  25% { transform: rotate(-4.5deg) translateX(-4px); }
  50% { transform: rotate(0deg) translateX(0); }
  75% { transform: rotate(4.5deg) translateX(4px); }
}
@keyframes wamdhaLogoZoomInOut {
  0%, 100% { transform: scale(0.91); }
  50% { transform: scale(1.1); }
}
@keyframes wamdhaLogoHeartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.09); }
  28% { transform: scale(0.99); }
  42% { transform: scale(1.07); }
  70% { transform: scale(1); }
}
@keyframes wamdhaLogoFlip3DCoin {
  0%, 100% { transform: perspective(700px) rotateY(0deg); }
  50% { transform: perspective(700px) rotateY(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wamdha-reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
