:root {
  --tg-light: #64cefa;
  --tg-mid: #1f9fe2;
  --tg-dark: #1287cf;
  --wa-light: #63e187;
  --wa-mid: #27bb60;
  --wa-dark: #189a4b;
  --ink: #2a0a3d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background-color: #f3e7fc;
  background-image: linear-gradient(90deg, #f9ecfd 0%, #f1e4fb 55%, #eddefa 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 941 / 1672;
  background-color: #f6f0fc;
  background-image: url("https://crocivela.oss-cn-beijing.aliyuncs.com/upload/2026/10/20/%E8%97%8F%E7%BA%A2%E8%8A%B1%E8%B4%B4%E7%89%87%EF%BC%9A%E6%9B%B4%E7%AE%80%E5%8D%95%E7%9A%84%E5%81%A5%E5%BA%B7%E7%AE%A1%E7%90%86.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  container-type: inline-size;
}

.cta {
  position: absolute;
  top: 83%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86.4%;
  gap: 3.1vw;
  gap: 3.1cqw;
  transform: translateX(-50%);
  opacity: 0;
}

.cta.is-visible {
  animation: cta-in 0.28s ease-out forwards;
}

@keyframes cta-in {
  from {
    opacity: 0;
    transform: translate(-50%, 0.8cqw);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cta[hidden],
.cta-btn[hidden] {
  display: none !important;
}

.cta-btn {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 9.4vw;
  height: 9.4cqw;
  padding: 0 1.1vw;
  padding: 0 1.1cqw;
  gap: 1.2vw;
  gap: 1.2cqw;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 3.55vw;
  font-size: 3.55cqw;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
  box-shadow:
    0 0.9vw 2.2vw rgba(46, 10, 73, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0.9cqw 2.2cqw rgba(46, 10, 73, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.cta-btn--telegram {
  background: linear-gradient(180deg, var(--tg-light) 0%, var(--tg-mid) 55%, var(--tg-dark) 100%);
}

.cta-btn--whatsapp {
  background: linear-gradient(180deg, var(--wa-light) 0%, var(--wa-mid) 55%, var(--wa-dark) 100%);
}

.cta-btn__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 4.8vw;
  width: 4.8cqw;
  height: 4.8vw;
  height: 4.8cqw;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cta-btn__icon svg {
  display: block;
  width: 62%;
  height: 62%;
}

.cta-btn__label {
  white-space: nowrap;
}

.cta.is-single {
  width: 41.65%;
}

.cta.is-single .cta-btn {
  flex: 1 1 auto;
}

.cta-btn:active {
  transform: translateY(0.2vw);
  filter: brightness(0.98);
}

.cta-btn:focus-visible {
  outline: 0.5vw solid #fff;
  outline-offset: 0.35vw;
  box-shadow:
    0 0 0 1.1vw rgba(96, 45, 156, 0.55),
    0 0.9vw 2.2vw rgba(46, 10, 73, 0.22);
}

@media (hover: hover) {
  .cta-btn:hover {
    transform: translateY(-0.35vw);
    filter: brightness(1.05);
    box-shadow:
      0 1.3vw 2.8vw rgba(46, 10, 73, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

@media (min-width: 821px) {
  body {
    background-color: #f6eefd;
    background-image: none;
  }

  .stage {
    aspect-ratio: 1672 / 941;
    background-image: url("https://crocivela.oss-cn-beijing.aliyuncs.com/upload/2026/10/20/%E7%B4%AB%E8%89%B2%E8%BD%BB%E7%9B%88%E5%87%8F%E9%87%8D%E8%B4%B4%E5%AE%A3%E4%BC%A0%E9%A1%B5.png");
  }

  .cta {
    top: 37.6%;
    left: 11.55%;
    justify-content: flex-start;
    width: auto;
    gap: 1.3vw;
    gap: 1.3cqw;
    transform: none;
  }

  .cta.is-visible {
    animation-name: cta-in-desktop;
  }

  @keyframes cta-in-desktop {
    from {
      opacity: 0;
      transform: translateY(0.8cqw);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .cta-btn {
    flex: 0 0 auto;
    height: 3.7vw;
    height: 3.7cqw;
    padding: 0 1.3vw;
    padding: 0 1.3cqw;
    gap: 0.7vw;
    gap: 0.7cqw;
    font-size: 1.5vw;
    font-size: 1.5cqw;
  }

  .cta-btn__icon {
    width: 2.15vw;
    width: 2.15cqw;
    height: 2.15vw;
    height: 2.15cqw;
  }

  .cta.is-single {
    width: auto;
  }

  .cta-btn:active {
    transform: translateY(0.2cqw);
  }

  .cta-btn:focus-visible {
    outline-width: 0.22cqw;
    outline-offset: 0.18cqw;
    box-shadow:
      0 0 0 0.48cqw rgba(96, 45, 156, 0.55),
      0 0.9cqw 2.2cqw rgba(46, 10, 73, 0.22);
  }

  @media (hover: hover) {
    .cta-btn:hover {
      transform: translateY(-0.25cqw);
      box-shadow:
        0 1vw 2.4cqw rgba(46, 10, 73, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .cta.is-visible {
    animation: none !important;
    opacity: 1;
  }

  .cta-btn {
    transition: none;
  }

  .cta-btn:hover,
  .cta-btn:active {
    transform: none;
  }
}
