:root {
  --color-bg: #150316;
  --color-red: #c81419;
  --color-red-dark: #7e0000;
  --color-blue: #40B6FF;
  --color-gold: ##faeab4;
  --color-gold-dark: #b7580f;
  --color-green: #59c72f;
  --color-green-dark: #1c7a17;
  --font-display: "Inter", sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-display);
  background: var(--color-bg);
  color: #fff;
  overflow-x: hidden;
}

.link {
  color: var(--color-blue) !important;
  text-decoration: none !important;
}

#app {
  flex-direction: column;
  min-height: 100vh;
  display: flex;
}
button {
  font-family: inherit;
}
img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
.wheel-wrap {
  width: 100%;
}
.stage {
  aspect-ratio: 1;
  width: 100%;
  position: relative;
  overflow: visible;
}
.layer {
  position: absolute;
  transform: translate(-50%, -50%);
}
.layer--base {
  z-index: 1;
  pointer-events: none;
}
.layer--wheel {
  z-index: 2;
  transform-origin: 50%;
  will-change: transform;
}
.layer--wheel.spinning {
  transition: transform 5.2s cubic-bezier(0.19, 0.86, 0.2, 1);
}
.layer--wheel--clickable {
  cursor: pointer;
}
.layer--frame {
  z-index: 3;
  pointer-events: none;
}
.layer--arrow {
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px #00000080);
}
.layer--wolf {
  z-index: 6;
}
.spin-btn {
  z-index: 5;
  cursor: pointer;
  background: 0 0;
  border: none;
  padding: 0;
}
.spin-btn:disabled {
  cursor: not-allowed;
}
.spin-btn--out {
  filter: grayscale(0.55) brightness(0.75);
}
.spin-btn__img {
  width: 100%;
  transition: transform 0.15s;
  animation: 1.4s ease-in-out infinite pulse-btn;
  display: block;
}
.spin-btn--out .spin-btn__img {
  animation: none;
}
.spin-btn__img--blink {
  animation: 0.55s ease-in-out infinite blink-bright;
}
@keyframes blink-bright {
  0%,
  to {
    filter: brightness();
  }
  50% {
    filter: brightness(1.65) drop-shadow(0 0 10px #78ff82cc);
  }
}
.spin-btn:not(:disabled):active .spin-btn__img {
  transform: scale(0.94);
}
@keyframes pulse-btn {
  0%,
  to {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
.overlay {
  z-index: 10;
  background: #000000a6;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}
.card {
  text-align: center;
  border: 3px solid var(--color-gold);
  background: linear-gradient(#d81e24 0%, #7e0000 100%);
  border-radius: 18px;
  width: min(90vw, 420px);
  padding: 44px 28px 32px;
  position: relative;
  box-shadow: 0 20px 50px #0009;
}
.close-btn {
  color: #fff;
  cursor: pointer;
  background: #00000040;
  border: 2px solid #ffffff80;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  line-height: 1;
  display: flex;
  position: absolute;
  top: 12px;
  right: 12px;
}
.card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
  font-size: 26px;
  font-style: italic;
  font-weight: 900;
}
.card__prize {
  font-family: var(--font-display);
  background: linear-gradient(
    180deg,
    var(--color-gold) 0%,
    var(--color-gold-dark) 100%
  );
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 900;
}
.card__body {
  color: #f4e9ea;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
}
.card__body--muted {
  opacity: 0.8;
  margin-bottom: 0;
}
.pill-btn {
  color: #fd6;
  font-family: var(--font-display);
  text-transform: uppercase;
  cursor: pointer;
  background: radial-gradient(
    circle at 35% 30%,
    #8de868 0%,
    #3fae29 55%,
    #1c7a17 100%
  );
  border: 3px solid #ffe28a;
  border-radius: 999px;
  padding: 12px 48px;
  font-size: 18px;
  font-style: italic;
  font-weight: 900;
  box-shadow: 0 6px 14px #0006;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
.signup {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  background: linear-gradient(#2e082cf0 0%, #1a041bf5 100%);
  border: 1px solid #f9d04759;
  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: #10240c;
  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(--color-green);
}
.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: #0e020fbf;
  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(--color-gold);
}
.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: #1a041b;
}
.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: #0e020fbf;
  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(--color-green);
  border-color: var(--color-green);
}
.check__box:checked + .check__mark:after {
  content: "";
  border: 2px solid #0e2408;
  border-width: 0 2px 2px 0;
  width: 5px;
  height: 9px;
  transform: rotate(45deg) translateY(-1px);
}
.check__text {
  color: #ffffffd9;
}
.check__text a {
  color: var(--color-green);
  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,
    var(--color-green) 0%,
    var(--color-green-dark) 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 6px 16px #1c7a1773;
}
.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(--color-green);
  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,
    var(--color-green) 0%,
    var(--color-green-dark) 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 #1c7a1780;
}
.success__text {
  color: #ffffffd9;
  margin: 0;
  font-size: 14px;
}
.success__text strong {
  color: var(--color-gold);
}
.footer {
  z-index: 2;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #0000002e;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 55px;
  margin-top: -11%;
  padding: 20px;
  display: flex;
  position: relative;
}
.footer-logo {
  filter: brightness(0.7);
}
.visa {
  height: 20px;
}
.mastercard {
  height: 23px;
}
.google {
  height: 28px;
}
.apple {
  height: 26px;
}
.deal,
.revolut,
.bank,
.interac {
  height: 32px;
}
.kryptonim {
  height: 16px;
}
@media (width <= 750px) {
  .footer {
    gap: 25px 38px;
  }
  .visa {
    height: 12px;
  }
  .mastercard {
    height: 15px;
  }
  .google {
    height: 16px;
  }
  .apple {
    height: 17px;
  }
  .deal {
    height: 23px;
  }
  .revolut,
  .bank {
    height: 20px;
  }
  .interac {
    height: 26px;
  }
  .kryptonim {
    height: 12px;
  }
}
.page {
  min-height: 100vh;
  min-height: var(--bg-h);
  --bg-w: max(100vw, 124.88vh);
  --bg-h: max(80.08vw, 100vh);
  --banner-cx: calc(50% - 0.119 * var(--bg-w));
  --banner-bottom: calc(0.22 * var(--bg-h));
  --wheel-w: calc(0.6 * var(--bg-w));
  background: #3d1051;
  flex-direction: column;
  display: flex;
  position: relative;
  overflow: hidden;
}
.page__bg {
  width: var(--bg-w);
  height: var(--bg-h);
  z-index: 0;
  pointer-events: none;
  background: url(signup_desktop-Dezj09PD.jpg) top/100% 100% no-repeat;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}
@media (max-width: 768px) {
  .page {
    --bg-w: max(100vw, 50.21vh);
    --bg-h: max(199.17vw, 100vh);
    --banner-cx: 50%;
    --banner-bottom: calc(0.64 * var(--bg-w));
    --wheel-w: calc(1.1 * var(--bg-w));
  }
  .page__bg {
    background-image: url(signup_mob-PyNjIZ9C.jpg);
  }
  .layer--wolf {
    display: none;
  }
  .spins-counter {
    font-size: 12px !important;
    line-height: 18px !important;
    margin-top: 10px !important;
  }
  .spins-counter__num {
    font-size: 24px !important;
  }
  .wheel-anchor {
    bottom: calc(-0.32 * var(--bg-h)) !important;
  }
  .currency-symbol {
    font-size: clamp(20px, 4.5vw, 32px) !important;
  }
  .popup-prize p {
    font-size: clamp(26px, 10vw, 60px) !important
  }
  .bonus-label {
    font-size: clamp(14px, 3vw, 20px) !important;
  }
  .popup-prize p:nth-child(2) {
    font-size: clamp(26px, 4vw, 26px) !important;
  }
}
.page__main {
  z-index: 1;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.wheel-anchor {
  left: var(--banner-cx);
  width: var(--wheel-w);
  flex-direction: column;
  align-items: center;
  display: flex;
  position: relative;
  transform: translate(-50%);
  bottom: calc(-0.202 * var(--bg-h));
}
.spins-counter {
  z-index: 6;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-items: center;
  gap: 8px;
  margin: 19% 0 0;
  font-size: 1.75vw;
  font-weight: 900;
  line-height: 1.9vw;
  display: flex;
  flex-direction: column;
  position: relative;
  top: calc(-35vw + 13vw);
  color: #faeab4;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 0 1px 0 #923800;
}
.spins-counter__num {
  color: var(--color-gold);
  font-size: 3vw;
  font-weight: 900;
  text-shadow: 0 7.69px 7.69px rgba(0, 0, 0, 0.25), 0 1.92px 0 #923800;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 15%, transparent 35%);
  -webkit-background-clip: text;
  background-clip: text;
}
@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;
  }
}

@media screen and (max-width: 480px) and (max-height: 760px) {
  .footer {
    gap: 10px 5px !important;
  }
  .visa {
    height: 10px;
  }
  .mastercard {
    height: 12px;
  }
  .google {
    height: 13px;
  }
  .apple {
    height: 14px;
  }
  .deal {
    height: 16px;
  }
  .revolut,
  .bank {
    height: 20px;
  }
  .interac {
    height: 22px;
  }
  .kryptonim {
    height: 10x;
  }
}

.layer--wheel.spinning {
  transition: transform 6s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-box {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: 44px 28px 32px;
  text-align: center;
  transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay--active {
  opacity: 1;
  pointer-events: auto;
}

.popup-overlay--active .popup-box {
  transform: scale(1);
}

.popup-card {
  position: relative;
  background: radial-gradient(circle, #e12727 0%, #9b0000 100%);
  width: 100%;
  max-width: 640px;
  padding: 60px 40px 45px 40px;
  border-radius: 45px;
  border: 6px solid #ffd778;
  box-shadow: 
    0 0 0 2px #b07e2a, 
    0 15px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #ffffff;
}

.popup-close {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background: #3c0303;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.popup-close:hover {
  background: #570505;
}

.popup-card h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 0 3px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.popup-prize {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.popup-prize p {
  font-size: 58px;
  font-weight: 800;
  text-shadow: 1px 1px 0px #ff8400, 2px 2px 0px #ff8400, 3px 3px 0px #ff8400;
  margin: 0;
  display: flex;
  align-items: end;
  gap: 12px;
}

.popup-prize p:nth-child(2){
  font-size: 30px;
}

.currency-symbol {
  font-size: 42px;
  vertical-align: top;
  position: relative;
  top: -6px;
  margin-right: -2px;
}

.bonus-label {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  vertical-align: middle;
  margin-left: 5px;
  position: relative; 
  top: -6px;
  text-transform:uppercase;
}

.fs-label {
  font-size: 46px;
  font-weight: 800;
  margin-top: 5px;
}

.popup-desc {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.95;
  margin-bottom: 0px;
}

.popup-desc-bold {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
  margin-top: 0px;
}

.spin-btn-popup {
  width: 85%;
  background: linear-gradient(180deg, #0DF81B 0%, #095C8A 100%);
    border: 2px solid transparent;
  background-image: 
    linear-gradient(180deg, #0DF81B 0%, #095C8A 100%), 
    linear-gradient(180deg, #4FFBA8 0%, #1BBE4B 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  
  /* Эффект объемного свечения (как на первом макете) */
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 4px 15px rgba(13, 248, 27, 0.3);
  
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  border-radius: 14px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  padding: 12px 0;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 -4px 0 rgba(0, 0, 0, 0.2);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  transition: transform 0.1s, filter 0.2s;
}

.spin-btn-popup:hover {
  filter: brightness(1.05);
}

.spin-btn-popup:active {
  transform: translateY(2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}


.popup-box {
  position: relative;
  background: linear-gradient(#d81e24 0%, #7e0000 100%);
  border-radius: 40px;
  padding: 44px 37px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.popup-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 14px;
  background: linear-gradient(180deg, #FDDE66 0%, #f9d047 30%, #C2630D 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.popup-box::after {
  content: "";
  position: absolute;
  top: 0.73px;
  bottom: 0.73px;
  left: 1.73px;
  right: -0.27px;
  border: 20.27px solid transparent;
  border-radius: 40px;
  background: linear-gradient(180deg, #914320 0%, #F9CF72 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}