:root {
  --primary: #00c853;
  --primary-dark: #00a042;
  --dark: #121212;
  --light: #f8f9fa;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  background: #fff;
  padding: 15px 0px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}
.logo img {
  height: 40px;
}
nav{
    display: flex;
    gap: 20px;
}
nav a {
  color: #333;
  font-weight: 600;
  transition: 0.3s;
}
nav a:hover {
  color: var(--primary);
}
.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}
h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 60px;
}
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("image/banner.webp");
  background-size: cover;
  background-position: center;
  height: 100vh;
  max-height: 1200px;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 80px;
}
.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero h1 {
  font-size: 4rem;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 700px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 15px;
  transition: 0.3s;
  margin-top: 15px;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

section {
  padding: 80px 0px;
  position: relative;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
.about {
  color: #fff;
  background: linear-gradient(rgba(0, 200, 83, 0.4), rgba(0, 200, 83, 0.4)),
    url("image/green.jpg") right center/cover no-repeat;
}
.about-text {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  color: #111;
  margin-right: auto;
}
.btn-contact{
    background:transparent;border:2px solid #fff;
}
.mission {
  background: var(--primary);
  color: #fff;
}
.mission .btn{
    background:#fff;color:var(--primary);margin-top:20px;
}
.about .container,
.mission .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about img,
.mission img {
    min-height: 250px;
  border-radius: 12px;
}

.features {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("image/poster.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  position: relative;
}
.features::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.features .container {
  position: relative;
  z-index: 5;
}
.features-text{
    text-align:center;margin-bottom:60px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.feature-card {
  background: rgba(4, 94, 41, 0.8);
  padding: 40px 20px;
  border-radius: 12px;
}
.feature-card i {
  font-size: 50px;
  color: var(--primary);
  margin-bottom: 20px;
}

.games {
  text-align: center;
  background: #f8f9fa;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.game-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.game-card:hover {
  transform: translateY(-10px);
}
.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.game-info {
  padding: 20px;
}
.game-info h3 {
  margin-bottom: 10px;
}
.play-btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-block;
  margin-top: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.play-btn:hover {
  transform: scale(1.1);
}
.contact {
  background: linear-gradient(rgba(0, 200, 83, 0.8), rgba(0, 200, 83, 0.8)),
    url("image/bonus.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.contact form {
  max-width: 800px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.contact textarea {
  grid-column: 1 / span 3;
  height: 150px;
  resize: none;
}
.contact input,
.contact textarea {
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.form-btn {
  grid-column: 1 / span 3;
  padding: 15px;
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-btn:hover {
  color: #fff;
  background: var(--primary);
}
button {
  border: none;
}
footer {
  background: #111;
  color: #aaa;
  padding: 40px 20px;
  text-align: center;
}
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.footer-logos img {
  height: 40px;
}

.footer-links a {
  color: #aaa;
  margin: 0 10px;
}
.footer-block {
  margin: 60px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  /* flex-wrap: wrap; */
}
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.close {
  position: absolute;
  top: 5px;
  right: 25px;
  color: #333;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
}
.modal-header {
  padding: 10px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.modal-header h2 {
  margin: 0;
  font-size: 2rem;
}
.modal-iframe {
  width: 100%;
  height: calc(100% - 70px);
  border: none;
}
.disclaimer-box {
  margin: 40px auto 20px;
  max-width: 900px;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 30px;
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.6;
}

.disclaimer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.age-badge {
  background: #e53935;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 8px;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 0 15px rgba(229, 57, 53, 0.4);
}

.disclaimer-header h4 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
}

.disclaimer-text a {
  color: var(--primary);
  text-decoration: underline;
}

.disclaimer-text a:hover {
  color: #69f0ae;
}

.disclaimer-footer {
  margin-top: 20px;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.05rem;
  text-align: center;
}
.section {
  margin-bottom: 40px;
}
.section-top {
    padding-top: 130px;
  background-color: #00a042;
  text-align: center;
  color: #fff;
}
.section-top h1{
    font-size: 2.5rem;
}
.section h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  text-align: left;
}
.section p,
.section li {
  margin-bottom: 15px;
  font-size: 1rem;
}
.section ul {
  padding-left: 30px;
}
.section ul li {
  list-style: disc;
}
@media (max-width: 1024px) {
  .footer-block {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contact form, .mission .container , .about .container {
    grid-template-columns: 1fr;
  }
  .contact textarea, .form-btn {
  grid-column: 1 / span 1;
  }
}
@media (max-width: 786px) {
  .footer-logos {
    flex-wrap: wrap;
  }
  .burger{
    display: block;
  }
  nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 30px;
  }
  nav.active{
    display: flex;
  }
  body.no-scroll{
    overflow: hidden;
  }
  h2{
    font-size: 2.5rem;
  }
  .hero h1{
    font-size: 3rem;
  }
}
