:root {
  --pink-200: #fccee8;
  --pink-300: #fda5d5;
  --pink-400: #fb64b6;
  --pink-500: #f6339a;
  --pink-600: #e30076;
  --purple-300: #d9b3ff;
  --purple-400: #c07eff;
  --purple-500: #ac4bff;
  --purple-600: #9810fa;
  --purple-950: #3c0366;
  --fuchsia-950: #4b004f;
  --rose-200: #ffccd3;
  --rose-400: #ff667f;
  --rose-500: #ff2357;
  --rose-600: #e70044;
  --rose-950: #4d0218;
  --green-500: #00c758;
  --emerald-600: #009767;
  --red-500: #fb2c36;
  --rose-600b: #e70044;
  --white: #ffffff;
  --black: #000000;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  overflow: hidden;
  background: var(--black);
  color: #ededed;
  font-family: "Shantell Sans", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  user-select: none;
}
button { font: inherit; }
.hidden { display: none !important; }
.app-shell {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(75, 0, 79, 0.3), rgba(0, 0, 0, 0.7), rgba(77, 2, 24, 0.4));
}
.background-grid, .background-glow, .rain-container, .floating-hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.background-grid {
  opacity: 0.1;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 40px 40px;
}
.glow-left { opacity: 0.2; filter: blur(120px); background-image: radial-gradient(circle at 20% 25%, rgba(75,0,79,.6), transparent 40%); }
.glow-right { opacity: 0.2; filter: blur(120px); background-image: radial-gradient(circle at 80% 80%, rgba(77,2,24,.6), transparent 40%); }
.glow-center { opacity: 0.1; filter: blur(140px); background-image: radial-gradient(circle at 50% 50%, rgba(80,0,92,.5), transparent 40%); }
.screen {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}
.screen.active { display: flex; opacity: 1; }
.stage-screen, .loader-screen, .forever-screen {
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wide { width: min(100%, 48rem); margin: 0 auto; }
.text-center { text-align: center; }
.gradient-text {
  background: linear-gradient(90deg, var(--pink-400), var(--purple-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loader-screen { background: linear-gradient(135deg, rgba(75,0,79,.05), rgba(77,2,24,.1)); }
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  width: min(100%, 30rem);
  margin: 0 auto;
  transform: translateY(-0.5rem);
}
.loader-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  line-height: 1.25;
  text-align: center;
}
.loader-dots { display: flex; gap: .5rem; }
.loader-dots span {
  width: 12px; height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-400), var(--purple-400));
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: .2s; }
.loader-dots span:nth-child(3) { animation-delay: .4s; }
.panda-container {
  width: min(100%, 18rem);
  height: 16.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panda {
  position: relative;
  width: 14rem;
  height: 14rem;
}
.panda-head {
  position: absolute;
  top: 4.25rem;
  left: 50%;
  z-index: 10;
  width: 11.75rem;
  height: 11.75rem;
  border: 3px solid #2d2d2d;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 5px 15px rgba(0,0,0,.16), inset 0 -8px 25px rgba(0,0,0,.06);
}
.ear, .eye-patch, .eye, .pupil, .nose, .mouth { position: absolute; }
.ear {
  z-index: 1;
  width: 3.9rem;
  height: 3.9rem;
  border: 2px solid #2e2e2e;
  border-radius: 50%;
  background: #232323;
  box-shadow: inset 0 -6px 12px rgba(255,255,255,.04), 0 0 0 1px rgba(255,255,255,.03);
}
.ear-left { top: 0.25rem; left: 1.55rem; }
.ear-right { top: 0.25rem; right: 1.55rem; }
.eye-patch {
  z-index: 5;
  width: 2.7rem;
  height: 3.9rem;
  border-radius: 50%;
  background: #222;
}
.eye-patch-left { top: 3.45rem; left: 2.1rem; transform: rotate(-6deg); }
.eye-patch-right { top: 3.45rem; right: 2.1rem; transform: rotate(6deg); }
.eye {
  z-index: 6;
  width: 1.1rem;
  height: 1.55rem;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.eye-left { top: 4.25rem; left: 2.75rem; }
.eye-right { top: 4.25rem; right: 2.75rem; }
.eyelid {
  position: absolute; width: 100%; height: 100%; transform-origin: top;
  border-radius: 80%; background: #222; animation: blink 5s ease-in-out infinite;
}
.pupil {
  top: 0.35rem;
  left: 0.3rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #000;
}
.nose {
  top: 7.15rem;
  left: 50%;
  width: 1.7rem;
  height: 1.35rem;
  border-radius: 45% 45% 55% 55%;
  background: #222;
  transform: translateX(-50%);
}
.mouth {
  top: 8.35rem;
  left: 50%;
  width: 2.6rem;
  height: 0.95rem;
  border-bottom: 2px solid #222;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
  animation: smile 5s ease-in-out infinite;
}
.stage-card {
  background: linear-gradient(90deg, rgba(60,3,102,.15), rgba(81,4,36,.2), rgba(75,0,79,.15));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246,51,154,.3);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}
.final-wrap {
  width: min(100%, 42rem);
  margin: 0 auto;
}
.round-illustration, .question-icon {
  display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; border-radius: 999px;
  backdrop-filter: blur(8px);
}
.round-illustration {
  width: 9rem; height: 9rem; border: 2px solid rgba(251,100,182,.3);
  background: linear-gradient(135deg, rgba(172,75,255,.2), rgba(255,35,87,.2));
}
.round-illustration img { max-width: 100%; max-height: 100%; }
.question-icon {
  width: 6rem; height: 6rem; border: 2px solid rgba(192,126,255,.4);
  background: linear-gradient(135deg, rgba(246,51,154,.2), rgba(172,75,255,.2));
}
.heart-symbol { color: var(--purple-500); font-size: 3rem; line-height: 1; }
.hero-title, .question-title, .balloon-title, .proposal-title, .message-title {
  margin: 0 0 1.5rem; line-height: 1.25; font-weight: 600;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  background: linear-gradient(90deg, var(--pink-300), var(--purple-300), #f2a9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy, .question-copy, .balloon-subtitle, .photos-subtitle, .photos-footer p, .balloon-footer p { margin: 0 0 2rem; }
.hero-copy { color: rgba(252,206,232,.7); font-size: clamp(1.25rem, 3vw, 1.5rem); }
.question-title { font-size: clamp(2.5rem, 5vw, 3.75rem); color: var(--white); text-shadow: 0 0 5px rgba(255,255,255,.6); }
.question-copy { color: rgba(233,213,255,.8); font-size: clamp(1.25rem, 3vw, 1.5rem); }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.primary-button, .yes-button, .no-button, .message-trigger {
  border: 0; cursor: pointer; transition: transform .3s ease, filter .3s ease;
}
.primary-button:hover, .yes-button:hover, .no-button:hover, .message-trigger:hover { transform: scale(1.05); }
.primary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: 1rem 2rem; border-radius: 999px; color: var(--white); font-size: 1.125rem; font-weight: 600;
  background: linear-gradient(90deg, var(--pink-500), var(--purple-600));
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 0 30px rgba(236,72,153,.4);
}
.yes-button, .no-button {
  padding: 1rem 2rem; border-radius: 999px; color: var(--white); font-weight: 600; font-size: 1.125rem;
}
.yes-button { background: linear-gradient(90deg, var(--green-500), var(--emerald-600)); }
.no-button { background: linear-gradient(90deg, var(--red-500), var(--rose-600)); }
.balloons-screen {
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  min-height: 100vh;
}
.balloon-copy {
  width: min(100%, 42rem);
  margin: 0 auto;
  padding-inline: 0.5rem;
}
.balloon-title {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  background: linear-gradient(90deg, var(--purple-400), var(--rose-400), #ec6cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 18rem;
  margin-inline: auto;
  text-wrap: balance;
}
.balloon-subtitle {
  color: rgba(252,206,232,.8);
  font-size: 1.125rem;
  font-style: italic;
  max-width: 17rem;
  margin-inline: auto;
  line-height: 1.45;
  text-wrap: balance;
}
.balloon-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  width: min(100%, 40rem);
  min-height: 14rem;
  margin: 0 auto;
}
.balloon-item {
  position: relative;
  flex: 0 1 9rem;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(3rem) scale(0.82);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.balloon-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.balloon-item.floating {
  animation: balloon-bob 3.5s ease-in-out infinite;
}
.balloon-one {
  margin-bottom: 2.8rem;
}
.balloon-two {
  margin-bottom: 0.9rem;
}
.balloon-three {
  margin-bottom: 2.8rem;
}
.balloon-heart { width: 7rem; height: 7rem; filter: drop-shadow(0 0 6px rgba(236,72,153,.6)); }
.fill-pink { fill: rgba(246,51,154,.5); }
.fill-rose { fill: rgba(255,35,87,.5); }
.fill-purple { fill: rgba(172,75,255,.5); }
.balloon-item span {
  position: absolute; z-index: 2; color: var(--white); font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700; text-shadow: 0 0 5px rgba(255,255,255,.3);
}
.balloon-string { position: absolute; top: 87.6%; left: 50%; transform: translateX(-50%); width: 2px; height: 100px; }
.balloon-string path { stroke: rgba(255,255,255,.15); stroke-width: 1.5; fill: none; }
.balloon-footer {
  width: min(100%, 24rem);
  margin: 0 auto;
  text-align: center;
  transform: translateY(50px) scale(.8);
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}
.balloon-footer.visible { opacity: 1; transform: translateY(0) scale(1); }
.balloon-footer p, .photos-footer p { color: rgba(253,165,213,.8); font-size: .875rem; animation: gentle-pulse 2s ease-in-out infinite; }
.balloon-footer p {
  margin-bottom: 0.9rem;
}
.delayed-button { pointer-events: none; opacity: 0; animation: fadeInButton 1s ease forwards 0s; }
.balloon-footer.visible .delayed-button { pointer-events: auto; }
.photos-title { font-size: clamp(1.5rem, 4vw, 1.875rem); margin: 0 0 1rem; }
.photos-copy {
  width: min(100%, 34rem);
  margin: 0 auto 0.75rem;
  padding-inline: 0.75rem;
}
.photos-subtitle {
  color: var(--rose-200);
  font-size: 1.125rem;
  font-style: italic;
  max-width: 22rem;
  margin-inline: auto;
  line-height: 1.45;
  text-wrap: balance;
}
.photo-swiper {
  width: min(100%, 64rem);
  padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  padding-bottom: 3rem;
}
.memory-card {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  background: linear-gradient(135deg, rgba(246,51,154,.12), rgba(172,75,255,.14));
}
.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: .5rem;
  border-radius: 1rem;
  display: block;
}
.memory-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(251,100,182,.4); font-size: 4rem;
}
.photos-footer {
  width: min(100%, 24rem);
  margin: 2.5rem auto 0;
}
.message-box {
  width: min(100%, 40rem);
  margin: 0 auto;
}
.message-gif-wrap { margin-bottom: 2rem; display: flex; justify-content: center; animation: wobble 3s ease-in-out infinite; }
.message-gif { width: 7rem; }
.message-title { font-size: clamp(1.875rem, 4vw, 2.25rem); color: var(--pink-200); }
.message-title span { color: var(--pink-400); font-weight: 700; }
.message-trigger {
  width: min(100%, 21rem); margin: 0 auto; padding: 2rem; border-radius: 1.5rem; color: var(--pink-300);
  background: linear-gradient(90deg, rgba(60,3,102,.15), rgba(81,4,36,.2), rgba(75,0,79,.15));
  border: 1px solid rgba(246,51,154,.3); box-shadow: 0 0 10px rgba(236,72,153,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.message-trigger-icon { margin: 0 auto 1rem; color: var(--pink-500); font-size: 3rem; animation: pulse-icon 2s ease-in-out infinite; }
.message-trigger p { margin: 0; font-size: 1.125rem; }
.typed-scroll {
  height: 20rem; overflow-y: auto; padding-right: .625rem; text-align: left;
  scrollbar-width: thin; scrollbar-color: rgba(236,72,153,.3) transparent;
}
.typed-text { color: var(--pink-200); line-height: 1.625; white-space: pre-line; }
.typed-cursor { color: var(--pink-400); animation: blink-caret .8s infinite; }
.proposal-box {
  width: min(100%, 28rem);
  margin: 2.5rem auto 0;
}
.proposal-title { margin-bottom: 2rem; font-size: clamp(1.5rem, 4vw, 1.875rem); animation: text-glow 2s ease-in-out infinite; }
.forever-button { animation: button-glow 2s ease-in-out infinite; }
.forever-screen {
  background: linear-gradient(135deg, rgba(77,2,24,.8), rgba(0,0,0,.95), rgba(75,0,79,.8));
  backdrop-filter: blur(64px);
}
.forever-card {
  width: min(100%, 28rem);
  padding: 1.5rem;
  margin: 0 auto;
}
.forever-heart-wrap { position: relative; width: 8rem; height: 8rem; margin: 0 auto 2rem; }
.split-heart, .full-heart {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 8rem; line-height: 1; color: var(--pink-500);
}
.left-half { clip-path: inset(0 50% 0 0); transform: translateX(-45px) rotate(-35deg); animation: merge-left 1.5s ease-in-out forwards; }
.right-half { clip-path: inset(0 0 0 50%); transform: translateX(45px) rotate(35deg); animation: merge-right 1.5s ease-in-out forwards; }
.full-heart {
  opacity: 0; transform: scale(0); text-shadow: 0 0 15px rgba(236,72,153,.7);
  animation: heart-reveal 1.5s ease-in-out 1.8s forwards, pulse-icon 1.5s ease-in-out 2.3s infinite;
}
.forever-copy h1 { margin: 0 0 .5rem; font-size: clamp(1.875rem, 4vw, 2.25rem); line-height: 1.25; font-weight: 700; }
.forever-copy p { margin: 0; color: var(--pink-300); font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 600; animation: text-glow 2s ease-in-out infinite; }
.floating-heart {
  position: absolute; color: rgba(251,100,182,.4); font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(236,72,153,.6)); animation: floating-heart 5s ease-in-out infinite;
}
.rain-container { left: -1rem; width: 120vw; rotate: 4deg; z-index: 6; }
.rain-drop {
  position: absolute; width: 1.5px; height: 30px; border-radius: 1px;
  background: linear-gradient(transparent, rgba(255,145,200,.25));
}
.photo-swiper .swiper-slide {
  width: min(78vw, 300px);
  aspect-ratio: 3 / 4;
  height: auto;
}
.photo-swiper .swiper-pagination-bullet { background: rgba(168,85,247,.5); opacity: .7; }
.photo-swiper .swiper-pagination-bullet-active { background: #a855f7; opacity: 1; }
.photo-swiper .swiper-button-next, .photo-swiper .swiper-button-prev {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.4); color: #cc9bfa; backdrop-filter: blur(10px);
}
.photo-swiper .swiper-button-next::after, .photo-swiper .swiper-button-prev::after { font-size: 18px; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(236,72,153,.3); }
::-webkit-scrollbar-thumb:hover { background: rgba(236,72,153,.5); }
.pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }
.glow-effect { animation: glow 2s ease-in-out infinite; }
.heartbeat-animation { animation: heartbeat 1.5s ease-in-out infinite; }
@keyframes blink { 0%,30% { transform: scaleY(1); } 35%,65% { transform: scaleY(0); } 70%,100% { transform: scaleY(1); } }
@keyframes smile { 0%,30% { width: 40px; left: 80px; } 35%,65% { width: 60px; left: 70px; } 70%,100% { width: 40px; left: 80px; } }
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.5); opacity: 1; } }
@keyframes glow { 0%,100% { box-shadow: 0 0 20px rgba(236,72,153,.4); } 50% { box-shadow: 0 0 40px rgba(236,72,153,.8); } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 15px rgba(236,72,153,.3), 0 0 30px rgba(147,51,234,.2); } 50% { box-shadow: 0 0 25px rgba(236,72,153,.6), 0 0 50px rgba(147,51,234,.4); } }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes wobble { 0%,100% { transform: rotate(0deg) scale(1); } 33% { transform: rotate(5deg) scale(1.05); } 66% { transform: rotate(-5deg) scale(1); } }
@keyframes balloon-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@keyframes gentle-pulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes fadeInButton { to { opacity: 1; pointer-events: auto; } }
@keyframes blink-caret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes text-glow { 0%,100% { text-shadow: 0 0 8px rgba(236,72,153,.6); } 50% { text-shadow: 0 0 15px rgba(236,72,153,.8); } }
@keyframes button-glow { 0%,100% { box-shadow: 0 0 10px rgba(236,72,153,.6); } 50% { box-shadow: 0 0 20px rgba(236,72,153,.8); } }
@keyframes floating-heart { 0%,100% { transform: translate(0,-20px) rotate(0deg); opacity: .3; } 50% { transform: translate(10px,-40px) rotate(5deg); opacity: .8; } }
@keyframes rain { 0% { opacity: 0; transform: translateY(-100vh) translateX(0); } 10%,90% { opacity: 1; } 100% { opacity: 0; transform: translateY(100vh) translateX(100px); } }
@keyframes merge-left { to { transform: translateX(1px) rotate(0deg); } }
@keyframes merge-right { to { transform: translateX(0) rotate(0deg); } }
@keyframes heart-reveal { to { opacity: 1; transform: scale(1); } }
@keyframes pulse-icon { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@media (max-width: 768px) {
  #screen-photos.stage-screen {
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
  }

  .loader-content {
    gap: 1.15rem;
    transform: translateY(-0.15rem);
  }

  .panda-container {
    width: min(100%, 15rem);
    height: 13.75rem;
  }

  .panda {
    width: 12rem;
    height: 12rem;
  }

  .panda-head {
    top: 3.6rem;
    width: 10rem;
    height: 10rem;
  }

  .ear {
    width: 3.35rem;
    height: 3.35rem;
  }

  .ear-left {
    left: 1.35rem;
  }

  .ear-right {
    right: 1.35rem;
  }

  .eye-patch {
    width: 2.3rem;
    height: 3.3rem;
  }

  .eye-patch-left {
    top: 2.95rem;
    left: 1.7rem;
  }

  .eye-patch-right {
    top: 2.95rem;
    right: 1.7rem;
  }

  .eye {
    width: 0.95rem;
    height: 1.35rem;
  }

  .eye-left {
    top: 3.6rem;
    left: 2.2rem;
  }

  .eye-right {
    top: 3.6rem;
    right: 2.2rem;
  }

  .pupil {
    width: 0.42rem;
    height: 0.42rem;
  }

  .nose {
    top: 6.15rem;
    width: 1.45rem;
    height: 1.15rem;
  }

  .mouth {
    top: 7.15rem;
    width: 2.2rem;
    height: 0.8rem;
  }

  .loader-title {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .photo-swiper .swiper-slide { width: min(68vw, 236px); }
  .balloon-grid {
    width: min(100%, 22rem);
    min-height: 11rem;
    gap: 0.35rem;
  }
  .balloon-item {
    flex-basis: 5.9rem;
  }
  .balloon-one {
    margin-bottom: 1.8rem;
  }
  .balloon-two {
    margin-bottom: 0.2rem;
  }
  .balloon-three {
    margin-bottom: 1.8rem;
  }
  .balloon-heart { width: 4.8rem; height: 4.8rem; }
  .balloon-item span { font-size: 1rem; }
  .stage-card { padding: 1.5rem; }
  .hero-title,
  .question-title {
    margin-bottom: 1rem;
  }

  .hero-copy,
  .question-copy {
    margin-bottom: 1.5rem;
  }

  .button-row {
    gap: 0.875rem;
  }

  .yes-button,
  .no-button,
  .primary-button {
    width: 100%;
    max-width: 20rem;
  }

  .message-trigger {
    width: 100%;
    padding: 1.5rem;
  }

  .typed-scroll {
    height: 16rem;
  }

  .proposal-box {
    margin-top: 1.75rem;
  }

  .photos-copy,
  .balloon-copy {
    width: min(100%, 22rem);
  }

  .photos-copy {
    margin: 0 auto 0.2rem;
  }

  .photos-subtitle,
  .balloon-subtitle {
    max-width: 18rem;
    font-size: 0.95rem;
  }

  .balloon-title {
    max-width: 14rem;
    margin-bottom: 0.75rem;
    font-size: clamp(1.6rem, 5vw, 1.95rem);
  }

  .balloon-subtitle {
    margin-bottom: 0.75rem;
  }

  .balloon-footer {
    width: min(100%, 19rem);
  }

  .balloon-footer p {
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
  }

  .balloon-footer .primary-button {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .photo-swiper {
    width: min(100%, 17rem);
    padding-inline: 0.25rem;
    padding-bottom: 1rem;
  }

  .photos-footer {
    width: min(100%, 17rem);
    margin: 0.15rem auto 0;
  }

  .photos-footer p {
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .photos-footer .primary-button {
    padding: 0.82rem 1.25rem;
    font-size: 0.98rem;
  }
}

@media (max-width: 520px) {
  .stage-screen,
  .loader-screen,
  .forever-screen {
    padding: 0.75rem;
  }

  .stage-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .loader-content {
    width: min(100%, 18rem);
  }

  .panda-container {
    width: min(100%, 13rem);
    height: 12rem;
  }

  .panda {
    width: 10.5rem;
    height: 10.5rem;
  }

  .panda-head {
    top: 3.25rem;
    width: 8.9rem;
    height: 8.9rem;
  }

  .ear {
    width: 3rem;
    height: 3rem;
  }

  .balloon-grid {
    flex-direction: column;
    width: min(100%, 12rem);
    min-height: unset;
    gap: 0.7rem;
    align-items: center;
  }

  .balloon-item {
    width: 100%;
    min-height: 5.8rem;
    flex-basis: auto;
    margin-bottom: 0;
  }

  .balloon-string {
    height: 56px;
  }

  .balloon-heart {
    width: 4.15rem;
    height: 4.15rem;
  }

  .balloon-item span {
    font-size: 0.95rem;
  }

  .balloon-copy {
    width: min(100%, 15rem);
  }

  .balloon-title {
    max-width: 13rem;
    font-size: 1.45rem;
    margin-bottom: 0.55rem;
  }

  .balloon-subtitle {
    max-width: 12rem;
    font-size: 0.86rem;
    margin-bottom: 0.5rem;
  }

  .balloon-footer {
    width: min(100%, 15rem);
  }

  .balloon-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.76rem;
  }

  .balloon-footer .primary-button {
    padding: 0.78rem 1.2rem;
    font-size: 0.94rem;
  }

  #screen-photos.stage-screen {
    gap: 0.45rem;
  }

  .photos-copy {
    width: min(100%, 13rem);
    margin: 0 auto 0.05rem;
    padding-inline: 0.2rem;
  }

  .photos-title {
    max-width: 11.5rem;
    margin-inline: auto;
    text-wrap: balance;
    margin-bottom: 0.35rem;
    font-size: 1.32rem;
    line-height: 1.22;
  }

  .photos-subtitle {
    max-width: 10rem;
    font-size: 0.8rem;
    margin: 0 auto;
    line-height: 1.32;
  }

  .photo-swiper {
    width: min(100%, 13.25rem);
    padding-inline: 0;
    padding-bottom: 0.7rem;
  }

  .photo-swiper .swiper-slide {
    width: min(74vw, 200px);
  }

  .photo-swiper .swiper-button-next,
  .photo-swiper .swiper-button-prev {
    display: none;
  }

  .photos-footer {
    width: min(100%, 13rem);
    margin-top: 0;
  }

  .photos-footer p {
    max-width: 9.5rem;
    margin: 0 auto 0.35rem;
    font-size: 0.72rem;
  }

  .photos-footer .primary-button {
    width: 100%;
    max-width: 13rem;
    padding: 0.74rem 0.9rem;
    font-size: 0.9rem;
    gap: 0.35rem;
  }

  .photos-footer,
  .balloon-footer,
  .proposal-box {
    width: 100%;
  }

  .photos-title,
  .balloon-title,
  .proposal-title {
    line-height: 1.35;
  }

}
