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

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: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

/* Header */
.header {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 24px;
  font-weight: 700;
}

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

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

.nav-list a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid transparent;
}

.nav-list a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.burger-menu span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
}

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

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.hero-text h1 {
  font-size: 42px;
  font-weight: 800;
  color: #2e7d32;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #555;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-play span {
  margin-left: 10px;
  font-size: 20px;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.hero-img-2 {
  margin-top: 40px;
}

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

.why-choose h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 50px;
}

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

.feature-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card img {
  width: 160px;
  height: 160px;
  margin-bottom: 20px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 15px;
  font-style: italic;
}

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

/* About Us Section */
.about-us {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.stats {
  margin-top: 30px;
}

.stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #4caf50;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

.about-images {
  width: 100% !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  justify-items: center;
  align-items: center;
}

.about-images img {
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .about-images img {
    height: 100px;
  }
}

.about-images img:first-child {
  grid-column: 1 / 1;

}

/* Game Highlights Section */
.game-highlights {
  padding: 80px 0;
  background: white;
}

.game-highlights h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 50px;
}

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

.highlight-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  border: 2px solid #e9ecef;
}

.highlight-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.highlight-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 15px;
}

.highlight-card p {
  color: #666;
  font-size: 14px;
}

/* Top Game Section */
.top-game {
  padding: 80px 0;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

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

.game-image img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 15px;

}

.game-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 10px;
}

.game-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: #ff9800;
  margin-bottom: 15px;
}

.game-info p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background: white;
}

.reviews h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 50px;
}

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

.review-card {
  background: #fff8e1;
  padding: 30px;
  border-radius: 15px;
  position: relative;
  border: 2px solid #ffcc02;
}

.quote-icon {
  font-size: 48px;
  color: #ffcc02;
  position: absolute;
  top: 10px;
  left: 20px;
  font-weight: 700;
}

.review-card p {
  font-size: 16px;
  color: #333;
  margin: 20px 0;
  font-style: italic;
}

.reviewer {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.view-all-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: #4caf50;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.view-all-btn:hover {
  background: #2e7d32;
}

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

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-header p {
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
  outline: 2px solid #4caf50;
  background: white;
}

.btn-submit {
  background: #4caf50;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #66bb6a;
}

/* Footer */
.footer {
  background: #424242;
  color: white;
  padding: 60px 0 30px;
}

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

.footer-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.age-badge {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.age-icon {
  background: #f44336;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  border: 3px solid white;
}

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

.footer-logos img {
  height: 80px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-logos img:hover {
  opacity: 1;
}

.footer-disclaimer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #666;
}

.footer-disclaimer h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-disclaimer p {
  font-size: 12px;
  color: #ccc;
  line-height: 1.5;
}

/* Age Verification has highest priority */
#ageVerificationPopup {
  z-index: 30000;
}

#under18Screen {
  z-index: 25000;
}

.cookies-popup {
  z-index: 15000;
}

#gamePopup {
  z-index: 20000;
}

#successPopup {
  z-index: 18000;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.90);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  display: flex;
  opacity: 1;
}

.popup-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.popup-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #2e7d32;
}

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

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

.btn-green {
  background: #4caf50;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-green:hover {
  background: #2e7d32;
}

.btn-orange {
  background: #ff9800;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-orange:hover {
  background: #f57c00;
}

/* Age Verification Specific */
.age-verification {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
  color: white;
}

.age-verification h2 {
  color: white;
}

.age-verification p {
  color: white;
}

/* Cookies Popup Specific */
.cookies {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: white;
}

.cookies h2 {
  color: white;
}

.cookies p {
  color: white;
}

/* Under 18 Screen */
.under18-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 20000;
}

.under18-content h1 {
  color: white;
  font-size: 48px;
  font-weight: 700;
  text-align: center;
}

/* Game Popup */
.game-popup {
  max-width: 90vw;
  max-height: 90vh;
  width: 1200px;
  height: 800px;
  padding: 50px 20px 20px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  color: #666;
  cursor: pointer;
  font-weight: 300;
}

.close-btn:hover {
  color: #333;
}

#gameFrame {
  width: 100%;
  height: calc(100% - 40px);
  border: none;
  border-radius: 10px;
}

/* Success Popup */
.success-popup {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: white;
  text-align: center;
  max-width: 400px;
}

.success-popup h2 {
  color: white;
  margin-bottom: 15px;
}

.success-popup p {
  color: white;
  margin-bottom: 25px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  margin: 0 auto 20px;
  color: white;
}

/* Hidden class */
.hidden {
  display: none !important;
}

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

  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    transition: left 0.3s;
    z-index: 999;
  }

  .nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    padding: 30px;
    gap: 20px;
  }

  .nav-list a {
    display: block;
    text-align: center;
  }

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

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

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

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

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

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

  .under18-content h1 {
    font-size: 32px;
    padding: 20px;
  }
}

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

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

  .hero-images {
    grid-template-columns: 1fr;
  }

  .hero-img-2 {
    margin-top: 0;
  }

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

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

  .game-popup {
    width: 95vw;
    height: 70vh;
    padding: 40px 15px 15px;
  }
}

.disclaimer {
  padding-block: 60px;
}

.disclaimer__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1200px) {
  .disclaimer__content {
    flex-direction: row;
  }

  .disclaimer__img {
    width: 400px !important;
  }

  .disclaimer__text {
    width: 660px;
  }
}

.disclaimer__text {
  border: 1px solid #009600;
  border-radius: 20px;
  padding: 40px 20px;
  width: 100%;
}

.disclaimer__img {
  width: 280px;
}

.disclaimer__title {
  text-align: center;
  margin-bottom: 40px;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}
