.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark #000000, so text should be light */
  background-color: #000000;
}

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

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-cockfighting__hero-content-wrapper {
  position: relative; /* Ensure content is above any potential background effect */
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)); /* Dark overlay for text readability */
  margin-top: -100px; /* Overlap slightly with image for visual flow */
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-cockfighting__hero-description {
  font-size: clamp(1em, 1.5vw, 1.25em);
  color: #F0F0F0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-cockfighting__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  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: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-cockfighting__section-title--white {
  color: #FFFFFF;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #CCCCCC;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-cockfighting__section-description--white {
  color: #F0F0F0;
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__about-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__content-block {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-cockfighting__content-block p {
  font-size: 1em;
  color: #F0F0F0;
  line-height: 1.6;
}

.page-cockfighting__highlights-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__highlight-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__highlight-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__highlight-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__highlight-item p {
  font-size: 0.95em;
  color: #F0F0F0;
  line-height: 1.6;
}

.page-cockfighting__betting-types-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__betting-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__betting-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-cockfighting__betting-item p {
  font-size: 1em;
  color: #F0F0F0;
  line-height: 1.6;
}

.page-cockfighting__betting-tip {
  font-size: 1.1em;
  color: #CCCCCC;
  text-align: center;
  margin-top: 40px;
  line-height: 1.6;
}

.page-cockfighting__guide-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__step-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Push button to bottom */
}

.page-cockfighting__step-number {
  font-size: 2.5em;
  color: #26A9E0;
  font-weight: 700;
  margin-bottom: 15px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__step-item p {
  font-size: 0.95em;
  color: #F0F0F0;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px; /* Space before button */
}

.page-cockfighting__strategy-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__strategy-item {
  background-color: #222222;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__strategy-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__strategy-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__strategy-item p {
  font-size: 0.95em;
  color: #F0F0F0;
  line-height: 1.6;
}

.page-cockfighting__promotions-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-cockfighting__promotion-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__promotion-card p {
  font-size: 0.95em;
  color: #F0F0F0;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-cockfighting__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #26A9E0;
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  list-style: none; /* For details tag */
}

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  background-color: #333333;
  color: #F0F0F0;
  font-size: 1em;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__cta-section {
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  margin-bottom: 25px;
}

.page-cockfighting__cta-section .page-cockfighting__section-description {
  margin-bottom: 50px;
}

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

/* General image responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 20px;
  }

  .page-cockfighting__hero-content-wrapper {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 3.5vw, 2.2em);
  }

  .page-cockfighting__hero-buttons {
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
}

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

  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 0;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__hero-content-wrapper {
    margin-top: -60px;
    padding: 25px 15px;
    max-width: 100%;
  }

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

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

  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 其他内容模块 */
  .page-cockfighting__container,
  .page-cockfighting__about-section .page-cockfighting__container,
  .page-cockfighting__highlights-section .page-cockfighting__container,
  .page-cockfighting__betting-types-section .page-cockfighting__container,
  .page-cockfighting__guide-section .page-cockfighting__container,
  .page-cockfighting__strategy-section .page-cockfighting__container,
  .page-cockfighting__promotions-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__cta-section .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-cockfighting__content-grid,
  .page-cockfighting__highlights-grid,
  .page-cockfighting__betting-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__content-block,
  .page-cockfighting__highlight-item,
  .page-cockfighting__betting-item,
  .page-cockfighting__step-item,
  .page-cockfighting__strategy-item,
  .page-cockfighting__promotion-card {
    padding: 25px;
  }

  .page-cockfighting__block-title,
  .page-cockfighting__highlight-title,
  .page-cockfighting__betting-title,
  .page-cockfighting__step-title,
  .page-cockfighting__strategy-title,
  .page-cockfighting__promotion-title {
    font-size: 1.2em !important;
  }

  .page-cockfighting__step-number {
    font-size: 2em !important;
    width: 70px;
    height: 70px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em !important;
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__content-block,
  .page-cockfighting__highlight-item,
  .page-cockfighting__betting-item,
  .page-cockfighting__step-item,
  .page-cockfighting__strategy-item,
  .page-cockfighting__promotion-card,
  .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__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; /* For vertical stacking of buttons */
  }
}