.page-resources-reliable-betting-platform {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Inherit from body or shared, ensuring text contrast */
  line-height: 1.6;
}

.page-resources-reliable-betting-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-resources-reliable-betting-platform__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--header-offset, 120px); /* Adjust based on shared.css body padding */
  padding-bottom: 80px;
  background-color: #0a0a0a; /* Ensure dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.page-resources-reliable-betting-platform__hero-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.page-resources-reliable-betting-platform__hero-content {
  flex: 1;
  padding-right: 40px;
  max-width: 60%;
  z-index: 1;
}

.page-resources-reliable-betting-platform__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #26A9E0; /* Brand color for title */
}

.page-resources-reliable-betting-platform__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-reliable-betting-platform__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-resources-reliable-betting-platform__hero-image-container {
  flex: 1;
  max-width: 40%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.page-resources-reliable-betting-platform__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-resources-reliable-betting-platform__intro-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-resources-reliable-betting-platform__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand color for section titles */
  text-align: center;
}

.page-resources-reliable-betting-platform__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: #f0f0f0;
}

/* Criteria Section */
.page-resources-reliable-betting-platform__criteria-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-resources-reliable-betting-platform__criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-resources-reliable-betting-platform__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly visible card on dark bg */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-reliable-betting-platform__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-reliable-betting-platform__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for card titles */
}

.page-resources-reliable-betting-platform__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-reliable-betting-platform__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* new88 Advantages Section */
.page-resources-reliable-betting-platform__new88-advantages {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-resources-reliable-betting-platform__advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-resources-reliable-betting-platform__advantage-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter card on dark bg */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-reliable-betting-platform__advantage-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-reliable-betting-platform__advantage-text {
  color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-resources-reliable-betting-platform__responsible-gaming {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-resources-reliable-betting-platform__responsible-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-resources-reliable-betting-platform__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px solid #26A9E0;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources-reliable-betting-platform__link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* FAQ Section */
.page-resources-reliable-betting-platform__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-resources-reliable-betting-platform__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-reliable-betting-platform__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-reliable-betting-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter for question area */
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-resources-reliable-betting-platform__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-reliable-betting-platform__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #26A9E0;
  flex-grow: 1;
}

.page-resources-reliable-betting-platform__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-resources-reliable-betting-platform__faq-item.active .page-resources-reliable-betting-platform__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form a minus */
}

.page-resources-reliable-betting-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-reliable-betting-platform__faq-item.active .page-resources-reliable-betting-platform__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-reliable-betting-platform__faq-answer p {
  margin-bottom: 0;
  color: #f0f0f0;
}

/* CTA Section */
.page-resources-reliable-betting-platform__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

.page-resources-reliable-betting-platform__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Buttons */
.page-resources-reliable-betting-platform__btn-primary,
.page-resources-reliable-betting-platform__btn-secondary,
.page-resources-reliable-betting-platform__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources-reliable-betting-platform__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-reliable-betting-platform__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-resources-reliable-betting-platform__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-reliable-betting-platform__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

/* Specific button for Login with custom color */
.page-resources-reliable-betting-platform__btn-login {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-resources-reliable-betting-platform__btn-login:hover {
  background-color: #d16e06;
  border-color: #d16e06;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 124, 7, 0.4);
}

/* Image styles */
.page-resources-reliable-betting-platform img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-reliable-betting-platform__hero-title {
    font-size: 2.8em;
  }
  .page-resources-reliable-betting-platform__hero-description {
    font-size: 1.1em;
  }
  .page-resources-reliable-betting-platform__section-title {
    font-size: 2em;
  }
  .page-resources-reliable-betting-platform__criteria-grid,
  .page-resources-reliable-betting-platform__advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-resources-reliable-betting-platform__hero-section {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px;
    padding-top: var(--header-offset, 120px); /* Ensure this is set if shared doesn't do body padding */
  }
  .page-resources-reliable-betting-platform__hero-content-wrapper {
    flex-direction: column;
  }
  .page-resources-reliable-betting-platform__hero-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
  }
  .page-resources-reliable-betting-platform__hero-title {
    font-size: 2.2em;
    text-align: center;
  }
  .page-resources-reliable-betting-platform__hero-description {
    font-size: 1em;
    text-align: center;
  }
  .page-resources-reliable-betting-platform__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-resources-reliable-betting-platform__hero-image-container {
    max-width: 100%;
    padding: 0 15px;
  }
  .page-resources-reliable-betting-platform__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  /* 产品展示图区域 (Criteria Grid) */
  .page-resources-reliable-betting-platform__criteria-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-resources-reliable-betting-platform__card {
    padding: 20px;
  }
  .page-resources-reliable-betting-platform__card-image {
    width: 100% !important;
    height: auto !important;
    max-height: 200px;
  }

  /* 通用图片与容器 */
  .page-resources-reliable-betting-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
  .page-resources-reliable-betting-platform__container,
  .page-resources-reliable-betting-platform__section,
  .page-resources-reliable-betting-platform__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-resources-reliable-betting-platform__btn-primary,
  .page-resources-reliable-betting-platform__btn-secondary,
  .page-resources-reliable-betting-platform__cta-button,
  .page-resources-reliable-betting-platform a[class*="button"],
  .page-resources-reliable-betting-platform 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-reliable-betting-platform__cta-buttons,
  .page-resources-reliable-betting-platform__button-group,
  .page-resources-reliable-betting-platform__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;
    flex-direction: column; /* Ensure vertical stacking for button groups */
  }
  .page-resources-reliable-betting-platform__responsible-links {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  /* 其他内容模块 */
  .page-resources-reliable-betting-platform__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-resources-reliable-betting-platform__text-block {
    font-size: 0.95em;
  }
  .page-resources-reliable-betting-platform__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-resources-reliable-betting-platform__faq-list {
    padding: 0 15px;
  }
  .page-resources-reliable-betting-platform__faq-question {
    padding: 15px 20px;
  }
  .page-resources-reliable-betting-platform__faq-title {
    font-size: 1.1em;
  }
  .page-resources-reliable-betting-platform__faq-answer {
    padding: 0 20px;
  }
  .page-resources-reliable-betting-platform__faq-item.active .page-resources-reliable-betting-platform__faq-answer {
    padding: 10px 20px;
  }
  .page-resources-reliable-betting-platform__intro-section,
  .page-resources-reliable-betting-platform__criteria-section,
  .page-resources-reliable-betting-platform__new88-advantages,
  .page-resources-reliable-betting-platform__responsible-gaming,
  .page-resources-reliable-betting-platform__faq-section,
  .page-resources-reliable-betting-platform__cta-section {
    padding: 40px 0;
  }
}

/* Dark background sections */
.page-resources-reliable-betting-platform__dark-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

/* Light background sections - if any, ensure dark text */
.page-resources-reliable-betting-platform__light-section {
  background-color: #ffffff;
  color: #333333;
}

/* Contrast fix if needed */
.page-resources-reliable-betting-platform__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-resources-reliable-betting-platform__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}