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

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

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

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

.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: "Nunito Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

.hidden {
  display: none !important;
}

/* Age Verification Popup */
.age-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.age-popup-content {
  background: #7a7a7a;
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  color: white;
}

.age-popup-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.age-popup-content p {
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 16px;
}

.age-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.age-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.age-yes {
  background: #1976d2;
  color: white;
}

.age-yes:hover {
  background: #1565c0;
}

.age-no {
  background: #2196f3;
  color: white;
}

.age-no:hover {
  background: #1976d2;
}

/* Age Restriction */
.age-restriction {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1976d2;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.age-restriction-content {
  text-align: center;
  color: white;
  padding: 40px;
}

.age-restriction-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
}

.age-restriction-content p {
  font-size: 24px;
  max-width: 600px;
}

/* Cookies Popup */
.cookies-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 600px;
  width: 90%;
}

.cookies-content {
  background: #1976d2;
  padding: 30px;
  border-radius: 10px;
  color: white;
  text-align: center;
}

.cookies-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.cookies-content p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookies-content a {
  color: #bbdefb;
  text-decoration: underline;
}

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

.cookies-btn {
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.accept {
  background: #0d47a1;
  color: white;
}

.accept:hover {
  background: #1565c0;
}

.learn-more {
  background: #2196f3;
  color: white;
}

.learn-more:hover {
  background: #1976d2;
}

/* Game Popup */
.game-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
}

.game-popup-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80%;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.close-game {
  position: absolute;
  top: 10px;
  right: 15px;
  background: #f44336;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.close-game:hover {
  background: #d32f2f;
}

#game-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-popup-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.success-popup-content h3 {
  color: #4caf50;
  font-size: 24px;
  margin-bottom: 15px;
}

.success-popup-content p {
  margin-bottom: 25px;
  color: #666;
}

.success-btn {
  background: #4caf50;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.success-btn:hover {
  background: #45a049;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

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

.nav-link:hover {
  color: #1976d2;
}

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

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
main {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1976d2 0%, #2196f3 100%);
  color: white;
  padding: 80px 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 35px;
  line-height: 1.6;
  opacity: 0.9;
}

.cta-button {
  background: #0d47a1;
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #1565c0;
  transform: translateY(-2px);
}

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

/* Advantages Section */
.advantages {
  padding: 80px 0;
  background: #f8f9fa;
}

.advantages h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #333;
}

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

.advantage-card {
  background: #1976d2;
  color: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.advantage-icon {
  margin-bottom: 20px;
}

.advantage-icon img {
  width: 60px;
  height: 60px;
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.advantage-card p {
  line-height: 1.6;
  opacity: 0.9;
}

/* Games Section */
.games {
  padding: 80px 0;
}

.game-feature {
  margin-bottom: 80px;
}

.game-content {
  text-align: center;
}

.game-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #333;
}

.game-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #666;
}

.game-image {
  margin: 40px 0;
}

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

.game-button {
  display: inline-block;
  background: #1976d2;
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}

.game-button:hover {
  background: #1565c0;
  transform: translateY(-2px);
}

/* Why Play Section */
.why-play h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
  color: #333;
}

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

.feature-card {
  background: #e3f2fd;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.feature-icon {
  margin-bottom: 15px;
}

.feature-icon img {
  width: 50px;
  height: 50px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1976d2;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

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

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

.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #333;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666;
}

.stats {
  margin-top: 30px;
}

.stats h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.stats-list {
  list-style: none;
}

.stats-list li {
  padding: 8px 0;
  font-size: 16px;
  color: #666;
}

.stats-list strong {
  color: #1976d2;
  margin-right: 10px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: url('../img/bg.png') center / cover no-repeat;;
}

.feedback-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.feedback-form h2 {
  color: white;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Nunito Sans", sans-serif;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.submit-btn {
  width: 100%;
  background: #0d47a1;
  color: white;
  border: none;
  padding: 15px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #1565c0;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #ffffff;
  color: rgb(66, 66, 66);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-badges {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-badge {
  height: 40px;
  width: auto;
}

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

.footer-links a {
  color: rgb(27, 27, 27);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.disclaimer {
  border-top: 1px solid rgba(122, 122, 122, 0.712);
  padding-top: 20px;
}

.disclaimer h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.disclaimer p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

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

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

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

  .nav-link {
    padding: 15px 0;
    font-size: 18px;
  }

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

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

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

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

  .hero-text p {
    font-size: 16px;
  }

  .advantages h2,
  .why-play h2 {
    font-size: 28px;
  }

  .about-text h2,
  .game-content h2 {
    font-size: 24px;
  }

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

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .cookies-buttons {
    flex-direction: column;
  }

  .age-buttons {
    flex-direction: column;
  }

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

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

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

  .game-popup-content {
    width: 95%;
    height: 70%;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }

  .advantages h2,
  .why-play h2 {
    font-size: 24px;
  }

  .feedback-form {
    margin: 0 20px;
    padding: 30px 20px;
  }

  .advantage-card,
  .feature-card {
    padding: 20px 15px;
  }

  .logo-text {
    font-size: 16px;
  }

  .nav-container {
    padding: 0 15px;
  }
}
