.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  padding-bottom: 40px;
}

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

.page-cockfighting__dark-section {
  background-color: #17191F; /* Card BG, used for sections to provide contrast */
  color: #FFF3E6;
}

.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0D0E12;
  color: #FFF3E6;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.page-cockfighting__hero-content {
  padding: 30px 20px 40px;
  max-width: 900px;
  margin-top: -80px; /* Overlap with image slightly for visual appeal */
  position: relative;
  z-index: 1;
  background-color: rgba(13, 14, 18, 0.7);
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFA53A; /* Auxiliary color for emphasis */
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #FFA53A;
  border: 2px solid #FFA53A;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.page-cockfighting__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.3);
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFA53A;
  text-shadow: 0 0 8px rgba(255, 165, 58, 0.3);
}

.page-cockfighting__article-body {
  max-width: 900px;
  margin: 0 auto 30px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.page-cockfighting__article-body p {
  margin-bottom: 1.5em;
}

.page-cockfighting__article-body ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 1.5em;
}

.page-cockfighting__article-body li {
  margin-bottom: 0.8em;
}

.page-cockfighting__features-grid,
.page-cockfighting__bet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__feature-card,
.page-cockfighting__bet-type-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #FFF3E6;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__bet-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 176, 77, 0.2);
}

.page-cockfighting__feature-image,
.page-cockfighting__bet-type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__bet-type-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFA53A;
}

.page-cockfighting__feature-description,
.page-cockfighting__bet-type-description {
  font-size: 1rem;
  opacity: 0.8;
  flex-grow: 1;
}

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

.page-cockfighting__bonus-content,
.page-cockfighting__responsible-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__bonus-content .page-cockfighting__article-body,
.page-cockfighting__responsible-content .page-cockfighting__article-body {
  flex: 1;
  margin-bottom: 0;
}

.page-cockfighting__bonus-image-wrapper,
.page-cockfighting__responsible-image-wrapper {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__tip-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.page-cockfighting__tip-item:hover {
  box-shadow: 0 5px 20px rgba(255, 176, 77, 0.15);
}

.page-cockfighting__tip-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-cockfighting__tip-item p {
  font-size: 1rem;
  opacity: 0.8;
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
  color: #FFF3E6;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: #FFA53A;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(23, 25, 31, 0.8); /* Slightly lighter than card BG */
  border-radius: 0 0 8px 8px;
  font-size: 1rem;
  opacity: 0.9;
}
.page-cockfighting__faq-answer p {
    margin-bottom: 0;
}

.page-cockfighting__cta-final-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #17191F;
  border-top: 1px solid #A84F0C;
}

.page-cockfighting__final-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 25px 15px 30px;
  }
  .page-cockfighting__bonus-content,
  .page-cockfighting__responsible-content {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__bonus-image-wrapper,
  .page-cockfighting__responsible-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 30px auto 0 auto;
  }
  .page-cockfighting__article-body {
    text-align: left; /* Keep text aligned left in body for readability on larger mobile screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 30px 15px;
  }
  
  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 10px;
  }
  .page-cockfighting__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__hero-content {
    margin-top: -40px; /* Adjust overlap for smaller screens */
    padding: 20px 15px 25px;
    width: calc(100% - 30px); /* Account for padding */
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* 产品展示图区域 / 特色卡片 */
  .page-cockfighting__features-grid,
  .page-cockfighting__bet-types-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__bet-type-card {
    padding: 20px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__bet-type-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__feature-image,
  .page-cockfighting__bet-type-image {
    height: 180px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__article-body {
    font-size: 1rem;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* Ensure text alignment is good */
  }
  .page-cockfighting__article-body p,
  .page-cockfighting__article-body ul,
  .page-cockfighting__article-body li {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__bonus-content,
  .page-cockfighting__responsible-content {
    gap: 20px;
  }
  .page-cockfighting__bonus-image-wrapper,
  .page-cockfighting__responsible-image-wrapper {
    width: 100% !important;
    max-width: 100% !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__hero-image-wrapper,
  .page-cockfighting__bonus-image-wrapper,
  .page-cockfighting__responsible-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section .page-cockfighting__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-wrapper,
  .page-cockfighting__final-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px;
  }
  .page-cockfighting__cta-final-section .page-cockfighting__btn-primary,
  .page-cockfighting__cta-final-section .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* FAQ */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 15px 15px;
  }

  .page-cockfighting__final-description {
    font-size: 1rem;
  }
}