/* =============================================================================
 *  SLOTOSPORT — спин-лендинг. Макет: Figma «Retention-Megaaffs», секция Lwheel1.
 *
 *  Два режима раскладки:
 *    >= 992px — десктоп (фреймы 992 / 1280 / 1920 × 720): колесо по центру
 *               страницы, слева от него заголовок и кнопки;
 *    <  992px — мобилка (фреймы 360 / 480 / 768 × 956): всё в одну колонку.
 * ========================================================================== */

:root {
  --pink: #ff0066;
  --pink-light: #ff6da7;
  --purple: #491869;
  --purple-light: #6927a3;
  --gold: #ffda45;
  --bg-deep: #110026;
  --font-display: "Poppins", sans-serif;

  /* Совместимость с form.css / старой разметкой формы */
  --color-gold: var(--gold);
  --color-red: #ff4d6d;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-display);
  background: var(--bg-deep);
  color: #fff;
  overflow-x: hidden;
}

button {
  font-family: inherit;
}

img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Атрибут hidden должен побеждать display из классов: иначе экран
   «Registration successful!» (.success { display: flex }) виден сразу при
   открытии формы, до ответа API. */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------------------------------- страница -------------------------------- */

.page {
  position: relative;
  flex: 1;
  min-height: max(100vh, 640px);
  min-height: max(100svh, 640px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #1f1f32 0%, rgba(31, 31, 50, 0) 100%),
    #323c50;
}

/* Фон. Картинка 1932×1078 в макете сдвинута на 24px ниже центра фрейма.
   На экранах больше макета коробка растёт, а object-fit: cover держит
   пропорции — фон накрывает страницу любой ширины и высоты. */
.page__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.page__bg-img {
  position: absolute;
  left: 50%;
  top: calc(50% + 24px);
  width: max(1932px, 100%);
  height: max(1078px, 100% + 48px);
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.92;
}

.page__bg-img--mob {
  display: none;
}

/* Затемнение сверху: #110026 до 15.6% высоты полосы, дальше в прозрачность */
.page__bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 298px;
  background: linear-gradient(
    180deg,
    var(--bg-deep) 15.625%,
    rgba(63, 0, 140, 0) 100%
  );
}

/* --------------------------------- логотип --------------------------------- */

.header {
  position: absolute;
  z-index: 3;
  top: 51.73px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 0;
}

.logo {
  display: block;
  width: 217.458px;
  height: auto;
}

/* ---------------------------------- герой ---------------------------------- */

/* Блок 765×446: слева заголовок и кнопки, справа колесо. Центр колеса
   совпадает с центром страницы, пока хватает ширины (>= 1084px); уже —
   блок упирается в левый отступ 98px, как во фрейме 992. */
.hero {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(calc(50% - 542px), 98px);
  width: 765px;
  height: 446px;
  transform: translateY(-50%);
}

.hero__intro {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 113px;
  width: 299px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13.84px;
  text-align: center;
}

.hero__lead,
.hero__title {
  margin: 0;
  color: #fff;
  white-space: nowrap;
}

.hero__lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 16px;
  text-shadow: 0 1px 0 var(--pink), 0 5px 4px rgba(0, 0, 0, 0.25);
}

.hero__title {
  font-size: 36px;
  font-weight: 900;
  line-height: 26px;
  text-shadow: 0 2px 0 var(--pink), 0 5px 4px rgba(0, 0, 0, 0.25);
}

.hero__actions {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 229px;
  width: 286px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn:active:not(:disabled) {
  transform: translateY(2px);
}

.btn--spin {
  background: var(--pink);
  box-shadow: 0 -2px 0 var(--pink-light);
  font-size: 24px;
  font-weight: 600;
}

.btn--spin:disabled {
  cursor: not-allowed;
  filter: grayscale(0.6) brightness(0.8);
}

.btn--ghost {
  background: var(--purple);
  box-shadow: 0 -2px 0 var(--purple-light);
  font-size: 18px;
  font-weight: 500;
}

/* Пока спины есть, кнопка Spin пульсирует — это главное действие */
.btn--spin:not(:disabled) {
  animation: spin-pulse 1.8s ease-in-out infinite;
}

@keyframes spin-pulse {
  0%,
  100% {
    box-shadow: 0 -2px 0 var(--pink-light), 0 0 0 0 rgba(255, 0, 102, 0.55);
  }
  50% {
    box-shadow: 0 -2px 0 var(--pink-light), 0 0 0 10px rgba(255, 0, 102, 0);
  }
}

/* ---------------------------------- колесо --------------------------------- */

/* Все слои в процентах от стороны колеса (446px в макете), поэтому одна
   разметка работает и на десктопе, и на мобилке (360px). */
.wheel {
  --wheel: 446px;
  position: absolute;
  left: 319px;
  top: 0;
  width: var(--wheel);
  height: var(--wheel);
}

.wheel__disc,
.wheel__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Вращающийся диск с секторами. Поворот задаёт script.js. */
.wheel__disc {
  z-index: 1;
  width: 91.59%;
  height: auto;
  will-change: transform;
}

/* Обод со стрелкой: неподвижен */
.wheel__rim {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0.36%;
  width: 99.63%;
  height: auto;
  pointer-events: none;
}

/* Зелёная кнопка с короной в центре — тоже крутит колесо */
.wheel__center {
  z-index: 3;
  width: 29.6%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.wheel__center img {
  display: block;
  width: 100%;
  height: 100%;
}

.wheel__center:hover:not(:disabled) {
  filter: brightness(1.1);
}

.wheel__center:disabled {
  cursor: default;
}

/* --------------------------------- декор ----------------------------------- */

/* Монеты и слитки: координаты центров считаются от центра страницы (на
   десктопе он же центр колеса, кроме узкого 992), размеры и повороты — из
   макета. На мобилке свой набор, от центра колеса (ниже). */
.decor {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.decor__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h, var(--w));
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: blur(var(--b, 0px));
  object-fit: cover;
}

/* Шесть чётких золотых монет и слитков плавно качаются вверх-вниз.
   Отдельное свойство translate не конфликтует с transform (центровка +
   поворот). У каждой своя амплитуда, период и фаза — чтобы не ходили строем.
   Размытые монеты по углам (blur-l / blur-r) стоят на месте. */
.decor__item--float {
  animation: coin-float var(--float-dur, 4s) ease-in-out var(--float-delay, 0s)
    infinite;
  will-change: translate;
}

@keyframes coin-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 calc(-1 * var(--float-amp, 12px));
  }
}

.decor__item--bar-top {
  --float-amp: 14px;
  --float-dur: 4.4s;
  --float-delay: -0.6s;
}
.decor__item--bar-bottom {
  --float-amp: 10px;
  --float-dur: 3.8s;
  --float-delay: -2.1s;
}
.decor__item--coin-fs {
  --float-amp: 13px;
  --float-dur: 4.8s;
  --float-delay: -1.4s;
}
.decor__item--bar-percent {
  --float-amp: 12px;
  --float-dur: 4.1s;
  --float-delay: -3s;
}
.decor__item--coin-small {
  --float-amp: 8px;
  --float-dur: 3.4s;
  --float-delay: -0.2s;
}
.decor__item--coin-tiny {
  --float-amp: 7px;
  --float-dur: 3.1s;
  --float-delay: -1.8s;
}

@media (prefers-reduced-motion: reduce) {
  .decor__item--float {
    animation: none;
  }
}

.decor__item--bar-top {
  --x: -346.23px;
  --y: -200.23px;
  --w: 144.805px;
  --r: -6.18deg;
}
.decor__item--bar-bottom {
  --x: -249.32px;
  --y: 234.68px;
  --w: 95.687px;
  --r: -40.07deg;
}
.decor__item--coin-fs {
  --x: 461.89px;
  --y: -255.11px;
  --w: 101.757px;
  --r: -42.61deg;
}
.decor__item--bar-percent {
  --x: 367.58px;
  --y: 119.58px;
  --w: 98.09px;
  --r: 26deg;
}
.decor__item--coin-small {
  --x: -224.56px;
  --y: 119.84px;
  --w: 31.85px;
  --h: 43.794px;
  --r: -28.49deg;
  --b: 0.65px;
}
.decor__item--coin-tiny {
  --x: 309.71px;
  --y: -31.5px;
  --w: 39.629px;
  --h: 38.391px;
  --b: 0.65px;
}
.decor__item--coin-blur-l {
  --x: -622.62px;
  --y: 230.41px;
  --w: 168.756px;
  --h: 158.829px;
  --b: 2.6px;
}
.decor__item--coin-blur-r {
  --x: 599.73px;
  --y: 222.79px;
  --w: 161.465px;
  --h: 137.574px;
  --b: 2.6px;
}

/* --------------------------------- футер ----------------------------------- */

.footer {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 17.356px 20px;
  padding: 17.356px;
  background: rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(8.678px);
  backdrop-filter: blur(8.678px);
}

.pay {
  display: block;
  flex: none;
}

.pay--dim {
  opacity: 0.8;
}

.pay--visa {
  width: 36.949px;
  height: 11.259px;
}
.pay--mastercard {
  width: 22.919px;
  height: 13.258px;
}
.pay--apple {
  width: 35.99px;
  height: 15.063px;
}
.pay--google {
  width: 33.281px;
  height: 16.191px;
}
/* Британские банки: 67×18.5 по макету, прозрачность 80% уже в самих SVG */
.pay--bank-uk {
  width: 67.0625px;
  height: 18.5px;
}

.pay-text {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 18.504px;
  font-size: 9.7px;
  font-weight: 500;
  line-height: normal;
  color: #fff;
  white-space: nowrap;
}

.pay-text__two {
  font-size: 9.96px;
  line-height: 9.252px;
}

.pay--revolut {
  width: 13.055px;
  height: 18.54px;
}
.pay--bank {
  width: 16.308px;
  height: 18.77px;
  margin-right: 1px;
}

.pay-crypto {
  display: flex;
  align-items: center;
  gap: 3.442px;
}

.pay--coin {
  width: 15.35px;
  height: 15.35px;
  margin: -0.29px;
}

/* ------------------------------ мобилка < 992 ------------------------------ */

@media (max-width: 991px) {
  .page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
  }

  /* Мобильный фон: та же сцена, крупнее (1815×1013) и размытая */
  .page__bg-img--desktop {
    display: none;
  }
  .page__bg-img--mob {
    display: block;
    top: 50%;
    width: max(1815px, 100%);
    height: max(1013px, 100% + 56px);
    opacity: 1;
  }

  .header {
    position: static;
    transform: none;
    margin-top: clamp(20px, 7.3svh, 70px);
    padding: 0 16px;
  }

  .logo {
    width: min(284.542px, calc(100vw - 32px));
  }

  .hero {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__intro {
    position: relative;
    top: auto;
    width: auto;
    margin-top: clamp(18px, 5.4svh, 51.4px);
  }

  .wheel {
    --wheel: min(360px, 100vw, max(260px, 100svh - 360px));
    position: relative;
    left: auto;
    margin-top: clamp(14px, 3.6svh, 34px);
  }

  .hero__actions {
    position: relative;
    top: auto;
    margin-top: 20px;
    max-width: calc(100vw - 32px);
  }

  .footer {
    position: relative;
    margin-top: auto;
    width: 100%;
    gap: 14px 20px;
    padding: 16px;
  }

  /* Отступ между кнопками и футером на коротких экранах */
  .hero {
    padding-bottom: 28px;
  }

  /* Декор на мобилке привязан к центру колеса. Ниже 600px в макете монеты
     уходят за край экрана — прячем, чтобы не торчали обрезками. */
  .decor {
    left: 50%;
    top: calc(
      clamp(20px, 7.3svh, 70px) + 48.6px + clamp(18px, 5.4svh, 51.4px) +
        55.84px + clamp(14px, 3.6svh, 34px) +
        min(360px, 100vw, max(260px, 100svh - 360px)) / 2
    );
  }

  .decor__item--bar-top {
    --x: -266.64px;
    --y: -17.65px;
    --w: 111.39px;
  }
  .decor__item--bar-bottom {
    --x: -173.45px;
    --y: 210.52px;
    --w: 71.71px;
  }
  .decor__item--coin-fs {
    --x: 308.3px;
    --y: -68.71px;
    --w: 78.27px;
  }
  .decor__item--bar-percent {
    --x: 277.06px;
    --y: 173px;
    --w: 75.45px;
  }
  .decor__item--coin-small {
    --x: -217.14px;
    --y: 95.39px;
    --w: 24.28px;
    --h: 33.39px;
    --b: 0.5px;
  }
  .decor__item--coin-tiny {
    --x: 238px;
    --y: 57px;
    --w: 30px;
    --h: 29.06px;
    --b: 0.5px;
  }
  .decor__item--coin-blur-l {
    --x: -365px;
    --y: 181px;
    --w: 130px;
    --h: 122px;
    --b: 2px;
  }
  .decor__item--coin-blur-r {
    --x: 368px;
    --y: 286px;
    --w: 124px;
    --h: 106px;
    --b: 2px;
  }
}

@media (max-width: 599px) {
  .decor {
    display: none;
  }
}

/* Узкие телефоны (< 360): заголовок и кнопки поджимаем под ширину */
@media (max-width: 359px) {
  .hero__lead {
    font-size: 21px;
  }
  .hero__title {
    font-size: 32px;
  }
}

/* ---------------------------------- попапы --------------------------------- */

/* Макет: poopup_default. Десктоп 550px, мобилка (< 992) 420px.
   Вертикальные отступы между блоками сняты с макета по координатам. */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 0, 24, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay--active {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: 56px 67px 48px;
  border-radius: 20px;
  background: #2c043c;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
  color: #fff;
  transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay--active .popup-box {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 36px;
  right: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #720000;
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s;
}

.popup-close svg {
  width: 16px;
  height: 16px;
}

.popup-close:hover {
  filter: brightness(1.25);
}

.popup-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 28px;
}

.popup-content-wrapper {
  margin: 0;
}

.popup-prize {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 14px;
}

.popup-prize p {
  margin: 0;
  font-weight: 800;
  line-height: 45px;
  text-transform: uppercase;
  color: var(--pink);
  white-space: nowrap;
}

.popup-prize p:first-child {
  font-size: 42px;
}

.popup-prize p:nth-child(2) {
  margin-top: -8px;
  font-size: 24px;
}

.popup-desc,
.popup-desc-bold {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

/* «Your prize is reserved…»: в макете блок 444px — шире полей попапа,
   поэтому выпускаем его на 14px в каждую сторону, чтобы влез в строку */
.popup-prize + .popup-desc {
  margin: 14px -14px 0;
  white-space: nowrap;
}

.popup-desc-bold {
  margin-top: 5px;
  font-weight: 700;
}

/* Проигрыш: «Don’t stop now - spin again!» */
.popup-desc--lose {
  margin-top: 7px;
  line-height: 33.39px;
}

.popup-actions {
  margin-top: 15px;
}

.spin-btn-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--pink);
  box-shadow: 0 -2px 0 var(--pink-light);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 38.15px;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s, transform 0.1s;
}

.spin-btn-popup:hover {
  filter: brightness(1.08);
}

.spin-btn-popup:active {
  transform: translateY(2px);
}

/* Попап проигрыша: 550×250, свои отступ перед кнопкой и нижнее поле */
.popup-box--lose {
  padding-bottom: 55px;
}

.popup-box--lose .popup-actions {
  margin-top: 14px;
}

@media (max-width: 991px) {
  .popup-box {
    max-width: 420px;
    padding: 53px 40px 43px;
  }

  .popup-close {
    top: 25px;
    right: 25px;
  }

  .popup-prize {
    margin-top: 22px;
  }

  /* На мобилке «Your prize…» зажат в 281px и идёт в две строки */
  .popup-prize + .popup-desc {
    max-width: 281px;
    margin: 21px auto 0;
    white-space: normal;
    line-height: 19.5px;
  }

  .popup-desc-bold {
    margin-top: 13px;
  }

  .popup-desc--lose {
    margin-top: 10px;
  }

  .popup-actions {
    margin-top: 35px;
  }

  .popup-box--lose {
    padding-bottom: 34px;
  }

  .popup-box--lose .popup-actions {
    margin-top: 24px;
  }
}

/* Уже карточки 420 + поля: поджимаем боковые отступы, крестик в угол */
@media (max-width: 440px) {
  .popup-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .popup-close {
    top: 14px;
    right: 14px;
  }

  .popup-title {
    padding: 0 40px;
  }

  .popup-prize p:first-child {
    font-size: 38px;
  }

  .popup-desc,
  .popup-desc-bold {
    font-size: 18px;
  }
}

/* ------------------------------ форма (карточка) --------------------------- */

.signup {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  background: linear-gradient(#35105af0 0%, #1a0630f5 100%);
  border: 1px solid rgba(255, 109, 167, 0.35);
  border-radius: 16px;
  width: 100%;
  padding: 22px 22px 18px;
  box-shadow: 0 18px 44px #0000008c;
}
.signup__head {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.signup__title {
  font-family: var(--font-display);
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.signup__steps {
  align-items: center;
  gap: 8px;
  display: flex;
}
.step {
  color: #fff;
  background: #ffffff29;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
}
.step--active {
  background: var(--pink);
}
.signup__prize {
  color: var(--color-gold);
  background: #f9d0471f;
  border: 1px solid #f9d04766;
  border-radius: 10px;
  margin: 12px 0 0;
  padding: 8px 12px;
  font-size: 13px;
}
.signup__prize strong {
  color: #fff;
}
.signup__sub {
  text-align: center;
  color: #ffffffbf;
  margin: 14px 0 12px;
  font-size: 13px;
}
.signup__form {
  flex-direction: column;
  gap: 12px;
  display: flex;
}
.field {
  flex-direction: column;
  gap: 4px;
  display: flex;
}
.input {
  color: #fff;
  background: rgba(14, 2, 28, 0.75);
  border: 1px solid #ffffff24;
  border-radius: 10px;
  outline: none;
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s;
}
.input::placeholder {
  color: #ffffff73;
}
.input:focus {
  border-color: var(--pink-light);
}
.input--error {
  border-color: var(--color-red);
}
.input-wrap {
  position: relative;
}
.input--with-eye {
  padding-right: 44px;
}
.eye {
  color: #ffffff8c;
  cursor: pointer;
  background: 0 0;
  border: none;
  padding: 4px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.eye:hover {
  color: #fff;
}
.select-wrap {
  display: block;
  position: relative;
}
.select-label {
  letter-spacing: 0.3px;
  color: #ffffff80;
  pointer-events: none;
  font-size: 10px;
  position: absolute;
  top: 6px;
  left: 14px;
}
.input--select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, #0000 50%, #fff9 50%),
    linear-gradient(135deg, #fff9 50%, #0000 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  padding-top: 20px;
  padding-bottom: 8px;
}
.input--select option {
  color: #fff;
  background: #1a0630;
}
.field__error {
  color: #ff7a7a;
  margin: 0;
  font-size: 12px;
}
.field__error--check {
  margin-top: -6px;
}
.check {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
}
.check__box {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.check__mark {
  background: rgba(14, 2, 28, 0.75);
  border: 1.5px solid #ffffff59;
  border-radius: 6px;
  flex: 0 0 20px;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
}
.check__mark--error {
  border-color: var(--color-red);
}
.check__box:checked + .check__mark {
  background: var(--pink);
  border-color: var(--pink);
}
.check__box:checked + .check__mark:after {
  content: "";
  border: 2px solid #fff;
  border-width: 0 2px 2px 0;
  width: 5px;
  height: 9px;
  transform: rotate(45deg) translateY(-1px);
}
.check__text {
  color: #ffffffd9;
}
.check__text a {
  color: var(--pink-light);
  text-decoration: none;
}
.check__text a:hover {
  text-decoration: underline;
}
.signup__error {
  color: #ffb3b3;
  background: #c814192e;
  border: 1px solid #c814198c;
  border-radius: 10px;
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
}
.signup__error a {
  color: #fff;
  font-weight: 700;
}
.submit {
  background: linear-gradient(
    180deg,
    #ff3385 0%,
    #e0005a 100%
  );
  color: #fff;
  width: 100%;
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 800;
  transition: filter 0.15s;
  display: flex;
  box-shadow: 0 -2px 0 var(--pink-light), 0 6px 16px rgba(255, 0, 102, 0.35);
}
.submit:hover:not(:disabled) {
  filter: brightness(1.1);
}
.submit:disabled {
  filter: grayscale(0.3) brightness(0.8);
  cursor: wait;
}
.submit--link {
  text-decoration: none;
}
.spinner {
  border: 2px solid #ffffff59;
  border-top-color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: 0.7s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.signup__aux {
  text-align: center;
  color: #ffffffd9;
  margin: 0;
  font-size: 13px;
}
.signup__aux--muted {
  color: #ffffff8c;
}
.signup__aux a {
  color: var(--pink-light);
  font-weight: 700;
  text-decoration: none;
}
.signup__aux a:hover {
  text-decoration: underline;
}
.success {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  display: flex;
}
.success__icon {
  background: linear-gradient(
    180deg,
    #ff3385 0%,
    #e0005a 100%
  );
  color: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  font-size: 30px;
  font-weight: 900;
  display: flex;
  box-shadow: 0 6px 18px rgba(255, 0, 102, 0.45);
}
.success__text {
  color: #ffffffd9;
  margin: 0;
  font-size: 14px;
}
.success__text strong {
  color: var(--color-gold);
}
@media (width >= 1019px) {
  .signup-slot {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 1018px) {
  .signup-slot {
    width: min(440px, 92vw);
    margin: 30px auto 40px;
  }
}
.signup-slot--flash .signup {
  animation: 1.2s ease-out signup-flash;
}
@keyframes signup-flash {
  0%,
  55% {
    box-shadow: 0 0 0 3px var(--color-gold), 0 18px 44px #0000008c;
  }
  to {
    box-shadow: 0 18px 44px #0000008c;
  }
}
