.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding-top: 0; /* shared.css handles body padding-top */
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-cockfighting__hero-title {
  font-size: 3.5rem;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-cockfighting__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: #EA7C07;
  color: #ffffff;
  border: none;
  border-radius: 5px;
}

.page-cockfighting__btn-small:hover {
  background: #c76706;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__intro-section .page-cockfighting__section-title {
  color: #000000;
}

.page-cockfighting__intro-section .page-cockfighting__text-block {
  color: #333333;
}

.page-cockfighting__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-cockfighting__gameshow-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__gameshow-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__gameshow-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.page-cockfighting__gameshow-title .page-cockfighting__gameshow-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting__gameshow-title .page-cockfighting__gameshow-link:hover {
  text-decoration: underline;
}

.page-cockfighting__gameshow-description {
  font-size: 1rem;
  color: #f0f0f0;
  padding: 0 15px;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__guide-section .page-cockfighting__section-title {
  color: #000000;
}

.page-cockfighting__guide-section .page-cockfighting__text-block {
  color: #333333;
}

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

.page-cockfighting__step-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__step-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-cockfighting__feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__feature-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  margin: 20px auto 0;
  border-radius: 8px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__promotions-section .page-cockfighting__section-title {
  color: #000000;
}

.page-cockfighting__promotions-section .page-cockfighting__text-block {
  color: #333333;
}

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

.page-cockfighting__promo-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__promo-description {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__tip-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__tip-description {
  font-size: 1rem;
  color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #000000;
}

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

.page-cockfighting__faq-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #f0f0f0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  font-weight: normal;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
  color: #555555;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__cta-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Global Image Styling */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3rem;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
  }

  .page-cockfighting__gameshow-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding: 60px 0 !important; /* Adjust padding for mobile */
    padding-top: 0 !important; /* Ensure no double padding */
  }

  .page-cockfighting__hero-content {
    padding: 15px;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  /* 其他内容模块 */
  .page-cockfighting__container {
    padding: 0 15px !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem !important;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 40px 0 !important;
  }

  /* 产品展示图区域 */
  .page-cockfighting__gameshow-grid {
    grid-template-columns: 1fr !important; /* Single column for mobile */
    gap: 20px !important;
    overflow-x: hidden !important;
  }

  .page-cockfighting__gameshow-card {
    padding-bottom: 15px !important;
  }

  .page-cockfighting__gameshow-image {
    height: 200px !important;
  }

  .page-cockfighting__gameshow-title {
    font-size: 1.5rem !important;
  }

  .page-cockfighting__steps-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-cockfighting__step-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__tip-title {
    font-size: 1.3rem !important;
  }

  .page-cockfighting__step-description,
  .page-cockfighting__feature-description,
  .page-cockfighting__promo-description,
  .page-cockfighting__tip-description {
    font-size: 0.9rem !important;
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__content-image {
    margin: 20px auto !important;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .page-cockfighting a[class*="button"],
  .page-cockfighting 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: 12px 15px !important;
  }

  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-direction: column !important;
    gap: 15px !important;
    overflow: hidden !important;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem !important;
    padding: 15px 20px !important;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem !important;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px !important;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px !important;
  }

  .page-cockfighting__faq-list {
    padding: 0 15px;
  }
}

/* Color Contrast Fixes (if needed, but designed to be good from start) */
.page-cockfighting__dark-bg {
  color: #ffffff;
}

.page-cockfighting__light-bg {
  color: #333333;
}

.page-cockfighting__intro-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #000000; /* Ensure dark text on light background */
}

.page-cockfighting__intro-section .page-cockfighting__text-block,
.page-cockfighting__guide-section .page-cockfighting__text-block,
.page-cockfighting__promotions-section .page-cockfighting__text-block,
.page-cockfighting__faq-answer p {
  color: #333333; /* Ensure dark text on light background */
}

.page-cockfighting__faq-question h3 {
  color: #333333; /* Ensure dark text on light background */
}