.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: #ffffff;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6b6b;
}

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

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

.nav-link:hover {
  color: #4ecdc4;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/hero.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #ff6b6b22, #4ecdc422, #45b7d122);
  animation: colorShift 8s ease-in-out infinite;
}

@keyframes colorShift {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

  color: #fff !important;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
  font-weight: 300;
}

.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;
}

/* About Section */
.about {
  padding: 80px 0;
  background: rgba(22, 33, 62, 0.8);
}

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

.section-title {
  width: fit-content;
  position: relative;

  padding-right: 60px;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4ecdc4;
  text-align: center;
}

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

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

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

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

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

.about-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  color: #e0e0e0;
}

.about-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text h3 {
  color: #4ecdc4;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-text p {
  color: #b0b0b0;
  font-size: 0.9rem;
}

.about-footer {
  color: #c0c0c0;
  font-style: italic;
  font-size: 1rem;
}

.about-games {
  position: relative;
}

.about-games img {
  width: 100%;
  max-width: 550px;
}

.about-text {
  width: 100%;
  max-width: 450px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}

.game-thumb {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.game-thumb:hover {
  transform: scale(1.05);
}

.more-games-btn {
  position: absolute;
  bottom: -10px;
  right: 20px;
  background: #ff6b6b;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.more-games-btn:hover {
  background: #ff5252;
  transform: scale(1.1);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: rgba(15, 52, 96, 0.8);
}

.title-star {
  color: #ffd700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.feature-card h3 {
  color: #4ecdc4;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: #b0b0b0;
  line-height: 1.6;
}

/* Gallery Section */
.gallery {
  padding: 80px 0;
  background: rgba(26, 26, 46, 0.8);
}

.gallery-icon {
  color: #4ecdc4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(304px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: rgba(15, 52, 96, 0.8);
}

.reviews-icon {
  color: #4ecdc4;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid #4ecdc4;
}

.review-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #e0e0e0;
  font-style: italic;
}

.review-author {
  color: #4ecdc4;
  font-weight: bold;
  text-align: right;
}

/* Contact Form */
.contact-form {
  padding: 80px 0;
  background: rgba(26, 26, 46, 0.8);
}

.form {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: #4ecdc4;
  background: rgba(255, 255, 255, 0.15);
}

.form input::placeholder,
.form textarea::placeholder {
  color: #b0b0b0;
}

.submit-btn {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: rgba(26, 26, 46, 0.95);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6b6b;
}

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

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

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  z-index: 1001;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cookie-consent.hidden {
  transform: translateY(100%);
  opacity: 0;
}

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

.cookie-content p {
  color: #e0e0e0;
  font-size: 1rem;
}

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

.cookie-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: #4ecdc4;
  color: white;
}

.cookie-btn.decline {
  background: transparent;
  color: #b0b0b0;
  border: 1px solid #b0b0b0;
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-btn.accept:hover {
  background: #45b7b8;
}

.cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(26, 26, 46, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 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;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-card {
    padding: 1.5rem;
  }

  .container {
    padding: 0 15px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.review-card,
.gallery-item {
  animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
