.page-cockfighting {
  font-family: 'Arial', sans-serif;
  background-color: #08160F;
  color: #F2FFF6; /* Text Main */
}

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

.page-cockfighting__logo-carousel-section {
  padding: 10px 0 30px 0; /* Small top padding, no var(--header-offset) */
  background-color: #08160F;
  border-bottom: 1px solid #1E3A2A;
}

.page-cockfighting__logo-carousel-title {
  text-align: center;
  color: #F2FFF6;
  font-size: 1.8em;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-cockfighting__logo-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.page-cockfighting__logo-item {
  width: 80px;
  height: 80px;
  max-width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-cockfighting__logo-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.page-cockfighting__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0; /* Important: No top padding to avoid double spacing with body */
  padding-bottom: 60px;
  background-color: #08160F;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-cockfighting__hero-title {
  font-weight: bold;
  color: #F2FFF6;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  /* clamp for responsive font size without fixed large values */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.15em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__content-section,
.page-cockfighting__features-section,
.page-cockfighting__betting-guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__registration-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-cockfighting__dark-section {
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__text-block {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.7;
  color: #A7D9B8;
  text-align: justify;
}

.page-cockfighting__text-block p {
  margin-bottom: 1.5em;
}

.page-cockfighting__content-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px; /* Ensure images are not too tall */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-card p {
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 25px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #A7D9B8;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: left;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
}

.page-cockfighting__list li strong {
  color: #F2FFF6;
}

.page-cockfighting__promo-card {
  display: flex;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__promo-card:nth-child(even) {
  flex-direction: row-reverse;
}

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

.page-cockfighting__promo-content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-cockfighting__promo-title {
  font-size: 1.8em;
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__promo-content p {
  font-size: 1.1em;
  color: #A7D9B8;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-cockfighting__step-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.page-cockfighting__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #2AD16F;
  position: absolute;
  top: 15px;
  right: 20px;
  opacity: 0.1;
  line-height: 1;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-card p {
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-cockfighting__registration-cta {
  text-align: center;
  margin-top: 50px;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #F2FFF6;
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #0A4B2C; /* Deep Green */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Allow click on entire summary */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #2AD16F;
  pointer-events: none; /* Allow click on entire summary */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.7;
  text-align: justify;
}

.page-cockfighting__conclusion-text {
  font-size: 1.2em;
  color: #A7D9B8;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__conclusion-cta {
  text-align: center;
}

.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-cockfighting__promo-card {
    flex-direction: column;
  }

  .page-cockfighting__promo-card:nth-child(even) {
    flex-direction: column;
  }

  .page-cockfighting__promo-image,
  .page-cockfighting__promo-content {
    width: 100%;
  }

  .page-cockfighting__promo-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__text-block,
  .page-cockfighting__list,
  .page-cockfighting__faq-list,
  .page-cockfighting__conclusion-text {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__logo-carousel-section {
    padding: 10px 0 20px 0 !important;
  }

  .page-cockfighting__logo-carousel {
    gap: 15px;
    padding: 0 15px;
  }

  /* LOGO轮播项必须单独设置，保持固定尺寸 */
  .page-cockfighting__logo-item {
    width: 80px !important; /* 固定80px，禁止使用100% */
    height: 80px !important; /* 固定80px */
    max-width: 80px !important; /* 确保不被覆盖 */
    box-sizing: border-box;
    padding: 5px; /* Adjust padding if needed for mobile */
  }

  .page-cockfighting__hero-section {
    padding-top: 0 !important;
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

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

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

  .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: 12px 20px;
  }

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

  .page-cockfighting__content-section,
  .page-cockfighting__features-section,
  .page-cockfighting__betting-guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__registration-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__step-card {
    padding: 25px;
  }

  .page-cockfighting__promo-card {
    margin-bottom: 30px;
  }

  .page-cockfighting__promo-content {
    padding: 25px;
  }

  .page-cockfighting__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-cockfighting__promo-content p {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

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

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

  .page-cockfighting__conclusion-text {
    font-size: 1.05em;
    margin-bottom: 30px;
  }

  /* General image responsiveness for content images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure containers with images don't overflow */
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__content-image,
  .page-cockfighting__feature-icon,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  /* Ensure button groups wrap correctly */
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__registration-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}