*,
::before,
::after {
  box-sizing: border-box;
}

:where(ul, ol):where([class]) {
  padding-left: 0;
}

body,
:where(blockquote, figure, fieldset):where([class]) {
  margin: 0;
}

:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  dl
):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  padding: 0;
  border: none;
}

:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

p {
  --paragraphMarginBottom: 24px;

  margin-block: 0;
}

p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
}

a:where([class]) {
  display: inline-flex;
}

button {
  cursor: pointer;
}

button {
  -webkit-tap-highlight-color: transparent;
}

svg * {
  transition-property: fill, stroke;
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

.rooms,
.facts,
.room-choosing,
.reasons,
.reviews,
.faq {
  scroll-margin-top: calc(var(--header-height));
}

:root {

  --red-01: #FF0000;
  --red-02: #BA0202FF;
  --grey-01: #F5F5FC;
  --grey-02: #707070;
  --grey-03: #54595F;
  --grey-04: #54595F16;
  --grey-05: #333333;
  --grey-06: #EBEBEB;
  --white: white;
  --black: black;


  --container-padding-x: 16px;
  --continer-width: 1320px;

  --header-height: 90px;
  --header-height-mobile: 150px;
}

.container {
  width: 100%;
  max-width: var(--continer-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

h1, .h1 {
  font-size: 50px;
}

h2, .h2 {
  font-size: 32px;
}

h3 {
  font-size: 18px;
}

p {
  font-size: 20px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }
}

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

.button {
  background-color: var(--red-01);
  color: var(--white);
  font-size: 20px;
  border-radius: 50px;
  padding: 15px 40px;
  transition: background-color 0.3s ease;

  &:hover {
    background-color: var(--red-02);
  }
}

.header {
  width: 100%;
  position: fixed;
  z-index: 11;
  height: var(--header-height);
  background-color: var(--white);
}

.header__logo-image {
  height: calc(var(--header-height) - 4px);
  width: auto;
}

.header-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  flex: 1;
}

.nav-menu__item {
  color: var(--black);
}

.nav-menu__item:last-of-type {
  color: var(--white);
}

.nav-menu__item-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  height: 100%;
}

.nav-menu__burger,
.nav-menu__close {
  display: none;
  cursor: pointer;
}

.nav-menu__close {
  position: fixed;
  top: 1%;
  right: 5%;
}

.nav-menu.is-active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-content: center;
}

@media (max-width: 980px) {
  .nav-menu__burger {
    display: inline-block;
    margin-left: auto;
  }

  .nav-menu__close {
    display: inline-block;
    position: fixed;
    top: 5%;
    right: 5%;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu__item-list {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
}

.hero {
  background-color: var(--black);
  color: var(--white);
  padding-top: var(--header-height);
}

.hero-container {
  background-image: url("images/main.jpg");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh / 2);
  text-align: center;
}

.hero__title,
.hero__text {
  width: 60%;
  margin-bottom: 50px;
}

.hero__bullets {
  display: flex;
  align-items: center;
  height: 67px;
  background-color: var(--red-01);
}

.hero__bullet {
  font-size: 20px;
  display: flex;
  align-items: center;
}

.hero__bullet::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='32' x='0' y='0' viewBox='0 0 24 24' style='enable-background:new 0 0 512 512' xml:space='preserve'%3E%3Cg%3E%3Cpath fill='%23ffffff' fill-rule='evenodd' d='M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4.64 6.232a1 1 0 0 1 .128 1.408l-5 6a1 1 0 0 1-1.44.1l-3-2.727a1 1 0 0 1 1.345-1.48l2.227 2.025 4.332-5.198a1 1 0 0 1 1.408-.128z' clip-rule='evenodd' opacity='1' data-original='%23000000'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
}

.hero__bullets-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 980px) {

  .hero-container {
    height: auto;
    padding: 40px 0;
  }

  .hero__title,
  .hero__text {
    width: 95%;
    margin-bottom: 35px;
  }

  .hero__bullets {
    height: auto;
  }

  .hero__bullets-list {
    padding: 8px 0;
    flex-direction: column;
    gap: 8px;

  }
}

.rooms__title {
  text-align: center;
  margin: 20px 0;
}

.rooms__cards {
  padding-inline: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rooms__cards-card {
  display: grid;
  grid-template-columns: 190px 120px 200px 440px auto;
  align-items: center;
  border: 1px solid var(--red-01);
  border-radius: 10px;
  padding: 10px;
}

.rooms__cards-card__logo {
  width: 175px;
}

.rooms__cards-card__rating-span {
  border: 1px solid var(--red-01);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
}

.rooms__cards-card__bonuses {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 195px;
}

.rooms__cards-card__bonuses-thin {
  text-align: center;
}

.rooms__cards-card__bonuses-bold {
  font-size: 20px;
  font-weight: bold;
}

.rooms__cards-card__bullets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rooms__cards-card__bullet {
  display: flex;
  align-items: center;
}

.rooms__cards-card__bullet::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='32' x='0' y='0' viewBox='0 0 682.667 682.667' style='enable-background:new 0 0 512 512' xml:space='preserve' class=''%3E%3Cg%3E%3Cdefs%3E%3CclipPath id='b' clipPathUnits='userSpaceOnUse'%3E%3Cpath d='M0 512h512V0H0Z' fill='%23ff0000' opacity='1' data-original='%23000000'%3E%3C/path%3E%3C/clipPath%3E%3C/defs%3E%3Cmask id='a'%3E%3Crect width='100%25' height='100%25' fill='%23ffffff' opacity='1' data-original='%23ffffff'%3E%3C/rect%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath d='m0 0-134.174-134.174-63.873 63.872' style='stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1' transform='matrix(1.33333 0 0 -1.33333 473.365 251.884)' fill='none' stroke='%23ff0000' stroke-width='40' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' stroke-dasharray='none' stroke-opacity='' data-original='%23000000' opacity='1' class=''%3E%3C/path%3E%3Cg clip-path='url(%23b)' transform='matrix(1.33333 0 0 -1.33333 0 682.667)'%3E%3Cpath d='M0 0c0-130.339-105.661-236-236-236S-472-130.339-472 0s105.661 236 236 236S0 130.339 0 0Z' style='stroke-width:40;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1' transform='translate(492 256)' fill='none' stroke='%23ff0000' stroke-width='40' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' stroke-dasharray='none' stroke-opacity='' data-original='%23000000' opacity='1' class=''%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.rooms__cards-card__links {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}


.rooms__cards-card__links-promo-code {
  cursor: pointer;
  border-bottom: 2px dashed var(--black);
}

.rooms__promo-code-alert {
  position: absolute;
  top: 40px; /* подстрой по желанию */
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  background: var(--white);
  padding: 5px 8px;
  border-radius: 6px;
  display: none;
  pointer-events: none;
  transition: opacity 0.3s;
}

.rooms__promo-code-alert-title {
  font-size: 14px;
  text-align: center;
}

.rooms__promo-code-alert.isShowed {
  display: block;
  pointer-events: auto;
}

@media (max-width: 980px) {

  .rooms__cards {
    padding: 0;
  }

  .rooms__cards-card {
    grid-template-columns: 1fr;

  }

  .rooms__cards-card__logo {
    width: 100%;
    margin: 10px auto;
    padding-bottom: 10px;
  }

  .rooms__cards-card__rating {
    margin: 10px auto;
  }

  .rooms__cards-card__bonuses {
    margin: 20px auto;
    max-width: 100%;
  }

  .rooms__cards-card__bullets {
    margin: 20px auto;
  }
}

.facts {
  background-image: url('images/back2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-bottom: 30px;
}

.facts__title {
  color: var(--white);
  text-align: center;
  padding: 50px 0;
}

.facts__cards {
  display: flex;
  gap: 20px;
}


.facts__cards-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, 1fr);
  border-radius: 10px;
  background-color: var(--white);
  width: 180px;
  height: 190px;
  padding: 15px;
  gap: 10px;
}


.facts__cards-content-image {
  margin: auto;
  width: 75px;
  height: 75px;
}

.facts__cards-content-text {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 0 10px;
}

@media (max-width: 980px) {
  .facts__cards {
    flex-direction: column;
  }

  .facts__cards-content {
    width: 100%;
  }

  .facts__cards-content-text {
    align-self: center;
  }
}

.room-choosing__title {
  text-align: center;
  margin: 20px 0;
}

.room-choosing__text {
  color: var(--grey-05);
  width: 60%;
  margin-inline: auto;
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

.room-choosing__steps-block {
  background-color: var(--grey-06);
  display: flex;
  flex-direction: column;
}

.room-choosing__steps {
  display: flex;
  justify-content: space-between;
  background-color: var(--grey-06);
  gap: 20px;
  padding: 20px;
  align-items: stretch;
}

.room-choosing__steps-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px 2px var(--grey-02);
  gap: 20px;
}

.room-choosing__steps-up-title,
.room-choosing__steps-down-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.room-choosing__steps-text {
  font-size: 16px;
  text-align: center;
  color: var(--grey-05);
  line-height: 1.5;
}

.room-choosing__link {
  margin: 40px auto;
}


@media (max-width: 980px) {
  .room-choosing__text {
    width: 100%;
  }

  .room-choosing__steps {
    flex-direction: column;
  }
}

.reasons {
  background-image: linear-gradient(
    #0000008C, #0000008C
  ), url('images/back3.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-bottom: 30px;
  color: var(--white);
}

.reasons__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 60px 0;
}

.reasons__title,
.reasons__text {
  width: 60%;
  text-align: center;
}

.reasons_cards-block {
  display: flex;
  gap: 30px;
  justify-content: space-around;
  width: 90%;
}

.reasons__card {
  display: flex;
  flex-direction: column;

  align-items: center;
  text-align: center;
  gap: 20px;
  flex: 1;
}

.reasons__card-title {
  font-size: 18px;
  font-weight: bold;
}

.reasons__card-text {
  font-size: 16px;
}

.reasons__card-image,
.swiper-slide_image {
  width: 50px;
  height: 50px;
}


@media (max-width: 980px) {
  .reasons__title,
  .reasons__text {
    width: 100%;
  }

  .reasons_cards-block {
    flex-direction: column;
    gap: 10px;
    justify-content: space-around;
    width: 100%;
  }
}


.reviews {
  padding: 30px 0;
}

.reviews-title {
  text-align: center;
  padding: 40px 0;
}

.swiper {
  width: 100%;
  height: 350px;
}

.swiper-slide {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.swiper-slide-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  width: 100%;

}

.swiper-slide-review {
  color: var(--grey-05);
  text-align: center;
}

.swiper-slide-review,
.swiper-slide-player-name {
  margin-top: 25px;
}

.swiper-slide-player-name,
.swiper-slide-player-room {
  color: var(--grey-05);
}

.swiper-slide-player-name {
  font-weight: bold;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--red-01) !important;
}

.swiper-pagination-bullet-active {
  background: var(--red-01) !important;
}

.faq {
  padding: 30px 0;
}

.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.answer-body p {
  font-size: 16px;
  color: var(--grey-05);
  line-height: 1.5;
}

.questions__details .question::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  height: 20px;
  width: 20px;
  font-weight: normal;
  color: var(--red-01);
  transition: all 0.3s ease-in-out;
  margin-left: auto;
}

.question-title {
  color: var(--grey-05);
  font-size: 20px;
}

.questions__details .question:hover::after {
  opacity: 80%;
}

.questions__details[open] .question::after {
  transform: rotate(45deg);
}

.questions__details[open] + .answer {
  grid-template-rows: 1fr;
  border-bottom: var(--red-01) 1px solid;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.questions__details {
  border-bottom: var(--red-01) 1px solid;
  padding-bottom: 18px;
}

.questions__details[open] {
  border-bottom: var(--white) 2px;
}

.faq__accordion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
}

.answer {
  display: grid;
  grid-template-rows: 0fr;
  transition-duration: 0.3s;
}

.answer-body {
  overflow: hidden;
  margin-top: 20px;
}

.faq__title {
  text-align: center;
  padding: 30px;
}

.footer {
  background-color: var(--grey-05);
  height: var(--header-height);
}

.footer__container {
  display: flex;
}

.footer__nav-menu {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-around;
  color: var(--white);
}

.footer__image {
  height: calc(var(--header-height) - 4px);
  width: auto;
  padding: 4px 0;
}

@media (max-width: 980px) {
  .footer,
  .footer__image {
    height: auto;
  }

  .footer {
    padding-bottom: 20px;
  }

  .footer__container,
  .footer__nav-menu {
    flex-direction: column;
    gap: 20px;
  }
}

.fof__title {
  font-weight: bold;
}

.fof__text {
  padding: 20px 0;
}

.fof-hero-container {
  background-image: url("images/main.jpg");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh - var(--header-height) * 2);
  text-align: center;
}