@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
:root {
  --font_montserrat: 'Montserrat', sans-serif;

  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray: #bbb;
  --background-color: #020806;
  --background-header: #20222e;
  --background-under-header: #061822;
  --box-shadow-header: 0 10px 30px rgba(255, 255, 255, 0.2);
  --background-color-submenu: #3a3e41;
  --background-sidebar: #020806;
  --background-card: #2e3149;
  --background-color-overlay: rgba(0, 0, 0, 0.5);
  --background-color-footer: #082333;
  --box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.767);
  --color-line: #202427;
  --color-line-game: #444;
  --background-form: #272838;
  --background-input: #57545e6e;
  --color-two: #66fcf1;
  --color-three: #45a29a;
  --color-four: #1a5a6d;
  --color-five: #392ecf98;
  --color-yellow: #e3b73e;
  --color-pink: #ff2453;
  --color-violet: #be2edd;
}

*,
*:before,
*:after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: inherit;
}

html {
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Lists */

ul,
ol {
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1rem;
}

li {
  list-style-type: unset;
  line-height: 1.7;
  margin-left: 10px;
  padding-left: 1em;
  text-indent: 0;
}

nav ul {
  list-style: none;
  padding-left: 0;
}

ul {
  list-style-type: disc;
  color: var(--color-gray);
}

ol {
  list-style-type: decimal;
  color: var(--color-gray);
}
ol:not(.nav__list):not(.submenu):not(.language-submenu),
ul:not(.nav__list):not(.submenu):not(.language-submenu) {
  overflow: hidden;
  padding-left: 2em;
  text-indent: -1em;
}

li::marker {
  font-size: 1.2rem;
}

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

ol li::marker {
  color: var(--color-two);
  font-weight: 500;
}
/* Tables */

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  cursor: default;
}

th {
  background-color: var(--background-header);
  font-weight: 600;
  text-align: left;
  color: var(--color-white);
  border: 1px solid var(--color-line-game);
  padding: 10px;
}

td {
  border: 1px solid var(--color-line-game);
  padding: 10px;
  color: var(--color-gray);
}

tbody tr {
  background-color: var(--background-card);
}

tbody tr:nth-child(even) {
  background-color: var(--background-form);
}

tbody tr:hover {
  background-color: var(--background-color-submenu);
}

.image-left {
  float: left;
  margin-right: 15px;
}
.image-right {
  float: right;
  margin-left: 15px;
}
.img-vert {
  width: auto;
  height: 100%;
  max-height: 600px;
  display: block;
  margin-bottom: 15px;
}
.img-horiz {
  display: block;
  width: calc(100% - 30px);
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  padding: 15px 0;
  margin: 0 auto;
}
.img-horiz-left,
.img-horiz-right {
  max-width: calc(100% - 30px);
  border-radius: 10px;
  height: auto;
} /* Вариант с сохранением обтекания на всех устройствах */
.img-vert-right {
  float: right;
  margin: 0 0 20px 30px;
  width: auto;
  max-width: 280px;
}

.img-vert-left {
  float: left;
  margin: 0 30px 20px 0;
  max-height: 400px;
  width: auto;
  max-width: 280px;
}

/* Адаптивность с сохранением обтекания */
@media (max-width: 1024px) {
  .img-vert-right,
  .img-vert-left {
    max-width: 300px;
    margin: 0 0 20px 20px;
  }
}

@media (max-width: 768px) {
  .img-vert-right,
  .img-vert-left {
    max-width: 250px;
    margin: 0 0 15px 15px;
    max-height: 350px;
  }
}

@media (max-width: 600px) {
  .img-vert-right,
  .img-vert-left {
    max-width: 200px;
    margin: 0 0 12px 12px;
    max-height: 300px;
  }

  .game-info__block.clearfix p {
    font-size: 16px;
    line-height: 1.4;
  }
}
@media (max-width: 450px) {
  .img-vert-right,
  .img-vert-left {
    float: none;
    display: flex;
    margin: 0 auto;
    padding: 20px 0px;
  }
}
.img-full-width {
  padding: 20px 0px;
}
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.game-info__block.clearfix {
  overflow: hidden;
  margin-bottom: 40px;
}
.img-horiz-left {
  float: left;
  margin: 20px;
}
.img-horiz-right {
  float: right;
  margin: 20px;
}

body {
  font-family: var(--font_montserrat);
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  vertical-align: top;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1 1 auto;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1210px;
  padding: 0 20px;
  margin: 0 auto;
}

ul.game-info__list {
  list-style-type: disc;
  margin-left: 35px;
  color: var(--color-gray);
}

ol.game-info__list--number {
  list-style-type: decimal;
  margin-left: 35px;
  color: var(--color-gray);
}
/* ----------------------------------------------------------------- */
h1 {
  font-size: clamp(2rem, 1.7rem + 2.4vw, 3rem);
  font-weight: 600;
  color: var(--color-two);
}

h3 {
  font-size: clamp(2rem, 1.7rem + 2.4vw, 3rem);
  font-weight: 600;
  color: var(--color-two);
  text-align: left;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.3rem);
  font-weight: 600;
  color: var(--color-white);
}
h4 {
  font-size: clamp(1.875rem, 1.429rem + 1.43vw, 2.5rem);
  font-weight: 700;
}
p {
  font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
  font-weight: 500;
  color: var(--color-gray);
  line-height: 2;
}
.btn {
  text-decoration: none !important;
  display: inline-block;
  padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 30px);
  border-radius: clamp(5px, 1vw, 10px);
  box-shadow: 0 0 clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px)
      var(--color-three) inset,
    0 0 0 0 var(--color-three);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: clamp(1px, 0.2vw, 2px);
  font-size: clamp(14px, 2vw, 18px);
  color: #fff !important;
  transition: 0.15s ease-in-out;
  text-align: center;
  animation: 1.6s infinite pulse;
  cursor: pointer;
  max-width: 400px;
}

.btn:hover {
  box-shadow: 0 0 clamp(5px, 1vw, 10px) 0 var(--color-three) inset,
    0 0 clamp(5px, 1vw, 10px) clamp(2px, 0.5vw, 4px) var(--color-three);
  color: var(--color-three);
  animation: 1.6s infinite pulse;
}

@keyframes pulse {
  0% {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.09, 1.09, 1.09);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}
.line::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 50px;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  background-color: var(--color-black);
}

/* ----------------------------------------------------------------- */
.header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-header);
  z-index: 9;
  padding: 10px 0px;
  box-shadow: var(--box-shadow-header);
}

.header__logo img {
  max-width: 80px;
}

.header__menu {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

.header__nav::before {
  position: absolute;
  content: '';
  width: 1px;
  height: 20px;
  background-color: var(--color-line);
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__item {
  margin: 0 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav__item a,
.nav__item span {
  text-decoration: none;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  padding-bottom: 5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav__item-arrow::before {
  content: '\f0dd';
  font-family: 'Font Awesome 5 Free';
  position: absolute;
  font-weight: 700;
  font-size: 10px;
  bottom: -15px;
  text-align: center;
  right: 0;
  left: 0;
  margin: 0 auto;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.nav__item:hover > a,
.nav__item:hover > span,
.nav__item:hover::before {
  color: var(--color-two);
}

.nav__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-two);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav__item:hover::after {
  transform: scaleX(1);
}

.submenu {
  position: absolute;
  top: 55px;
  left: 80%;
  transform: translateX(-50%);
  background: var(--background-color-submenu);
  list-style: none;
  padding: 5px 0;
  min-width: 220px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  pointer-events: none;
  transition: all 0.6s ease;
}

.submenu li {
  padding: 5px 15px;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 8px;
}

.submenu a {
  text-decoration: none;
  color: var(--color-white);
  display: block;
  padding: 5px;
}

.submenu a:hover,
.submenu span:hover {
  color: var(--color-two);
}

.nav__item-arrow:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
  pointer-events: auto;
}

.language-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.language {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.language-selector {
  display: flex;
  flex-direction: row;
}
.language-flag {
  display: flex;
  flex-direction: row;
  width: 16px;
  height: 11px;
  align-self: center;
  margin: 0px 5px 5px 0px;
}
.language-submenu li a,
.language-current {
  gap: 8px;
  display: flex;
  flex-direction: row;
}

/* Стили только для языкового подменю */
.sidebar .language-selector .sidebar-submenu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.sidebar .language-selector.active .sidebar-submenu {
  max-height: 200px;
  opacity: 1;
}

.sidebar .language__block {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 15px;
}

.sidebar .language-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  text-decoration: none;
  color: var(--color-white);
}
/* ----------------------------------------------------------------- */

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.sidebar__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.sidebar__close .burger-line {
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 10px;
  transition: all 0.7s ease;
}

.sidebar__close .burger-line:first-child {
  transform: rotate(45deg);
}

.sidebar__close .burger-line:last-child {
  transform: rotate(-45deg);
}

.sidebar {
  display: none;
  position: fixed;
  flex-direction: column;
  gap: 20px;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: var(--background-sidebar);
  color: var(--color-white);
  transition: right 0.3s ease;
  z-index: 1000;
  padding-top: 40px;
}
.sidebar__logo {
  display: flex;
  margin: 0 auto;
  width: 80px;
}
.sidebar__list {
  list-style: none;
  padding: 20px 20px 0px 0px;
  position: relative;
}

.sidebar__list::after {
  content: '';
  display: block;
  width: 80%;
  margin: 0 auto;
  height: 1px;
  background-color: var(--color-line);
  margin-top: 80px;
}

.sidebar__item {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 20px;
}
.sidebar__item-link {
  display: flex;
  justify-content: space-between;
}
.sidebar__item-arrow > a::after {
  content: '\f0d7';
  align-self: center;
  font-family: 'Font Awesome 5 Free';
  font-weight: 700;
  font-size: 12px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.sidebar__item a {
  color: var(--color-white);
  text-decoration: none;
}

.language__block {
  display: flex;
  align-items: center;
}

.language__block::after {
  content: '\f0d7';
  font-family: 'Font Awesome 5 Free';
  font-weight: 700;
  font-size: 12px;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.sidebar-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}
.sidebar__item-arrow.active .sidebar-submenu {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.sidebar.active {
  right: 0;
}
.sidebar-submenu li {
  display: flex;
  padding: 5px 10px 5px 40px;
}
.sidebar-submenu li,
.sidebar-submenu a,
.sidebar-submenu span {
  cursor: pointer;
  transition: all 0.3s ease-in;
}
.sidebar-submenu li:hover,
.sidebar-submenu a:hover,
.sidebar-submenu span :hover {
  color: var(--color-two);
}
.sidebar__item-arrow.active > a::after {
  transform: rotate(180deg);
}

.sidebar__item-arrow.active .sidebar-submenu {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}
.sidebar-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.sidebar__item-arrow.active .sidebar-submenu {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color-overlay);
  z-index: 10;
  transition: opacity 0.3s ease;
}

/* ----------------------------------------------------------------- */
.block__section {
  padding: 130px 0px 20px 0px;
  background-color: var(--background-under-header);
}
.content__section {
  padding-top: 41px;
}

.content__text {
  padding-bottom: 20px;
}
.content__block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  gap: 20px;
}
.content_img {
  width: 100%;
  height: auto;
  max-width: 768px;
}

/* ----------------------------------------------------------------- */
.casinos__section {
  padding-top: 40px;
}

.casinos__content {
  margin-bottom: 10px;
}
.casinos__content h3 {
  font-size: clamp(2rem, 1.7rem + 2.4vw, 3rem);
  font-weight: 600;
  color: var(--color-two);
  text-align: left;
}

.casinos h4 {
  position: relative;
  padding-left: 23px;
  font-size: clamp(1.2rem, 1rem + 1.5vw, 1.8rem);
  font-weight: 600;
  color: var(--color-white);
}

.casinos h4:before {
  content: '';
  z-index: 1;
  opacity: 0.8;
  width: 11px;
  height: 11px;
  position: absolute;
  left: 0;
  border-radius: 50%;
  top: 8px;
  background-color: var(--color-pink);
}

.casinos h4:after {
  content: '';
  z-index: -1;
  width: 11px;
  height: 11px;
  position: absolute;
  left: 0;
  border-radius: 50%;
  top: 15px;
  background-color: var(--color-violet);
}
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 30px 0px;
}
.casino-card {
  position: relative;
  background-color: var(--background-card);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: box-shadow 0.3s ease-in-out;
}

.casino-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

.casino-card__rank {
  position: absolute;
  left: 25px;
  top: -20px;
  background-color: var(--color-black);
  color: var(--color-text);
  width: 30px;
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 4px;
  font-weight: bold;
}

.casino-card__rank--red {
  background-color: var(--color-five);
}

.casino-card__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: center;
}

.casino-card__logo {
  max-width: 100%;
  height: auto;
}
.casino-card__content a {
  display: flex;
  justify-content: center;
}
.casino-card__info {
  position: relative;
  display: flex;
}
.casino-card__info p {
  text-align: center;
  font-size: 24px;
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.5;
  margin: 0px 10px;
}
.casino-card__info--gray p {
  font-size: 20px;
  color: var(--color-gray);
  font-weight: 600;
  line-height: 1;
  padding: 0px 15px;
  margin: 0 auto;
}

.casino-card__rating {
  display: flex;
  justify-content: center;
  position: relative;
}

.review-stars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  color: var(--color-gray);
  border: 1px solid var(--color-black);
  padding: 10px 10px;
  border-radius: 50px;
}

.fas {
  color: var(--color-yellow);
  font-size: 20px;
}

.fa-star-half-alt {
  color: var(--color-yellow);
}

.rating__value {
  font-size: 18px;
  font-weight: 600;
  margin-left: 10px;
  color: var(--color-white);
}

.casino-card__actions {
  display: flex;
  justify-content: center;
}

.button-casino {
  display: flex;
  gap: 10px;
  min-width: 180px;
  padding: 10px 30px;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-yellow);
  border-radius: 20px;
  background-color: var(--color-black);
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease-in-out;
}

.button-casino:hover {
  box-shadow: none;
}
.fa-check-circle::before {
  font-family: 'Font Awesome 5 Free';
  content: '\f058';
}

/* ----------------------------------------------------------------- */

.game-info__items {
  margin: 15px 0px;
}
.game-info__block h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-white);
  text-align: left;
  margin-bottom: 10px;
}
.game-info__block h2 {
  font-size: clamp(2rem, 1.7rem + 2.4vw, 3rem);
  font-weight: 600;
  color: var(--color-two);
  text-align: left;
}

.game-info__block p {
  font-size: 18px;
  margin: 10px 0px;
  line-height: 1.5;
  color: var(--color-gray);
}
.game-info__table {
  display: flex;
  flex-direction: column;
  padding: 20px 0px;
  gap: 10px;
}
.game-info__row {
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--color-line-game);
}

.game-info__label {
  font-weight: 600;
  flex: 1;
}
.game-info__value {
  text-align: left;
  flex: 2;
}

.game-info__img {
  display: flex;
  margin: 0 auto;
}
.info__button {
  margin: 20px 0px;
  display: flex;
  justify-content: center;
}
/* ----------------------------------------------------------------- */

.faq__container h2 {
  font-size: clamp(2rem, 1.7rem + 2.4vw, 3rem);
  font-weight: 600;
  color: var(--color-two);
  text-align: left;
}
.faq__questions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 2px 0 var(--color-two), 0 0 0 1px var(--color-two);
  border-radius: 4px;
  background: #111;
  margin: 30px auto;
  width: 100%;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
}
.faq__question {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
}
.faq__answer {
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-gray);
}

/* ----------------------------------------------------------------- */

.breadcrumb__section {
  padding: 100px 0px 10px 0px;
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.breadcrumb {
  font-size: var(--font-size);
  color: var(--color-white);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.breadcrumb-link {
  color: var(--color-four);
  text-decoration: none;
  font-weight: 700;
  padding: 5px 10px;
  position: relative;
  transition: color 0.3s ease;
}

.breadcrumb-link::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-light-yellow);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.breadcrumb-link:hover::after {
  transform: scaleX(1);
}

.breadcrumb-separator {
  display: flex;
  align-self: center;
  margin: 0 8px;
  color: var(--color-grey);
  font-size: 16px;
}

.breadcrumb-active {
  color: var(--color-white);
  font-weight: 700;
  pointer-events: none;
}

.breadcrumb-link:not(.breadcrumb-active):hover {
  color: var(--color-white);
}
/* ----------------------------------------------------------------- */

.banner__section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 70px 0px;
}
.banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(50%) contrast(120%);
}
.banner__section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background: var(--background-color-overlay);
  z-index: 0;
}

.banner__container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
}

.main-banner__content {
  display: flex;
  flex-direction: column;
  margin-top: 90px;
  text-align: left;
}
.main-banner__content > :nth-child(3) {
  margin-top: 20px;
}
.main-banner__content p {
  font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
  font-weight: 500;
  color: var(--color-gray);
  line-height: 2;
}

/* ----------------------------------------------------------------- */
.reviews__section {
  margin: 60px 0px;
}
.reviews__form-wrapper {
  margin: 40px auto 0;
  padding: 20px;
  background: var(--background-form);
  border-radius: 12px;
  max-width: 770px;
  box-shadow: var(--box-shadow);
}

.reviews__form-title {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--color-white);
}

.reviews__form {
  display: grid;
  gap: 20px;
}

.reviews__form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reviews__form-textarea {
  min-height: 45px;
  max-height: 100px;
  resize: vertical;
}
.reviews__form-label {
  font-size: 16px;
  color: var(--color-white);
  margin-left: 10px;
}

.reviews__form-input,
.reviews__form-textarea {
  font-size: 16;
  padding: 12px;
  border-radius: 8px;
  outline: none;
  background: var(--background-input);
  color: var(--color-white);
  transition: border-color 0.3s ease;
}
.reviews__form-input::placeholder,
.reviews__form-textarea::placeholder {
  font-family: var(--font_montserrat);
}

.reviews__form-input:focus,
.reviews__form-textarea:focus {
  border: 1px solid var(--color-five);
}

.reviews__form-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 5px;
  margin-right: 10px;
}

.reviews__form-rating input {
  display: none;
}

.reviews__form-rating label {
  font-size: 24px;
  color: var(--color-grey);
  cursor: pointer;
  transition: color 0.3s ease;
}

.reviews__form-rating label:hover,
.reviews__form-rating label:hover ~ label,
.reviews__form-rating input:checked ~ label {
  color: var(--color-yellow);
}
.submin__btn {
  display: flex;
  margin: 0 auto;
}

/* ----------------------------------------------------------------- */

.footer__section {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 0;
  background-color: var(--background-color-footer);
}
.footer__container p {
  color: var(--color-gray);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}
.footer__nav-link {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
.footer__nav-link:hover {
  color: var(--color-two);
}

.footer__nav-link::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-two);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.footer__nav-link:hover::after {
  transform: scaleX(1);
}

.footer__nav ul {
  display: flex;
  padding-bottom: 10px;
  justify-content: center;
}
.footer__nav ul li {
  padding: 0 10px;
  color: var(--color-gray);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  list-style: none;
}
.footer__block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 100%;
  padding: 10px 0px;
}

.footer__block-img {
  max-width: 200px;
  height: auto;
}
.footer__block-img-color {
  background-color: var(--color-gray);
  border-radius: 10px;
  padding: 5px;
}

/* ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  .casino-card__content {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 950px) {
  .burger-menu {
    display: flex;
  }
  .header__nav {
    display: none;
  }
  .sidebar {
    display: flex;
  }
  .overlay.active {
    display: block;
    opacity: 1;
  }
}
@media (max-width: 800px) {
  .block__section {
    padding-top: 90px;
  }
  .footer__block-img {
    max-width: 180px;
  }
}
@media (max-width: 768px) {
  .casino-card__content {
    grid-template-columns: 1fr;
  }

  .casino-card__info p {
    font-size: 18px;
  }

  .button-casino {
    font-size: 16px;
    padding: 8px 15px;
  }
}
@media (max-width: 600px) {
}
@media (max-width: 500px) {
  .footer__block-img {
    max-width: 150px;
  }
  .footer__block-img-color {
    background: var(--color-white);
    border-radius: 5px;
  }
  .line::after {
    display: none;
  }
}
@media (max-width: 420px) {
  li {
    font-size: 16px;
  }
  .game-info__row {
    gap: 5px;
  }
}
