@font-face {
  font-family: 'NeueHaasDisplay-Bold';
  src: local('NeueHaasDisplay-Bold'),
    url('../fonts/NeueHaasDisplay-Bold.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplay-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay-Black';
  src: local('NeueHaasDisplay-Black'),
    url('../fonts/NeueHaasDisplay-Black.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplay-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NeueHaasDisplay-Medium';
  src: local('NeueHaasDisplay-Mediu'),
    url('../fonts/NeueHaasDisplay-Mediu.woff2') format('woff2'),
    url('../fonts/NeueHaasDisplay-Mediu.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}



:root {
  --primary-light: #2058B1;
  --primary-color: #0B1563;
  --primary-color-dark: #03082F;

  --border-color: #2A76CC;

  --secondary-color: #F8B900;

  --header-background: linear-gradient(180deg, var(--primary-color) 15.06%, var(--primary-light) 136.31%);
  --footer-background: linear-gradient(180deg, var(--primary-color) 15.06%, var(--primary-light) 136.31%);

  --nav-link-color: #6CBAF9;
  --nav-background-color: linear-gradient(180deg, var(--primary-color) 15.06%, var(--primary-light) 136.31%);

  --text-color: #B8B8B8;

  --step-background-color: linear-gradient(180deg, var(--primary-light) 0%, #0C1965 100%);
  --game-overlay-opacity: 0;
}

* {
  box-sizing: border-box;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  background-color: var(--primary-color-dark);
}

html,
body {
  overflow-x: hidden;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.hidden,
[hidden] {
  display: none !important;
}

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

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

img {
  width: 100%;
}

body {
  margin: 0;
  padding: 70px 0 0 0;
}

body.blocked {
  overflow: hidden;
  height: 100%;
}

main {
  padding-bottom: 30px;
}

h1 {
  font-family: "NeueHaasDisplay-Black", sans-serif;
  font-size: 22px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}

h2,
.second--title {
  font-family: "NeueHaasDisplay-Bold", sans-serif;
  font-size: 20px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}

h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h2:has(img) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

h2 img {
  width: 30px;
  flex: 0 0 30px;
}

ul {
  padding-left: 10px;
  margin: 0 0 0 6px;
}

ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li,
ol li {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  font-size: 14px;
}

ul li strong {
  color: white;
}

ul li::marker {
  color: var(--secondary-color);
}

ul.--spaced {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

ol li {
  counter-increment: item;
  padding-left: 15px;
}

ol li::before {
  content: counter(item) ") ";
  margin-left: -14px;
  font-weight: bold;
}

section {
  padding-top: 20px;
  padding-bottom: 10px;
}

section .container .link-button {
  max-width: 220px;
  width: 100%;
  margin: 20px auto 0;
}

.section-block {
  padding: 30px;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  border-radius: 20px;
  background: rgba(13, 27, 103, 0.51);
}

.block-highlighted {
  background: #0C1247;
  border-radius: 10px;
}

.block-highlighted h3 {
  text-transform: uppercase;
  font-size: 20px;
  font-family: "NeueHaasDisplay-Bold", "sans-serif";
}

.block-highlighted h3:not(.highlight) {
  color: white;
}

.block-highlighted h4 {
  margin-bottom: 10px;
}

.block-highlighted:not(.tutorial-step-number) {
  padding: 20px;
}

.--bordered {
  border: 1px solid rgba(42, 118, 204, 0.30);
}

p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  color: var(--text-color);
}

*.--white {
  color: white;
}

.block-highlighted p {
  color: white;
}

.block-highlighted p+p {
  margin-top: 20px;
}

p strong {
  color: #fff;
}

.highlight {
  color: var(--secondary-color);
}

p.highlight {
  font-weight: bold;
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.container {
  max-width: 380px;
  padding: 0 20px;
  margin: 0 auto;
}

h2+.container-grid {
  margin-top: 10px;
}

section .container:not(.container-grid) {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

section .container-grid {
  display: grid;
  gap: 30px;
}

section .container-grid:has(.block-highlighted) {
  gap: 10px;
}

section .container-grid.--no-column {
  grid-template-columns: repeat(1, 1fr) !important;
}

.link-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.link-button span {
  font-family: 'NeueHaasDisplay-Black', 'sans-serif';
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: white;
  z-index: 4;
  padding: 14px;
  white-space: nowrap;
}

.link-button img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.link-button img:not(.hover) {
  z-index: 2;
}

.link-button img.hover {
  z-index: 1;
}

.link-button:hover img.hover {
  z-index: 3;
}

.link-button.--blue span {
  text-shadow: 0 1px 2px rgba(11, 21, 99, 0.82);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #112275;
}

.link-button.--green span {
  text-shadow: 0 1px 2px rgba(14, 53, 13, 0.82);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #184A0D;
}

.link-button.--large {
  padding: 0 20px;
}

.link-button.--large span {
  font-size: 20px;
}

.banner {
  max-width: 380px;
  padding: 315px 20px 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
}

.banner::after {
  content: '';
  position: absolute;
  background: linear-gradient(to top, #070C39 55%, rgba(6, 10, 57, 0.00) 75%);
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.banner-image {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.banner-content {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 20px;
  z-index: 2;
}

.banner .banner-title {
  font-family: "NeueHaasDisplay-Black", sans-serif;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #F7EC02;
  background: linear-gradient(0deg, #F1D300 0%, #E19600 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 30px;
  line-height: 35px;
  text-transform: uppercase;
  letter-spacing: 0.48px;
}

.banner .banner-title br {
  display: none;
}

.banner .banner-text {
  font-family: "NeueHaasDisplay-Medium", sans-serif;
  font-size: 16px;
  color: white;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

.content-banner {
  max-width: 380px;
  padding: 255px 20px 35px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  margin: 40px auto;
}

.content-banner .banner-image {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.content-banner .banner-content {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  z-index: 2;
}

.content-banner .banner-title {
  font-family: "NeueHaasDisplay-Black", sans-serif;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #F7EC02;
  background: linear-gradient(0deg, #F1D300 0%, #E19600 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 30px;
  line-height: 35px;
  text-transform: uppercase;
  letter-spacing: 0.48px;
}

.content-banner .banner-title br {
  display: none;
}

.content-banner .banner-text {
  font-family: "NeueHaasDisplay-Medium", sans-serif;
  font-size: 16px;
  color: white;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

nav {
  width: 100%;
  height: 100%;
  z-index: 10;
  position: fixed;
  top: 70px;
  left: -100%;
}

nav.opened {
  left: 0;
}

.nav-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: var(--nav-background-color);
  left: -100%;
  transition: left .3s linear;
  position: relative;
}

nav.opened .nav-inner {
  left: 0;
}

nav ul {
  padding: 20px;
  margin: 0;
  list-style: none;
  background-color: var(--primary-color-dark);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--nav-link-color);
  display: flex;
  align-items: center;
  font-family: "NeueHaasDisplay-Bold", "sans-serif";
  font-size: 18px;
  text-transform: uppercase;
  padding-left: 40px;
  position: relative;
}

nav ul li a img.active {
  opacity: 0;
}

nav ul li a:hover,
nav ul li a.active {
  background: linear-gradient(180deg, #F1D300 30%, #E19600 70%);
  text-shadow: none;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul li a:hover img.active,
nav ul li a.active img.active {
  opacity: 1;
}

nav ul li a img {
  width: 24px;
  height: 24px;
  position: absolute;
  left: 0;
}

header {
  display: flex;
  align-items: center;
  background: var(--header-background);
  padding: 10px 15px;
  height: 70px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 0;
}

header .burger-menu {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  position: relative;
}

header .burger-menu img {
  position: absolute;
}

header .burger-menu .cross-icon {
  opacity: 0;
}

body:has(nav.opened) header .burger-menu .cross-icon {
  opacity: 1;
}

body:has(nav.opened) header .burger-menu .burger-icon {
  opacity: 0;
}

.header-actions {
  display: flex;
  gap: 6px;
}

.logo,
.logo img {
  height: 100%;
  object-fit: contain;
  margin-right: auto;
  max-width: 105px;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.game {
  aspect-ratio: 0.67 / 1;
  overflow: hidden;
  position: relative;
  display: grid;
}

.game-picture {
  position: relative;
  overflow: hidden;
  grid-area: 1 / 1 / 2 / -1;
  border-radius: 12px;
  margin: 2% 2% 3%;
}

.game::before {
  content: '';
  background: rgba(4, 14, 68, var(--game-overlay-opacity)) url("../img/games/border.png") no-repeat center 100%/100%;
  aspect-ratio: 0.67 / 1;
  z-index: 2;
  grid-area: 1 / 1 / -1 / -1;
  background-size: 100% 100%;
}

.game::after {
  position: relative;
  grid-area: 1 / 1 / -1 / -1;
  width: calc(100% - 2px);
  background: url("../img/games/animation.webp") center/cover;
  border-radius: 20px;
  opacity: 0;
  transition: opacity .2s;
  content: "";
}

.game a:not(.link-button) {
  position: relative;
  grid-area: 1 / 1 / -1 / -1;
  border-radius: 16px;
  z-index: 4;
}

.game img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: top center;
  transition: transform .2s;
}

.game .game-action {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  bottom: 0;
  transition: bottom .2s, opacity .1s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.game .link-button {
  width: max-content !important;
}

.game .link-button span {
  font-size: 20px !important;
}

.game .game-demo {
  font-size: 14px;
  font-family: "NeueHaasDisplay-Bold", sans-serif;
  color: #feba00;
  text-underline-offset: 4px;
}

.game .game-demo:hover {
  color: #e58517;
}

.game:hover {
  --game-overlay-opacity: .5;
}

.game:hover .game-picture img {
  transform: scale(1.05);
}

.game:hover::after {
  opacity: 0.9;
}

@media (hover: hover) and (pointer: fine) {
  .game a[aria-label] {
    display: none;
  }

  .game:hover .game-action {
    bottom: 30%;
    opacity: 1;
  }
}

.game:last-child {
  display: none;
}

.steps {
  display: grid;
  gap: 15px;
}

.step {
  padding: 20px 26px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid var(--border-color);
  background: var(--step-background-color);
}

.step h3 {
  color: var(--secondary-color);
  font-family: "NeueHaasDisplay-Black", sans-serif;
  font-size: 25px;
  text-shadow: 0 2px 0 #001687;
  text-transform: uppercase;
  word-break: break-word;
}

.tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tags .tag {
  background-color: #312A3C;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 5px;
  flex: 0 0 110px;
  height: 40px;
}

.tags .tag img {
  height: 100%;
  width: auto;
}

.rules {
  display: grid;
  gap: 10px;
  text-align: center;
}

.step p {
  color: white;
}

.vip {
  text-align: center;
}

.rules>*,
.vip>* {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tutorial-steps {
  display: grid;
  gap: 25px;
}

.tutorial-step h3 {
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "NeueHaasDisplay-Black", "sans-serif";
  text-transform: uppercase;
}

.tutorial-step .tutorial-step-title {
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "NeueHaasDisplay-Black", "sans-serif";
  font-size: 16px;
}

.tutorial-step .tutorial-step-title+p {
  margin-top: 10px;
}

.tutorial-step h3+>* {
  margin-top: 10px;
}

.tutorial-step .tutorial-step-number {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--step-background-color);
  font-size: 20px;
  border: 2px solid var(--border-color);
}

.choose-game {
  display: grid;
  gap: 10px;
}

.choose-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 10px;
  background: var(--step-background-color);
  border: 2px solid var(--border-color);
}

.choose-game:not(.--large) .choose-game-item {
  justify-content: center;
}

.choose-game-item h4 {
  margin: 0;
  text-align: center;
}

.live-games {
  display: grid;
  gap: 10px;
}

.live-games .live-game {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  font-family: "NeueHaasDisplay-Bold", "sans-serif";
}

.faq {
  border: 2px solid var(--border-color);
  background: var(--step-background-color);
  border-radius: 10px;
  overflow: hidden;
  padding: 0 20px;
  color: var(--text-color);
  height: max-content;
  cursor: pointer;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0 0;
  font-family: "NeueHaasDisplay-Bold", sans-serif;
  color: white;
  font-size: 18px;
}

.faq-body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  padding-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  color: white;
}

.faq-body span {
  display: block;
  margin-bottom: 10px;
}

.faq.active .faq-header {
  color: var(--secondary-color);
}

.faq-header svg {
  flex-shrink: 0;
  flex-grow: 0;
}

.faq-header path {
  fill: var(--secondary-color);
}

footer {
  background: var(--footer-background);
  padding: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.page-popup {
  display: flex;
  position: fixed;
  flex-direction: column;
  bottom: 50px;
  right: 8px;
  padding: 64px 20px 30px;
  margin-left: 8px;
  max-width: 500px;
  border: 1px solid #2A76CC;
  border-radius: 16px;
  background: linear-gradient(180deg, #2056AE 0%, #0D1D69 100%);
  opacity: 0;
  visibility: hidden;
  text-align: center;
  transition: visibility 0s .2s, opacity .1s ease-in;
  z-index: 100;
}

.page-popup.show {
  visibility: visible;
  opacity: 1;
  transition: opacity .1s ease-in;
}

.page-popup.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s .2s, opacity .1s ease-in;
}

.page-popup .popup-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 30px;
  right: 20px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 6px;
  background: #2A76CC;
  transition: background .2s ease;
  cursor: pointer;
}

.page-popup .popup-close:hover {
  background: #2063af;
}

.page-popup .popup-close svg {
  width: 8px;
  height: 8px;
}

.page-popup h2 {
  font-family: "NeueHaasDisplay-Black", sans-serif;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #F7EC02;
  background: linear-gradient(0deg, #F1D300 0%, #E19600 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
  font-size: 30px;
  line-height: 35px;
  text-transform: uppercase;
  letter-spacing: 0.48px;
}

.page-popup strong {
  font-size: 40px;
  display: block;
  margin-bottom: 0;
  font-weight: 900;
  color: orange;
}

.page-popup p {
  font-size: 20px;
  line-height: 1.5;
  color: white;
  margin: 0 0 14px;
  font-weight: 700;
}

.page-popup .link-button {
  max-width: 200px;
  margin: 0 auto;
}


@media screen and (min-width: 768px) {
  main {
    padding-top: 30px;
  }

  .container {
    max-width: 720px;
  }

  nav {
    background: rgba(0, 1, 7, 0.60);
    backdrop-filter: blur(2px);
  }

  .nav-inner {
    width: 345px;
  }

  .banner {
    width: 100%;
    max-width: 590px;
    padding: 330px 20px 48px;
  }

  .banner::after {
    background: linear-gradient(to top, #070C39 50%, rgba(6, 10, 57, 0.00) 70%);
  }

  .banner-content {
    gap: 25px;
  }

  .banner .banner-title br {
    display: block;
  }

  .banner .banner-text {
    font-size: 18px;
  }

  .banner .link-button {
    font-size: 16px;
    width: 180px;
  }

  .content-banner {
    width: 100%;
    max-width: 730px;
    padding: 12px 20px 48px;
  }

  .content-banner .banner-content {
    gap: 25px;
    margin: 0 auto;
  }

  .content-banner .banner-title br {
    display: block;
  }

  .content-banner .banner-text {
    font-size: 18px;
  }

  .content-banner .link-button {
    font-size: 16px;
    width: 180px;
  }

  h1 {
    font-size: 27px;
  }

  h2,
  .second--title {
    font-size: 25px;
  }

  h4 {
    font-size: 16px;
  }

  p {
    font-size: 16px;
  }

  section .container:not(.container-grid) {
    gap: 20px;
  }

  section .container-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
  }

  section .container-grid:has(.block-highlighted) {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .tutorial-steps.--reverse-column {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
  }

  .rules {
    grid-template-columns: repeat(4, 1fr);
  }

  .rules p {
    font-size: 14px;
  }

  .game-list {
    padding: 0 45px;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  section .container-grid:has(.block-highlighted).benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  section .container-grid:has(.block-highlighted).vip {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  section .container-grid:has(.block-highlighted).game-kind {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .steps.bonuses {
    grid-template-columns: repeat(2, 1fr);
  }

  .choose-game {
    gap: 20px;
  }

  .choose-game:not(.--large) {
    grid-template-columns: repeat(3, 1fr);
  }

  .live-games {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq {
    max-width: 515px;
    margin: 0 auto;
  }

  .faq-header {
    min-height: 68px;
  }
}

@media screen and (min-width: 1280px) {
  body {
    display: grid;
    grid-template-areas:
      "header header"
      "nav main"
      "footer footer";
    padding: 70px 0 0 280px;
  }

  h2:has(img) {
    justify-content: flex-start;
  }

  ul.--spaced {
    gap: 20px;
  }

  nav {
    width: 280px;
    height: 100dvh;
    grid-area: nav;
    left: 0;
    top: 70px;
    bottom: 0;
    background: var(--nav-background-color);
  }

  .nav-inner {
    width: auto;
    height: auto;
    background: transparent;
    left: 0;
  }

  header {
    grid-area: header;
    padding: 10px 70px;
  }

  header .burger-menu {
    display: none;
  }

  main {
    grid-area: main;
    padding: 40px 80px 30px;
  }

  .container {
    max-width: 1240px;
    padding: 0;
  }

  .banner {
    padding: 45px;
    align-items: flex-start;
    max-width: 1200px;
  }

  .banner-image {
    height: 100%;
    width: 60%;
    left: auto;
    right: 0;
    object-fit: cover;
  }

  .banner::after {
    background: linear-gradient(90deg, #070C39 50%, rgba(6, 10, 57, 0.00) 70%)
  }

  .banner .banner-text {
    font-size: 20px;
  }

  .content-banner {
    padding: 45px;
    align-items: flex-start;
    max-width: 1200px;
  }

  .content-banner .banner-image {
    height: 100%;
    width: 100%;
    left: auto;
    right: 0;
    object-fit: cover;
  }

  .content-banner .banner-text {
    font-size: 20px;
  }

  section .container-grid:has(.block-highlighted) {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  section .container-grid:has(.block-highlighted).game-kind {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .game-list {
    padding: 0;
    grid-template-columns: repeat(5, 1fr);
  }

  .game:last-child {
    display: grid;
  }

  .steps {
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
  }

  .steps.--three {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps.--combine {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
  }

  .steps.--combine .step:last-child {
    grid-row: 1 / span 2;
  }

  .tutorial-steps:not(.--reverse-column) {
    grid-template-columns: repeat(3, 1fr);
  }

  .tutorial-steps.--square {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
  }

  .choose-game.--large {
    grid-template-columns: repeat(3, 1fr);
  }

  .rules {
    gap: 20px;
  }

  .rules p {
    font-size: 20px;
  }

  .faq-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .faq {
    max-width: none;
    width: 100%;
  }

  footer {
    grid-area: footer;
    position: relative;
    z-index: 11;
  }
}

/* === 404 Slot Machine (Pure CSS) === */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-container main {
  margin-top: auto;
  padding-top: 0;
}

.page-container .footer {
  margin-top: auto;
}

.not-found-wrapper {
  padding: 40px 0;
  text-align: center;
}

.slot-404 {
  margin: 40px auto 25px;
  text-align: center;
}

.slot-machine {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Slot window */
.slot-window {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(to top, #070C39 55%, rgba(6, 10, 57, 0.00) 75%);
  border: 2px solid var(--border-color);
}

/* Reel */
.slot-reel {
  display: flex;
  flex-direction: column;
  animation: spin-reel 4.8s cubic-bezier(.22, .61, .36, 1) forwards;
}

/* Stagger spin timing */
.reel-1 {
  animation-duration: 2.4s;
}

.reel-2 {
  animation-duration: 3.6s;
}

.reel-3 {
  animation-duration: 4.8s;
}

.slot-reel span {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: white;
}

/* 404 as slot symbol */
.slot-reel .slot-404-symbol {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e8c547;
  text-shadow:
    0 0 8px rgba(232, 197, 71, 0.6),
    0 0 16px rgba(232, 197, 71, 0.35);
}

/* Label */
.slot-label {
  margin-top: 14px;
  font-size: 44px;
  letter-spacing: 0.12em;
  text-transform: none;
}

.not-found-text {
  font-size: 16px;
  line-height: 30px;
}

.cta-wrapper {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
}

.cta-wrapper .link-button {
  width: max-content;
}

.table-wrapper {
  width: 100%;
  margin: 28px 0 36px;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 211, 42, 0.35);
  background: linear-gradient(180deg, rgba(16, 47, 126, 0.95), rgba(5, 16, 65, 0.95));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.table-wrapper th,
.table-wrapper td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  line-height: 1.55;
}

.table-wrapper th {
  color: #ffd32a;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255, 211, 42, 0.08);
}

.table-wrapper td:first-child {
  color: #ffd32a;
  font-weight: 800;
  width: 32%;
}

.table-wrapper tr:last-child td {
  border-bottom: none;
}

.table-wrapper tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 767px) {
  .table-wrapper {
    margin: 22px 0 30px;
    border-radius: 14px;
  }

  .table-wrapper table {
    min-width: 560px;
  }

  .table-wrapper th,
  .table-wrapper td {
    padding: 13px 14px;
    font-size: 14px;
  }
}

/* Spin animation
   4 symbols × 96px = 384px
   Final symbol = "404"
*/
@keyframes spin-reel {
  0% {
    transform: translateY(0);
  }

  70% {
    transform: translateY(-384px);
  }

  100% {
    transform: translateY(-384px);
  }
}
