:root {
  --bg1: #0b1623;
  --bg2: #0a2a43;
  --txt: #eaf6ff;
  --muted: rgba(234, 246, 255, 0.78);
  --accent: #ffd200;
  --blue: #1c86ff;
  --blueDeep: #062e57;
  --card: #0f3757;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Montserrat,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--txt);
  background: #273443;
  overflow-x: hidden;
}

.dark__bg {
  width: 100%;
  position: absolute;
  z-index: -1;
}

.top__dark__bg {
  position: relative;
  top: 0;
  width: 100%;
  height: 200px;
  z-index: -1;
  background: linear-gradient(180deg, #0f0f1a 0%, rgba(39, 52, 67, 0) 100%);
}

.bottom__dark__bg {
  position: relative;
  bottom: 0;
  height: 200px;
  z-index: -1;
  background: linear-gradient(0deg, #0f0f1a 0%, rgba(15, 15, 26, 0) 100%);
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.bg__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      380px 280px at 20% 60%,
      rgba(33, 160, 255, 0.25),
      transparent 65%
    ),
    radial-gradient(
      420px 320px at 70% 55%,
      rgba(33, 160, 255, 0.22),
      transparent 70%
    ),
    radial-gradient(
      620px 420px at 50% 15%,
      rgba(255, 210, 0, 0.1),
      transparent 70%
    );
  filter: blur(2px);
}
.bg__snow {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(
      circle at 20px 20px,
      rgba(255, 255, 255, 0.8) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 120px 80px,
      rgba(255, 255, 255, 0.6) 0 1px,
      transparent 3px
    ),
    radial-gradient(
      circle at 240px 120px,
      rgba(255, 255, 255, 0.7) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 360px 60px,
      rgba(255, 255, 255, 0.5) 0 1px,
      transparent 3px
    ),
    radial-gradient(
      circle at 480px 160px,
      rgba(255, 255, 255, 0.8) 0 2px,
      transparent 3px
    );
  background-size: 520px 220px;
  animation: snowMove 18s linear infinite;
}
@keyframes snowMove {
  from {
    transform: translateY(-40px);
  }
  to {
    transform: translateY(120px);
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 6px;
}
.logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 26px;
  padding: 18px 0 10px;
}
.hero__copy h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 900;
}
.accent {
  color: var(--accent);
}
.muted {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition:
    transform 0.12s ease,
    background-color 0.12s ease,
    color 0.12s ease,
    filter 0.12s ease;
  user-select: none;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn--lg {
  padding: 14px 22px;
  font-size: 18px;
  background: var(--accent);
  color: #0b2034;
}
.btn--lg:hover {
  background: var(--blue);
  color: white;
}
.btn--sm {
  padding: 10px 16px;
  font-size: 16px;
  background: #2f89ff;
  color: white;
  border-radius: 18px;
}
.btn--sm:hover {
  background: #062e57;
}
.btn--ghost {
  padding: 12px 18px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--txt);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero__wheel {
  display: flex;
  justify-content: center;
}
.wheel {
  position: relative;
  width: min(460px, 44vw);
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}
.wheel__clip {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  isolation: isolate;
  z-index: 1;
}
.wheel__disc {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transform-box: fill-box;
  /* добивает любые "квадраты"/хвосты на самом изображении */
  clip-path: circle(49.6% at 50% 50%);
  transition: transform 4.5s cubic-bezier(0.12, 0.72, 0.16, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  translate: 0 0;
  user-select: none;
  -webkit-user-drag: none;
}

.wheel__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: #2b3a46;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}
.wheel__centerLogo {
  width: 78%;
  height: auto;
  display: block;
  transform: translateY(1px);
}
.wheel__pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 46px solid var(--blue);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  z-index: 5;
}
.wheel__pointer::after {
  content: "";
  position: absolute;
  left: -18px;
  top: -41px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 38px solid rgba(255, 255, 255, 0.28);
  transform: translateY(6px);
}

.timer {
  text-align: center;
  padding: 16px 0 8px;
}
.timer__title {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.95;
}
.timer__box {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #d41414;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.05em;
}

.deposits {
  padding: 8px 0 10px;
}
.deposits h2 {
  margin: 12px 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 900;
}
.deposits__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}
.deposits__row img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}
.fineprint {
  margin: 10px 0 0;
  color: rgba(234, 246, 255, 0.62);
  font-size: 11px;
  line-height: 1.3;
}

.ticker {
  margin-top: 10px;
  background: rgba(10, 45, 72, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  gap: 18px;
  padding: 8px 14px;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(50, 175, 255, 0.95);
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 0 8px;
}
.mid__girl {
  display: flex;
  justify-content: end;
}
.mid__girl img {
  width: min(360px, 70%);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}
.mid__cta {
  display: flex;
  justify-content: start;
}
.ctaRound {
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
  color: #0b2034;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}
.ctaRound:hover {
  background: var(--blue);
  color: white;
}
.ctaRound:active {
  transform: translateY(1px) scale(0.99);
}
.ctaRound span {
  font-size: 14px;
  line-height: 1.15;
}

.why {
  padding: 10px 0 16px;
}
.why h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(22px, 2.4vw, 30px);
}
.why__cards img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.providers {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0 0;
  opacity: 0.95;
}
.providers img {
  width: 100%;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.bottom {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 18px;
  padding: 14px 0 38px;
}
.bottom h2 {
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.05;
  font-size: clamp(22px, 2.4vw, 30px);
}
.bottom__mascot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bottom__mascot img {
  width: min(270px, 64%);
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.35));
}
.bottom__main {
  display: flex;
  align-items: center;
}
.mascot__mob {
  display: none;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
}
.modal[aria-hidden="false"] {
  display: block;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.modal__card {
  position: relative;
  width: min(520px, calc(100% - 48px));
  margin: 14vh auto 0;
  background: rgba(10, 35, 54, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  backdrop-filter: blur(10px);
}
.modal__title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 22px;
}
.modal__prize {
  margin-top: 10px;
  font-size: 18px;
  color: var(--accent);
  font-weight: 900;
}
.modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn__spin_des {
  display: block;
}
.btn__spin_mob {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__copy {
    display: grid;
    justify-items: center;
  }
  .mid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bottom__mascot {
    justify-content: center;
  }
  .providers {
    justify-content: center;
  }
  .mid__girl {
    justify-content: center;
  }
  .ctaRound {
    border-radius: 0px;
  }
  .ctaRound {
    width: 400px;
    height: 104px;
  }
  .ctaRound span {
    font-size: 22px;
    line-height: 1.15;
  }
}
@media (max-width: 520px) {
  .container {
    width: calc(100% - 28px);
  }
  .logo {
    height: 32px;
  }
  .btn--lg {
    width: 100%;
  }

  .ctaRound {
    width: 264px;
    height: 104px;
  }
  .mid__girl {
    justify-content: center;
  }
  .ctaRound {
    border-radius: 0px;
  }

  .bottom {
    padding: 14px 0 28px;
  }

  .bottom__mascot {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bottom__mascot img {
    width: min(260px, 75%);
    margin-top: 16px;
  }

  .bottom h2 {
    font-size: clamp(20px, 6.5vw, 28px);
    text-align: center;
  }

  .bottom__mascot > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mascot__mob {
    display: block;
  }
  .mascot__des {
    display: none;
  }

  .wheel {
    width: min(460px, 75vw);
  }

  .btn__spin_des {
    display: none;
  }
  .btn__spin_mob {
    display: block;
  }
}
