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

.success__text {
  margin-bottom: 27px;
}

.success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.success__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #04141d;
}

.policy__title {
  color: #04141d;
}

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

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

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

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

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Buttons */
.btn-primary {
  background: #2d3748;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #1a202c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #667eea;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #5a67d8;
}

/* Cookies Popup */
.cookies-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.cookies-popup.hidden {
  display: none;
}

.cookies-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cookies-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2d3748;
}

.cookies-content p {
  margin-bottom: 15px;
  color: #4a5568;
  line-height: 1.6;
}

.cookies-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-accept {
  background: #667eea;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.btn-accept:hover {
  background: #5a67d8;
}

.btn-learn-more {
  background: transparent;
  color: #4a5568;
  padding: 15px 30px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.btn-learn-more:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
}

/* Header */
.header {
  background: transparent !important;
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
}

.header-content {
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #2d3748;
}

.logo img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  gap: 10px;
  background-color: #ffffff66;
  padding: 4px;
  border-radius: 30px;
}

.nav a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s ease;
  border-radius: 30px;
  background-color: #ffffff;
  padding: 8px 24px;
}

.nav a:hover {
  color: #2d3748;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #2d3748;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(173, 216, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 20px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.mobile-nav a {
  text-decoration: none;
  color: #2d3748;
  font-weight: 500;
  font-size: 18px;
}

/* Hero Section */
.hero {
  padding: 32px 0 80px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  background-color: #d5e8fd;
  padding: 100px 32px 32px 32px;
  border-radius: 30px;
}

.hero-text {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 700;
  color: #2d3748;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-images {
  display: flex;
  gap: 20px;
  height: 500px;
}

.hero-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    border-radius: 24px !important;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 40px;
}

.stat-item:first-child {
  background: #667eea;
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  min-width: 180px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 32px;
  font-weight: 600;
  color: #557dd5;
  margin-bottom: 8px;
}

.stat-text {
  color: #4a5568;
  font-size: 14px;
}

.stat-item:first-child .stat-text {
  color: white;
}

/* Why Choose Section */
.why-choose {
  padding: 100px 0;
  background: white;
}

.why-choose h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 270px));
  gap: 20px;
}

.feature-item {
  padding: 40px 30px;
  border-radius: 20px;
  background: #f7fafc;
  text-align: center;
}

.feature-item.featured {
  background: #667eea;
  color: white;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item.featured .feature-icon {
}

.feature-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2d3748;
}

.feature-item.featured h3 {
  color: white;
}

.feature-item p {
  color: #4a5568;
  line-height: 1.6;
}

.feature-item.featured p {
  color: rgba(255, 255, 255, 0.9);
}

/* Every Player Section */
.every-player {
  padding: 100px 0;
  background: linear-gradient(135deg, #f7fafc 0%, #e2e8f0 100%);
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section-text h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-text p {
  color: #4a5568;
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 16px;
}

.section-images {
  height: 500px;
}

.section-image {
  border-radius: 20px;
  overflow: hidden;
}

.section-image:first-child {
  grid-row: 1 / 3;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Genres Section */
.genres {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.genres h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 30px;
}

.genres p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Player Voices Section */
.player-voices {
  padding: 100px 0;
}

.player-voices h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 60px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.testimonial.featured {
  background: #667eea;
  color: white;
  transform: scale(1.05);
}

.testimonial-decor {
  width: 40px;
  object-fit: contain;
  align-self: flex-end;
  margin-bottom: 20px;
}

.testimonial p {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #4a5568;
}

.testimonial.featured p {
  color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.testimonial.featured .testimonial-author strong {
  color: white;
}

.testimonial-author span {
  color: #718096;
  font-size: 14px;
}

.testimonial.featured .testimonial-author span {
  color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: white;
}

.faq h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 60px;
}

.faq-items {
  display: grid;
  gap: 30px;
}

.faq-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  padding: 40px;
  border-radius: 20px;
  background: #f7fafc;
  align-items: start;
}

.faq-item.featured {
  background: #667eea;
  color: white;
}

.faq-number {
  font-size: 48px;
  font-weight: 600;
  color: #667eea;
  min-width: 40px;
}

.faq-item.featured .faq-number {
  color: rgba(255, 255, 255, 0.8);
}

.faq-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.faq-item.featured .faq-content h3 {
  color: white;
}

.faq-content p {
  color: #4a5568;
  line-height: 1.6;
}

.faq-item.featured .faq-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Form Section */
.contact-form {
  padding: 100px 0;
  background: linear-gradient(135deg, #add8ff 0%, #e6f3ff 100%);
}

.form-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.form-content h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.form-content p {
  color: #4a5568;
  margin-bottom: 40px;
  font-size: 18px;
}

.contact-form-inner {
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  transition: border-color 0.3s ease;
  background: #f7fafc;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
}

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

/* Footer */
.footer {
  padding: 60px 0 30px;
}

.footer-wrapper {
  padding: 40px;
  background-color: #d5e8fd;
  border-radius: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: #2d3748;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact p {
  color: #4a5568;
  margin-bottom: 5px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(74, 85, 104, 0.2);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #4a5568;
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #4a5568;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #2d3748;
}

/* Games Page Styles */
.games-hero {
  background: linear-gradient(135deg, #add8ff 0%, #e6f3ff 100%);
  padding: 120px 0 80px;
}

.games-hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.games-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 24px;
  line-height: 1.2;
}

.games-hero-content p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Games Grid */
.games-grid {
  padding: 80px 0;
  background: white;
}

.games-collection {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  grid-template-areas:
    "featured grid mahjong"
    "featured grid mahjong";
}

.game-card.featured {
  grid-area: featured;
  background: #f7fafc;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.games-grid-items {
  grid-area: grid;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.game-card.mahjong-featured {
  grid-area: mahjong;
  background: #2d5a27;
  color: white;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-card {
  background: #f7fafc;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-card.featured img,
.game-card.mahjong-featured img {
  height: 300px;
}

.game-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 10px;
}

.mahjong-featured .game-info h3 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 5px;
}

.mahjong-featured .game-info h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.game-info p {
  color: #4a5568;
  margin-bottom: 20px;
  flex: 1;
}

.mahjong-featured .game-info p {
  color: rgba(255, 255, 255, 0.8);
}

.btn-play {
  background: #667eea;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: background 0.3s ease;
  margin-top: auto;
}

.btn-play:hover {
  background: #5a67d8;
}

/* Game Page Styles */
.game-hero {
  background: linear-gradient(135deg, #add8ff 0%, #e6f3ff 100%);
  padding: 120px 0 80px;
}

.game-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  color: #2d3748;
  line-height: 1.2;
  margin-bottom: 24px;
}

.game-hero-text p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 30px;
}

.game-hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.game-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Game Content */
.game-content {
  padding: 80px 0;
  background: white;
}

.game-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.game-screenshots img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.game-description h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  line-height: 1.2;
}

.game-description p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.game-session-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.game-session-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Game Features */
.game-features {
  padding: 80px 0;
  background: #f7fafc;
}

.game-features h2 {
  font-size: 48px;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-text h2 {
    font-size: 32px;
  }

  .section-images {
    height: 400px;
  }

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

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

  .testimonial.featured {
    transform: none;
  }

  .faq-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Games page responsive */
  .games-collection {
    grid-template-columns: 1fr;
    grid-template-areas:
      "featured"
      "grid"
      "mahjong";
  }

  .games-grid-items {
    grid-template-columns: 1fr;
  }

  .games-hero-content h1 {
    font-size: 32px;
  }

  /* Game page responsive */
  .game-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .game-hero-text h1 {
    font-size: 28px;
  }

  .game-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .game-screenshots {
    grid-template-columns: 1fr;
  }

  .game-description h2 {
    font-size: 28px;
  }

  .cookies-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .cookies-content h2 {
    font-size: 24px;
  }

  .cookies-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-accept,
  .btn-learn-more {
    width: 100%;
  }
}

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

  .hero {
    padding: 32px 0 60px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .why-choose h2,
  .player-voices h2,
  .faq h2 {
    font-size: 32px;
  }

  .section-text h2 {
    font-size: 28px;
  }

  .genres h2 {
    font-size: 28px;
  }

  .form-content h2 {
    font-size: 32px;
  }
}

.section-title {
  font-family: Poppins;
  font-weight: 600 !important;
  font-style: SemiBold;
  font-size: 48px !important;
  line-height: 90% !important;
  letter-spacing: 0%;
  text-align: center !important;
  color: #1e2423 !important;
}

.text {
  font-family: Poppins;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px !important;
  line-height: 160% !important;
  letter-spacing: 0% !important;
  color: #1e2423 !important;
}
