@font-face {
  font-family: "Oxanium";
  src: url("assets/fonts/oxanium-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --night: oklch(0.176 0.042 263);
  --night-deep: oklch(0.11 0.032 268);
  --night-raised: oklch(0.211 0.056 264);
  --pink: oklch(0.604 0.235 6.6);
  --pink-bright: oklch(0.69 0.245 3);
  --pink-deep: oklch(0.43 0.19 2);
  --violet: oklch(0.665 0.214 301.5);
  --gold: oklch(0.872 0.156 88.3);
  --white: oklch(1 0 0);
  --white-muted: oklch(0.86 0.018 275);
  --focus: oklch(0.92 0.17 93);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-width: 320px;
  background: var(--night-deep);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--night-deep);
  color: var(--white);
  font-family: "Oxanium", "Trebuchet MS", sans-serif;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
}

.hero-art {
  position: absolute;
  z-index: -3;
  inset: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  background:
    linear-gradient(180deg, oklch(0.08 0.025 265 / 0.22) 0%, transparent 28%),
    linear-gradient(90deg, oklch(0.07 0.026 266 / 0.64) 0%, oklch(0.07 0.026 266 / 0.24) 52%, transparent 78%);
}

.hero::after {
  z-index: -1;
  background: linear-gradient(180deg, transparent 62%, var(--night-deep) 100%);
}

.hero-stage {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 0;
  padding: max(82px, env(safe-area-inset-top)) 18px 10px;
}

.brand {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  width: 146px;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.84;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  row-gap: 16px;
  width: min(100%, 410px);
  min-height: 0;
  margin-inline: auto;
  text-align: center;
}

.campaign-component {
  display: contents;
}

.promo-zone {
  align-self: center;
  width: 100%;
}

.offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-wrap: balance;
}

.offer-intro,
.offer-outro {
  color: var(--white);
  font-size: clamp(0.94rem, 4.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.16;
  text-shadow: 0 2px 6px oklch(0 0 0 / 0.66);
}

.offer-intro {
  margin-bottom: 12px;
}

.offer-number {
  color: var(--white);
  font-family: "Oxanium", sans-serif;
  font-size: clamp(5.85rem, 25vw, 6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 0.78;
  letter-spacing: 0.065em;
  text-indent: 0.065em;
  text-shadow:
    0 4px 0 var(--pink-deep),
    0 10px 18px oklch(0 0 0 / 0.42);
}

.offer-label {
  margin-top: 7px;
  color: var(--pink-bright);
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2.05rem, 8.5vw, 3rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 0 var(--pink-deep);
}

.offer-outro {
  margin-top: 8px;
}

.bonus-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(20px, 2.8svh, 28px);
}

.action-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.bonus-label {
  margin-bottom: 5px;
  color: var(--white-muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.bonus-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 166px;
  height: 46px;
  padding: 0 16px;
  border: 2px dashed var(--gold);
  border-radius: 6px;
  background: var(--night-deep);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms var(--ease-out);
}

.bonus-code:hover {
  border-color: var(--white);
  background: var(--night-raised);
  transform: translateY(-2px);
}

.bonus-code:active {
  transform: translateY(0);
}

.bonus-value {
  font-family: "Oxanium", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.bonus-copy-icon {
  width: 15px;
  height: 15px;
  margin-left: 10px;
  background: var(--gold);
  -webkit-mask: url("assets/icons/copy.svg") center / contain no-repeat;
  mask: url("assets/icons/copy.svg") center / contain no-repeat;
}

.bonus-code.is-copied .bonus-copy-icon {
  background: var(--white);
}

.bonus-code.is-copied {
  border-color: var(--white);
}

.bonus-code.is-copied .bonus-value {
  color: var(--gold);
}

.signup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 340px);
  height: 52px;
  margin-top: 0;
  border-radius: 12px;
  background: var(--pink);
  box-shadow: 0 6px 0 var(--pink-deep);
  color: var(--white);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease-out);
}

.signup-cta:hover {
  background: var(--pink-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--pink-deep);
}

.signup-cta:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--pink-deep);
}

.cta-arrow {
  margin-left: 10px;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms var(--ease-out);
}

.signup-cta:hover .cta-arrow {
  transform: translateX(4px);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 340px);
  margin: 16px auto 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  position: absolute;
  top: 17px;
  right: 16.5%;
  left: 16.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--white), var(--pink), transparent);
  background-size: 200% 100%;
  content: "";
  opacity: 0.78;
  animation: step-flow 4s linear infinite;
}

@keyframes step-flow {
  to {
    background-position: -200% 0;
  }
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white-muted);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.2;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-bottom: 6px;
  border: 1px solid var(--pink-bright);
  border-radius: 50%;
  background-color: var(--night);
  box-shadow: 0 0 8px oklch(0.62 0.24 6 / 0.38);
}

.step-icon::before {
  width: 17px;
  height: 17px;
  background: var(--white);
  content: "";
}

.step-icon--signup::before {
  -webkit-mask: url("assets/icons/log-in.svg") center / contain no-repeat;
  mask: url("assets/icons/log-in.svg") center / contain no-repeat;
}

.step-icon--bonus::before {
  -webkit-mask: url("assets/icons/gift.svg") center / contain no-repeat;
  mask: url("assets/icons/gift.svg") center / contain no-repeat;
}

.step-icon--play::before {
  transform: translateX(1px);
  -webkit-mask: url("assets/icons/play.svg") center / contain no-repeat;
  mask: url("assets/icons/play.svg") center / contain no-repeat;
}

.games-shell {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 6px 0 max(8px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, oklch(0.095 0.03 268 / 0.9) 22%, var(--night-deep) 100%);
}

.games-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1360px);
  margin: 0 auto 7px;
}

.games-heading h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.games-title-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: var(--pink-bright);
  filter: drop-shadow(0 0 4px oklch(0.62 0.24 6 / 0.38));
  -webkit-mask: url("assets/icons/flame.svg") center / contain no-repeat;
  mask: url("assets/icons/flame.svg") center / contain no-repeat;
}

.games-controls {
  display: flex;
  gap: 15px;
}

.rail-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 1px solid oklch(1 0 0 / 0.34);
  border-radius: 50%;
  background: var(--night-raised);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.rail-button::before {
  position: absolute;
  inset: -8px;
  content: "";
}

.rail-button:hover {
  border-color: var(--pink-bright);
  background: var(--pink-deep);
}

.rail-button span {
  width: 14px;
  height: 14px;
  background: var(--white);
}

.rail-button--prev span {
  -webkit-mask: url("assets/icons/chevron-left.svg") center / contain no-repeat;
  mask: url("assets/icons/chevron-left.svg") center / contain no-repeat;
}

.rail-button--next span {
  -webkit-mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
  mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
}

.games-viewport {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  cursor: grab;
}

.games-viewport::-webkit-scrollbar {
  display: none;
}

.games-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.games-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  padding: 0 16px;
  gap: 10px;
}

.games-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.game-card {
  flex: 0 0 78px;
  width: 78px;
}

.game-card img {
  display: block;
  width: 78px;
  height: 104px;
  border-radius: 8px;
  background: var(--night-raised);
  object-fit: cover;
  box-shadow: 0 5px 8px oklch(0 0 0 / 0.42);
  transition:
    filter 200ms ease,
    transform 200ms var(--ease-out);
}

.game-card:hover img {
  filter: saturate(1.14) brightness(1.06);
  transform: translateY(-3px);
}

.game-card h3 {
  display: -webkit-box;
  margin: 5px 1px 0;
  overflow: hidden;
  color: var(--white-muted);
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 600px) {
  .brand {
    width: 172px;
  }

  .hero-stage {
    padding-top: 96px;
  }

  .hero-content {
    width: min(100%, 450px);
  }

  .game-card,
  .game-card img {
    width: 90px;
  }

  .game-card {
    flex-basis: 90px;
  }

  .game-card img {
    height: 121px;
  }

  .game-card h3 {
    font-size: 0.6rem;
  }
}

@media (min-width: 768px) {
  .hero::before {
    background:
      linear-gradient(180deg, oklch(0.08 0.025 265 / 0.16) 0%, transparent 34%),
      linear-gradient(90deg, oklch(0.07 0.026 266 / 0.44) 0%, oklch(0.07 0.026 266 / 0.28) 48%, transparent 73%);
  }

  .hero-stage {
    justify-content: flex-start;
    padding: 104px max(48px, 8vw) 20px;
  }

  .brand {
    top: 18px;
    width: 185px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    width: min(44vw, 470px);
    margin: 0;
  }

  .promo-zone {
    display: contents;
  }

  .offer-intro {
    margin-bottom: 4px;
  }

  .bonus-group {
    margin-top: auto;
  }

  .action-zone {
    margin-top: 12px;
  }

  .offer-number {
    font-size: 6rem;
  }

  .offer-label {
    font-size: clamp(2.65rem, 4.5vw, 3.2rem);
  }

  .signup-cta {
    height: 56px;
  }

  .games-shell {
    padding-top: 10px;
  }

  .games-heading {
    margin-bottom: 9px;
  }

  .games-heading h2 {
    font-size: 0.76rem;
  }

  .games-track,
  .games-group {
    gap: 12px;
  }

  .games-track {
    padding-inline: 20px;
  }

  .game-card,
  .game-card img {
    width: 98px;
  }

  .game-card {
    flex-basis: 98px;
  }

  .game-card img {
    height: 132px;
    border-radius: 10px;
  }

  .game-card h3 {
    font-size: 0.64rem;
  }
}

@media (min-width: 1200px) {
  .hero-stage {
    padding-left: clamp(96px, 8vw, 160px);
  }

  .hero-content {
    justify-content: center;
    width: min(50vw, 720px);
  }

  .campaign-component,
  .promo-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .offer-intro,
  .offer-outro {
    font-size: clamp(1.5rem, 1.7vw, 1.9rem);
  }

  .offer-intro {
    margin-bottom: clamp(16px, 1.2vw, 24px);
  }

  .offer-number {
    font-size: clamp(10rem, 10.4vw, 11.7rem);
    letter-spacing: 0.075em;
    text-indent: 0.075em;
  }

  .offer-label {
    margin-top: clamp(14px, 1vw, 18px);
    font-size: clamp(4.65rem, 5.2vw, 5.85rem);
  }

  .offer-outro {
    margin-top: clamp(16px, 1.2vw, 24px);
  }

  .bonus-group {
    margin-top: clamp(32px, 3.2vh, 44px);
  }

  .bonus-label {
    margin-bottom: 8px;
    font-size: 0.8rem;
  }

  .bonus-code {
    width: 216px;
    height: 60px;
    padding-inline: 20px;
    border-radius: 8px;
  }

  .bonus-value {
    font-size: 1.28rem;
  }

  .bonus-copy-icon {
    width: 20px;
    height: 20px;
    margin-left: 12px;
  }

  .action-zone {
    margin-top: clamp(24px, 2.5vh, 32px);
  }

  .signup-cta {
    width: min(100%, 442px);
    height: 72px;
    border-radius: 12px;
    box-shadow: 0 7px 0 var(--pink-deep);
    font-size: 1.22rem;
  }

  .signup-cta:hover {
    box-shadow: 0 9px 0 var(--pink-deep);
  }

  .cta-arrow {
    margin-left: 14px;
    font-size: 1.5rem;
  }

  .steps {
    width: min(100%, 442px);
    margin-top: 24px;
  }

  .steps::before {
    top: 22px;
  }

  .step {
    font-size: 0.8rem;
  }

  .step-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
  }

  .step-icon::before {
    width: 22px;
    height: 22px;
  }

  .game-card,
  .game-card img {
    width: 104px;
  }

  .game-card {
    flex-basis: 104px;
  }

  .game-card img {
    height: 140px;
  }
}

@media (min-width: 1200px) and (max-height: 880px) {
  .hero-stage {
    padding-top: 88px;
    padding-bottom: 14px;
  }

  .offer-intro,
  .offer-outro {
    font-size: 1.2rem;
  }

  .offer-intro {
    margin-bottom: 12px;
  }

  .offer-number {
    font-size: 8.5rem;
  }

  .offer-label {
    margin-top: 10px;
    font-size: 3.9rem;
  }

  .offer-outro {
    margin-top: 12px;
  }

  .bonus-group {
    margin-top: 24px;
  }

  .bonus-label {
    margin-bottom: 6px;
    font-size: 0.7rem;
  }

  .bonus-code {
    width: 190px;
    height: 50px;
  }

  .bonus-value {
    font-size: 1.08rem;
  }

  .bonus-copy-icon {
    width: 17px;
    height: 17px;
  }

  .action-zone {
    margin-top: 20px;
  }

  .signup-cta {
    width: min(100%, 400px);
    height: 60px;
    font-size: 1.05rem;
  }

  .steps {
    width: min(100%, 400px);
    margin-top: 18px;
  }

  .steps::before {
    top: 19px;
  }

  .step {
    font-size: 0.7rem;
  }

  .step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
  }

  .step-icon::before {
    width: 19px;
    height: 19px;
  }
}

@media (max-height: 720px) and (max-width: 767px) {
  .hero-stage {
    padding-top: 66px;
  }

  .brand {
    top: 6px;
    width: 126px;
  }

  .offer-number {
    font-size: 5.15rem;
    letter-spacing: 0.055em;
    text-indent: 0.055em;
  }

  .hero-content {
    row-gap: 8px;
  }

  .offer-label {
    margin-top: 4px;
    font-size: 1.95rem;
  }

  .offer-intro,
  .offer-outro {
    font-size: 0.82rem;
  }

  .offer-intro {
    margin-bottom: 10px;
  }

  .bonus-group {
    margin-top: 12px;
  }

  .bonus-code {
    height: 40px;
  }

  .signup-cta {
    height: 46px;
  }

  .steps {
    margin-top: 12px;
  }

  .step-icon {
    width: 30px;
    height: 30px;
  }

  .steps::before {
    top: 14px;
  }

  .game-card,
  .game-card img {
    width: 68px;
  }

  .game-card {
    flex-basis: 68px;
  }

  .game-card img {
    height: 91px;
  }

  .game-card h3 {
    font-size: 0.52rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .steps::before {
    background-position: 50% 0;
  }
}
