/* style/cockfighting.css */
:root {
  --page-cockfighting-primary-color: #26A9E0;
  --page-cockfighting-secondary-color: #FFFFFF;
  --page-cockfighting-text-dark: #333333;
  --page-cockfighting-text-light: #ffffff;
  --page-cockfighting-login-color: #EA7C07;
}

.page-cockfighting {
  color: var(--page-cockfighting-text-light); /* Default text color for dark body background */
}

.page-cockfighting__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per instruction */
  padding-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-cockfighting-primary-color);
  margin-bottom: 15px;
  max-width: 100%;
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.15em;
  line-height: 1.6;
  color: var(--page-cockfighting-text-light);
  margin-bottom: 30px;
}

.page-cockfighting__hero-cta-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;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
  border: 2px solid var(--page-cockfighting-primary-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: darken(var(--page-cockfighting-primary-color), 10%);
  border-color: darken(var(--page-cockfighting-primary-color), 10%);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--page-cockfighting-primary-color);
  border: 2px solid var(--page-cockfighting-primary-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__strategies-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__benefits-section,
.page-cockfighting__registration-guide-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__light-bg {
  background-color: var(--page-cockfighting-secondary-color);
  color: var(--page-cockfighting-text-dark);
}

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__section-title--light {
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__section-description--light {
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__light-bg .page-cockfighting__sub-title {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__dark-section .page-cockfighting__sub-title {
  color: var(--page-cockfighting-text-light);
}

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

.page-cockfighting__benefit-card {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white for dark section */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__benefit-card .page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__benefit-card p {
  line-height: 1.7;
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__benefits-image-wrapper,
.page-cockfighting__gameshow-image-wrapper,
.page-cockfighting__strategy-image-wrapper {
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__benefits-image,
.page-cockfighting__gameshow-image,
.page-cockfighting__strategy-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__betting-types-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__betting-type-item {
  background-color: var(--page-cockfighting-secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--page-cockfighting-text-dark);
}

.page-cockfighting__betting-type-item .page-cockfighting__type-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__betting-type-item p {
  line-height: 1.6;
  font-size: 1em;
  color: var(--page-cockfighting-text-dark);
}

.page-cockfighting__registration-steps {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__step-item .page-cockfighting__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__step-item p {
  line-height: 1.6;
  font-size: 1em;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__cta-wrapper {
  margin-top: 40px;
}

.page-cockfighting__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-cockfighting__strategies-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting__strategy-text {
  flex: 2;
}

.page-cockfighting__strategy-text p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--page-cockfighting-text-dark);
}

.page-cockfighting__strategy-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-cockfighting-text-light);
  position: relative;
  list-style: none; /* For details/summary */
}

.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;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__faq-answer p {
  margin: 0;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__footer {
  padding: 30px 0;
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-light);
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }
  .page-cockfighting__strategies-content {
    flex-direction: column;
    align-items: center;
  }
  .page-cockfighting__strategy-text,
  .page-cockfighting__strategy-image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Small top padding as per instruction */
    padding-bottom: 30px;
  }
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 7vw, 2em) !important;
    margin-bottom: 10px;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  /* 其他内容模块 - 通用 padding 和 text alignment */
  .page-cockfighting__introduction-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__registration-guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-cockfighting__sub-title {
    font-size: 1.3em !important;
  }

  /* 产品展示图区域 (benefits grid, betting types, strategies content) */
  .page-cockfighting__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__benefit-card {
    padding: 20px;
  }
  .page-cockfighting__betting-types-list {
    margin: 20px auto;
  }
  .page-cockfighting__betting-type-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-cockfighting__registration-steps {
    margin: 20px auto;
  }
  .page-cockfighting__step-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-cockfighting__strategies-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-cockfighting__strategy-image-wrapper {
    margin-top: 20px;
  }

  /* 通用图片与容器 */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__benefits-image-wrapper,
  .page-cockfighting__gameshow-image-wrapper,
  .page-cockfighting__strategy-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .page-cockfighting__benefits-image,
  .page-cockfighting__gameshow-image,
  .page-cockfighting__strategy-image {
    width: 100% !important;
    height: auto !important;
  }

  /* 按钮与按钮容器 */
  .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;
    text-align: center;
  }
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Ensure vertical stacking for multiple buttons */
    gap: 10px;
  }

  /* FAQ section */
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
  .page-cockfighting__faq-item {
    margin-bottom: 10px;
  }

  .page-cockfighting__footer {
    padding: 20px 15px;
  }
}