@font-face {
  font-family: "NewAmsterdam";
  src: url(fonts/NewAmsterdam-Regular.ttf);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "NewAmsterdam";
  background-color: var(--dark);
}

body {
  height: 100%;
  margin: 0;
}

a {
  text-decoration: none;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

section {
  padding: 30px 0;
}

main {
  padding-top: 50px;
}

.padding__main {
  padding: 150px 0 50px 0;
  color: var(--white);
}

.padding__main a {
  font-size: 24px;
  color: var(--yellow);
}


.heading {
  margin: 0;
  margin-bottom: 30px;
  font-size: 30px;
}

.text {
  margin: 0;
  margin-bottom: 20px;
  font-size: 25px;
}

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}


/* header */
header {
  width: 100%;
  position: fixed;
  padding: 10px 0;
  z-index: 99;
  background-color: var(--dark);
}

.header__container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  flex-direction: row;
  align-items: center;

  font-size: 30px;
  color: var(--yellow);

  transition: color 0.3s ease;
}

.header__logo:hover {
  color: var(--maroon);
}

.nav__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.nav__list {
  font-size: 25px;
  color: var(--white);
  transition: .3s ease;
}

.nav__list:hover {
  color: var(--maroon);
}

:root {
  --light: #f2f2f2;
  --dark: #15141A;
  --maroon: #800000;
  --white: #ffffff;
  --black: #000000;
  --yellow: #ffd700;
}

/* hero */
.hero {
  background: url("images/hero_bg.webp") center/cover no-repeat,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero__heading {
  font-size: 56px;
  color: var(--yellow);
  margin: 0 0 24px;
  transition: .3s ease;
}

.hero__text {
  font-size: 22px;
  color: var(--light);
  margin: 0 0 32px;

  background: rgba(0, 0, 0, 0.6);
  padding: 24px 16px;
  border-radius: 8px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 0 0 40px;
}

.hero__stat {
  background: rgba(0, 0, 0, 0.6);
  padding: 24px 16px;
  border-radius: 8px;
  text-align: center;
  transition: .3s ease;
}

.hero__stat:hover {
  transform: translateY(-4px);
}

.hero__counter {
  font-size: 36px;
  color: var(--yellow);
  display: block;
  margin: 0 0 12px;
}

.hero__label {
  font-size: 22px;
  color: var(--white);
  margin: 0;
}

.hero__btn {
  background: var(--maroon);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 8px;
  text-transform: uppercase;
  transition: 0.3s ease;
  font-size: 22px;
}

.hero__btn:hover {
  background: var(--yellow);
  color: var(--dark);
}

.hero__btn--pulse {
  animation: pulse 1s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

/* --- hero visual --- */
.hero__visual {
  position: relative;
  width: 460px;
  height: 460px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__slot {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slot__digit {
  background: var(--dark);
  color: var(--yellow);
  font-size: 72px;
  padding: 8px 14px;
  border-radius: 6px;
}

.hero__heading--glow {
  text-shadow: 0 0 12px var(--yellow);
  transition: 0.3s ease;
}

/* games */
.games {
  background: var(--dark);
  padding: 30px 0;
}

.games__container {
  max-width: 800px;
  margin: 0 auto;
}

.games__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.games__heading {
  margin: 0;
  font-size: 56px;
  color: var(--yellow);
}

.games__all-btn {
  font-size: 22px;
  padding: 18px 40px;
  background: var(--maroon);
  color: var(--white);
  border-radius: 8px;
  transition: 0.3s ease;
}

.games__all-btn:hover {
  background: var(--yellow);
  color: var(--dark);
}

.games__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.games__item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: 0.3s ease;
}

.games__item.active {
  transform: scale(1.03);
}

.games__img {
  width: 100%;
  height: 370px;
  object-fit: cover;
}

.games__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.games__title {
  font-size: 36px;
  color: var(--yellow);
  margin: 0;
}

.games__text {
  font-size: 22px;
  color: var(--light);
  margin: 0;
}

.games__play {
  font-size: 22px;
  padding: 18px 40px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 8px;
  transition: 0.3s ease;
}

.games__play:hover {
  background: var(--maroon);
  color: var(--white);
}


/* benefits */
.benefits {
  background-color: var(--dark);
}

.benefits__container {
  display: flex;
  flex-direction: column;
}

.benefits__heading {
  font-size: 48px;
  color: var(--yellow);
  margin: 0 0 16px;
}

.benefits__intro {
  font-size: 22px;
  color: var(--light);
  margin: 0 0 20px;
}

.benefits__chart-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  gap: 16px;
}

.benefits__chart {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.benefits__chart-text {
  font-size: 22px;
  color: var(--white);
  margin: 0;
}

.benefits__license {
  display: flex;
  align-items: center;
  gap: 24px;
}

.benefits__license-img {
  width: 50px;
  border-radius: 50%;
  height: auto;
}

.benefits__license-text {
  font-size: 22px;
  color: var(--light);
  margin: 0;
}

.benefits__faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefits__faq-heading {
  font-size: 36px;
  color: var(--yellow);
  margin: 0 0 16px;
}

.benefits__faq-item {
  border-top: 2px solid var(--dark);
}

.benefits__faq-question {
  width: 100%;


  text-align: left;
  font-size: 22px;
  color: var(--white);
  background: transparent;
  padding: 15px;
  border-radius: 20px;
  border: 1px solid var(--yellow);
  cursor: pointer;
  transition: 0.3s ease;
}

.benefits__faq-question:hover {
  color: var(--yellow);
}

.benefits__faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 22px;
  color: var(--light);
  transition: max-height 0.3s ease;
  padding: 0 15px;

  margin: 0;
}

.benefits__faq-item.open .benefits__faq-answer {
  max-height: 200px;

  padding: 0 15px;
  padding-top: 15px;
}

/* footer */
.footer {
  background: var(--black);
  padding: 40px 0;
  padding-bottom: 10px;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.footer__heading {
  font-size: 36px;
  color: var(--yellow);
  margin: 0 0 24px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__link {
  font-size: 22px;
  color: var(--light);
  transition: 0.3s ease;
}

.footer__link:hover {
  color: var(--yellow);
}

.footer__about-text {
  font-size: 22px;
  color: var(--light);
  margin: 0;
}


.footer__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-items: center;
  align-items: center;
}

.footer__logo {
  width: 120px;
  height: auto;
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.footer__logo:hover {
  filter: none;
}

.footer__copy {
  text-align: center;
  font-size: 22px;
  color: var(--light);
  margin: 0;
}

/*  */
/* 2 page */
/* promo */
.promo {
  background: url("images/promo_bg.webp") center/cover no-repeat;
  padding: 80px 0;
}

.promo__slider {
  position: relative;
  width: 100%;
}

.promo__slide {
  display: none;
}

.promo__slide--active {
  display: block;
  animation: fade 0.7s ease;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.promo__container {
  display: grid;
  grid-template-columns: minmax(260px, 560px) 1fr;
  gap: 60px;
  align-items: center;
}

.promo__img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.promo__text-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.promo__heading {
  font-size: 56px;
  line-height: 1.2;
  color: var(--light);
  margin: 0;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 20px;
  width: 100%;
  height: 100%;
}

.promo__accent {
  color: var(--yellow);
}

.promo__dots {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.promo__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.4;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.promo__dot--active,
.promo__dot:hover {
  opacity: 1;
}

/* toolbar */
.toolbar {
  padding: 32px 0 16px;
}

.toolbar__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.toolbar__ticker {
  display: flex;
  align-items: center;
  background: var(--black);
  border-radius: 40px;
  padding: 12px 24px;
  overflow: hidden;
}

.toolbar__icon {
  font-size: 28px;
  margin-right: 16px;
}

.toolbar__text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.toolbar__marquee {
  display: inline-block;
  font-size: 22px;
  color: var(--yellow);
  animation: scroll 15s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.toolbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  border-top: 2px solid var(--yellow);
  padding-top: 24px;
}

.toolbar__link {
  position: relative;
  font-size: 22px;
  color: var(--light);
  text-decoration: none;
  transition: 0.3s ease;
}

.toolbar__link:hover,
.toolbar__link--active {
  color: var(--yellow);
}

.toolbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: 0.3s ease;
}

.toolbar__link:hover::after,
.toolbar__link--active::after {
  width: 100%;
}

/* hot */

.hot__container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hot__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hot__heading {
  font-size: 48px;
  color: var(--yellow);
  margin: 0;
}

.hot__controls {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hot__nav {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 8px;
  font-size: 32px;
  color: var(--dark);
  background: var(--light);
  cursor: pointer;
  transition: 0.3s ease;
}

.hot__nav:hover {
  background: var(--yellow);
}

.hot__view {
  font-size: 22px;
  padding: 14px 30px;
  background: var(--maroon);
  color: var(--white);
  border-radius: 8px;
  transition: 0.3s ease;
}

.hot__view:hover {
  background: var(--yellow);
  color: var(--dark);
}

.hot__slider {
  overflow: hidden;
}

.hot__track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.hot__card {
  position: relative;
  width: 180px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.hot__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hot__title {
  font-size: 22px;
  color: var(--light);
  margin: 8px 0 0;
  margin-bottom: 8px;
  text-align: center;
}

.hot__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s ease;
}

.hot__card:hover .hot__overlay {
  opacity: 1;
}

.hot__play {
  font-size: 22px;
  cursor: pointer;
  padding: 14px 30px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 8px;
  transition: 0.3s ease;
}

.hot__play:hover {
  background: var(--maroon);
  color: var(--white);
}

/* lang switcher */
/* language-switcher */
.language-switcher {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
}

/* toggle button */
.language-switcher__toggle {
  background-color: var(--dark);
  color: var(--light);
  border: 1px solid var(--yellow);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* arrow */
.language-switcher__arrow {
  font-size: 12px;
}

/* dropdown list (по умолчанию скрыт) */
.language-switcher__list {
  position: absolute;
  top: 110%;
  right: 0;
  background-color: var(--dark);
  border: 1px solid var(--yellow);
  border-radius: 4px;
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
  min-width: 160px;
  display: none;
  z-index: 1000;
}

/* list item */
.language-switcher__item {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--light);
  font-size: 14px;
  transition: 0.3s ease;
}

.language-switcher__item:hover {
  background-color: var(--maroon);
}

/* active item */
.language-switcher__item.active {
  font-weight: bold;
  color: var(--yellow);
}