/* Artwork coordinates: 720 x 1270. */
* { box-sizing: border-box; }
html { min-height: 100%; background: #218ff0; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background: #218ff0;
  font-family: Arial, sans-serif;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 720 / 1270;
  overflow: hidden;
  isolation: isolate;
}
.artwork { position: absolute; display: block; height: auto; pointer-events: none; }
.background { inset: 0; width: 100%; height: 100%; z-index: 0; }
.person { left: 0; top: 11.575%; width: 98.4722%; z-index: 1; }
.logo { left: 7.5%; top: 0; width: 85%; z-index: 2; }
.gift {
  left: 8.333333%;
  bottom: 2%;
  width: 83.333333%;
  z-index: 3;
  transform-origin: center bottom;
  animation: giftScale 4s ease-in-out infinite;
}
/* Match the reference page's repeating pulse; reserve room at maximum scale. */
@keyframes giftScale {
  0%, 50%, 100% { transform: scale(1); }
  25%, 30%, 75%, 80% { transform: scale(1.2); }
}
@media (prefers-reduced-motion: reduce) {
  .gift { animation: none; }
}
.download-actions {
  position: absolute;
  left: 7%;
  top: 61.5%;
  width: 86%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-row { display: flex; justify-content: center; gap: 2%; width: 100%; }
button {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.download-row button { width: 46%; }
button img { display: block; width: 100%; height: auto; }
.h5-button { width: 48%; }
button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 12px; }
button:active { filter: brightness(1.12); }
/* Short phones scroll; wide screens fit the complete artwork vertically. */
@media (min-width: 600px) {
  .stage { width: min(100%, 56.692913vh); width: min(100%, 56.692913svh); }
}
