/* style/go99-game-app.css */
.page-go99-game-app {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Matches body background from shared.css */
}

.page-go99-game-app__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-go99-game-app__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-go99-game-app__hero-section .page-go99-game-app__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-go99-game-app__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-go99-game-app__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-go99-game-app__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-go99-game-app__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-go99-game-app__btn-primary,
.page-go99-game-app__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-go99-game-app__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-go99-game-app__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-go99-game-app__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-go99-game-app__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-go99-game-app__hero-image-wrapper {
  margin-top: 40px;
}

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

/* General Section Styles */
.page-go99-game-app__intro-section,
.page-go99-game-app__download-section,
.page-go99-game-app__promo-section,
.page-go99-game-app__faq-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-go99-game-app__features-section,
.page-go99-game-app__games-section,
.page-go99-game-app__security-support-section,
.page-go99-game-app__conclusion-section {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
  color: #ffffff;
  padding: 80px 0;
}

.page-go99-game-app__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 60px;
  color: #26A9E0;
}

.page-go99-game-app__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-go99-game-app__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-go99-game-app__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-go99-game-app__text-block a:hover {
  text-decoration: underline;
}

/* Features Section */
.page-go99-game-app__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-go99-game-app__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-go99-game-app__feature-card:hover {
  transform: translateY(-10px);
}

.page-go99-game-app__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-go99-game-app__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* Download Section */
.page-go99-game-app__download-steps {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-go99-game-app__download-platform {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
}

.page-go99-game-app__platform-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 25px;
  text-align: center;
}

.page-go99-game-app__step-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-go99-game-app__step-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-go99-game-app__step-list li strong {
  color: #000000;
}

.page-go99-game-app__qr-code {
  display: block;
  margin: 20px auto 0;
  max-width: 250px;
  height: auto;
  border: 5px solid #26A9E0;
  border-radius: 10px;
}

.page-go99-game-app__download-cta {
  text-align: center;
  margin-top: 60px;
}

/* Games Section */
.page-go99-game-app__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-go99-game-app__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-go99-game-app__game-card:hover {
  transform: translateY(-10px);
}

.page-go99-game-app__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-go99-game-app__game-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-go99-game-app__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-go99-game-app__game-title a:hover {
  text-decoration: underline;
}

.page-go99-game-app__game-card p {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-go99-game-app__promo-list {
  list-style-type: disc;
  padding-left: 30px;
  margin-top: 30px;
  font-size: 1.1em;
  color: #333333;
}

.page-go99-game-app__promo-list li {
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-go99-game-app__promo-list li strong {
  color: #000000;
}

.page-go99-game-app__promo-list li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-go99-game-app__promo-list li a:hover {
  text-decoration: underline;
}

.page-go99-game-app__promo-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Security and Support Section */
.page-go99-game-app__security-support-section .page-go99-game-app__section-title {
  color: #ffffff;
}

.page-go99-game-app__security-support-section .page-go99-game-app__text-block {
  color: #f0f0f0;
}

.page-go99-game-app__support-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-go99-game-app__support-text {
  flex: 1;
  min-width: 300px;
}

.page-go99-game-app__support-text p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-go99-game-app__support-text a {
  color: #26A9E0;
  text-decoration: none;
}

.page-go99-game-app__support-text a:hover {
  text-decoration: underline;
}

.page-go99-game-app__support-image {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-go99-game-app__faq-list {
  margin-top: 40px;
}

.page-go99-game-app__faq-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-go99-game-app__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #e8e8e8;
  color: #333333;
  border-bottom: 1px solid #ddd;
}

.page-go99-game-app__faq-question:hover {
  background-color: #e0e0e0;
}

.page-go99-game-app__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-go99-game-app__faq-item.active .page-go99-game-app__faq-toggle {
  transform: rotate(45deg);
}

.page-go99-game-app__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-go99-game-app__faq-item.active .page-go99-game-app__faq-answer {
  max-height: 1000px !important; /* Important for JS functionality */
  padding: 20px;
}

.page-go99-game-app__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

.page-go99-game-app__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-go99-game-app__faq-answer a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-go99-game-app__conclusion-section .page-go99-game-app__section-title {
  color: #ffffff;
}

.page-go99-game-app__conclusion-section .page-go99-game-app__text-block {
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-go99-game-app__conclusion-cta {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-go99-game-app__hero-title {
    font-size: 3em;
  }
  .page-go99-game-app__section-title {
    font-size: 2.2em;
  }
  .page-go99-game-app__sub-title {
    font-size: 1.6em;
  }
  .page-go99-game-app__support-image {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-go99-game-app {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-go99-game-app__hero-section {
    min-height: auto;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-go99-game-app__hero-section .page-go99-game-app__container {
    flex-direction: column;
    gap: 30px;
  }

  .page-go99-game-app__hero-title {
    font-size: 2.2em;
  }

  .page-go99-game-app__hero-description {
    font-size: 1em;
  }

  .page-go99-game-app__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-go99-game-app__btn-primary,
  .page-go99-game-app__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-go99-game-app__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

  .page-go99-game-app__sub-title {
    font-size: 1.4em;
  }

  .page-go99-game-app__text-block {
    font-size: 0.95em;
  }

  .page-go99-game-app__features-grid,
  .page-go99-game-app__games-grid {
    grid-template-columns: 1fr;
  }
  
  .page-go99-game-app__feature-icon,
  .page-go99-game-app__game-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-go99-game-app__download-steps {
    flex-direction: column;
    gap: 30px;
  }
  
  .page-go99-game-app__download-platform {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .page-go99-game-app__support-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .page-go99-game-app__support-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
  }
  
  .page-go99-game-app__promo-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-go99-game-app__promo-list,
  .page-go99-game-app__step-list {
    padding-left: 20px;
  }

  /* Ensure all containers are responsive */
  .page-go99-game-app__section,
  .page-go99-game-app__card,
  .page-go99-game-app__container,
  .page-go99-game-app__download-platform,
  .page-go99-game-app__feature-card,
  .page-go99-game-app__game-card,
  .page-go99-game-app__support-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-go99-game-app__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-go99-game-app__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-go99-game-app__faq-question {
    padding: 15px;
  }

  .page-go99-game-app__faq-answer {
    padding: 0 15px;
  }

  .page-go99-game-app__faq-item.active .page-go99-game-app__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-go99-game-app__hero-title {
    font-size: 1.8em;
  }
  .page-go99-game-app__section-title {
    font-size: 1.5em;
  }
  .page-go99-game-app__sub-title {
    font-size: 1.2em;
  }
  .page-go99-game-app__qr-code {
    max-width: 180px;
  }
}