.page-cockfighting {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px; /* Limit height for hero image */
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

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

.page-cockfighting__cta-buttons--center {
  justify-content: center;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2E7A4E; /* Border */
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__paragraph {
  font-size: 1.1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__paragraph .highlight {
  color: #57E38D; /* Glow */
  font-weight: bold;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__about-section,
.page-cockfighting__game-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section,
.page-cockfighting__mobile-app-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__cta-final-section {
  border-bottom: none;
}

.page-cockfighting__cta-final-content {
  text-align: center;
  padding: 40px 20px;
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #A7D9B8;
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  color: #F2FFF6;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-item strong {
  color: #F2C14E; /* Gold */
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.page-cockfighting__step-item a {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

.page-cockfighting__step-item a:hover {
  text-decoration: underline;
}

.page-cockfighting__feature-list,
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__feature-item,
.page-cockfighting__promo-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #F2FFF6;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-item::before,
.page-cockfighting__promo-item::before {
  content: '✓';
  color: #57E38D; /* Glow */
  font-size: 1.5rem;
  margin-right: 15px;
  font-weight: bold;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary:hover {
  background-color: #1E3A2A;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.6;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-cockfighting__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image {
    max-height: 400px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-cockfighting__paragraph,
  .page-cockfighting__card-description,
  .page-cockfighting__step-item,
  .page-cockfighting__feature-item,
  .page-cockfighting__promo-item,
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
  }
  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }
  .page-cockfighting__about-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__mobile-app-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 0;
  }
  .page-cockfighting__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body 已承担 --header-offset，此处禁止 var(--header-offset) */
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .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;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
  }
}