.page-index-about-h88 {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text on light body background */
  background-color: #f8f8f8;
}

.page-index-about-h88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-about-h88__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-about-h88__section-title {
  font-size: 36px;
  color: #8B0000; /* Auxiliary color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-about-h88__section-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-about-h88__subtitle {
  font-size: 28px;
  color: #FFD700; /* Primary color for subtitles */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-about-h88__paragraph {
  font-size: 16px;
  color: #333333;
  margin-bottom: 20px;
  text-align: left;
}

/* Hero Section */
.page-index-about-h88__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
}

.page-index-about-h88__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-about-h88__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-about-h88__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-index-about-h88__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-about-h88__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color for hero title */
  line-height: 1.2;
}

.page-index-about-h88__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-about-h88__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-about-h88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-about-h88__cta-button--primary {
  background: #FFD700;
  color: #1a1a1a;
  border: 2px solid #FFD700;
}

.page-index-about-h88__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-about-h88__cta-button--secondary {
  background: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-about-h88__cta-button--secondary:hover {
  background: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-index-about-h88__introduction .page-index-about-h88__section-title {
  color: #8B0000;
}

.page-index-about-h88__introduction .page-index-about-h88__section-description {
  color: #555555;
}

.page-index-about-h88__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-index-about-h88__grid-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-h88__grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-index-about-h88__grid-title {
  font-size: 24px;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-about-h88__grid-text {
  font-size: 16px;
  color: #333333;
  margin-bottom: 15px;
}

.page-index-about-h88__grid-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index-about-h88__value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-index-about-h88__value-list li {
  font-size: 16px;
  color: #333333;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  text-align: left;
}

.page-index-about-h88__value-list li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Diverse Games Section */
.page-index-about-h88__diverse-games {
  background-color: #8B0000; /* Auxiliary color for background */
  color: #ffffff;
}

.page-index-about-h88__diverse-games .page-index-about-h88__section-title,
.page-index-about-h88__diverse-games .page-index-about-h88__section-description {
  color: #ffffff;
}

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

.page-index-about-h88__game-card {
  background: #1a1a1a; /* Dark background for game cards */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-h88__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-about-h88__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-about-h88__game-title {
  font-size: 22px;
  color: #FFD700; /* Primary color for game titles */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-about-h88__game-text {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-about-h88__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #FFD700;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-about-h88__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-about-h88__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #FFD700;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
  cursor: pointer;
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-index-about-h88__btn-secondary:hover {
  background: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-index-about-h88__promotions {
  background-color: #f0f0f0;
}

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

.page-index-about-h88__card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0; /* Added for contrast on light background */
  color: #333333; /* Dark text on white card */
}

.page-index-about-h88__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-index-about-h88__card-title {
  font-size: 22px;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-about-h88__card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-about-h88__view-all-promos {
  display: inline-block;
  margin-top: 40px;
  font-size: 18px;
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #8B0000;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index-about-h88__view-all-promos:hover {
  color: #FFD700;
  border-color: #FFD700;
}

/* Payment & Support Section */
.page-index-about-h88__payment-support {
  background-color: #8B0000;
  color: #ffffff;
}

.page-index-about-h88__payment-support .page-index-about-h88__section-title,
.page-index-about-h88__payment-support .page-index-about-h88__section-description {
  color: #ffffff;
}

.page-index-about-h88__payment-support .page-index-about-h88__grid-item {
  background: #1a1a1a;
  color: #ffffff;
}

.page-index-about-h88__payment-support .page-index-about-h88__grid-title {
  color: #FFD700;
}

.page-index-about-h88__payment-support .page-index-about-h88__grid-text {
  color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-index-about-h88__responsible-gaming {
  background-color: #f8f8f8;
}

.page-index-about-h88__content-block {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-top: 30px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.page-index-about-h88__responsible-gaming .page-index-about-h88__subtitle {
  color: #FFD700;
}

.page-index-about-h88__responsible-gaming .page-index-about-h88__paragraph {
  color: #333333;
}

/* FAQ Section */
.page-index-about-h88__faq {
  background-color: #f0f0f0;
}

.page-index-about-h88__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-about-h88__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index-about-h88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-about-h88__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-about-h88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-index-about-h88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-index-about-h88__faq-item.active .page-index-about-h88__faq-toggle {
  color: #8B0000;
  transform: rotate(45deg); /* Change to minus sign visually */
}

.page-index-about-h88__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  text-align: left;
}

.page-index-about-h88__faq-item.active .page-index-about-h88__faq-answer {
  max-height: 2000px !important; /* Ensure it expands fully */
  padding: 20px 25px !important;
  opacity: 1;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 8px 8px;
  color: #555555;
}

.page-index-about-h88__faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
  color: #555555;
}

/* Latest News Section */
.page-index-about-h88__latest-news {
  background-color: #f8f8f8;
}

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

.page-index-about-h88__news-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-index-about-h88__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-index-about-h88__news-title {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-about-h88__news-title a {
  color: #8B0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-about-h88__news-title a:hover {
  color: #FFD700;
}

.page-index-about-h88__news-excerpt {
  font-size: 15px;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-about-h88__news-date {
  font-size: 14px;
  color: #999999;
  font-style: italic;
}

.page-index-about-h88__view-all-news {
  display: inline-block;
  margin-top: 40px;
  font-size: 18px;
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #8B0000;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index-about-h88__view-all-news:hover {
  color: #FFD700;
  border-color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-about-h88__hero-title {
    font-size: 40px;
  }
  .page-index-about-h88__hero-description {
    font-size: 18px;
  }
  .page-index-about-h88__section-title {
    font-size: 30px;
  }
  .page-index-about-h88__subtitle {
    font-size: 24px;
  }
  .page-index-about-h88__game-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-index-about-h88__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-about-h88__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-index-about-h88__hero-title {
    font-size: 32px;
  }

  .page-index-about-h88__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-index-about-h88__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-about-h88__cta-button,
  .page-index-about-h88__btn-primary,
  .page-index-about-h88__btn-secondary,
  .page-index-about-h88 a[class*="button"],
  .page-index-about-h88 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-about-h88__hero-cta-buttons,
  .page-index-about-h88__button-group,
  .page-index-about-h88__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-index-about-h88__section {
    padding: 40px 0;
  }

  .page-index-about-h88__section-title {
    font-size: 26px;
  }

  .page-index-about-h88__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-index-about-h88__subtitle {
    font-size: 20px;
  }

  .page-index-about-h88__grid-container {
    gap: 20px;
  }

  .page-index-about-h88__grid-item {
    padding: 20px;
  }

  .page-index-about-h88__game-categories {
    gap: 20px;
  }

  .page-index-about-h88__game-card {
    padding: 20px;
  }

  .page-index-about-h88__game-image {
    height: 160px;
  }

  .page-index-about-h88__promotion-cards {
    gap: 20px;
  }

  .page-index-about-h88__card {
    padding: 20px;
  }

  .page-index-about-h88__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-index-about-h88__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-index-about-h88__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-index-about-h88__faq-answer {
    padding: 0 15px;
  }

  .page-index-about-h88__faq-item.active .page-index-about-h88__faq-answer {
    padding: 15px !important;
  }

  .page-index-about-h88__news-grid {
    gap: 20px;
  }

  .page-index-about-h88__news-card {
    padding: 20px;
  }

  .page-index-about-h88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-about-h88__section,
  .page-index-about-h88__card,
  .page-index-about-h88__container,
  .page-index-about-h88__content-block,
  .page-index-about-h88__faq-list,
  .page-index-about-h88__news-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-about-h88__hero-title {
    font-size: 28px;
  }
  .page-index-about-h88__section-title {
    font-size: 22px;
  }
  .page-index-about-h88__hero-cta-buttons {
    flex-direction: column;
  }
  .page-index-about-h88__cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }
}