@import url("https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&display=swap");

body,
html {
  font-family: "Tektur", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

a {
  text-decoration: none;
  font-style: normal;
  color: inherit;
  transition: color 0.3s ease, transform 0.3s ease;
}
.color {
  color: rgb(0, 174, 255);
}
a:hover {
  transform: scale(1.05); /* Легке збільшення кнопки */
  color: var(--color-prime);
}
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;
}
.button img {
  width: 20px;
}
.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: rgb(0, 174, 255);
  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: rgb(0, 174, 255); /* Колір самого скролбару */
  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) {
  .container {
    min-width: 300px;
    width: 90%;
  }
}

/* Загальні стилі для бургер-меню */
.burger-menu {
  display: none; /* Ховати бургер-меню на десктопах */
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 999; /* Вищий z-index, щоб бургер-меню було зверху */
}

.burger-line {
  width: 30px;
  height: 4px;
  background-color: #333;
  border-radius: 5px;
}

/* Стилі для меню на мобільних пристроях */
@media (max-width: 768px) {
  #nav-menu {
    /* Тепер звертаємось до id */
    display: none;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 80px;
    right: 10px;
    background-color: #fff;
    color: #333;
    width: 200px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 998; /* Зробити menu менше, щоб воно не перекривало бургер */
  }

  /* Стилі для мобільного меню при відкритті */
  #nav-menu.active {
    display: flex; /* Переключаємо на відображення */
    flex-direction: column; /* Розташовуємо елементи вертикально */
  }

  /* Показати бургер-меню на мобільних пристроях */
  .burger-menu {
    display: flex;
  }
}
.header-color {
  background-color: #1e1e1e;
  color: beige;
}
.hero {
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 100px 0;
}

.hero-text {
  max-width: 1000px;
  padding: 30px;
  color: #fff;
  border-radius: 10px;
}

.hero-button a {
  border: solid 1px beige;
  background-color: rgba(30, 30, 30, 0.5);

  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

button {
  background-color: #f8f8f8;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.hero-button {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.hero-text h1 {
  font-size: 43px;
  color: rgb(0, 174, 255);
  line-height: 1.3;
}

/* features */

.features {
  background-color: beige;
  padding: 100px 0;
}

.features-items {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  color: beige;
}

.featires-item {
  padding: 20px;
  border-radius: 10px;
  background-color: #1e1e1e;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featires-item i {
  font-size: 24px;
  color: rgb(0, 174, 255);
  transition: color 0.3s ease;
}

.featires-item:hover {
  transform: translateY(-10px); /* Піднімає блок при наведенні */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тінь при наведенні */
}

.featires-item:hover i {
  color: #ffcc00; /* Зміна кольору іконки при наведенні */
}

@media (max-width: 768px) {
  .features-items {
    flex-direction: column;
  }
}

/* about */
.about {
  background-color: beige;
  padding: 50px 0;
}

.about-container {
  display: flex;
  gap: 30px;
}

.about-img img {
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тінь при наведенні */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 700px;
}
.about-img img:hover {
  transform: translateY(-10px); /* Піднімає блок при наведенні */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тінь при наведенні */
}

h2 {
  color: rgb(0, 174, 255);
  line-height: 1.8;
  font-size: 38px;
}
.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-around;
}
.about-img {
  flex: 1;
}
.game-features {
  background-color: #1e1e1e;
  padding: 100px 0;
}

.feature-cards {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  color: beige;
  flex-wrap: wrap;
}

.feature-card {
  padding: 20px;
  border-radius: 10px;
  background-color: beige;
  color: #1e1e1e;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 220px;
  margin-bottom: 20px;
}

.feature-card i {
  font-size: 24px;
  color: rgb(0, 174, 255);
  transition: color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px); /* Pushing the block up on hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adding shadow on hover */
}

.feature-card:hover i {
  color: #ffcc00; /* Changing the icon color on hover */
}

@media (max-width: 768px) {
  .feature-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Genel medya sekmesi stilizasyonu */
.media {
  background-color: #1e1e1e;
  padding: 60px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.media-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(250px, 1fr)
  ); /* Esnek kolon yapısı */
  gap: 20px;
  justify-items: center;
}

.media-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-container img:hover {
  transform: scale(1.05); /* Hover efektiyle resimleri biraz büyütüyoruz */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Hover efektiyle gölgeyi artırıyoruz */
}

/* Responsive tasarım: Mobil uyumlu */
@media (max-width: 768px) {
  .media-container {
    grid-template-columns: 1fr 1fr; /* 2 kolonlu görünüm */
  }
}

@media (max-width: 480px) {
  .media-container {
    grid-template-columns: 1fr; /* Mobilde tek kolonlu görünüm */
  }
}
.pay {
  background-color: #1e1e1e;
  color: beige;
  text-align: center;
}
.pay-container {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.pay-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer {
  background-color: #1e1e1e;
  color: beige;
}

.container-footer {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 25px;
  }
  .hero-text p {
    font-size: 16px;
  }
  .hero-text {
    padding: 0;
  }
  h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .about-container {
    flex-direction: column;
  }
  .about-img img {
    min-width: 300px;
    width: 100%;
  }

  .pay-video iframe {
    min-width: 300px;
    width: 100%;
    height: auto;
  }

  .container-footer {
    flex-direction: column;
    text-align: center;
  }
  .container-footer p {
    font-size: 14px;
  }

  .policy-menu nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .features {
    padding: 30px 0;
  }
}
.pay-video {
  margin: 30px 0;
}
.faq {
  background-color: beige;
  padding: 50px 0;
}

.faq h2 {
  text-align: center;
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
}

.faq-item {
  background-color: white;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #1e1e1e;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.faq-question:hover {
  background-color: #1e1e1e;
}

.faq-question i {
  color: rgb(0, 174, 255);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 15px;
  background-color: #f1f1f1;
  display: none; /* Başlangıçta gizli */
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555;
}

/* Active state for the open FAQ */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg); /* Ok işaretini yukarıya çevir */
}

@media (max-width: 768px) {
  .faq h2 {
    font-size: 28px;
  }

  .faq-question {
    font-size: 16px;
  }
}
