.bubble {
  animation: floatY 6.4s ease-in-out infinite;
  will-change: translate;
  filter: drop-shadow(0 0 0 rgba(240, 184, 74, 0));
  transition: filter .35s ease, z-index 0s;
}
.bubble:nth-child(3n) { animation-duration: 7.6s; animation-delay: -1.4s; }
.bubble:nth-child(3n+1) { animation-duration: 5.5s; animation-delay: -2.8s; }
.bubble:nth-child(3n+2) { animation-duration: 8.2s; animation-delay: -.7s; }
.bubble.lg { animation-duration: 8.8s; }
.bubble.thumb, .bubble.hero.thumb { animation: none; }
.bubble.hero {
  animation: floatY 7.2s ease-in-out infinite;
}
.bubble:hover {
  z-index: 14;
  filter: drop-shadow(0 0 18px rgba(240, 184, 74, .45));
}
.bubble:hover .ball { transform: scale(1.07); }
.bubble.thumb:hover { transform: none; filter: none; }

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  25% { translate: 8px -16px; }
  50% { translate: -6px -10px; }
  75% { translate: 10px -20px; }
}
.pano-world .bubble {
  animation: none !important;
  filter: none;
  will-change: transform;
}
.pano-world .bubble:hover { filter: none; }
.pano-world .bubble .ball {
  animation: none !important;
  filter: none !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  box-shadow: none;
  overflow: visible;
}
.pano-world .bubble .ball::after { display: none; }

.bubble .ball {
  position: relative;
  animation: glowBreath 4.8s ease-in-out infinite;
  transition: transform .35s ease;
}
.bubble .ball::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.7), transparent 38%),
    linear-gradient(120deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 62%);
  background-size: 100% 100%, 220% 100%;
  animation: shineSweep 5.6s ease-in-out infinite;
}
@keyframes shineSweep {
  0%, 100% { background-position: 0 0, 140% 0; opacity: .85; }
  50% { background-position: 0 0, -40% 0; opacity: 1; }
}
@keyframes glowBreath {
  0%, 100% { filter: drop-shadow(0 10px 16px rgba(80,50,10,.22)) drop-shadow(0 0 0 rgba(240,184,74,0)); }
  50% { filter: drop-shadow(0 14px 20px rgba(80,50,10,.28)) drop-shadow(0 0 16px rgba(240,184,74,.35)); }
}

.tabbar .plus-btn {
  animation: plusPulse 2.4s ease-in-out infinite;
}
@keyframes plusPulse {
  0%, 100% { box-shadow: 0 10px 22px rgba(224,122,40,.4); transform: scale(1); }
  50% { box-shadow: 0 12px 32px rgba(240,184,74,.7); transform: scale(1.06); }
}

.pub-orb {
  animation: floatY 5.2s ease-in-out infinite, plusPulse 2.6s ease-in-out infinite;
}

.fx-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.gate .fx-particles { position: absolute; inset: 0; z-index: 1; }
.plaza .fx-particles, .desk-main .fx-particles { z-index: 5; }
.phone.welcome .fx-particles, .phone.night .fx-particles,
.desktop.welcome .fx-particles, .desktop.night .fx-particles,
.app.welcome .fx-particles, .app.night .fx-particles { z-index: 3; }

.welcome-copy h1, .desk-welcome h1, .success-copy h1 {
  animation: titleGlow 3.6s ease-in-out infinite;
}
@keyframes titleGlow {
  0%, 100% { text-shadow: 0 8px 24px rgba(8,16,32,.45), 0 0 0 rgba(240,184,74,0); }
  50% { text-shadow: 0 8px 24px rgba(8,16,32,.45), 0 0 28px rgba(240,184,74,.55); }
}

.btn, .btn-w {
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover, .btn-w:hover, .desk-login:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn.off:hover, .btn:disabled:hover {
  transform: none;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .bubble, .bubble .ball, .bubble .ball::after, .tabbar .plus-btn, .pub-orb,
  .welcome-copy h1, .desk-welcome h1, .success-copy h1 {
    animation: none !important;
  }
}
