/* style/cockfighting.css */
/* 页面内容区域样式 */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark #1a1a2e, so text should be light */
  background-color: #1a1a2e; /* Ensure consistency with body background */
}

/* Fixed header offset - set on main content if shared.css doesn't set on body */
.page-cockfighting__hero-section {
  padding-top: var(--header-offset, 120px); /* Apply header offset to the hero section */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background-color: #1a1a2e; /* Dark background for hero */
  overflow: hidden;
  padding-bottom: 60px;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-cockfighting__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

/* General section styling */
.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-cockfighting__section-subtitle {
  font-size: 2em;
  color: #26A9E0;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

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

.page-cockfighting__text-block {
  font-size: 1.1em;
  color: #f0f0f0; /* Light text for dark background */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__list {
  list-style: disc inside;
  color: #f0f0f0;
  font-size: 1.1em;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b8; /* Darker shade on hover */
  border-color: #1e87b8;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0; /* Brand color */
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: none;
  padding: 10px 0;
  font-size: 1em;
}

.page-cockfighting__btn-link:hover {
  text-decoration: underline;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #f0f0f0;
}
.page-cockfighting__intro-section .page-cockfighting__section-title {
  color: #26A9E0;
}

/* Gameplay Section */
.page-cockfighting__gameplay-section {
  padding: 60px 0;
  background-color: #0d0d1e; /* Slightly darker background */
  color: #f0f0f0;
}

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

.page-cockfighting__step-card {
  background-color: #1a1a2e; /* Dark card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-cockfighting__step-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__step-image {
  width: 100%;
  max-width: 400px; /* Constrain image width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-cockfighting__step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for brand color background */
}

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

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent dark overlay */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 300px; /* Constrain icon width */
  height: auto;
  margin-bottom: 15px;
  min-height: 200px; /* Enforce min image size */
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  background-color: #0d0d1e;
  color: #f0f0f0;
}

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

.page-cockfighting__promo-card {
  background-color: #1a1a2e;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__promo-image {
  width: 100%;
  max-width: 400px; /* Constrain image width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-cockfighting__promo-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 60px 0;
  background-color: #1a1a2e;
  text-align: center;
  color: #f0f0f0;
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background */
  color: #f0f0f0;
}
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #26A9E0;
}

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

.page-cockfighting__faq-item {
  background-color: #0d0d1e; /* Slightly darker for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}