/* style/index-gioi-thieu-vu88.css */

.page-index-gioi-thieu-vu88 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-index-gioi-thieu-vu88__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-gioi-thieu-vu88__container--narrow {
  max-width: 800px;
}

.page-index-gioi-thieu-vu88__top-section {
  padding-top: 10px; /* Small top margin, not --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #FFFFFF;
}

.page-index-gioi-thieu-vu88__main-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-index-gioi-thieu-vu88__intro-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-index-gioi-thieu-vu88__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-index-gioi-thieu-vu88__cta-buttons--bottom {
  margin-top: 40px;
}

.page-index-gioi-thieu-vu88__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-index-gioi-thieu-vu88__btn--primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
}

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

.page-index-gioi-thieu-vu88__btn--secondary:hover {
  background-color: #e0f2f7;
}

.page-index-gioi-thieu-vu88__section {
  padding: 60px 0;
}

.page-index-gioi-thieu-vu88__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF; /* Ensure contrast */
}

.page-index-gioi-thieu-vu88__dark-section .page-index-gioi-thieu-vu88__section-title,
.page-index-gioi-thieu-vu88__dark-section .page-index-gioi-thieu-vu88__paragraph {
  color: #FFFFFF;
}

.page-index-gioi-thieu-vu88__section-title {
  font-size: 2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-index-gioi-thieu-vu88__paragraph {
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-index-gioi-thieu-vu88__info-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333; /* Ensure contrast */
}

.page-index-gioi-thieu-vu88__info-card .page-index-gioi-thieu-vu88__card-title {
  color: #26A9E0;
  margin-top: 0;
}

.page-index-gioi-thieu-vu88__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-gioi-thieu-vu88__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-index-gioi-thieu-vu88__list-item {
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.page-index-gioi-thieu-vu88__list-item::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-gioi-thieu-vu88__list-heading {
  font-size: 1.2em;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-index-gioi-thieu-vu88__figure {
  margin: 30px 0;
  text-align: center;
}

.page-index-gioi-thieu-vu88__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index-gioi-thieu-vu88__figcaption {
  font-style: italic;
  color: #777777;
  margin-top: 10px;
  font-size: 0.9em;
}

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

.page-index-gioi-thieu-vu88__step-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-index-gioi-thieu-vu88__step-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-gioi-thieu-vu88__copyright {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  color: #777777;
  background-color: #f5f5f5;
  margin-top: 50px;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* 1. 顶区标题 + 双 CTA */
  .page-index-gioi-thieu-vu88__top-section {
    padding-top: 10px !important; /* Small top margin, not --header-offset */
    padding-bottom: 30px;
  }
  
  .page-index-gioi-thieu-vu88__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-index-gioi-thieu-vu88__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-index-gioi-thieu-vu88__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px;
  }
  
  .page-index-gioi-thieu-vu88__btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 10px 15px;
  }

  /* 2. 单栏长文容器 */
  .page-index-gioi-thieu-vu88__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-index-gioi-thieu-vu88__section {
    padding: 40px 0;
  }

  .page-index-gioi-thieu-vu88__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-index-gioi-thieu-vu88__paragraph {
    font-size: 0.95em;
    margin-bottom: 15px;
    padding: 0 5px;
  }

  .page-index-gioi-thieu-vu88__info-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-index-gioi-thieu-vu88__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-index-gioi-thieu-vu88__list-item {
    padding-left: 25px;
  }

  .page-index-gioi-thieu-vu88__list-heading {
    font-size: 1.1em;
  }

  /* 3. 通用图片与 figure */
  .page-index-gioi-thieu-vu88__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-index-gioi-thieu-vu88__figure {
    margin: 20px 0;
  }

  .page-index-gioi-thieu-vu88__figcaption {
    font-size: 0.85em;
  }

  /* 5. 注册教程区块 (step-by-step) */
  .page-index-gioi-thieu-vu88__step-by-step {
    grid-template-columns: 1fr; /* Single column for steps */
    gap: 20px;
    margin-top: 30px;
  }

  .page-index-gioi-thieu-vu88__step-item {
    padding: 20px;
  }

  .page-index-gioi-thieu-vu88__step-title {
    font-size: 1.2em;
    margin-bottom: 10px;
  }

  .page-index-gioi-thieu-vu88__copyright {
    padding: 20px 15px;
    margin-top: 30px;
  }
}

/* Tablet (max-width: 1024px) - Adjustments for larger mobile/small tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-index-gioi-thieu-vu88__container {
    padding: 0 30px;
  }

  .page-index-gioi-thieu-vu88__main-title {
    font-size: 2.2em;
  }

  .page-index-gioi-thieu-vu88__section-title {
    font-size: 1.8em;
  }

  .page-index-gioi-thieu-vu88__cta-buttons {
    gap: 12px;
  }

  .page-index-gioi-thieu-vu88__btn {
    padding: 10px 20px;
  }

  .page-index-gioi-thieu-vu88__step-by-step {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}