* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #111;
  overflow-x: hidden;
}

.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.banner {
  position: relative;
  z-index: 1;
  width: min(100vw, calc(100dvh * 375 / 640));
  aspect-ratio: 375 / 640;
  overflow: hidden;
  container-type: inline-size;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.copy {
  position: absolute;
  inset: 0;
}

.banner img,
.cta {
  position: absolute;
  display: block;
  max-width: none;
}

.banner img {
  -webkit-user-drag: none;
  user-select: none;
}

.score {
  left: -2%;
  top: 62%;
  width: 52%;
  z-index: 1;
}

.pad {
  left: 6.7%;
  top: 39.8%;
  width: 61.3%;
  z-index: 2;
}

.phone {
  left: 28%;
  top: 42%;
  width: 70%;
  z-index: 3;
}

.ball {
  left: -20%;
  top: 56%;
  width: 88%;
  z-index: 4;
}

.coin-left {
  left: -9.3%;
  top: 57.8%;
  width: 22.7%;
  z-index: 4;
}

.coin-top {
  left: 76%;
  top: 1%;
  width: 20%;
  z-index: 5;
}

.coin-right {
  left: 74%;
  top: 76%;
  width: 18%;
  z-index: 5;
}

.logo {
  left: 3.2%;
  top: 1.88%;
  width: 39.5%;
  z-index: 6;
}

.headline {
  left: 9.6%;
  top: 9.7%;
  width: 80%;
  z-index: 6;
}

.offer {
  left: 3.2%;
  top: 16.88%;
  width: 93.6%;
  z-index: 6;
}

.cta {
  left: 16.5%;
  top: 41.25%;
  width: 68%;
  z-index: 7;
  line-height: 0;
}

.cta img {
  position: relative;
  width: 100%;
  height: auto;
  transform-origin: center;
  animation: cta-pulse 1.8s ease-in-out infinite;
}

.cashback {
  left: 1.1%;
  top: 61.25%;
  width: 49.3%;
  z-index: 6;
}

.disclaimer {
  position: absolute;
  left: 39.5%;
  top: 92.2%;
  width: 58.4%;
  margin: 0;
  z-index: 8;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.15cqw;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.65);
  -webkit-user-select: text;
  user-select: text;
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 214, 0, 0.4));
  }

  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 16px rgba(255, 230, 40, 0.9));
  }
}

@media (max-width: 500px) and (max-aspect-ratio: 1 / 1.92) {
  .stage {
    height: 100dvh;
  }

  .banner {
    width: 100vw;
    height: 100dvh;
    aspect-ratio: auto;
    --design: calc(100vw * 640 / 375);
    --extra: calc(100dvh - (100vw * 640 / 375));
    --gap: calc(var(--extra) / 6);
  }

  .logo {
    top: calc(var(--design) * 0.0188 + var(--gap) * 0.35);
  }

  .headline {
    top: calc(var(--design) * 0.097 + var(--gap) * 1.05);
  }

  .offer {
    top: calc(var(--design) * 0.1688 + var(--gap) * 1.85);
  }

  .cta {
    top: calc(var(--design) * 0.4125 + var(--gap) * 3.15);
  }

  .pad {
    top: calc(var(--design) * 0.398 + var(--extra) * 0.96);
  }

  .phone {
    top: calc(var(--design) * 0.42 + var(--extra) * 0.96);
  }

  .coin-left {
    top: calc(var(--design) * 0.578 + var(--extra) * 0.96);
  }

  .cashback {
    top: calc(var(--design) * 0.6125 + var(--extra) * 0.96);
  }

  .score {
    top: calc(var(--design) * 0.62 + var(--extra) * 0.96);
  }

  .ball {
    top: calc(var(--design) * 0.56 + var(--extra) * 0.96);
  }

  .coin-right {
    top: calc(var(--design) * 0.76 + var(--extra) * 0.96);
  }

  .disclaimer {
    top: auto;
    bottom: 2.2%;
  }
}

@media (min-width: 900px) and (orientation: landscape) {
  .stage {
    display: block;
    height: 100vh;
  }

  .banner {
    width: 100vw;
    height: 100vh;
    aspect-ratio: auto;
  }

  .copy {
    inset: auto;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(48vw, 720px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(10px, 1.5vh, 20px);
    padding: clamp(28px, 4vh, 56px) clamp(32px, 4vw, 72px) clamp(72px, 10vh, 110px);
  }

  .copy .logo,
  .copy .headline,
  .copy .offer,
  .copy .cta,
  .copy .cashback {
    position: static;
    height: auto;
  }

  .copy .logo {
    width: min(240px, 34%);
  }

  .copy .headline {
    width: min(560px, 94%);
  }

  .copy .offer {
    width: 100%;
  }

  .copy .cta {
    width: min(460px, 82%);
  }

  .copy .cashback {
    width: min(300px, 58%);
    margin-top: clamp(4px, 1vh, 12px);
  }

  .copy .disclaimer {
    position: absolute;
    left: 60vw;
    right: auto;
    top: auto;
    bottom: 20px;
    width: min(340px, 24vw);
    font-size: clamp(8px, 0.72vw, 11px);
  }

  .phone {
    left: auto;
    right: -2%;
    top: 50%;
    width: min(50vw, 780px);
    transform: translateY(-48%);
    z-index: 5;
  }

  .pad {
    left: auto;
    right: 26%;
    top: auto;
    bottom: 8%;
    width: min(36vw, 520px);
    z-index: 2;
  }

  .ball {
    left: calc(-0.26 * min(44vw, 640px));
    top: auto;
    bottom: calc(20px - 0.261 * min(44vw, 640px));
    width: min(44vw, 640px);
    z-index: 3;
  }

  .score {
    left: clamp(300px, 26vw, 420px);
    top: auto;
    bottom: 3%;
    width: min(24vw, 340px);
    z-index: 4;
  }

  .coin-top {
    left: auto;
    right: 6%;
    top: 2%;
    width: min(10vw, 130px);
  }

  .coin-left {
    left: 0;
    top: 34%;
    width: min(10vw, 120px);
  }

  .coin-right {
    left: auto;
    right: 2%;
    top: auto;
    bottom: 6%;
    width: min(9vw, 110px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta img {
    animation: none;
    filter: drop-shadow(0 0 8px rgba(255, 214, 0, 0.5));
  }
}
