@font-face {
  font-family: "NewAmsterdam";
  src: url(fonts/NewAmsterdam-Regular.ttf);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "NewAmsterdam";
  letter-spacing: 1.3px;
}

body {
  height: 100%;
  margin: 0;
  background-color: var(--slateblue2);
}

a {
  text-decoration: none;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.container {
  max-width: 1600px;
  padding: 0 20px;
  margin: 0 auto;
}

section {
  padding: 60px 0;
}

main {
  width: 100%;
  padding-top: 71px;
  display: flex;
}

/* burger */
.burger {
  display: none;
  height: 100%;
}

.nav__burger {
  top: 0;
  right: 0;
  padding: 50px;
  width: 100%;
  position: absolute;
  z-index: 99;

  overflow-y: auto;
  max-height: 100vh;

  display: none;
  flex-direction: column;

  background-color: #2c3e50;
}

.dfdf {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
}

.nav__burger .sidebar__item {
  padding: 10px;
}

.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: #fff;
  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: #fff;
}

.burger::before {
  top: 0px;
  box-shadow: 0 11px 0 #fff;
  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;
}


/* header */
header {
  width: 100%;
  position: fixed;
  padding: 7px 0;
  z-index: 99;
  background-color: var(--slateblue);
}

.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(--green);

  transition: color 0.3s ease;
}

.header__logo:hover {
  color: var(--purple);
}

.rere {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: start;
  gap: 10px;
}

.nav__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.nav__list {
  font-size: 25px;
}

:root {
  --black: #0e0e0e;
  --white: #ffffff;
  --gold: #c1a75e;
  --bronze: #8a6b45;
  --green: #3cd282;
  --purple: #7e4b94;
  --teal: #18a89b;
  --slateblue: #2c3e50;
  --slateblue2: #1a2632;
}

/* sidebar */
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 240px;
  height: 100vh;
  background-color: var(--slateblue2);
  display: flex;
  flex-direction: column;
  color: var(--gold);
}

.sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  padding: 10px;

  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 10px;
}

.sidebar__group {
  display: flex;
  flex-direction: column;

  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.sidebar__item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  color: var(--gold);
}

.sidebar__item--active {
  background-color: var(--gold);
  color: var(--black);
}

.sidebar__item--active .sidebar__icon {
  border-color: var(--black);
}

.sidebar__item:hover:not(.sidebar__item--active) {
  background-color: rgba(255, 255, 255, 0.06);
}

.sidebar__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bronze);
  flex-shrink: 0;
}

/* промо-икон */
.sidebar__icon--promotions {
  background-color: var(--bronze);
}

/* home */
.sidebar__icon--home {
  background-color: var(--gold);
}

/* casino-related */
.sidebar__icon--casino,
.sidebar__icon--live-casino,
.sidebar__icon--jackpots,
.sidebar__icon--live-betting,
.sidebar__icon--virtual-sports,
.sidebar__icon--bonus-crab {
  background-color: var(--teal);
}

/* sports */
.sidebar__icon--sports {
  background-color: var(--green);
}

/* purple group */
.sidebar__icon--challenges,
.sidebar__icon--tournaments {
  background-color: var(--purple);
}

/* shop & vip */
.sidebar__icon--shop,
.sidebar__icon--vip-levels {
  background-color: var(--gold);
}

.sidebar__text {
  font-size: 17px;
}

.sidebar__bottom {
  padding: 20px 16px;
  border-top: 1px solid var(--bronze);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar__lang,
.sidebar__help {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--gold);
}

.sidebar__flag,
.sidebar__help-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bronze);
}

/* content */
.content {
  width: 100%;
  margin-left: 240px;
  flex: 1;
}

/* hero */
.hero {
  border-radius: 20px;
  position: relative;
  width: 100%;
  height: 600px;
  background: url("images/hero__bg.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
}


.hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  max-width: 480px;
  color: var(--white);
  padding: 20px;
  border-radius: 30px;

  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero__heading {
  font-size: 35px;
  margin-bottom: 16px;
  color: var(--white);
}

.hero__subheading {
  font-size: 50px;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__button {
  display: inline-block;
  background-color: var(--green);
  color: var(--black);
  padding: 12px 32px;
  font-size: 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
  animation: scalePulse 2s ease-in-out infinite;
}

.hero__button2 {
  background-color: var(--purple);
}

.hero__button:hover {
  background-color: var(--teal);
  color: var(--white);
}

@keyframes scalePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}


/* categories */
.categories {
  padding: 40px 0;
  padding-bottom: 0;
}

.categories__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.categories__item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s ease;
  text-decoration: none;
  color: var(--gold);
}

.categories__item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.categories__emoji {
  font-size: 50px;
  margin-bottom: 12px;
}

.categories__text {
  font-size: 20px;
  text-transform: uppercase;
}

/* games-top */
.games-top {
  padding: 40px 0;
}

.games-top__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.games-top__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.games-top__heading {
  font-size: 28px;
  margin: 0;
  color: var(--gold);
}

.games-top__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.games-top__all {
  display: inline-block;
  font-size: 18px;
  color: var(--green);
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.games-top__all:hover {
  text-decoration: underline;
}

.games-top__btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--bronze);
  border-radius: 50%;
  background-color: transparent;
  color: var(--gold);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.games-top__btn:hover {
  background-color: var(--gold);
  color: var(--black);
}

.games-top__wrapper {
  overflow: hidden;
}

.games-top__slider {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  transition: transform 0.3s ease;
}

.games-top__item {
  flex: 0 0 auto;
}

.games-top__card {
  display: flex;
  position: relative;
  display: block;
  border-radius: 10px;
  /* overflow: hidden; */
}

.games-top__img {
  width: 180px;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.3s ease;
}

.games-top__card:hover .games-top__img {
  transform: scale(1.05);
}

.games-top__badge {
  z-index: 2;
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--gold);
  color: var(--black);
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* games-slider */
.games-slider {
  padding: 40px 0;
  padding-top: 0;
}

.games-slider__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.games-slider__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.games-slider__heading {
  font-size: 28px;
  margin: 0;
  color: var(--gold);
}

.games-slider__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.games-slider__all {
  font-size: 16px;
  color: var(--green);
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.games-slider__all:hover {
  text-decoration: underline;
}

.games-slider__item-sport {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/hero__bg.webp) center/cover no-repeat;
}

.games-slider__btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--bronze);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.games-slider__btn:hover {
  background-color: var(--gold);
  color: var(--black);
}

.games-slider__wrapper {
  overflow: hidden;
}

.games-slider__list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease;
}

.games-slider__item {
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex: 0 0 auto;
}

.games-slider__card {
  position: relative;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}

.games-slider__img {
  width: 180px;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s ease;
}

.games-slider__card:hover .games-slider__img {
  transform: scale(1.05);
}

.games-slider__badge {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--green);
  color: var(--black);
  font-size: 15px;
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 1;
}

/* exclusive */
.exclusive {
  padding: 40px 0;
}

.exclusive__container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* top row */
.exclusive__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.exclusive__heading {
  font-size: 28px;
  margin: 0;
  color: var(--gold);
}

.exclusive__controls {
  display: flex;
  gap: 12px;
}

.exclusive__btn {
  width: 40px;
  height: 40px;
  border: 2px solid var(--bronze);
  border-radius: 50%;
  background-color: transparent;
  color: var(--gold);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.exclusive__btn:hover {
  background-color: var(--gold);
  color: var(--black);
}

/* slider */
.exclusive__wrapper {
  overflow: hidden;
}

.exclusive__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;

  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.3s ease;
}

.exclusive__item {
  flex: 0 0 auto;
}

.exclusive__card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.exclusive__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.exclusive__card:hover .exclusive__img {
  transform: scale(1.05);
}

/* diagonal badge */
.exclusive__badge--diagonal {
  position: absolute;
  top: 16px;
  left: -32px;
  background-color: var(--purple);
  color: var(--white);
  font-size: 18px;
  padding: 4px 48px;
  transform: rotate(-45deg);
  font-weight: 700;
  z-index: 1;
}

/* top-centered badge */
.exclusive__badge--top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--green);
  color: var(--black);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 1;
}

/* exchange banner */
.exclusive__exchange {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  background: url("images/exchange_bg.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exchange__container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.exchange__content {
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  text-align: center;
}

.exchange__heading {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 16px;
}

.exchange__button {
  display: inline-block;
  background-color: var(--purple);
  color: var(--white);
  padding: 12px 32px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.exchange__button:hover {
  background-color: var(--green);
  color: var(--black);
}


/* footer */
.footer {
  border-top: 1px solid var(--bronze);
  margin-left: 240px;
  padding: 40px 0;
  padding-bottom: 0;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer__col {
  display: flex;
  flex-direction: column;
}

.footer__heading {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer__text {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 20px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__item {
  margin-bottom: 8px;
}

.footer__link {
  font-size: 17px;
  color: var(--teal);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer__link:hover {
  color: var(--gold);
}

/* bottom */
.footer__bottom {
  border-top: 1px solid var(--bronze);
  margin-top: 40px;
  padding: 20px 0;
  padding-bottom: 0;
}

.footer__bottom-container {
  text-align: center;
}

.footer__copyright {
  font-size: 17px;
  color: var(--bronze);
}

/* modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal__dialog {
  border: 1px solid var(--gold);
  position: relative;
  background-color: var(--black);
  padding: 24px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 0px;
  right: 7px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
}

.modal__title {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 16px;
}

.modal__subtitle {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 24px;
}

.modal__btn {
  display: inline-block;
  background-color: var(--green);
  color: var(--black);
  padding: 12px 32px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
  animation: scalePulse 2s ease-in-out infinite;
  transition: 0.3s ease;
}

.modal__btn:hover {
  background-color: var(--teal);
  color: var(--white);
}