/* Design canvas 750 × 1334 — see psd/assets/main.json */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #111111;
  -webkit-tap-highlight-color: transparent;
}

.landing {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  aspect-ratio: 750 / 1334;
  overflow: hidden;
  background: #111;
}

.landing__bg {
  position: absolute;
  inset: 0;
  background-image: url("./assets/bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* CTA — 矩形2 + 文案/图标区域，与切图坐标对齐 */
.cta-pulse {
  position: absolute;
  left: var(--btn-left);
  top: var(--btn-top);
  width: var(--btn-w);
  height: var(--btn-h);
  display: flex;
  align-items: stretch;
  justify-content: center;
  transform-origin: center center;
  animation: btn-breathe 1.85s ease-in-out infinite;
  will-change: transform;
}

.cta-pulse:active {
  animation: none;
  transform: scale(0.96);
  transition: transform 0.12s ease-out;
}

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

@media (prefers-reduced-motion: reduce) {
  .cta-pulse {
    animation: none;
  }

  .cta-pulse:active {
    transform: none;
  }
}

.cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(6px, 2vw, 14px);
  min-height: 0;
  padding: 0 clamp(8px, 2.5vw, 20px) 0 clamp(6px, 1.8vw, 16px);
  text-decoration: none;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, calc(48 / 750 * 100vw), 48px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: left;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
  background: rgba(241, 26, 61, 0.9);
  border: 4px solid #fff;
  border-radius: 78px;
  cursor: pointer;
  outline: none;
}

.cta-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
}

.cta-btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 12.5vw, 94px);
  height: clamp(44px, 12.5vw, 94px);
  color: #fff;
}

.cta-btn__icon svg {
  width: 70%;
  height: 70%;
}

.cta-btn__label {
  flex: 1;
  min-width: 0;
}

@media (max-width: 360px) {
  .cta-btn {
    font-size: 15px;
    padding-left: 8px;
    gap: 4px;
  }
}
