@font-face {
  font-family: "Oxanium";
  src: url(fonts/Oxanium-Regular.ttf);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Oxanium";
}

body {
  height: 100%;
  margin: 0;
  background-color: var(--green);
}

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: 30px 0;
}

main {
  padding-top: 92px;
}

.padding__main {
  padding: 150px 0 50px 0;
}

.padding__main a {
  font-size: 24px;
}



/* burger */
.burger {
  display: none;
  height: 100%;
}

.nav__burger {
  top: 0;
  right: 0;
  padding: 50px 100px;
  width: 100%;
  position: absolute;
  z-index: 99;

  display: none;
  flex-direction: column;

  background-color: #333;
}

.nav__burger .nav__list {
  margin-left: auto;
  font-size: 30px;
  color: #fff;
}

.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 */

.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;
  z-index: 99;
}

.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: 25px;
  /* color: var(--gray); */

  transition: color 0.3s ease;
}

/* .header__logo:hover {
  color: var(--pink);
} */
.nav__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.nav__list {
  font-size: 25px;
}

/* header */
.header {
  font-family: sans-serif;
  font-weight: 600;
}

.header__top {
  background-color: #333;
  padding: 5px 0;
}

.header__top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__language {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
}

.header__flag {
  width: 20px;
  height: 14px;
}

.header__buttons {
  display: flex;
  gap: 10px;
}

.header__login {
  background: linear-gradient(to right, #ffa726, #fb8c00);
  color: #fff;
  padding: 5px 15px;
  border-radius: 10px;
  font-size: 13px;
}

.header__register {
  background: #b9ff5e;
  color: #000;
  padding: 5px 15px;
  border-radius: 10px;
  font-size: 13px;
}

.header__bottom {
  background: linear-gradient(to right, #0d660d, #1aad1a);
  padding: 15px 0;
}

.header__bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header__logo {
  font-size: 24px;
  color: #ffc107;
  font-weight: bold;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.nav__link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: .3s ease;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ffb300;
  border-radius: 2px;
}

.nav__link:hover {
  color: var(--gold);
}


:root {
  --green: #008000;
  --gold: #ffd700;
  --white: #ffffff;
  --black: #000000;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
}

.ticker {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.ticker__text {
  display: inline-block;
  white-space: nowrap;
  color: var(--gold);
  margin: 0;
  font-size: 18px;
  padding: 10px 0;
  animation: tickerMove 15s linear infinite;
}

@keyframes tickerMove {
  0% {
    transform: translateX(400%);
  }

  100% {
    transform: translateX(-100%);
  }
}


.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__container {
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero__slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero__slides {
  padding-bottom: 50px;
  display: flex;
  transition: transform 0.6s ease;
}

.hero__slide {
  gap: 10px;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

.hero__content {
  max-width: 480px;
}

.hero__heading {
  color: var(--gold);
  margin-bottom: 20px;
}

.hero__btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.hero__btn:hover {
  background: var(--gold);
  color: var(--black);
}

.hero__img {
  width: 100%;
  border-radius: 50%;
  max-width: 420px;
  object-fit: cover;
}

.hero__dots {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.3s ease;
}

.hero__dot--active,
.hero__dot:hover {
  background: var(--gold);
}

/* hero */
.hero__heading {
  color: var(--gold);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero__text {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero__btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.hero__btn:hover {
  background: var(--gold);
  color: var(--black);
}

.hero__slide:nth-child(2n) {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 50px;
}

/* hotgames */
.hotgames__heading {
  position: relative;
  color: var(--gold);
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.hotgames__heading::before,
.hotgames__heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 32%;
  height: 2px;
  background: var(--gold);
}

.hotgames__heading::before {
  left: 0;
  transform: translateY(-50%) rotate(-3deg);
}

.hotgames__heading::after {
  right: 0;
  transform: translateY(-50%) rotate(3deg);
}

.hotgames__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.hotgames__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: 12px;
}

.hotgames__block--left {
  background: url("images/hero__bg.webp") center/cover no-repeat;
  padding: 20px;
}

.hotgames__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.hotgames__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
}

.hotgames__title {
  color: var(--white);
  font-size: 22px;
  margin: 0;
}

.hotgames__more {
  margin-left: auto;
  color: var(--gold);
  font-size: 16px;
  position: relative;
  padding-right: 18px;
}

.hotgames__more::after {
  content: "›";
  position: absolute;
  right: 0;
  top: 0;
}

.hotgames__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 20px;
}

.hotgames__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.hotgames__game {
  transition: .3s ease;
}

.hotgames__game:hover {
  transform: scale(1.03);
}

/* hotpromo */
.hotpromo {
  position: relative;
  background: url("images/hero__bg.webp") center/cover no-repeat;
  padding: 20px;
  border-radius: 12px;
  display: flex;

  align-items: center;
  gap: 24px;
  width: 100%;
  justify-content: space-between;
}

.hotpromo__heading {
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 16px;
}

.hotpromo__text {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 15px;
}

.hotpromo__btn {
  background: var(--green);
  color: var(--white);
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s ease;
}

.hotpromo__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hotpromo__btn:hover {
  background: var(--gold);
  color: var(--black);
}

.hotpromo__img {
  width: 100%;
  max-width: 180px;
  object-fit: cover;
  border-radius: 10px;
}

/* promo */
.promo__heading {
  position: relative;
  color: var(--gold);
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.promo__heading::before,
.promo__heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 32%;
  height: 2px;
  background: var(--gold);
}

.promo__heading::before {
  left: 0;
  transform: translateY(-50%) rotate(-3deg);
}

.promo__heading::after {
  right: 0;
  transform: translateY(-50%) rotate(3deg);
}

.promo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.promo__card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: 12px;
  transition: transform 0.3s ease;
  min-height: 220px;
}

.promo__card:hover {
  transform: translateY(-6px);
}

.promo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
}

.promo__container {
  max-width: 1200px;
}

.promo__subtitle {
  color: var(--white);
  font-size: 16px;
  margin: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo__more {
  background: var(--gold);
  color: var(--black);
  font-size: 14px;
  padding: 4px 14px;
  border-radius: 4px;
  white-space: nowrap;
}

/* about */
.about__container {
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.about__heading {
  color: var(--gold);
  font-size: 34px;
  margin-bottom: 24px;
}

.about__text {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  color: var(--gold);
  font-size: 32px;
  font-weight: 700;
  display: block;
}

.about__stat-label {
  color: var(--white);
  font-size: 16px;
}

.about__img {
  width: 100%;
  max-width: 420px;
  object-fit: cover;
  border-radius: 12px;
}

/* app */

.app__container {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.app__img {
  width: 100%;
  max-width: 460px;
  object-fit: cover;
  border-radius: 12px;
}

.app__heading {
  color: var(--gold);
  font-size: 34px;
  margin-bottom: 18px;
}

.app__text {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 22px;
}

.app__steps {
  list-style-type: none;
  padding: 0;
  counter-reset: step;
  margin-bottom: 30px;
}

.app__step {
  position: relative;
  padding-left: 32px;
  color: var(--white);
  font-size: 16px;
  margin-bottom: 14px;
}

.app__step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app__buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.app__btn {
  border: 1px solid var(--white);
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  transition: 0.3s ease;
}

.app__btn:hover,
.app__btn--active {
  background: var(--gold);
  color: var(--black);
}

/* web */

.web__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.web__heading {
  color: var(--gold);
  font-size: 40px;
  margin-bottom: 20px;
}

.web__text {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 12px;
}

.web__btn {
  border: 1px solid var(--white);
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s ease;
  margin-top: 10px;
}

.web__btn:hover {
  background: var(--green);
  color: var(--white);
}

.web__mockup {
  position: relative;
}

.web__img {
  width: 100%;
  max-width: 460px;
  object-fit: cover;
  border-radius: 12px;
}

.web__mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
      transparent 0 8px,
      var(--gold) 8px 10px);
  mix-blend-mode: overlay;
  opacity: 0.12;
  pointer-events: none;
  border-radius: 12px;
}

/* partners */

.partners__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 28px;
  justify-items: center;
  align-items: center;
}

.partners__logo {
  max-width: 120px;
  filter: grayscale(100%) opacity(0.8);
  transition: 0.3s ease;
}

.partners__logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* footer__bottom */
.footer__bottom {
  border-top: 1px solid var(--white);
  padding: 40px 0;
  text-align: center;
}

.footer__license {
  color: var(--white);
  font-size: 16px;
  max-width: 960px;
  margin: 0 auto 24px;
}

.footer__nav {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  gap: 18px;
  margin-bottom: 24px;
}

.footer__link {
  color: var(--gold);
  font-size: 16px;
  transition: 0.3s ease;
}

.footer__link:hover {
  color: var(--white);
}

.footer__copy {
  color: var(--white);
  font-size: 14px;
  margin: 0;
}

.footer {
  background-color: #014f01;
}

/*  */
/* casino page */
/* library */
.library {
  padding: 40px 0;
}

.library__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.library__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.library__filter {
  color: var(--white);
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 20px;
  transition: 0.3s ease;
}

.library__filter:hover,
.library__filter--active {
  background: var(--gold);
  color: var(--black);
}

.library__search {
  margin-left: auto;
  position: relative;
}

.library__input {
  padding: 8px 40px 8px 16px;
  border: 2px solid var(--gold);
  border-radius: 20px;
  font-size: 16px;
  background: transparent;
  color: var(--white);
}

.library__input::placeholder {
  color: var(--white);
  opacity: 0.6;
}


.library__search-btn {
  z-index: 2;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("images/search.svg") center/contain no-repeat;
  border: none;
}

.library__slider-wrapper {
  position: relative;
  padding: 0 20px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

.library__slider {

  display: flex;
  transition: transform 0.4s ease;
}

.library__item {
  width: 160px;
  flex-shrink: 0;
  text-align: center;
  padding: 16px 12px;
}

.library__logo {
  max-width: 120px;
  filter: grayscale(100%) opacity(0.85);
  margin: 0 auto 6px;
  transition: 0.3s ease;
}

.library__logo:hover {
  filter: grayscale(0%) opacity(1);
}

.library__abbr {
  color: var(--white);
  font-size: 14px;
}

.library__arrow {
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: 0.3s ease;
}

.library__arrow--prev {
  left: 8px;
}

.library__arrow--next {
  right: 8px;
}

.library__arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(225deg);
}

.library__arrow--next::before {
  transform: rotate(-315deg);
}

/* games */
.games__heading {
  color: var(--gold);
  font-size: 34px;
  margin-bottom: 30px;
  text-align: center;
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.games__card {
  display: flex;
  flex-direction: column;

  border-radius: 20px;
  overflow: hidden;

  background: linear-gradient(180deg, #6ab72c 0%, #4d9d22 100%);
  position: relative;
  transition: 0.3s ease;
}

.games__card:hover {
  transform: translateY(-6px);
}

.games__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.games__title {
  color: var(--white);
  margin: 0;
  text-align: center;
  font-size: 18px;
  padding: 12px 8px;
}

.games__buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(180deg, #6ab72c 0%, #4d9d22 100%);
}

.games__btn {
  background: var(--gold);
  color: var(--black);
  padding: 6px 20px;
  font-size: 14px;
  border-radius: 20px;
  transition: 0.3s ease;
}

.games__btn:hover {
  background: var(--white);
  color: var(--black);
}

.games__btn--trial {
  background: var(--white);
  color: var(--black);
}

.games__btn--trial:hover {
  background: var(--gold);
  color: var(--black);
}

.games__pages {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.games__page {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  color: var(--gold);
  transition: 0.3s ease;
}

.games__page:hover,
.games__page--current {
  background: var(--gold);
  color: var(--black);
}