.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* Default background */
}

.page-cockfighting__dark-bg {
  background-color: #E53935; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for dark backgrounds */
}

.page-cockfighting__light-bg {
  background-color: #FFFFFF; /* Card BG color */
  color: #333333; /* Main text color */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: inherit; /* Inherit color from parent section (dark-bg or light-bg) */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, main offset from body */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust as needed */
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff; /* White text for dark hero background */
}

.page-cockfighting__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0; /* Slightly off-white for subtitle */
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__grid--two-columns {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-cockfighting__card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__card-image,
.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-cockfighting__card-title,
.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__card-text,
.page-cockfighting__feature-text {
  font-size: 1em;
  color: #333333;
  text-align: justify;
}

.page-cockfighting__feature-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-cockfighting__guide-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FF5A4F;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__guide-step-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__guide-step-text {
  font-size: 1em;
  color: #333333;
  text-align: justify;
}

.page-cockfighting__main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-bottom: 30px;
  object-fit: cover;
}

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

.page-cockfighting__tips-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__tips-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__tips-text {
  font-size: 1em;
  color: #333333;
  text-align: justify;
}

.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #E0E0E0;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #E53935;
  color: #ffffff;
  border-bottom-color: #E53935;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #ffffff;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #E53935;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #333333;
  background-color: #ffffff;
  text-align: justify;
}

.page-cockfighting__conclusion-section a {
  color: #E53935;
  text-decoration: underline;
  font-weight: bold;
}

.page-cockfighting__conclusion-section a:hover {
  color: #FF5A4F;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-cockfighting__subtitle {
    font-size: 1.1em;
  }
  .page-cockfighting__grid,
  .page-cockfighting__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .page-cockfighting__container {
    padding: 30px 15px;
  }
  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }
}

/* Mobile Specific */
@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-cockfighting__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap */
    gap: 10px; /* Space between buttons */
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* 产品展示图区域 (General grid items, not specific gameshow) */
  .page-cockfighting__grid,
  .page-cockfighting__grid--two-columns {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  /* Other content modules */
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__feature-text,
  .page-cockfighting__guide-step-text,
  .page-cockfighting__tips-text,
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }
  .page-cockfighting__card,
  .page-cockfighting__feature-card,
  .page-cockfighting__guide-item,
  .page-cockfighting__tips-item {
    padding: 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}