.page-resources-hi88-hi88bets-platform-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#121212), so use light text */
  background-color: transparent; /* Inherit from body or shared */
}

.page-resources-hi88-hi88bets-platform-analysis__hero-section {
  position: relative;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-hi88-hi88bets-platform-analysis__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-resources-hi88-hi88bets-platform-analysis__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-hi88-hi88bets-platform-analysis__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hi88-hi88bets-platform-analysis__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-primary,
.page-resources-hi88-hi88bets-platform-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-primary:hover {
  background-color: #e00a0a;
  transform: translateY(-2px);
}

.page-resources-hi88-hi88bets-platform-analysis__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-resources-hi88-hi88bets-platform-analysis__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-hi88-hi88bets-platform-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

.page-resources-hi88-hi88bets-platform-analysis__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff; /* Explicitly set light background for content */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -50px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 2;
}

.page-resources-hi88-hi88bets-platform-analysis__section-title {
  font-size: 2.5em;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 3px solid #017439;
  padding-bottom: 15px;
}

.page-resources-hi88-hi88bets-platform-analysis__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-resources-hi88-hi88bets-platform-analysis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-hi88-hi88bets-platform-analysis__card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have minimum height */
}

.page-resources-hi88-hi88bets-platform-analysis__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-hi88-hi88bets-platform-analysis__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-hi88bets-platform-analysis__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-hi88-hi88bets-platform-analysis__card-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-hi88-hi88bets-platform-analysis__card-title a:hover {
  color: #005f2e;
  text-decoration: underline;
}

.page-resources-hi88-hi88bets-platform-analysis__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-text {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-text:hover {
  color: #005f2e;
  text-decoration: underline;
}

.page-resources-hi88-hi88bets-platform-analysis__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #333333;
}

.page-resources-hi88-hi88bets-platform-analysis__list li {
  margin-bottom: 10px;
}

.page-resources-hi88-hi88bets-platform-analysis__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-hi88-hi88bets-platform-analysis__feature-card {
  background-color: #f0f8f0; /* Light green tint */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-hi88-hi88bets-platform-analysis__feature-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-hi88-hi88bets-platform-analysis__feature-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

.page-resources-hi88-hi88bets-platform-analysis__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-hi88bets-platform-analysis__steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-hi88-hi88bets-platform-analysis__step-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 25px;
  max-width: 350px;
  text-align: center;
  flex: 1 1 300px;
}

.page-resources-hi88-hi88bets-platform-analysis__step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-hi88-hi88bets-platform-analysis__step-text {
  font-size: 1em;
  color: #555555;
}

.page-resources-hi88-hi88bets-platform-analysis__cta-center {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-register,
.page-resources-hi88-hi88bets-platform-analysis__btn-login {
  background-color: #C30808; /* Specific colors for register/login */
  color: #FFFF00; /* Specific font color */
  border: 2px solid #C30808;
}

.page-resources-hi88-hi88bets-platform-analysis__btn-register:hover,
.page-resources-hi88-hi88bets-platform-analysis__btn-login:hover {
  background-color: #e00a0a;
}

.page-resources-hi88-hi88bets-platform-analysis__app-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  justify-content: center;
  background-color: #f0f8f0;
  padding: 30px;
  border-radius: 10px;
}

.page-resources-hi88-hi88bets-platform-analysis__app-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-hi88-hi88bets-platform-analysis__app-info {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-resources-hi88-hi88bets-platform-analysis__cta-final {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-container {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7e6;
  border-bottom: 1px solid #e0e0e0;
  user-select: none;
  list-style: none;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-question::-webkit-details-marker {
  display: none;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-item[open] > .page-resources-hi88-hi88bets-platform-analysis__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #555555;
  text-align: left;
}

.page-resources-hi88-hi88bets-platform-analysis__faq-answer p {
  margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-hi88-hi88bets-platform-analysis__hero-title {
    font-size: 2.8em;
  }
  .page-resources-hi88-hi88bets-platform-analysis__hero-description {
    font-size: 1.1em;
  }
  .page-resources-hi88-hi88bets-platform-analysis__section-title {
    font-size: 2em;
  }
  .page-resources-hi88-hi88bets-platform-analysis__grid,
  .page-resources-hi88-hi88bets-platform-analysis__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-hi88-hi88bets-platform-analysis {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-hi88-hi88bets-platform-analysis__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-hi88-hi88bets-platform-analysis__hero-title {
    font-size: 2.2em;
  }
  .page-resources-hi88-hi88bets-platform-analysis__hero-description {
    font-size: 1em;
  }
  .page-resources-hi88-hi88bets-platform-analysis__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__btn-primary,
  .page-resources-hi88-hi88bets-platform-analysis__btn-secondary,
  .page-resources-hi88-hi88bets-platform-analysis a[class*="button"],
  .page-resources-hi88-hi88bets-platform-analysis 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-hi88-hi88bets-platform-analysis__cta-buttons,
  .page-resources-hi88-hi88bets-platform-analysis__button-group,
  .page-resources-hi88-hi88bets-platform-analysis__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-hi88-hi88bets-platform-analysis__cta-center {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__content-area {
    padding: 30px 15px;
    margin-top: -30px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__paragraph,
  .page-resources-hi88-hi88bets-platform-analysis__list li,
  .page-resources-hi88-hi88bets-platform-analysis__card-text,
  .page-resources-hi88-hi88bets-platform-analysis__feature-text,
  .page-resources-hi88-hi88bets-platform-analysis__step-text,
  .page-resources-hi88-hi88bets-platform-analysis__faq-answer {
    font-size: 1em;
  }
  .page-resources-hi88-hi88bets-platform-analysis__grid,
  .page-resources-hi88-hi88bets-platform-analysis__feature-grid,
  .page-resources-hi88-hi88bets-platform-analysis__steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__card,
  .page-resources-hi88-hi88bets-platform-analysis__feature-card,
  .page-resources-hi88-hi88bets-platform-analysis__step-card {
    padding: 20px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__app-download {
    flex-direction: column;
    padding: 20px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__app-info {
    text-align: center;
  }
  .page-resources-hi88-hi88bets-platform-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-hi88-hi88bets-platform-analysis__section,
  .page-resources-hi88-hi88bets-platform-analysis__card,
  .page-resources-hi88-hi88bets-platform-analysis__container,
  .page-resources-hi88-hi88bets-platform-analysis__app-download {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-hi88-hi88bets-platform-analysis__video-section {
    padding-top: var(--header-offset, 120px) !important; /* With !important for mobile */
  }
  .page-resources-hi88-hi88bets-platform-analysis video,
  .page-resources-hi88-hi88bets-platform-analysis__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-hi88-hi88bets-platform-analysis__video-section,
  .page-resources-hi88-hi88bets-platform-analysis__video-container,
  .page-resources-hi88-hi88bets-platform-analysis__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}