@font-face {
  font-family: "Arima";
  src: url(fonts/Arima-Regular.ttf);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Arima";
}

body {
  height: 100%;
  margin: 0;
}

a {
  text-decoration: none;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.container {
  max-width: 1400px;
  padding: 0 20px;
  margin: 0 auto;
}

section {
  padding: 60px 0;
}

main {
  padding-top: 50px;
}

.main-index {
  padding: 0;
}

.heading {
  margin: 0;
  margin-bottom: 30px;
  font-size: 30px;
}

.text {
  margin: 0;
  margin-bottom: 20px;
  font-size: 25px;
}

/* burger */
.burger {
  display: none;
  height: 100%;
}

.nav__burger {
  top: 0;
  right: 0;
  padding: 70px;
  gap: 10px;
  width: 100%;
  position: absolute;
  z-index: 99;

  display: none;
  flex-direction: column;
  align-items: flex-end;

  background-color: #ffd700;
}

.nav__burger .nav__list {
  margin-left: auto;
  font-size: 30px;
  color: #333;
  border: none;
}

.active {
  display: flex;
}

.overflow {
  overflow: hidden;
}

.burger-checkbox {
  position: absolute;
  visibility: hidden;
  right: 0;
}

.burger {
  cursor: pointer;
  display: none;
  color: #333;
  position: relative;
  border: none;
  background: transparent;
  width: 30px;
  height: 23px;
  z-index: 100;
}

.burger::before,
.burger::after {
  content: "";
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background-color: #333;
}

.burger::before {
  top: 0px;
  box-shadow: 0 11px 0 #333;
  transition: box-shadow 0.3s 0.15s, top 0.3s 0.15s, transform 0.3s;
}

.burger::after {
  bottom: 0;
  transition: bottom 0.3s 0.15s, transform 0.3s;
}

.burger-checkbox:checked+.burger::before {
  top: 12px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 transparent;
  transition: box-shadow 0.15s, top 0.3s, transform 0.3s 0.15s;
}

.burger-checkbox:checked+.burger::after {
  bottom: 9px;
  transform: rotate(-45deg);
  transition: bottom 0.3s, transform 0.3s 0.15s;
}

/* end burger */


/* header */
header {
  width: 100%;
  position: fixed;
  padding: 10px 0;
  z-index: 99;
  background-color: var(--color-yellow);
}

.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(--color-black);

  transition: color 0.3s ease;
}

.header__logo:hover {
  color: var(--color-green);
}

.nav__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.nav__list {
  font-size: 20px;
  color: var(--color-gray);
  font-weight: 700;

  transition: color 0.3s ease;
}

.sdkf {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.nav__list:hover {
  text-decoration: underline;
}

.nav__list:not(:last-child) {
  padding-right: 10px;
  border-right: 1px solid var(--color-gray);
}

.dff {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dff .promo__btn--secondary {
  padding: 7px 25px;

}

.dff .promo__btn--secondary:hover {
  transform: translateY(-3px);
}

.nav__burger .nav__list {
  border: none;
}


:root {
  --color-yellow: #ffd700;
  --color-gray: #898989;
  --color-green: #228b22;
  --color-green-dark: #003d1f;
  --color-white: #ffffff;
  --color-black: #000000;

  --color-dark: #0a0a0a;
  --color-dark-card: #141414;
  --color-border: #024d29;
}


/*  */
/* index page */
/* hero */
.hero {
  position: relative;
  height: 100vh;
  background: url(images/hero__background.webp) center/cover no-repeat;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  align-items: center;
  height: 100%;
  gap: 30px;
}

.hero__heading {
  color: var(--color-white);
  font-size: 72px;
  line-height: 1.1;
}

.hero__text {
  color: var(--color-white);
  margin-bottom: 20px;
  max-width: 420px;
}

.hero__btn {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 15px 40px;
  width: 80%;
  font-weight: 700;
  text-align: center;
  border-radius: 20px;
  transition: 0.3s ease;
}

.hero__btn:hover {
  transform: scale(1.05);
}

.hero__characters {
  width: 100%;
  max-width: 560px;
  object-fit: cover;
}

.hero__partners {
  margin-top: 60px;
  color: var(--color-white);
  font-size: 14px;
}


/* coins */
.hero__coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__coin {
  position: absolute;
  top: -60px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  animation: coin-fall linear infinite;
}

@keyframes coin-fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(110vh) rotate(360deg);
  }
}


/* promo */
.promo {
  padding: 130px 0;
  position: relative;
  background: url("images/promo__background.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.promo__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.promo__heading {
  font-size: 72px;
  line-height: 1.1;
  margin: 0;
}

.promo__label {
  font-size: 36px;
  margin: 0;
}

.promo__actions {
  display: flex;
  gap: 20px;
}

.promo__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  padding: 20px;
  border-radius: 10px;
}

.promo__btn--primary {
  border-radius: 10px;
  font-size: 18px;
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 15px 40px;
  font-weight: 700;
  transition: 0.3s ease;
}

.promo__btn--secondary {
  border-radius: 10px;
  background: var(--color-gray);
  color: var(--color-white);
  padding: 15px 40px;
  font-weight: 700;
  transition: 0.3s ease;
}

.promo__btn--primary:hover,
.promo__btn--secondary:hover {
  transform: scale(1.05);
}

/* games */
.games {
  padding-top: 0;
}

.games__nav {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  background: var(--color-gray);
}

.games__link {
  color: var(--color-white);
  padding: 10px 18px;
  background: var(--color-gray);
  font-weight: 600;
  transition: 0.3s ease;
}

.games__link:hover {
  background: var(--color-green);
}

.games__link--active {
  background: var(--color-yellow);
  color: var(--color-black);
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.game-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

.game-card__img {
  width: 100%;
  object-fit: cover;
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s ease;
}

.game-card:hover .game-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.game-card__label {
  color: var(--color-white);
  margin-bottom: 14px;
}

.game-card__btn {
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 10px 28px;
  font-weight: 700;
  transition: 0.3s ease;
}

.game-card__btn:hover {
  transform: scale(1.05);
}

/* stats */
.stats {
  background: linear-gradient(135deg, var(--color-green-dark) 0%, #024d29 100%);
  color: var(--color-white);
}

.stats__intro {
  text-align: center;
  margin-bottom: 30px;
}

.stats__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.stats-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.stats-card__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  object-fit: contain;
}

.stats-card__label {
  margin-bottom: 10px;
  color: var(--color-gray);
}

.stats-card__counter {
  font-size: 48px;
  color: var(--color-yellow);
  margin: 0;
}

/* security */
.security {
  background: #0a0a0a;
  color: var(--color-white);
  padding: 80px 0;
}

.security__intro {
  text-align: center;
  margin-bottom: 30px;
}

.security__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.security-card {
  border-radius: 20px;
  background: #141414;
  border: 1px solid var(--color-green);
  padding: 40px 30px;
  transition: 0.3s ease;
}

.security-card:hover {
  transform: translateY(-10px);
}

.security-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  object-fit: contain;
}

.security-card__title {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-yellow);
}

.security-card__desc {
  color: var(--color-gray);
  margin: 0;
  font-size: 18px;
}

/* footer */
.footer {
  background: var(--color-dark);
  color: var(--color-gray);
  padding: 80px 0;
  padding-bottom: 40px;
}

.footer__payment-list {
  font-size: 14px;
  margin-bottom: 40px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__heading {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--color-white);
}

.footer__link {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-gray);
  transition: 0.3s ease;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__legal {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer__copyright {
  font-size: 12px;
  margin: 0;
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* modal__overlay */
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

/* modal__dialog */
.modal__dialog {
  position: relative;
  background: var(--color-dark-card);
  padding: 45px 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

/* modal__close */
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--color-gray);
  font-size: 35px;
  cursor: pointer;
  transition: 0.3s ease;
}

.modal__close:hover {
  color: var(--color-white);
}

/* modal__title */
.modal__title {
  color: var(--color-yellow);
  font-size: 24px;
  text-align: center;
  margin-bottom: 16px;
}

/* modal__subtitle */
.modal__subtitle {
  color: var(--color-white);
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}

/* modal__btn */
.modal__btn {
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 12px 28px;
  font-weight: 700;
  transition: 0.3s ease;
}

.modal__btn:hover {
  transform: scale(1.05);
}