/* ============================================================
   BUBBLES
   ============================================================ */

@keyframes stationPulse {
  0% { opacity: 0.6; r: 8; stroke-width: 2.5; }
  100% { opacity: 0; r: 50; stroke-width: 0.5; }
}

/* ===========================================
   SETUP — BUBBLES
   =========================================== */

.bubble-section {
  position: relative;
  height: 100vh;
  z-index: 3;
}

.bubble-sticky {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5vh 0 0;
}

.bubble-stage {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.bubble-svg {
  width: 100%;
  max-width: 1100px;
  height: 100%;
  max-height: 620px;
  overflow: visible;
}

.bubble {
  transform-box: fill-box;
  transform-origin: center;
}

.bubble-center {
  transition: transform 0.5s cubic-bezier(0.34, 1.6, 0.64, 1);
}

.bubble-section:not(.is-started) .bubble-center {
  animation: centerBreathe 2.5s ease-in-out infinite;
}

@keyframes centerBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.bubble-section.is-clicking .bubble-center {
  animation: centerSquish 0.6s cubic-bezier(0.34, 1.6, 0.64, 1);
}

@keyframes centerSquish {
  0%   { transform: scale(1); }
  20%  { transform: scale(0.85); }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.bubble-unit {
  transform-box: fill-box;
  transform-origin: center;
}

.bubble-unit.is-visible {
  animation-name: bubbleFloat;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes bubbleFloat {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(3px, -2px) scale(1.005); }
  50%  { transform: translate(-2px, 3px) scale(0.998); }
  75%  { transform: translate(-3px, -1px) scale(1.003); }
  100% { transform: translate(0, 0) scale(1); }
}

.bubble-unit-1.is-visible { animation-delay: 0s; animation-duration: 6.5s; }

.bubble-unit-2.is-visible { animation-delay: 1.4s; animation-duration: 7.2s; }

.bubble-unit-3.is-visible { animation-delay: 2.8s; animation-duration: 6.8s; }

.bubble-unit-4.is-visible { animation-delay: 0.7s; animation-duration: 7.4s; }

.bubble-unit-5.is-visible { animation-delay: 2.1s; animation-duration: 6.9s; }

.bubble-text-fo {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bubble-text-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.bubble-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.bubble-title {
  font-size: 22px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding: 0 14px;
}

.click-target {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 6;
  background: transparent;
}

.initial-caption {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  text-align: center;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.is-started .initial-caption {
  opacity: 0;
  pointer-events: none;
}

.init-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  border: 0.5px solid rgba(255,255,255,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #4F46E5;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(40,25,80,0.08);
  animation: hintBob 2.4s ease-in-out infinite;
}

.init-body {
  font-size: 16px;
  color: #444;
  line-height: 1.5;
  font-weight: 400;
}
