@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: #023018;
  color: #f8ecd4;
  font-family: "Gilroy", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: none;
}

a {
  color: inherit;
}

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

.viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #023018;
}

.viewport__bg {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(28px) brightness(0.62);
  pointer-events: none;
}

.fit {
  position: relative;
  z-index: 1;
  flex: none;
  overflow: hidden;
}

.stage {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
  background: #023018;
}

.stage--desk {
  width: 1672px;
  height: 941px;
}

.stage--mob {
  width: 853px;
  height: 1496px;
}

.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.topbar {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: auto;
}

.meta {
  display: flex;
  align-items: center;
}

.meta__terms {
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.meta__terms:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  flex: none;
}

.title,
.lead,
.bonus__name,
.bonus__kicker,
.bonus__value,
.cta,
.meta__terms,
.age {
  -webkit-text-stroke: 0.035em currentColor;
  paint-order: stroke fill;
}

.title {
  position: absolute;
  z-index: 3;
  margin: 0;
  color: #f8ecd4;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.title__rule,
.bonus__rule {
  display: block;
  flex: none;
  background: #e2bc45;
}

.lead {
  position: absolute;
  z-index: 3;
  left: 0;
  width: 100%;
  margin: 0;
  color: #f4ead6;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.board {
  position: absolute;
  z-index: 2;
}

.bonus {
  position: absolute;
  z-index: 3;
}

.bonus__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bonus__inner {
  position: relative;
  z-index: 1;
  height: 100%;
}

.bonus__name,
.bonus__kicker,
.bonus__value {
  margin: 0;
}

.bonus__value {
  color: #f6c400;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(70, 40, 0, 0.28);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffe56a 0%, #f5cc18 62%, #e8b20c 100%);
  color: #1a320c;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 2px 0 rgba(120, 78, 0, 0.28);
  transform-origin: center center;
  animation: cta-pulse 1.8s ease-in-out infinite;
}

.cta:hover {
  filter: brightness(1.05);
}

.cta:active {
  filter: brightness(0.97);
}

.cta:focus-visible,
.meta__terms:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.stage--desk .topbar {
  top: 10px;
  left: 0;
  right: 0;
  height: 58px;
  justify-content: center;
}

.stage--desk .logo {
  height: 58px;
}

.stage--desk .title {
  top: 76px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  font-size: 68px;
  line-height: 0.9;
  letter-spacing: 0.004em;
  white-space: nowrap;
}

.stage--desk .title__rule {
  width: 74px;
  height: 7px;
}

.stage--desk .lead {
  top: 154px;
  font-size: 28px;
  letter-spacing: 0.045em;
}

.stage--desk .board {
  top: 209px;
  left: 255px;
  width: 1162px;
  height: 593px;
}

.stage--desk .bonus {
  top: 800px;
  left: 22px;
  width: 1628px;
  height: 126px;
}

.stage--desk .bonus__inner {
  display: grid;
  grid-template-columns: 270px 1px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 22px;
  height: 100%;
  padding: 14px 30px 12px 24px;
  background: #0000005c;
  border-radius: 20px;
}

.stage--desk .bonus__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.stage--desk .bonus__sep {
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, 0.72);
}

.stage--desk .bonus__value {
  font-size: 82px;
  letter-spacing: -0.02em;
  text-align: center;
}

.stage--desk .cta {
  height: 74px;
  padding: 0 40px;
  border-radius: 12px;
  font-size: 28px;
}

.stage--mob .bg {
  object-fit: cover;
  object-position: center;
}

.stage--mob .topbar {
  top: 10px;
  left: 0;
  right: 0;
  height: 88px;
  justify-content: center;
}

.stage--mob .logo {
  height: 96px;
}

.stage--mob .age {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 42px;
  height: 42px;
  border-width: 2px;
  font-size: 15px;
  transform: translateY(-50%);
}

.stage--mob .title {
  top: 112px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-size: 76px;
  line-height: 0.88;
  letter-spacing: 0.006em;
}

.stage--mob .title__line {
  display: block;
}

.stage--mob .title__line--rules {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stage--mob .title__rule {
  width: 50px;
  height: 6px;
}

.stage--mob .lead {
  top: 192px;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.stage--mob .board {
  top: 234px;
  left: 87px;
  width: 680px;
  height: 936px;
}

.stage--mob .bonus {
  top: 1186px;
  left: 27px;
  width: 798px;
  height: 282px;
}

.stage--mob .bonus__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 22px 34px 20px;
}

.stage--mob .bonus__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stage--mob .bonus__rule {
  width: 42px;
  height: 5px;
}

.stage--mob .bonus__value {
  font-size: 86px;
  letter-spacing: -0.025em;
}

html:lang(az) .stage--mob .bonus__value,
html:lang(uz) .stage--mob .bonus__value,
html:lang(kk) .stage--mob .bonus__value {
  font-size: 72px;
}

.stage--mob .cta {
  width: 100%;
  height: 88px;
  border-radius: 16px;
  font-size: 36px;
}

.viewport--mob {
  display: none;
}

@media (max-width: 768px) {
  .viewport--desk {
    display: none;
  }

  .viewport--mob {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@keyframes cta-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    animation: none;
  }
}
