:root {
  --bg-1: #5f2d8f;
  --bg-2: #9f58c7;
  --bg-3: #cd7abf;
  --ink: #0f0820;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  overflow: hidden;
  font-family: "Arial Black", "Arial Rounded MT Bold", Arial, sans-serif;
  background: radial-gradient(circle at 50% 55%, var(--bg-3) 0%, var(--bg-2) 44%, var(--bg-1) 88%);
}

.poster {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 174, 207, 0.35) 0%, rgba(255, 174, 207, 0) 35%),
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 80% 26%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 25%),
    radial-gradient(circle at 50% 55%, var(--bg-3) 0%, var(--bg-2) 44%, var(--bg-1) 88%);
}

.piece {
  position: absolute;
  --piece-transform: rotate(0deg);
  width: min(26vw, 28vh);
  max-width: 330px;
  min-width: 95px;
  z-index: 2;
  transform: var(--piece-transform);
  transform-origin: center center;
  transition: transform 0.22s ease;
  filter: drop-shadow(0 8px 10px rgba(19, 8, 40, 0.3));
}

a:hover .piece,
a:focus-visible .piece {
  transform: var(--piece-transform) scale(1.045);
  z-index: 5;
}

a:hover .osias,
a:focus-visible .osias {
  transform: var(--piece-transform) scale(1.09);
}

.lunita {
  top: 2.2%;
  left: 30%;
  width: min(33vw, 34vh);
  --piece-transform: rotate(-3deg);
}

.hongo-yellow {
  top: 1.2%;
  left: 43%;
  width: min(30vw, 31vh);
}

.loro {
  top: 2.2%;
  left: 53%;
  width: min(34vw, 35vh);
  --piece-transform: rotate(-1deg);
}

.mona {
  top: 22%;
  left: 26%;
  width: min(28vw, 29vh);
}

.chef {
  top: 24%;
  left: 56%;
  width: min(24vw, 26vh);
  --piece-transform: rotate(-8deg);
}

.honga {
  top: 39%;
  left: 32%;
  width: min(23vw, 24vh);
}

.montado {
  top: 36%;
  left: 63%;
  width: min(23vw, 24vh);
}

.osias {
  top: 48%;
  left: 61%;
  width: min(17vw, 18vh);
}

.patinador {
  top: 54%;
  left: 29%;
  width: min(18vw, 19vh);
}

.dino {
  top: 50%;
  left: 55%;
  width: min(19vw, 20vh);
}

.reloj {
  top: 56%;
  left: 36%;
  width: min(16vw, 17vh);
}

.hero {
  left: 49%;
  top: 19%;
  width: min(18vw, 36vh);
  max-width: 290px;
  min-width: 130px;
  --piece-transform: translateX(-50%);
  z-index: 3;
}

.logo {
  position: absolute;
  width: min(50vw, 54vh);
  max-width: 640px;
  min-width: 280px;
  left: 50%;
  bottom: 12.5%;
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 8px 0 rgba(36, 11, 62, 0.3));
}

.cta-links {
  position: absolute;
  left: 50%;
  bottom: 2.6%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  z-index: 6;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 245px;
  padding: 0.52rem 0.95rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  letter-spacing: 0.02em;
  color: var(--paper);
  margin: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
  background: linear-gradient(180deg, #17181c 0%, #090a0d 100%);
  box-shadow: 0 6px 14px rgba(18, 8, 40, 0.28);
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.download-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #2d3f6b 0%, #1b2949 72%);
}

.download-mark svg {
  width: 18px;
  height: 18px;
  stroke: #dbe7ff;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 0.08rem;
  line-height: 1.03;
  min-width: 0;
}

.cta-copy small {
  font-family: Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.74);
}

.cta-copy strong {
  font-size: clamp(1.12rem, 1.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #f2f4f6;
}

.spotify .cta-copy strong {
  color: #18d76b;
}

.youtube .cta-copy strong {
  color: #ffffff;
}

.downloads .cta-copy strong {
  color: #b9caff;
}

@media (max-aspect-ratio: 3 / 4) {
  .poster {
    height: 100dvh;
  }

  .piece {
    width: min(27vw, 21vh);
  }

  .lunita {
    width: min(47vw, 34vh);
    top: 2%;
    left: -0.6%;
    z-index: 999;
  }

  .hongo-yellow {
    left: 32%;
    top: -0.5%;
    width: min(44vw, 33vh);
  }

  .loro {
    left: 62%;
    top: 4%;
    width: min(39vw, 28vh);
  }

  .mona {
    top: 22%;
    left: 0%;
    width: min(27vw, 18vh);
  }

  .chef {
    top: 18%;
    left: 67%;
    width: min(28vw, 22vh);
  }

  .montado {
    top: 29%;
    left: 63%;
    width: min(25vw, 19vh);
  }

  .osias {
    top: 36%;
    left: 75%;
    width: min(19vw, 15vh);
  }

  .honga {
    top: 32%;
    left: 0%;
    width: min(17vw, 12.8vh);
  }

  .patinador {
    top: 40%;
    left: 4%;
    width: min(17vw, 12.8vh);
  }

  .dino {
    top: 42%;
    left: 64%;
    width: min(18vw, 13vh);
  }

  .reloj {
    top: 45%;
    left: 15%;
    width: min(14vw, 10vh);
  }

  .hero {
    left: 50%;
    top: 15%;
    width: min(62vw, 68vh);
    --piece-transform: translateX(-50%);
  }

  .logo {
    width: min(64vw, 26vh);
    bottom: 17%;
  }

  .cta-links {
    width: calc(100% - 2.8rem);
    bottom: max(1.2rem, env(safe-area-inset-bottom));
    gap: 0.45rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cta-btn {
    min-width: 0;
    width: 100%;
    padding: 0.36rem 0.5rem;
    border-radius: 9px;
  }

  .downloads {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(52vw, 250px);
  }

  .cta-icon {
    width: 22px;
    height: 22px;
  }

  .cta-copy small {
    font-size: clamp(0.4rem, 1.6vw, 0.5rem);
  }

  .cta-copy strong {
    font-size: clamp(0.78rem, 2.9vw, 0.9rem);
  }
}
