/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f4f9; /* Ensures a soft background color */
}

/* Header Styles */
header {
  background-color: #000;
  color: #fff;
  padding: 15px 20px;
  position: relative; /* Ensures header stays above content */
  z-index: 999; /* Keeps header above other elements */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header nav {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
  padding: 0;
}

/* Style for nav links */
header nav a {
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
}

header nav a:hover {
  text-decoration: underline;
  color: #4CAF50;
}

.logo {
  height: 150px;
  width: 100px;
  background-color: transparent;
  border-radius: 50%;
  position: relative; /* Reset absolute positioning */
}

/* Banner Section */
.banner {
  background-color: #001f3f;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.banner-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.join-now {
  margin-top: 20px;
}

.join-now p {
  font-size: 18px;
  margin-bottom: 10px;
}

.join-now input {
  padding: 10px;
  font-size: 16px;
  margin-right: 10px;
  width: 200px;
}

.join-now button {
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.join-now button:hover {
  background-color: #45a049;
}

/* How to Play Section */
.how-to-play {
  padding: 70px;
  background-color: #f4f4f4;
  text-align: center;
}

.how-to-play h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 280px;
  text-align: center;
}

.step span {
  font-size: 2em;
  font-weight: bold;
  color: #3498db;
  display: block;
  margin-bottom: 10px;
}

.step img {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-top: 15px;
  object-fit: contain;
}

/* FAQ Section */
.faq {
  background-color: #f2f2f2;
  padding: 40px 20px;
  text-align: center;
}

.faq h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.faq-item {
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ccc;
  margin: 10px auto;
  max-width: 600px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item h3 {
  margin: 0;
  font-size: 18px;
}

.faq-item .answer {
  display: none;
  margin-top: 10px;
  font-size: 16px;
}

.faq-item.active .answer {
  display: block;
}

.faq-item:hover {
  background-color: #f9f9f9;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 12px;
}

/* Contact Form Styles */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 30px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

.contact-form button {
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form button:hover {
  background-color: #45a049;
}

/* Privacy, Terms, Content Pages */
.content-section {
  max-width: 1200px;
  margin: 100px auto 40px auto;  /* Add top margin to prevent overlap with header */
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
  text-align: center;
  color: #333;
}

.content-section h3 {
  color: #007bff;
}

.content-section p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
}

/* Age Verification Popup */
.age-verification-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;  /* Hidden initially */
  align-items: center;
  justify-content: center;
  z-index: 1001;  /* Popup sits above everything else */
}

.age-verification-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
  width: 80%;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.age-verification-content h2 {
  margin-bottom: 15px;
  font-size: 24px;
  color: #333;
}

.age-verification-buttons button {
  margin: 10px 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
}

.yes-button {
  background-color: #25D366;
  color: #fff;
}

.no-button {
  background-color: #e74c3c;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  header nav {
    flex-direction: column; /* Stack nav items */
    align-items: center;
    gap: 20px;
  }

  .content-section {
    padding: 15px;
    margin-top: 120px; /* Ensure the content is spaced correctly for smaller screens */
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .join-now input {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px;
    font-size: 14px;
  }

  .contact-form button {
    padding: 12px;
    font-size: 14px;
  }

  .faq h2 {
    font-size: 20px;
  }

  .faq-item {
    width: 100%;
    padding: 12px;
  }

  .faq-item h3 {
    font-size: 16px;
  }

  .faq-item .answer {
    font-size: 14px;
  }

  .banner-content h1 {
    font-size: 24px;
  }

  /* About Section */
  .about h2 {
    font-size: 20px;
  }

  .about p {
    font-size: 14px;
    margin: 0 auto;
  }

  .footer {
    font-size: 10px;
    padding: 10px;
  }

  .whatsapp-icon {
    font-size: 40px;
    top: 50%;
  }
}


@media only screen and (max-width: 768px) {
  .laptop {
      display: none;
  }
}

@media only screen and (min-width: 768px) {
  .mobile {
      display: none;
  }
}
