/* ==========================================================================
   Starlight Christmas Filmstrip -> 3D Particle Christmas Tree
   Zero-dependency, mobile-first luxury starry night stylesheet
   ========================================================================== */

:root {
  --bg-deep: #040817;
  --gold: #ffe09a;
  --gold-soft: rgba(255, 224, 154, 0.72);
  --gold-faint: rgba(255, 224, 154, 0.22);
  --ice: #b8e4ff;
  --text-main: #fff9ee;
  --text-sub: rgba(235, 240, 255, 0.78);
  --glass-bg: rgba(11, 20, 46, 0.56);
  --glass-border: rgba(255, 226, 160, 0.26);
  --film-bg: rgba(8, 12, 26, 0.86);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

/* Fullscreen 3D Starlight Canvas */
#starlight-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  cursor: grab;
}

#starlight-canvas:active {
  cursor: grabbing;
}

#starlight-canvas.is-hovering-gift {
  cursor: pointer;
}

/* ==========================================================================
   Top Floating HUD (Progress Pill, Audio Toggle, Replay)
   ========================================================================== */
.top-hud {
  position: fixed;
  top: calc(14px + var(--safe-top));
  left: 16px;
  right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hud-left,
.hud-right {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--text-main);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hud-pill.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulseGlow 2.2s ease-in-out infinite;
}

.hud-count {
  color: var(--gold);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  min-width: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--gold);
  font-size: 11.5px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.25s ease, opacity 0.4s ease;
}

.icon-btn:hover {
  background: rgba(25, 42, 86, 0.72);
}

.icon-btn:active {
  transform: scale(0.93);
}

.icon-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 13px;
}

.music-bars span {
  width: 2px;
  background: var(--gold);
  border-radius: 2px;
  animation: soundBar 1.1s ease-in-out infinite;
}

.music-bars span:nth-child(1) { height: 5px; animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 11px; animation-delay: 0.2s; }
.music-bars span:nth-child(3) { height: 7px; animation-delay: 0.4s; }

.icon-btn.is-muted .music-bars span {
  animation: none;
  height: 2px;
  opacity: 0.45;
}

/* ==========================================================================
   Stage 1: Minimalist Starlight Opening Card
   ========================================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 45%, rgba(11, 22, 52, 0.42), rgba(3, 6, 20, 0.82));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s ease;
}

.intro-overlay.is-leaving {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.intro-card {
  position: relative;
  width: 100%;
  max-width: 356px;
  padding: 36px 26px 30px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(160deg, rgba(16, 28, 62, 0.78), rgba(8, 14, 34, 0.86));
  border: 1px solid rgba(255, 224, 154, 0.34);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 42px rgba(255, 214, 128, 0.12),
    inset 0 1px 0 rgba(255, 245, 215, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.intro-star {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(255, 224, 154, 0.85));
  animation: floatGentle 3.2s ease-in-out infinite;
}

.intro-badge {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  margin-bottom: 12px;
  font-weight: 500;
}

.intro-title {
  margin: 0 0 14px;
  font-family: Georgia, "Songti SC", "Noto Serif SC", "STSong", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fffaf0;
  text-shadow: 0 2px 18px rgba(255, 220, 140, 0.32);
}

.intro-subtitle {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--text-sub);
  white-space: pre-line;
}

.intro-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 176px;
  padding: 13px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe6a8 0%, #f1be66 55%, #e2a246 100%);
  color: #1c1205;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(240, 185, 90, 0.36),
    0 0 0 1px rgba(255, 245, 214, 0.6) inset;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.intro-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(245, 195, 102, 0.5);
}

.intro-btn:active {
  transform: scale(0.96);
}

.intro-sound-hint {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(215, 228, 255, 0.56);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Stage 2: Centered Hero 35mm Filmstrip Deck (1 Active + Right-Under Peek)
   ========================================================================== */
.filmstrip-stage {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(54px + var(--safe-top));
  padding-bottom: calc(24px + var(--safe-bottom));
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s ease;
}

.filmstrip-stage.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: none;
}

.filmstrip-stage.is-active .filmstrip-viewport {
  pointer-events: auto;
}

.filmstrip-stage.is-dissolving {
  opacity: 0;
  transform: translateY(-34px) scale(0.9);
  filter: blur(8px);
  pointer-events: none;
}

/* Central deck area where the hero film frame & overlapping next frame live */
.filmstrip-viewport {
  position: relative;
  width: 100%;
  height: min(56vh, 430px);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: grab;
  touch-action: none;
}

.filmstrip-viewport:active {
  cursor: grabbing;
}

/* Subtle continuous glowing 35mm filmstrip ribbon behind the stacked frames */
.filmstrip-viewport::before,
.filmstrip-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
  background-color: rgba(8, 13, 28, 0.62);
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 10px,
    rgba(255, 226, 160, 0.42) 10px,
    rgba(255, 226, 160, 0.42) 22px,
    transparent 22px,
    transparent 34px
  );
  background-position: var(--sprocket-offset, 0px) center;
  background-size: 34px 9px;
  background-repeat: repeat-x;
  border-top: 1px solid rgba(255, 224, 154, 0.28);
  border-bottom: 1px solid rgba(255, 224, 154, 0.28);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 18%, #000 50%, rgba(0, 0, 0, 0.85) 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 18%, #000 50%, rgba(0, 0, 0, 0.85) 84%, transparent 100%);
}

.filmstrip-viewport::before {
  top: 4px;
}

.filmstrip-viewport::after {
  bottom: 4px;
}

/* Deck container holding absolute-layered overlapping frames */
.filmstrip-track {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Individual Hero 35mm Photo Frame */
.film-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(64vw, 266px);
  height: min(49vh, 382px);
  min-height: 266px;
  margin-left: calc(min(64vw, 266px) * -0.5);
  margin-top: calc(min(49vh, 382px) * -0.5);
  border-radius: 16px;
  padding: 20px 10px 18px;
  background: linear-gradient(
    165deg,
    rgba(19, 28, 56, 0.94) 0%,
    rgba(9, 14, 32, 0.96) 52%,
    rgba(15, 23, 46, 0.94) 100%
  );
  border: 1.5px solid rgba(255, 226, 160, 0.52);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.62),
    0 0 32px rgba(255, 214, 128, 0.16),
    inset 0 1px 0 rgba(255, 245, 220, 0.32);
  display: flex;
  flex-direction: column;
  will-change: transform, opacity, filter;
  pointer-events: auto;
  transform-origin: center center;
}

/* Film sprocket notches along top & bottom of each individual frame */
.film-frame::before,
.film-frame::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 7px;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 228, 168, 0.42) 0px,
    rgba(255, 228, 168, 0.42) 10px,
    transparent 10px,
    transparent 20px
  );
  border-radius: 2px;
}

.film-frame::before {
  top: 6px;
}

.film-frame::after {
  bottom: 6px;
}

.film-frame.is-focused {
  border-color: rgba(255, 236, 178, 0.88);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.66),
    0 0 42px rgba(255, 218, 138, 0.28),
    inset 0 1px 0 rgba(255, 248, 225, 0.42);
}

.film-frame.is-under {
  border-color: rgba(255, 224, 154, 0.32);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 240, 200, 0.14);
}

.film-frame.is-transformed {
  pointer-events: none;
}

.film-photo-wrap {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 9px;
  overflow: hidden;
  background-color: #070c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft ambient blurred backdrop behind landscape/tall photos so nothing crops awkwardly */
.film-photo-bg {
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.45) saturate(1.15);
  transform: scale(1.1);
  pointer-events: none;
}

.film-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.film-frame-meta {
  width: 100%;
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 3px;
}

.film-frame-num {
  font-family: Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  flex-shrink: 0;
}

.film-frame-caption {
  font-size: 11.5px;
  color: rgba(245, 248, 255, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

/* Bottom hint & progress bar tucked cleanly below the centered hero deck */
.film-footer-hud {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.swipe-hint-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8, 16, 38, 0.62);
  border: 1px solid rgba(255, 224, 154, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.04em;
  animation: hintDrift 2.6s ease-in-out infinite;
  transition: opacity 0.45s ease;
}

.swipe-hint-bar.is-subtle {
  animation: none;
  opacity: 0.78;
  font-size: 11.5px;
  color: rgba(235, 240, 255, 0.78);
}

/* Progress micro bar under filmstrip */
.film-progress-track {
  width: min(240px, 64vw);
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.film-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #8fd8ff, #ffe09a, #ffcf7a);
  box-shadow: 0 0 10px rgba(255, 224, 154, 0.85);
  transition: width 0.25s ease;
}

/* ==========================================================================
   Stage 3: Finale Blessing Card & Rotation Hint
   ========================================================================== */
.finale-dock {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + var(--safe-bottom));
  z-index: 16;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.finale-dock.is-active {
  opacity: 1;
  transform: translateY(0);
}

.finale-rotate-hint {
  pointer-events: none;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(7, 14, 34, 0.56);
  border: 1px solid rgba(255, 224, 154, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-align: center;
}

.blessing-card {
  pointer-events: auto;
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(14, 24, 54, 0.74), rgba(7, 13, 32, 0.84));
  border: 1px solid rgba(255, 224, 154, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48), 0 0 26px rgba(255, 214, 130, 0.1);
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
}

.blessing-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: transparent;
  border: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.blessing-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blessing-badge {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
}

.blessing-title {
  margin: 0;
  font-family: Georgia, "Songti SC", "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff9ec;
  letter-spacing: 0.04em;
}

.blessing-toggle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 224, 154, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.blessing-card.is-collapsed .blessing-toggle-btn {
  transform: rotate(180deg);
}

.blessing-body {
  padding: 0 18px 16px;
  max-height: 220px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.35s ease;
}

.blessing-card.is-collapsed .blessing-body {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.blessing-message {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-sub);
  white-space: pre-line;
}

.blessing-signature {
  text-align: right;
  font-size: 12px;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Gift Unwrap Photo Modal
   ========================================================================== */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 7, 20, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.photo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.photo-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(16, 28, 60, 0.94), rgba(8, 14, 34, 0.96));
  border: 1px solid rgba(255, 224, 154, 0.4);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.68),
    0 0 38px rgba(255, 214, 130, 0.18);
  transform: scale(0.86) translateY(16px);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-modal.is-open .photo-modal-card {
  transform: scale(1) translateY(0);
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 224, 154, 0.14);
}

.modal-gift-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-family: Georgia, serif;
}

.modal-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 224, 154, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff8ea;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 224, 154, 0.2);
}

.modal-close-btn:active {
  transform: scale(0.9);
}

.modal-image-box {
  position: relative;
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 6, 18, 0.45);
  min-height: 220px;
}

.modal-image-box img {
  max-width: 100%;
  max-height: 58vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 228, 168, 0.22);
}

.modal-caption {
  padding: 12px 20px 6px;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: #fff8eb;
  letter-spacing: 0.03em;
}

.modal-caption.is-empty {
  display: none;
}

.modal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 14px;
  gap: 8px;
}

.modal-nav-btn {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 224, 154, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.modal-nav-btn:hover:not(:disabled) {
  background: rgba(255, 224, 154, 0.16);
}

.modal-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.modal-nav-hint {
  font-size: 11px;
  color: rgba(215, 226, 255, 0.56);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* ==========================================================================
   Responsive Desktop Adjustments
   ========================================================================== */
@media (min-width: 680px) {
  .filmstrip-viewport {
    height: min(60vh, 470px);
  }

  .film-frame {
    width: 300px;
    height: min(52vh, 418px);
    margin-left: -150px;
    margin-top: calc(min(52vh, 418px) * -0.5);
  }

  .intro-card {
    max-width: 400px;
    padding: 42px 34px 34px;
  }

  .intro-title {
    font-size: 29px;
  }

  .photo-modal-card {
    max-width: 520px;
  }
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes hintDrift {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-7px);
  }
}

@keyframes soundBar {
  0%, 100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1);
  }
}
