.page-cockfighting {
  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 dark */
}

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

.page-cockfighting__hero-section {
  position: relative;
  padding: var(--header-offset, 120px) 0 80px; /* Use var for header offset, default 120px */
  background-color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Darken image for text readability */
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  padding-top: 40px;
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__introduction-section .page-cockfighting__section-title,
.page-cockfighting__guide-section .page-cockfighting__section-title,
.page-cockfighting__strategy-section .page-cockfighting__section-title {
  color: #26A9E0;
}

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

.page-cockfighting__introduction-section a,
.page-cockfighting__guide-section a,
.page-cockfighting__strategy-section a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__bet-types-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__bet-types-section .page-cockfighting__section-title,
.page-cockfighting__benefits-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title,
.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: #26A9E0;
}

.page-cockfighting__bet-types-section .page-cockfighting__text-block,
.page-cockfighting__benefits-section .page-cockfighting__text-block,
.page-cockfighting__faq-section .page-cockfighting__text-block,
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__bet-types-section a,
.page-cockfighting__benefits-section a,
.page-cockfighting__faq-section a,
.page-cockfighting__conclusion-section a {
  color: #26A9E0;
  text-decoration: underline;
}

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

.page-cockfighting__image-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__image-caption {
  padding: 15px;
  font-size: 0.95em;
  color: #555555;
  text-align: center;
}

.page-cockfighting__image-center {
  text-align: center;
  margin: 40px 0;
}

.page-cockfighting__image-center .page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-cockfighting__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting__guide-list,
.page-cockfighting__benefits-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-cockfighting__guide-item,
.page-cockfighting__benefits-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-cockfighting__guide-item .page-cockfighting__list-title,
.page-cockfighting__benefits-item .page-cockfighting__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__guide-item p,
.page-cockfighting__benefits-item p {
  color: #555555;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

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

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-buttons {
  margin-bottom: 0;
}

/* General image styling to prevent small icons */
.page-cockfighting img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }

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

  .page-cockfighting__image-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__bet-grid,
  .page-cockfighting__strategy-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    padding-bottom: 60px;
  }

  .page-cockfighting__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .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;
    gap: 10px;
    flex-direction: column;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 30px;
  }

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

  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* 产品展示图区域 & 其他内容模块 */
  .page-cockfighting__image-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-cockfighting__image-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .page-cockfighting__image-caption {
    padding: 10px;
    font-size: 0.9em;
  }

  .page-cockfighting__image-center {
    margin: 30px 0;
  }

  .page-cockfighting__image-center .page-cockfighting__image {
    border-radius: 8px;
  }

  .page-cockfighting__bet-grid,
  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .page-cockfighting__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-cockfighting__card-text {
    font-size: 0.95em;
  }

  .page-cockfighting__guide-item,
  .page-cockfighting__benefits-item {
    padding: 15px;
    margin-bottom: 15px;
  }

  .page-cockfighting__guide-item .page-cockfighting__list-title,
  .page-cockfighting__benefits-item .page-cockfighting__list-title {
    font-size: 1.2em;
  }

  .page-cockfighting__faq-question {
    padding: 15px;
    font-size: 1.1em;
  }

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

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 15px;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting {
    overflow-x: hidden;
  }
}

/* Ensure all images in content area are not small */
.page-cockfighting__image,
.page-cockfighting__hero-image,
.page-cockfighting__image-center .page-cockfighting__image {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-cockfighting__image,
  .page-cockfighting__hero-image,
  .page-cockfighting__image-center .page-cockfighting__image {
    min-width: unset;
    min-height: unset;
  }
}

/* Fixed header offset handling (assuming shared.css provides body padding-top) */
/* For this page, we assume shared.css does NOT set body padding-top, so we apply it to hero-section */
.page-cockfighting__hero-section {
  padding-top: var(--header-offset, 120px); /* Default desktop value */
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 80px); /* Default mobile value */
  }
}