.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #0a0a0a, so text is light */
  background-color: transparent; /* Rely on shared.css for body background */
}

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

.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, main offset from body */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 40px;
}

.page-cockfighting__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-cockfighting__hero-text-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #FFFF00;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-cockfighting__text-block a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-cockfighting__text-block a:hover {
  color: #ff3333;
}

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-cockfighting__types-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__card-title,
.page-cockfighting__light-bg .page-cockfighting__list-title {
  color: #017439;
}

.page-cockfighting__light-bg .page-cockfighting__text-block a {
  color: #017439;
}

.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__card-title,
.page-cockfighting__dark-section .page-cockfighting__list-title {
  color: #FFFF00;
}

.page-cockfighting__dark-section .page-cockfighting__text-block a {
  color: #FFFF00;
}

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

.page-cockfighting__type-card,
.page-cockfighting__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-cockfighting__light-bg .page-cockfighting__type-card,
.page-cockfighting__light-bg .page-cockfighting__promo-card {
  background: #f8f8f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0 15px;
}

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

.page-cockfighting__light-bg .page-cockfighting__card-description {
  color: #555555;
}

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

.page-cockfighting__guide-list .page-cockfighting__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-cockfighting__light-bg .page-cockfighting__guide-list .page-cockfighting__list-item {
  background: #f0f0f0;
  border-left-color: #017439;
}

.page-cockfighting__list-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-cockfighting__light-bg .page-cockfighting__list-title {
  color: #017439;
}

.page-cockfighting__guide-list p {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__guide-list p {
  color: #555555;
}

.page-cockfighting__guide-image,
.page-cockfighting__tips-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Max width for content images */
}

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

.page-cockfighting__tips-list .page-cockfighting__list-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFFF00;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-cockfighting__light-bg .page-cockfighting__tips-list .page-cockfighting__list-item {
  background: #f0f0f0;
  border-left-color: #FFFF00;
}

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

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-cockfighting__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-cockfighting__light-bg .page-cockfighting__faq-item {
  background: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #FFFF00;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-cockfighting__light-bg .page-cockfighting__faq-question {
  color: #017439;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #555555;
}

.page-cockfighting__faq-answer p {
  margin: 0;
}

/* Universal image and container responsive styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__section,
.page-cockfighting__card,
.page-cockfighting__container,
.page-cockfighting__grid-container,
.page-cockfighting__promotion-cards {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-cockfighting__cta-button {
    padding: 10px 25px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-text-container {
    padding: 30px 15px;
    margin-top: 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem !important;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem !important;
  }

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

  /* 产品展示图区域 (通用卡片布局) */
  .page-cockfighting__grid-container,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-cockfighting__type-card,
  .page-cockfighting__promo-card {
    padding-bottom: 15px;
  }

  .page-cockfighting__card-image {
    height: 200px; /* Adjust height for mobile */
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__grid-container,
  .page-cockfighting__promotion-cards,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__guide-list .page-cockfighting__list-item,
  .page-cockfighting__tips-list .page-cockfighting__list-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__cta-button,
  .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__hero-cta-buttons,
  .page-cockfighting__cta-center {
    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-cockfighting__introduction-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-cockfighting__text-block {
    font-size: 1rem;
    padding: 0 15px;
  }

  .page-cockfighting__guide-list .page-cockfighting__list-item,
  .page-cockfighting__tips-list .page-cockfighting__list-item {
    padding: 15px;
  }

  .page-cockfighting__list-title {
    font-size: 1.1rem;
  }

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

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