/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Fixed spacing from header */
  padding-bottom: 60px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(180deg, #2F6BFF 0%, #0d0d0d 100%); /* Dark gradient to ensure text contrast */
}

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

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

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

.page-cockfighting__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.page-cockfighting__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.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.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.2);
}

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #1F2D3D; /* Text Main */
}

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

.page-cockfighting__text-block {
  font-size: 1em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #1F2D3D; /* Text Main */
}

.page-cockfighting__text-block--white {
  color: #f0f0f0;
}

.page-cockfighting__card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__dark-section {
  background: #2F6BFF;
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__dark-bg--card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid #A5C4FF; /* Glow */
}

.page-cockfighting__dark-bg--card .page-cockfighting__step-title,
.page-cockfighting__dark-bg--card .page-cockfighting__step-description {
  color: #ffffff;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
}

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

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-cockfighting__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
}

/* How To Play Section */
.page-cockfighting__how-to-play-section {
  padding: 60px 0;
}

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

.page-cockfighting__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 280px; /* Ensure consistent height */
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  background: #6FA3FF; /* Auxiliary Color */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-cockfighting__step-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__btn-secondary--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
}

/* Benefits Section */
.page-cockfighting__benefits-section {
  padding: 60px 0;
}

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

.page-cockfighting__benefit-item {
  text-align: center;
  padding: 20px;
}

.page-cockfighting__benefit-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__benefit-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-cockfighting__benefit-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  text-align: left;
  padding: 0; /* Remove padding from card as details handles its own internal structure */
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  color: #000000; /* Custom Color_1776249996415 */
  background-color: #ffffff;
  border-radius: 12px;
  list-style: none; /* Remove default marker */
  border: 1px solid #D6E2FF;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 20px 30px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
  background-color: #fdfdff;
  border-top: 1px solid #D6E2FF;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__copyright-info {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    border-top: 1px solid #D6E2FF; /* Border */
}

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

  .page-cockfighting__main-title {
    font-size: 2.5em;
  }

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

  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 0;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__step-grid,
  .page-cockfighting__benefit-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .page-cockfighting__faq-item summary {
    padding: 18px 25px;
    font-size: 1em;
  }

  .page-cockfighting__faq-answer {
    padding: 18px 25px;
    font-size: 0.9em;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }
}

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

  .page-cockfighting__container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 30px 0 !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.6em;
    margin-bottom: 25px;
  }

  .page-cockfighting__text-block {
    margin-bottom: 30px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__step-grid,
  .page-cockfighting__benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 按钮与按钮容器 */
  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    margin: 0 !important; /* Remove auto margins to ensure full width */
  }

  /* Other Content Modules */
  .page-cockfighting__card {
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }

  .page-cockfighting__faq-item summary {
    padding: 15px 20px !important;
    font-size: 1em !important;
  }

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

  .page-cockfighting__step-item {
    min-height: auto;
  }
  .page-cockfighting__copyright-info {
    padding: 15px;
    font-size: 0.85em;
  }
}