@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
body,
html {
  /* background-color: #22382f; */
  background-image: linear-gradient(45deg, #2c4b3b 30%, #456b58 80%);
  background-repeat: no-repeat;
  color: #f5f5dc !important;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

.hero-button img {
  width: 30px;
}

.hero-button {
  display: flex;
  justify-content: center;
  gap: 20px; /* Відстань між кнопками */
  margin-top: 50px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #456b58;
  color: #f5f5dc;
  text-decoration: none;
  font-size: 18px;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
  font-family: "Space Grotesk", sans-serif;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.button .button-icon {
  width: 25px;
  margin-right: 10px;
}

/* Стиль для кнопки Google Play */
.google {
  background-color: #2c4b3b;
}

.google:hover {
  background-color: #22382f;
}

/* Стиль для кнопки App Store */
.app-store {
  background-color: #2c4b3b;
}

.app-store:hover {
  background-color: #22382f;
}

a {
  text-decoration: none !important;
  font-style: normal !important;
  color: inherit !important;
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
  transform: scale(1.05) !important; /* Легке збільшення кнопки */
  color: var(--color-prime) !important;
}
h2 {
  font-size: 40px;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 70px;
}

.menu nav {
  display: flex;
  gap: 20px;
  text-transform: uppercase;
}

.container {
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
  padding: 20px;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  display: none;
}

#cookie-banner p {
  margin: 0;
  font-size: 16px;
}

#cookie-banner button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  font-size: 16px;
}

#cookie-banner button.decline {
  background-color: #f44336;
}

#cookie-banner button:hover {
  opacity: 0.8;
}

/* scroll */
/* Стилізація скролбару на всьому сайті */
::-webkit-scrollbar {
  width: 12px; /* Ширина вертикального скролбару */
  height: 12px; /* Висота горизонтального скролбару */
}

::-webkit-scrollbar-thumb {
  background-color: #2c4b3b; /* Колір самого скролбару */
  border-radius: 6px; /* Заокруглені кути */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #4b0082; /* Темніше індиго при наведенні */
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* Колір фону скролбару */
  border-radius: 6px; /* Заокруглені кути */
}

::-webkit-scrollbar-track-piece {
  background-color: #f1f1f1; /* Колір внутрішньої частини треку */
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }
  .container {
    min-width: 300px;
    width: 90%;
  }
}
/* feature */

.game-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 40px;
}

.feature {
  background-color: #456b58;
  color: #f5f5dc;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.features h2 {
  text-align: center;
  margin-top: 30px;
}
.feature i {
  font-size: 40px;
  color: #f5f5dc;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .game-features {
    grid-template-columns: 1fr;
  }
}
/* how-to-play  */
#how-to-play h2 {
  text-align: center;
  margin-top: 30px;
}
.how-to-play {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 40px;
}

.step {
  background-color: #456b58;
  color: #f5f5dc;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.step:hover {
  transform: translateY(-15px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background-color: #2c4b3b;
}

.step i {
  font-size: 45px;
  color: #f5f5dc;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.step:hover i {
  transform: rotate(15deg);
}

.step h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.step p {
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-to-play {
    grid-template-columns: 1fr;
  }
}

/* media */

/* Стилі для галереї */
.media-item {
  overflow: hidden;
  position: relative;
  border-radius: 10px; /* Заокруглені кути для зображень */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item img {
  transition: transform 0.3s ease;
}

/* Ефект при наведенні */
.media-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.media-item:hover img {
  transform: scale(1.1);
}

/* review */

.reviews {
  background-color: #22382f;
  color: #f5f5dc;
}

.review-card {
  background-color: #456b58;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.review-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.review-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.review-name {
  font-size: 18px;
  font-weight: bold;
  color: #f5f5dc;
  text-align: center;
  margin-bottom: 10px;
}

.review-text {
  font-size: 16px;
  text-align: center;
  font-style: italic;
}

/* Стилі для зірочок */
.star-rating {
  text-align: center;
  margin-bottom: 10px;
}

.star {
  color: gold;
  font-size: 20px;
  margin: 0 2px;
}

.star:hover {
  color: #ffcc00;
}

/* Клас для вирівнювання заголовка */
h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .review-card {
    padding: 20px;
  }

  .review-img {
    width: 80px;
    height: 80px;
  }

  .review-name {
    font-size: 16px;
  }

  .review-text {
    font-size: 14px;
  }
}

/* hero */
/* Hero Section */
.hero {
  background-color: #22382f; /* Темний фон */
  background-image: linear-gradient(
    rgba(49, 61, 49, 0.5),
    rgba(0, 0, 0, 0.5)
  ); /* Напівпрозорий темний фон з картинкою */
  background-size: cover; /* Фонове зображення, яке покриває весь блок */
  background-position: center center; /* Центрування фону */
  color: #f5f5dc; /* Колір тексту */
  padding: 100px 0; /* Простір навколо контенту */
}

.hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-hero {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #f5f5dc;
}

.hero-text h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #a7d3b9;
}

.hero-text h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 40px;
}

.hero img {
  width: 50%;

  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Тінь для картинки */
}

/* Кнопки */
.hero-button {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.hero-button .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #456b58; /* Фон кнопок */
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-button .button:hover {
  transform: scale(1.05); /* Збільшення кнопки при наведенні */
  background-color: #2c4b3b; /* Зміна кольору фону */
}

.hero-button .button-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .container-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text h2 {
    font-size: 28px;
  }

  .hero-text h3 {
    font-size: 16px;
  }

  .hero-button {
    flex-direction: column;
    gap: 15px;
  }
}

/* about */

/* About Section */
#about {
  background-color: #2c4b3b; /* Темний фон секції */
  color: #f5f5dc; /* Колір тексту */
  padding: 80px 0; /* Відступи навколо */
}

#about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  max-width: 50%;
  margin-right: 30px;
}

.about-text h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #f5f5dc;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.about-img {
  max-width: 45%;
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Тінь для картинки */
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .container-about {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .about-img {
    max-width: 100%;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 16px;
  }
}

/* video */

/* Pay Section */
#pay {
  background-color: #2c4b3b; /* Темний фон для секції */
  color: #f5f5dc; /* Світлий текст */
  padding: 80px 0; /* Відступи навколо секції */
}

#pay .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.pay-video {
  text-align: center;
  margin-bottom: 40px;
}

.pay-video iframe {
  max-width: 100%;
  /* height: 100%; */
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Тінь для відео */
}

.hero-button {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-button .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #456b58; /* Фон кнопок */
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-button .button:hover {
  transform: scale(1.05); /* Збільшення кнопки при наведенні */
  background-color: #2c4b3b; /* Зміна кольору фону */
}

.hero-button .button-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .hero-button {
    flex-direction: column;
    gap: 15px;
  }

  .hero-button .button {
    width: 100%; /* Кнопки займають всю ширину на мобільних */
    text-align: center;
  }
}

/* footer */

/* Footer Section */
.footer {
  background-color: #2c4b3b; /* Темний фон для футера */
  color: #f5f5dc; /* Світлий текст */
  padding: 40px 0;
  font-size: 16px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer .logo a img {
  width: 150px; /* Розмір логотипу */
}

.footer .menu nav a {
  color: #f5f5dc;
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer .menu nav a:hover {
  color: #456b58; /* Колір при наведенні */
}

.footer .container-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.footer .container-footer p {
  font-size: 14px;
  color: #e0e0e0;
}

.footer .policy-menu nav a {
  color: #f5f5dc;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer .policy-menu nav a:hover {
  color: #456b58; /* Колір при наведенні */
}

/* Мобільна адаптація */
@media (max-width: 768px) {
  .footer .header {
    flex-direction: column;
    text-align: center;
  }

  .footer .menu nav {
    margin-top: 20px;
  }

  .footer .container-footer {
    flex-direction: column;
    text-align: center;
    margin-top: 20px;
  }

  .footer .container-footer p {
    margin-bottom: 20px;
  }

  .footer .policy-menu nav a {
    margin: 5px;
  }
}
