.page-cockfighting {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__hero-section {
  position: relative;
  text-align: center;
  padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
  background-color: #0A4B2C; /* Deep Green as a base */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.85); /* Semi-transparent background */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly with the image for visual flow */
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__subtitle {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-cockfighting__cta-button--small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-cockfighting__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); /* Responsive H2 */
  color: #57E38D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-cockfighting__introduction-section, 
.page-cockfighting__how-to-play-section, 
.page-cockfighting__why-choose-section, 
.page-cockfighting__tips-section, 
.page-cockfighting__responsible-gaming-section, 
.page-cockfighting__cta-section, 
.page-cockfighting__faq-section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-cockfighting__introduction-section:last-of-type, 
.page-cockfighting__faq-section {
  border-bottom: none;
}

.page-cockfighting__text-content {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #F2FFF6;
  text-align: justify;
}

.page-cockfighting__image-inline {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-cockfighting__step-card {
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-bg {
  background-color: #11271B;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #A7D9B8;
}

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

.page-cockfighting__feature-card {
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__feature-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: #A7D9B8;
}

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

.page-cockfighting__tips-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-cockfighting__tips-list {
  flex: 1 1 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__list-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #F2FFF6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-item strong {
  color: #F2C14E;
}

.page-cockfighting__responsible-gaming-section a {
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__responsible-gaming-section a:hover {
  text-decoration: underline;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  font-size: 1.2rem;
  color: #F2C14E;
  padding: 18px 25px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #0A4B2C; /* Deep Green */
  color: #A7D9B8;
}

.page-cockfighting__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px 25px 25px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

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

  .page-cockfighting__subtitle {
    font-size: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

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

  .page-cockfighting__tips-content {
    flex-direction: column;
  }

  .page-cockfighting__tips-image {
    width: 100%;
    min-width: 200px;
    min-height: 200px;
  }

  /* Enforce mobile image sizing */
  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -30px;
    padding: 20px 10px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer.active {
    padding: 10px 20px 20px 20px;
  }
}

/* Ensure content area images are never smaller than 200px */
.page-cockfighting__introduction-section img,
.page-cockfighting__how-to-play-section img,
.page-cockfighting__why-choose-section img,
.page-cockfighting__tips-section img {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow auto width to scale with max-width */
  height: auto; /* Allow auto height to scale with max-width */
}

@media (max-width: 768px) {
  .page-cockfighting__introduction-section img,
  .page-cockfighting__how-to-play-section img,
  .page-cockfighting__why-choose-section img,
  .page-cockfighting__tips-section img {
    max-width: 100%; /* Important for mobile responsiveness */
    height: auto; /* Important for mobile responsiveness */
    min-width: 200px;
    min-height: 200px;
  }
}