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

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding as per rules */
  background-color: #F4F7FB; /* Match page background */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for image wrapper */
  margin-bottom: 30px;
}

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

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

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Example clamp for h1 */
}

.page-cockfighting__description {
  font-size: 1.1rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
}

.page-cockfighting__hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-cockfighting__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1rem;
}

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

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

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

.page-cockfighting__btn--secondary:hover {
  transform: translateY(-2px);
  background-color: #E6F0FF; /* Lighter main color for hover */
}

.page-cockfighting__btn--hero {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
}

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

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__cta-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-cockfighting__text-content {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

/* Features Grid */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__feature-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  min-height: 200px; /* Minimum image size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
}

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

/* How-to-play section */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__step-item {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid #2F6BFF; /* Main color */
}

.page-cockfighting__step-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #1F2D3D; /* Text Main */
}

.page-cockfighting__step-description a {
  color: #2F6BFF; /* Main color */
  text-decoration: none;
  font-weight: bold;
}

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

/* CTA Section */
.page-cockfighting__cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(to right, #2F6BFF, #6FA3FF); /* Blend of main and aux colors */
  color: #FFFFFF;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #FFFFFF;
  margin-top: 0;
}

.page-cockfighting__cta-section .page-cockfighting__text-content {
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* FAQ Section */
.page-cockfighting__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.page-cockfighting__faq-question {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-cockfighting__faq-answer {
  font-size: 0.95rem;
  color: #1F2D3D; /* Text Main */
  display: block; /* Default to visible for simplicity, JS can toggle */
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid #D6E2FF; /* Border color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-cockfighting__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-cockfighting__btn {
    width: 100%;
    max-width: 250px;
  }

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

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

  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
  }

  /* Image overflow prevention */
  .page-cockfighting__hero-image,
  .page-cockfighting__feature-image {
    max-width: 100%;
    height: auto;
  }
}