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

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

body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #1a3b3b 0%, #0d2818 100%);
  color: white;
  overflow-x: hidden;
}

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

/* Buttons */
.btn-primary {
  background: #4ecdc4;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

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

.btn-secondary {
  background: transparent;
  color: #4ecdc4;
  border: 2px solid #4ecdc4;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #4ecdc4;
  color: white;
}

/* Popup Styles */
.popup-overlay {
  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: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  color: #333;
  padding: 30px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

/* Age Verification Popup */
.age-verification h2 {
  margin-bottom: 20px;
  color: #333;
}

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

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

.under18-content {
  text-align: center;
  padding: 40px;
}

.under18-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #4ecdc4;
}

/* Cookies Popup */
.cookies-popup {
  background: #4ecdc4;
  color: white;
}

.cookies-popup h3 {
  margin-bottom: 15px;
}

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

.cookies-buttons .btn-primary {
  background: #2d7d7d;
}

.cookies-buttons .btn-secondary {
  color: white;
  border-color: white;
}

.cookies-buttons .btn-secondary:hover {
  background: white;
  color: #4ecdc4;
}

/* Game Popup */
.game-popup {
  max-width: 90vw;
  max-height: 90vh;
  width: 1000px;
  height: 700px;
  padding: 20px;
  background: #1a3b3b;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
}

#gameFrame {
  border-radius: 10px;
}

/* Success Popup */
.success-popup h3 {
  color: #4ecdc4;
  margin-bottom: 15px;
}

/* Header */
.header {
  background: #4ecdc4;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

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

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

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

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

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background:   url("../img/bg.png");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.advantages h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: white;
}

.advantage-card {
  background: #4ecdc4;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.advantage-content h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
  font-style: italic;
}

.advantage-content p {
  color: white;
  line-height: 1.6;
}

/* About Platform Section */
.about-platform {
  padding: 80px 0;
  background: #1a3b3b;
}

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

.platform-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: white;
}

.platform-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #ccc;
}

.stats h3 {
  color: white;
  margin-bottom: 15px;
  margin-top: 30px;
}

.stats ul {
  list-style: none;
}

.stats li {
  margin-bottom: 10px;
  color: #ccc;
}

.platform-image img {
  width: 100%;
  border-radius: 15px;
}

/* Temple Game Section */
.temple-game {
  padding: 80px 0;
  background: #0d2818;
  text-align: center;
}

.temple-game h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.temple-game p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #ccc;
}

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

.game-preview img {
  max-width: 600px;
  width: 100%;
  border-radius: 15px;
}

/* Why Play Section */
.why-play {
  padding: 80px 0;
  background: #1a3b3b;
}

.why-play h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

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

.why-card {
  border: 2px solid #4ecdc4;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

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

.why-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: white;
  font-style: italic;
}

.why-card p {
  color: #ccc;
  line-height: 1.6;
}

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

.feedback-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
}

.feedback-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #4ecdc4;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #45b7b8;
}

.feedback-form button {
  width: 100%;
}

/* Footer */
.footer {
  background: #4ecdc4;
  padding: 40px 0;
}

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

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

.footer-logos img {
  height: 40px;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  opacity: 0.8;
}

.disclaimer h3 {
  margin-bottom: 15px;
  color: white;
}

.disclaimer p {
  color: white;
  line-height: 1.6;
  font-size: 14px;
}

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

  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #4ecdc4;
    transition: left 0.3s ease;
    padding: 20px;
  }

  .nav.active {
    left: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 20px;
  }

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

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

  .platform-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantage-card {
    flex-direction: column;
    text-align: center;
  }

  .why-play-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card {
    flex-direction: column;
    text-align: center;
    min-width: auto;
  }

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

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

  .cookies-buttons,
  .age-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

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

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

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

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

  .platform-text h2 {
    font-size: 24px;
  }

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

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

  .under18-content h1 {
    font-size: 36px;
  }
}
