.page-resources-how-to-choose-c4-cockfighting-platform {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected */
}

.page-resources-how-to-choose-c4-cockfighting-platform__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-resources-how-to-choose-c4-cockfighting-platform__light-bg {
  background-color: #0a0a0a; /* Body background for light sections, with light text */
  color: #ffffff;
}

/* Hero Section */
.page-resources-how-to-choose-c4-cockfighting-platform__hero-section {
  position: relative;
  padding-top: 0; /* Assumes shared.css handles body padding-top */
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 600px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-resources-how-to-choose-c4-cockfighting-platform__hero-section .page-resources-how-to-choose-c4-cockfighting-platform__container {
  position: relative;
  z-index: 1;
  padding-top: 80px; /* Internal padding to keep content below header */
}

.page-resources-how-to-choose-c4-cockfighting-platform__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-how-to-choose-c4-cockfighting-platform__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-resources-how-to-choose-c4-cockfighting-platform__btn-primary,
.page-resources-how-to-choose-c4-cockfighting-platform__cta-button {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-how-to-choose-c4-cockfighting-platform__btn-primary:hover,
.page-resources-how-to-choose-c4-cockfighting-platform__cta-button:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-resources-how-to-choose-c4-cockfighting-platform__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  padding-top: 60px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-resources-how-to-choose-c4-cockfighting-platform__introduction-section,
.page-resources-how-to-choose-c4-cockfighting-platform__top-platforms-section,
.page-resources-how-to-choose-c4-cockfighting-platform__why-choose-us-section {
  padding: 80px 0;
}

.page-resources-how-to-choose-c4-cockfighting-platform__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify;
}

/* Key Factors Section */
.page-resources-how-to-choose-c4-cockfighting-platform__key-factors-section {
  padding: 80px 0;
  background-color: #017439;
}

.page-resources-how-to-choose-c4-cockfighting-platform__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-how-to-choose-c4-cockfighting-platform__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-c4-cockfighting-platform__card-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-how-to-choose-c4-cockfighting-platform__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.page-resources-how-to-choose-c4-cockfighting-platform__guide-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-resources-how-to-choose-c4-cockfighting-platform__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__step-card {
  background-color: rgba(1, 116, 57, 0.8);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-c4-cockfighting-platform__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__step-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__step-text {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-resources-how-to-choose-c4-cockfighting-platform__why-choose-us-section {
  padding: 80px 0;
  background-color: #017439;
}

.page-resources-how-to-choose-c4-cockfighting-platform__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-c4-cockfighting-platform__feature-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-resources-how-to-choose-c4-cockfighting-platform__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-how-to-choose-c4-cockfighting-platform__faq-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-item {
  background-color: rgba(1, 116, 57, 0.8);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #017439;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-question:hover {
  background-color: #005f2e;
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-item.active .page-resources-how-to-choose-c4-cockfighting-platform__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-how-to-choose-c4-cockfighting-platform__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: rgba(1, 116, 57, 0.6);
}

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

.page-resources-how-to-choose-c4-cockfighting-platform__faq-text {
  margin: 0;
  color: #e0e0e0;
}

/* Bottom CTA Section */
.page-resources-how-to-choose-c4-cockfighting-platform__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439;
}

.page-resources-how-to-choose-c4-cockfighting-platform__cta-bottom-section .page-resources-how-to-choose-c4-cockfighting-platform__section-title {
  padding-top: 0;
}

/* Image specific styles */
.page-resources-how-to-choose-c4-cockfighting-platform img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-how-to-choose-c4-cockfighting-platform__hero-title {
    font-size: 3em;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__hero-description {
    font-size: 1.1em;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__section-title {
    font-size: 2em;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__grid-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-resources-how-to-choose-c4-cockfighting-platform__hero-section {
    padding-top: 0 !important; /* Ensure no double padding from shared header */
    padding-bottom: 40px !important;
    min-height: 400px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__hero-section .page-resources-how-to-choose-c4-cockfighting-platform__container {
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset here if shared doesn't */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__hero-title {
    font-size: 2em !important;
    margin-bottom: 15px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  /* 产品展示图区域 - N/A for this page, general image rules apply */

  /* 通用图片与容器 */
  .page-resources-how-to-choose-c4-cockfighting-platform img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-how-to-choose-c4-cockfighting-platform__container,
  .page-resources-how-to-choose-c4-cockfighting-platform__introduction-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__key-factors-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__top-platforms-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__guide-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__why-choose-us-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__faq-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow-x: hidden !important;
  }

  /* 按钮与按钮容器 */
  .page-resources-how-to-choose-c4-cockfighting-platform__btn-primary,
  .page-resources-how-to-choose-c4-cockfighting-platform__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  
  /* 按钮容器，如果存在多个按钮 */
  .page-resources-how-to-choose-c4-cockfighting-platform__cta-buttons,
  .page-resources-how-to-choose-c4-cockfighting-platform__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  /* 其他内容模块 */
  .page-resources-how-to-choose-c4-cockfighting-platform__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
    padding-top: 40px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__text-block {
    font-size: 0.95em !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__grid-container,
  .page-resources-how-to-choose-c4-cockfighting-platform__steps-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__card,
  .page-resources-how-to-choose-c4-cockfighting-platform__step-card,
  .page-resources-how-to-choose-c4-cockfighting-platform__feature-item {
    padding: 20px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__card-title,
  .page-resources-how-to-choose-c4-cockfighting-platform__step-title,
  .page-resources-how-to-choose-c4-cockfighting-platform__feature-title {
    font-size: 1.3em !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__faq-question {
    padding: 15px 20px !important;
    font-size: 1.1em !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__faq-answer {
    padding: 10px 20px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__faq-toggle {
    font-size: 1.2em !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__introduction-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__key-factors-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__top-platforms-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__guide-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__why-choose-us-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__faq-section,
  .page-resources-how-to-choose-c4-cockfighting-platform__cta-bottom-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .page-resources-how-to-choose-c4-cockfighting-platform__hero-image {
    filter: brightness(0.6) !important; /* Slightly darken hero image for better text readability on mobile */
  }
}