@import url("https://fonts.googleapis.com/css2?family=Mina:wght@400;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

body,
html {
  background-color: #f0f8ff;
  font-family: "Mina", 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;
}

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;
}
img {
  width: 100%; /* Встановлює ширину зображення на 100% */
  height: auto; /* Пропорційно змінює висоту */
  background-color: transparent; /* Задає прозорий фон, якщо зображення вбудоване */
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 100%; /* Робить зображення круглим */
  object-fit: cover; /* Запобігає спотворенню, обрізає зайве */
  object-position: center; /* Центрує зображення */
}

.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: #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: #2a3d66; /* Колір самого скролбару */
  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%;
  }
}

.container-footer {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .policy-menu nav {
    display: flex;
    gap: 20px;
  }
  .container-footer {
    flex-direction: column;
    align-items: center;
  }
  .container-footer p {
    font-size: 14px;
  }

  .policy-menu nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .footer .header {
    justify-content: center;
  }
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(10, 10, 30, 0.7);
  backdrop-filter: blur(5px);
  padding: 15px 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.menu nav {
  display: flex;
  gap: 30px;
}

.menu a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ffcc00;
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.menu a:hover {
  color: #ffcc00;
}

.menu a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger-line {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Sticky Navbar */
header.sticky {
  background: rgba(10, 10, 30, 1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Mobil Versiyon */
@media (max-width: 768px) {
  .menu nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(10, 10, 30, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  }

  .menu nav.show {
    display: flex;
  }

  .burger-menu {
    display: flex;
  }
}
.hero {
  background: linear-gradient(
      to right,
      rgba(20, 20, 50, 0.8),
      rgba(30, 30, 80, 0.9)
    ),
    url("./img/hero.webp");
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 150px 20px;
  animation: fadeIn 2s ease-in-out;
}

.hero-container {
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  opacity: 0;
  animation: slideIn 1.5s forwards;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
}

.hero-button {
  margin-top: 20px;
  gap: 20px;
  display: flex;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffcc00;
  color: black;
  padding: 12px 24px;
  font-size: 18px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
}

.button i {
  font-size: 24px;
}

.button.google-play {
  background: #3ddc84;
}

.button.app-store {
  background: #007aff;
}

.button:hover {
  transform: scale(1.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 160px;
  transition: transform 0.3s ease-in-out;
}

.stat-item:hover {
  transform: scale(1.1);
}

.stat-item i {
  font-size: 36px;
  color: #ffcc00;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 28px;
  font-weight: bold;
  color: #ffcc00;
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* about */
/* About Section */
.about {
  padding: 100px 0;
  background: #0a0a1e;
  color: white;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 32px;
  font-weight: bold;
  color: #ffcc00;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 15px;
}

.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0px 4px 20px rgba(255, 204, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.about-img img:hover {
  transform: scale(1.05);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Ana Özellikler Bölümü */
.features {
  padding: 100px 0;
  background: #0a0a1e;
  text-align: center;
  color: white;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffcc00;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
}

.feature-item i {
  font-size: 40px;
  color: #ffcc00;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 16px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Nasıl Oynanır? Bölümü */
.how-to-play {
  padding: 100px 0;
  background: #2e2e3d; /* Daha koyu bir arka plan */
  color: white;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffcc00;
  text-align: center;
  margin-bottom: 40px;
}

.how-to-play-content {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: center;
}

.how-to-play-img {
  width: 40%;
  height: auto;
  background: #333; /* Resim alanı için yer */
  border-radius: 10px;
}

.how-to-play-text {
  width: 50%;
}

.how-to-item {
  margin-bottom: 20px;
}

.how-to-item h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffcc00;
}

.how-to-item p {
  font-size: 16px;
  color: #ccc;
}

@media (max-width: 992px) {
  .how-to-play-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .how-to-play-img {
    width: 100%;
    margin-bottom: 20px;
  }

  .how-to-play-text {
    width: 100%;
  }
}

.how-to-play-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.how-to-play-img img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0px 4px 20px rgba(255, 204, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.how-to-play-img img:hover {
  transform: scale(1.05);
}

/* Oyunla İlgili İlginç Rakamlar */
.unique-game-stats {
  padding: 100px 0;
  background: #1a1a2e; /* Koyu bir arka plan */
  color: white;
  text-align: center;
}

.stats-title {
  font-size: 36px;
  font-weight: bold;
  color: #ff6f00;
  margin-bottom: 40px;
}

.stats-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.stat-box {
  margin: 20px;
  width: 220px;
  padding: 30px;
  background: #333;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.stat-figure {
  font-size: 36px;
  font-weight: bold;
  color: #ff6f00;
  margin-bottom: 15px;
  transition: transform 0.5s ease;
}

.stat-box:hover .stat-figure {
  transform: scale(1.2); /* Hover efektinde büyüme */
}

.stat-box p {
  font-size: 18px;
  color: #ccc;
}

@media (max-width: 768px) {
  .stats-content {
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    width: 80%;
    margin: 20px 0;
  }
}

#download {
  background-color: #222;
  padding: 40px 0;
  color: white;
  text-align: center;
}

#download .download-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#download .download-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

#download .download-text p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.5;
}

.footer {
  border-top: solid 1px #ccc;
  background-color: #222;
  color: white;
  padding: 40px 0;
  font-family: "Arial", sans-serif;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer .header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
  align-items: center;
}

.footer .logo img {
  max-width: 150px;
  margin-right: 10px;
}

.footer .container-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  font-size: 14px;
}

.footer .container-footer p {
  margin: 0;
}

.footer .policy-menu nav {
  display: flex;
  gap: 15px;
}

.footer .policy-menu nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer .policy-menu nav a:hover {
  color: #4caf50;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer .header {
    flex-direction: column;
    align-items: center;
  }

  .footer .container-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer .policy-menu nav {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .hero p {
    font-size: 16px;
    line-height: 1.3;
  }
  .button {
    padding: 10px;
  }
  .hero-stats {
    flex-direction: column;
  }
  .stat-item {
    width: auto;
  }
  .features {
    padding: 0;
  }
}
