.page-resources-mn88-app-game-intro {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Assuming body background is white */
}

.page-resources-mn88-app-game-intro__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-mn88-app-game-intro__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-mn88-app-game-intro__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-resources-mn88-app-game-intro__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-resources-mn88-app-game-intro__hero-content {
  flex: 1;
  max-width: 50%;
  z-index: 1;
  padding-right: 40px;
}

.page-resources-mn88-app-game-intro__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-mn88-app-game-intro__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-mn88-app-game-intro__hero-image-wrapper {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-resources-mn88-app-game-intro__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-mn88-app-game-intro__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-resources-mn88-app-game-intro__subsection-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-mn88-app-game-intro__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-mn88-app-game-intro__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-mn88-app-game-intro__game-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-mn88-app-game-intro__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-resources-mn88-app-game-intro__card-title {
  font-size: 1.5em;
  color: #017439;
  margin: 0 15px 15px;
}

.page-resources-mn88-app-game-intro__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-mn88-app-game-intro__btn-primary,
.page-resources-mn88-app-game-intro__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-mn88-app-game-intro__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-mn88-app-game-intro__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-resources-mn88-app-game-intro__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-mn88-app-game-intro__btn-secondary:hover {
  background-color: #e0e0e0;
}

.page-resources-mn88-app-game-intro__download-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-resources-mn88-app-game-intro__download-steps {
  flex: 2;
}

.page-resources-mn88-app-game-intro__download-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-resources-mn88-app-game-intro__download-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-resources-mn88-app-game-intro__step-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-resources-mn88-app-game-intro__step-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #444444;
}

.page-resources-mn88-app-game-intro__download-cta {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  font-size: 1.2em;
  padding: 15px 35px;
}

.page-resources-mn88-app-game-intro__promo-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-mn88-app-game-intro__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-mn88-app-game-intro__faq-list {
  margin-top: 40px;
}

.page-resources-mn88-app-game-intro__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-resources-mn88-app-game-intro__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.page-resources-mn88-app-game-intro__faq-question:hover {
  background-color: #e6ffe6;
}

.page-resources-mn88-app-game-intro__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-mn88-app-game-intro__faq-item.active .page-resources-mn88-app-game-intro__faq-toggle {
  transform: rotate(45deg);
}

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

.page-resources-mn88-app-game-intro__faq-item.active .page-resources-mn88-app-game-intro__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-resources-mn88-app-game-intro__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-resources-mn88-app-game-intro__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-resources-mn88-app-game-intro__hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .page-resources-mn88-app-game-intro__hero-image-wrapper {
    max-width: 100%;
    justify-content: center;
  }

  .page-resources-mn88-app-game-intro__hero-title {
    font-size: 2.5em;
  }

  .page-resources-mn88-app-game-intro__hero-description {
    font-size: 1.1em;
  }

  .page-resources-mn88-app-game-intro__download-content {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-mn88-app-game-intro__download-steps,
  .page-resources-mn88-app-game-intro__download-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-mn88-app-game-intro__container {
    padding: 30px 15px;
  }

  .page-resources-mn88-app-game-intro__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources-mn88-app-game-intro__subsection-title {
    font-size: 1.5em;
  }

  .page-resources-mn88-app-game-intro__hero-title {
    font-size: 2em;
  }

  .page-resources-mn88-app-game-intro__hero-description {
    font-size: 1em;
  }

  /* Force responsive images, videos, and buttons */
  .page-resources-mn88-app-game-intro img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size for content images */
    min-height: 200px !important; /* Enforce min size for content images */
  }

  .page-resources-mn88-app-game-intro video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-mn88-app-game-intro__section,
  .page-resources-mn88-app-game-intro__card,
  .page-resources-mn88-app-game-intro__container,
  .page-resources-mn88-app-game-intro__video-section,
  .page-resources-mn88-app-game-intro__video-container,
  .page-resources-mn88-app-game-intro__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-resources-mn88-app-game-intro__btn-primary,
  .page-resources-mn88-app-game-intro__btn-secondary,
  .page-resources-mn88-app-game-intro a[class*="button"],
  .page-resources-mn88-app-game-intro a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-mn88-app-game-intro__cta-buttons,
  .page-resources-mn88-app-game-intro__button-group,
  .page-resources-mn88-app-game-intro__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-resources-mn88-app-game-intro__cta-buttons {
    flex-direction: column;
  }

  .page-resources-mn88-app-game-intro__game-card {
    padding: 15px;
  }

  .page-resources-mn88-app-game-intro__card-image {
    height: 200px; /* Adjust card image height for mobile */
  }
}

@media (max-width: 480px) {
  .page-resources-mn88-app-game-intro__hero-title {
    font-size: 1.8em;
  }

  .page-resources-mn88-app-game-intro__section-title {
    font-size: 1.8em;
  }

  .page-resources-mn88-app-game-intro__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
}

/* Specific color overrides */
.page-resources-mn88-app-game-intro__login-btn {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-mn88-app-game-intro__login-btn:hover {
  background-color: #a30707;
  border-color: #a30707;
}

.page-resources-mn88-app-game-intro__register-btn {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-resources-mn88-app-game-intro__register-btn:hover {
  background-color: #a30707;
  border-color: #a30707;
}

/* Ensure content area images are not scaled down by CSS below 200px */
.page-resources-mn88-app-game-intro img:not(.page-resources-mn88-app-game-intro__hero-image):not(.page-resources-mn88-app-game-intro__card-image):not(.page-resources-mn88-app-game-intro__download-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Explicitly ensure card images meet minimum size */
.page-resources-mn88-app-game-intro__card-image {
  min-width: 200px;
  min-height: 200px;
}