.page-index-gioi-thieu-tg88 { font-family: 'Arial', sans-serif; color: #333333; line-height: 1.6; background-color: #F5F7FA; }
.page-index-gioi-thieu-tg88__container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.page-index-gioi-thieu-tg88__hero-section { position: relative; width: 100%; overflow: hidden; padding-top: 10px; background-color: #E53935; /* Fallback */ }
.page-index-gioi-thieu-tg88__hero-image { width: 100%; height: auto; display: flex; justify-content: center; align-items: center; }
.page-index-gioi-thieu-tg88__hero-image img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 16/9; }
.page-index-gioi-thieu-tg88__hero-content { text-align: center; padding: 40px 20px; background-color: rgba(0, 0, 0, 0.6); color: #ffffff; margin-top: -5px; /* Adjust to slightly overlap or align below image */ }
.page-index-gioi-thieu-tg88__main-title { font-size: clamp(2.5em, 5vw, 3.5em); font-weight: 700; margin-bottom: 20px; line-height: 1.2; color: #ffffff; }
.page-index-gioi-thieu-tg88__hero-description { font-size: 1.1em; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }

.page-index-gioi-thieu-tg88__cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.page-index-gioi-thieu-tg88__cta-buttons--center { margin-top: 30px; }
.page-index-gioi-thieu-tg88__btn-primary, .page-index-gioi-thieu-tg88__btn-secondary, .page-index-gioi-thieu-tg88__btn-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}
.page-index-gioi-thieu-tg88__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}
.page-index-gioi-thieu-tg88__btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(229, 57, 53, 0.4); }
.page-index-gioi-thieu-tg88__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}
.page-index-gioi-thieu-tg88__btn-secondary:hover { background: #E53935; color: #ffffff; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(229, 57, 53, 0.2); }
.page-index-gioi-thieu-tg88__btn-link { background: none; color: #E53935; border: 1px solid #E53935; padding: 10px 20px; font-size: 0.95em; }
.page-index-gioi-thieu-tg88__btn-link:hover { background: #E53935; color: #ffffff; }

.page-index-gioi-thieu-tg88__section-title { font-size: 2.2em; font-weight: 700; text-align: center; margin-bottom: 40px; color: #E53935; }
.page-index-gioi-thieu-tg88__section-description { text-align: center; font-size: 1.1em; max-width: 900px; margin: 0 auto 30px auto; color: #333333; }

.page-index-gioi-thieu-tg88__overview-section, .page-index-gioi-thieu-tg88__products-section, .page-index-gioi-thieu-tg88__support-section, .page-index-gioi-thieu-tg88__faq-section { padding: 60px 0; }
.page-index-gioi-thieu-tg88__features-section, .page-index-gioi-thieu-tg88__promo-section, .page-index-gioi-thieu-tg88__responsible-gaming-section, .page-index-gioi-thieu-tg88__final-cta-section { padding: 60px 0; color: #ffffff; }

.page-index-gioi-thieu-tg88__light-bg { background-color: #F5F7FA; color: #333333; }
.page-index-gioi-thieu-tg88__dark-bg { background-color: #E53935; color: #ffffff; }
.page-index-gioi-thieu-tg88__medium-bg { background-color: #FF5A4F; color: #ffffff; /* Adjusted for contrast */ }
.page-index-gioi-thieu-tg88__medium-bg .page-index-gioi-thieu-tg88__section-title { color: #ffffff; }
.page-index-gioi-thieu-tg88__medium-bg .page-index-gioi-thieu-tg88__btn-secondary { background: #ffffff; color: #FF5A4F; border-color: #ffffff; }
.page-index-gioi-thieu-tg88__medium-bg .page-index-gioi-thieu-tg88__btn-secondary:hover { background: #FF5A4F; color: #ffffff; border-color: #ffffff; }

.page-index-gioi-thieu-tg88__article-body { max-width: 900px; margin: 0 auto; font-size: 1.05em; text-align: justify; }
.page-index-gioi-thieu-tg88__article-body p { margin-bottom: 1.2em; }
.page-index-gioi-thieu-tg88__article-figure { max-width: 100%; height: auto; margin: 30px auto; display: block; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.page-index-gioi-thieu-tg88__article-figure--center { margin-left: auto; margin-right: auto; }

.page-index-gioi-thieu-tg88__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.page-index-gioi-thieu-tg88__feature-card { background-color: rgba(255, 255, 255, 0.1); padding: 30px; border-radius: 10px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.page-index-gioi-thieu-tg88__feature-card:hover { transform: translateY(-5px); }
.page-index-gioi-thieu-tg88__feature-card h3 { font-size: 1.5em; margin-bottom: 15px; color: #ffffff; }
.page-index-gioi-thieu-tg88__feature-card p { font-size: 1em; color: rgba(255, 255, 255, 0.9); }

.page-index-gioi-thieu-tg88__products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.page-index-gioi-thieu-tg88__product-card { background-color: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s ease; }
.page-index-gioi-thieu-tg88__product-card:hover { transform: translateY(-5px); }
.page-index-gioi-thieu-tg88__product-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.page-index-gioi-thieu-tg88__product-card h3 { font-size: 1.4em; margin: 20px 0 10px; padding: 0 15px; }
.page-index-gioi-thieu-tg88__product-card h3 a { color: #E53935; text-decoration: none; }
.page-index-gioi-thieu-tg88__product-card h3 a:hover { text-decoration: underline; }
.page-index-gioi-thieu-tg88__product-card p { font-size: 0.95em; padding: 0 15px 20px; color: #666666; }
.page-index-gioi-thieu-tg88__product-card .page-index-gioi-thieu-tg88__btn-link { margin-bottom: 20px; }

/* FAQ Section */
details.page-index-gioi-thieu-tg88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0;
  overflow: hidden;
  background: #ffffff;
}
details.page-index-gioi-thieu-tg88__faq-item summary.page-index-gioi-thieu-tg88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-index-gioi-thieu-tg88__faq-item summary.page-index-gioi-thieu-tg88__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index-gioi-thieu-tg88__faq-item summary.page-index-gioi-thieu-tg88__faq-question:hover {
  background: #f5f5f5;
}
.page-index-gioi-thieu-tg88__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-index-gioi-thieu-tg88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-index-gioi-thieu-tg88__faq-item .page-index-gioi-thieu-tg88__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* General image responsiveness */
.page-index-gioi-thieu-tg88 img { max-width: 100%; height: auto; display: block; }
.page-index-gioi-thieu-tg88__hero-section, .page-index-gioi-thieu-tg88__overview-section, .page-index-gioi-thieu-tg88__features-section, .page-index-gioi-thieu-tg88__products-section, .page-index-gioi-thieu-tg88__promo-section, .page-index-gioi-thieu-tg88__support-section, .page-index-gioi-thieu-tg88__responsible-gaming-section, .page-index-gioi-thieu-tg88__faq-section, .page-index-gioi-thieu-tg88__final-cta-section {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Desktop specific adjustments */
@media (min-width: 769px) {
  .page-index-gioi-thieu-tg88__hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 20px; background-color: rgba(0, 0, 0, 0.7); }
  .page-index-gioi-thieu-tg88__hero-image img { height: 600px; }
  .page-index-gioi-thieu-tg88__article-body { text-align: left; }
  .page-index-gioi-thieu-tg88__promo-section .page-index-gioi-thieu-tg88__article-body { text-align: center; }
  .page-index-gioi-thieu-tg88__promo-section .page-index-gioi-thieu-tg88__article-body .page-index-gioi-thieu-tg88__btn-primary { margin: 0 auto; display: block; max-width: 300px; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-gioi-thieu-tg88__main-title { font-size: clamp(2em, 4.5vw, 3em); }
  .page-index-gioi-thieu-tg88__section-title { font-size: 2em; }
  .page-index-gioi-thieu-tg88__hero-image img { aspect-ratio: 16/10; height: auto; }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-index-gioi-thieu-tg88__hero-section { padding-top: 10px; }
  .page-index-gioi-thieu-tg88__hero-image img { object-fit: contain !important; aspect-ratio: unset !important; height: auto !important; width: 100% !important; }
  .page-index-gioi-thieu-tg88__hero-content { padding: 30px 15px; position: static; background-color: #E53935; /* Solid background on mobile */ }
  .page-index-gioi-thieu-tg88__main-title { font-size: clamp(1.8em, 7vw, 2.5em); margin-bottom: 15px; }
  .page-index-gioi-thieu-tg88__hero-description { font-size: 1em; margin-bottom: 20px; }

  /* 产品展示图区域 */
  .page-index-gioi-thieu-tg88__products-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; overflow-x: hidden; /* Prevent horizontal scroll */ }
  .page-index-gioi-thieu-tg88__products-section { overflow-x: hidden; }
  .page-index-gioi-thieu-tg88__product-card { max-width: 100%; }
  .page-index-gioi-thieu-tg88__product-card img {  }
  .page-index-gioi-thieu-tg88__product-card h3 { font-size: 1.2em; margin: 15px 0 8px; }
  .page-index-gioi-thieu-tg88__product-card p { font-size: 0.9em; padding: 0 10px 15px; }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-index-gioi-thieu-tg88__section-title { font-size: 1.8em; margin-bottom: 30px; padding: 0 15px; }
  .page-index-gioi-thieu-tg88__section-description { font-size: 0.95em; padding: 0 15px; }
  .page-index-gioi-thieu-tg88__article-body { font-size: 1em; padding: 0 15px; text-align: left; /* Ensure readability */ }
  .page-index-gioi-thieu-tg88__article-figure { margin: 20px auto; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; }
  .page-index-gioi-thieu-tg88__article-figure--center { margin-left: auto; margin-right: auto; }

  /* 通用图片与容器 */
  .page-index-gioi-thieu-tg88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-gioi-thieu-tg88__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-gioi-thieu-tg88__features-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-index-gioi-thieu-tg88__feature-card { padding: 25px; }
  .page-index-gioi-thieu-tg88__feature-card h3 { font-size: 1.3em; }

  /* 按钮与按钮容器 */
  .page-index-gioi-thieu-tg88__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-index-gioi-thieu-tg88__btn-primary,
  .page-index-gioi-thieu-tg88__btn-secondary,
  .page-index-gioi-thieu-tg88__btn-link,
  .page-index-gioi-thieu-tg88 a[class*="button"],
  .page-index-gioi-thieu-tg88 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-index-gioi-thieu-tg88__cta-buttons.page-index-gioi-thieu-tg88__cta-buttons--center { margin-top: 25px; }
  .page-index-gioi-thieu-tg88__promo-section .page-index-gioi-thieu-tg88__article-body .page-index-gioi-thieu-tg88__btn-primary { max-width: 100% !important; }

  /* FAQ Section */
  details.page-index-gioi-thieu-tg88__faq-item summary.page-index-gioi-thieu-tg88__faq-question { padding: 15px; }
  .page-index-gioi-thieu-tg88__faq-qtext { font-size: 15px; }
  details.page-index-gioi-thieu-tg88__faq-item .page-index-gioi-thieu-tg88__faq-answer { padding: 0 15px 15px; }
}

@media (max-width: 480px) {
  .page-index-gioi-thieu-tg88__main-title { font-size: clamp(1.6em, 8vw, 2.2em); }
  .page-index-gioi-thieu-tg88__section-title { font-size: 1.6em; }
  .page-index-gioi-thieu-tg88__hero-content { padding: 20px 10px; }
  .page-index-gioi-thieu-tg88__hero-description { font-size: 0.9em; }
  .page-index-gioi-thieu-tg88__btn-primary, .page-index-gioi-thieu-tg88__btn-secondary { padding: 12px 20px; font-size: 1em; }
  .page-index-gioi-thieu-tg88__product-card img {  }
  .page-index-gioi-thieu-tg88__product-card h3 { font-size: 1.1em; }
  .page-index-gioi-thieu-tg88__product-card p { font-size: 0.85em; }
}