.policy,
.success {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 37px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
}

.policy__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 16px;
}

.policy__text h2 {
  font-size: 20px;
  text-align: left;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-text {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #f39c12;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Section Titles */
.section-title {
  width: fit-content;
  position: relative;

  padding-right: 60px;
}

.section-title::after {
  position: absolute;
  content: "";
  width: 42px;
  height: 42px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.about-game .section-title::after {
  background: url("../img/icon-1.png") center / contain no-repeat;
}

.features .section-title::after {
  background: url("../img/icon-2.png") center / contain no-repeat;
}

.gallery .section-title::after {
  background: url("../img/icon-3.png") center / contain no-repeat;
}

.reviews .section-title::after {
  background: url("../img/icon-4.png") center / contain no-repeat;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/bg.png") center / cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-content {
  flex: 1;
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-weight: 400;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 2px;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  color: #fff;
  bottom: 50px;
}

.hero-subtitle {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.google-play-btn {
  display: inline-block;
  transition: transform 0.3s ease;
}

.google-play-btn:hover {
  transform: scale(1.05);
}

.google-play-btn img {
  width: 200px;
  height: auto;
}

.hero-bg {
  flex: 1;
  position: relative;
}

.hero-characters {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Section Styles */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.icon,
.star-icon {
  font-size: 2rem;
}

/* About Game Section */
.about-game {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features {
  background: rgba(0, 0, 0, 0.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Gallery Section */
.gallery {
  background: rgba(255, 255, 255, 0.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: fit-content;
}

.gallery-item:nth-of-type(1) {
  grid-column: 1/2;
  grid-row: 1/2;
}

.gallery-item:nth-of-type(2) {
  grid-column: 2/3;
  grid-row: 1/3;
}

.gallery-item:nth-of-type(3) {
  grid-column: 1/2;
  grid-row: 2/3;
}


@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(1, auto) !important;
    grid-template-rows: repeat(3, auto) !important;
  }

  .gallery-item:nth-of-type(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .gallery-item:nth-of-type(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .gallery-item:nth-of-type(3) {
    grid-column: 1/2;
    grid-row: 3/4;
  }
}


.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Reviews Section */
.reviews {
  background: rgba(0, 0, 0, 0.1);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  padding: 2rem;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.review-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-author {
  font-size: 1rem;
}

/* Contact Form */
.contact {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-form h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  font-family: Arial, sans-serif;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 2rem 0;
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: bold;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f39c12;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: #fff;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.btn-accept,
.btn-reject {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-accept {
  background: #27ae60;
  color: #fff;
}

.btn-reject {
  background: #e74c3c;
  color: #fff;
}

.btn-accept:hover,
.btn-reject:hover {
  transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    margin: 1rem 0;
    font-size: 1.2rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .logo-img {
    max-width: 300px;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .google-play-btn img {
    width: 150px;
  }

  .feature-card,
  .review-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

.policy {
  color: #fff;
}
