/* style/index-gioi-thieu-hz888.css */
.page-index-gioi-thieu-hz888 {
  font-family: Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  padding-bottom: 30px;
}

.page-index-gioi-thieu-hz888__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-gioi-thieu-hz888__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-index-gioi-thieu-hz888__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-index-gioi-thieu-hz888__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-index-gioi-thieu-hz888__dark-bg .page-index-gioi-thieu-hz888__section-title {
  color: #FFFFFF;
}

.page-index-gioi-thieu-hz888__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-gioi-thieu-hz888__dark-bg .page-index-gioi-thieu-hz888__text-block {
  color: #F0F0F0;
}

.page-index-gioi-thieu-hz888__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small padding to avoid double top margin with shared body padding */
}

.page-index-gioi-thieu-hz888__hero-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.page-index-gioi-thieu-hz888__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-index-gioi-thieu-hz888__main-title {
  font-size: 3.2em;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-gioi-thieu-hz888__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-index-gioi-thieu-hz888__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index-gioi-thieu-hz888__btn-primary,
.page-index-gioi-thieu-hz888__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-index-gioi-thieu-hz888__btn-primary {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-index-gioi-thieu-hz888__btn-primary:hover {
  background-color: #D46F00;
  border-color: #D46F00;
}

.page-index-gioi-thieu-hz888__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-gioi-thieu-hz888__btn-secondary:hover {
  background-color: #E6F7FF;
  color: #1E8BC3;
  border-color: #1E8BC3;
}

.page-index-gioi-thieu-hz888__about-section,
.page-index-gioi-thieu-hz888__why-choose-section,
.page-index-gioi-thieu-hz888__game-types-section,
.page-index-gioi-thieu-hz888__cta-section,
.page-index-gioi-thieu-hz888__faq-section,
.page-index-gioi-thieu-hz888__conclusion-section {
  padding: 80px 0;
}

.page-index-gioi-thieu-hz888__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-gioi-thieu-hz888__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

.page-index-gioi-thieu-hz888__card:hover {
  transform: translateY(-10px);
}

.page-index-gioi-thieu-hz888__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-index-gioi-thieu-hz888__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-gioi-thieu-hz888__card-text {
  font-size: 1em;
  color: #555555;
}

.page-index-gioi-thieu-hz888__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-gioi-thieu-hz888__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  color: #333333;
}

.page-index-gioi-thieu-hz888__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 80px;
  min-height: 80px;
}

.page-index-gioi-thieu-hz888__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-index-gioi-thieu-hz888__feature-text {
  font-size: 1em;
  color: #555555;
}

.page-index-gioi-thieu-hz888__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-gioi-thieu-hz888__game-card {
  display: block;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333333;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-index-gioi-thieu-hz888__game-card:hover {
  transform: translateY(-10px);
}

.page-index-gioi-thieu-hz888__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-index-gioi-thieu-hz888__game-title {
  font-size: 1.4em;
  font-weight: bold;
  margin: 15px 15px 10px;
  color: #26A9E0;
}

.page-index-gioi-thieu-hz888__game-description {
  font-size: 0.95em;
  margin: 0 15px 20px;
  color: #555555;
}

.page-index-gioi-thieu-hz888__cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.page-index-gioi-thieu-hz888__cta-content {
  flex: 1;
  text-align: left;
}

.page-index-gioi-thieu-hz888__cta-content .page-index-gioi-thieu-hz888__section-title,
.page-index-gioi-thieu-hz888__cta-content .page-index-gioi-thieu-hz888__text-block {
  text-align: left;
  padding-top: 0;
  margin-left: 0;
  margin-right: 0;
}

.page-index-gioi-thieu-hz888__cta-buttons {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.page-index-gioi-thieu-hz888__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-gioi-thieu-hz888__faq-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #E0E0E0;
}

.page-index-gioi-thieu-hz888__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #E6F7FF;
  border-bottom: 1px solid #D0EFFF;
  list-style: none;
}

.page-index-gioi-thieu-hz888__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-gioi-thieu-hz888__faq-question:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

.page-index-gioi-thieu-hz888__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-gioi-thieu-hz888__faq-item[open] .page-index-gioi-thieu-hz888__faq-toggle {
  transform: rotate(45deg);
}

.page-index-gioi-thieu-hz888__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #555555;
  background-color: #FFFFFF;
}

.page-index-gioi-thieu-hz888__conclusion-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* General image and container responsive styles */
.page-index-gioi-thieu-hz888 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index-gioi-thieu-hz888__section,
.page-index-gioi-thieu-hz888__card,
.page-index-gioi-thieu-hz888__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-index-gioi-thieu-hz888__main-title {
    font-size: 2.8em;
  }

  .page-index-gioi-thieu-hz888__hero-description {
    font-size: 1.2em;
  }

  .page-index-gioi-thieu-hz888__hero-image {
    height: 500px;
  }

  .page-index-gioi-thieu-hz888__section-title {
    font-size: 2em;
  }

  .page-index-gioi-thieu-hz888__text-block {
    font-size: 1em;
  }

  .page-index-gioi-thieu-hz888__cta-flex {
    flex-direction: column;
    text-align: center;
  }

  .page-index-gioi-thieu-hz888__cta-content {
    text-align: center;
  }

  .page-index-gioi-thieu-hz888__cta-content .page-index-gioi-thieu-hz888__section-title,
  .page-index-gioi-thieu-hz888__cta-content .page-index-gioi-thieu-hz888__text-block {
    text-align: center;
  }

  .page-index-gioi-thieu-hz888__cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .page-index-gioi-thieu-hz888__btn-primary,
  .page-index-gioi-thieu-hz888__btn-secondary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-gioi-thieu-hz888 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-gioi-thieu-hz888__container {
    padding: 0 15px;
  }

  .page-index-gioi-thieu-hz888__section-title {
    font-size: 1.8em;
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .page-index-gioi-thieu-hz888__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* Hero Section */
  .page-index-gioi-thieu-hz888__hero-section {
    padding-top: 10px !important;
  }

  .page-index-gioi-thieu-hz888__hero-image {
    height: auto !important;
    object-fit: contain !important; /* Ensure image is fully visible, not cropped */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-index-gioi-thieu-hz888__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    background-color: #26A9E0; /* Add background for readability */
    color: #FFFFFF;
    width: 100%;
    max-width: 100%;
  }

  .page-index-gioi-thieu-hz888__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: none;
  }

  .page-index-gioi-thieu-hz888__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
    text-shadow: none;
  }

  .page-index-gioi-thieu-hz888__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-gioi-thieu-hz888__btn-primary,
  .page-index-gioi-thieu-hz888__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  /* Content Grids */
  .page-index-gioi-thieu-hz888__content-grid,
  .page-index-gioi-thieu-hz888__features-grid,
  .page-index-gioi-thieu-hz888__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-gioi-thieu-hz888__card-image,
  .page-index-gioi-thieu-hz888__game-image {
    height: 200px;
    min-width: 200px;
    min-height: 200px;
  }

  .page-index-gioi-thieu-hz888__game-grid .page-index-gioi-thieu-hz888__game-card .page-index-gioi-thieu-hz888__game-image {
    aspect-ratio: 1/1 !important; /* For game grid, ensure square aspect ratio */
  }

  /* CTA Section */
  .page-index-gioi-thieu-hz888__cta-flex {
    flex-direction: column;
    gap: 20px;
  }

  .page-index-gioi-thieu-hz888__cta-content .page-index-gioi-thieu-hz888__section-title,
  .page-index-gioi-thieu-hz888__cta-content .page-index-gioi-thieu-hz888__text-block {
    text-align: center;
  }

  .page-index-gioi-thieu-hz888__cta-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 15px;
  }

  /* FAQ Section */
  .page-index-gioi-thieu-hz888__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-index-gioi-thieu-hz888__faq-answer {
    padding: 15px;
  }

  /* Conclusion Section */
  .page-index-gioi-thieu-hz888__conclusion-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* General image and container overrides for mobile */
  .page-index-gioi-thieu-hz888 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-gioi-thieu-hz888__section,
  .page-index-gioi-thieu-hz888__card,
  .page-index-gioi-thieu-hz888__container,
  .page-index-gioi-thieu-hz888__cta-buttons,
  .page-index-gioi-thieu-hz888__conclusion-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-gioi-thieu-hz888__card, .page-index-gioi-thieu-hz888__feature-card, .page-index-gioi-thieu-hz888__game-card {
    padding: 20px;
  }
}