.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
}

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

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as per rule */
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Ensure image wrapper can scale */
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__hero-content {
  padding: 0 20px 40px;
  max-width: 800px; /* Constrain content width */
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-cockfighting__about-section,
.page-cockfighting__features-section,
.page-cockfighting__game-types-section,
.page-cockfighting__cta-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__about-section {
  background-color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin: 40px auto;
}

.page-cockfighting__text-content {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #1F2D3D;
  text-align: justify;
}

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

.page-cockfighting__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1F2D3D;
}

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

.page-cockfighting__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting__game-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2F6BFF;
  padding: 15px 20px 0;
}

.page-cockfighting__game-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1F2D3D;
  padding: 10px 20px 20px;
}

.page-cockfighting__cta-section {
  text-align: center;
  background: #2F6BFF;
  color: #FFFFFF;
  padding: 80px 0;
}

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

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

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

.page-cockfighting__cta-link {
  display: block;
  margin-top: 20px;
  color: #D6E2FF; /* Lighter blue for link */
  text-decoration: underline;
  font-size: 1rem;
}

.page-cockfighting__cta-link:hover {
  color: #FFFFFF;
}

.page-cockfighting__faq-section {
  background-color: #F4F7FB;
}

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

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

.page-cockfighting__faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F2D3D;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-cockfighting__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-cockfighting__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding: 10px 20px 20px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1F2D3D;
}

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

  .page-cockfighting__hero-content {
    padding: 0 15px 30px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__features-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__game-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__game-card {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__game-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__feature-description,
  .page-cockfighting__game-description {
    font-size: 0.9rem;
  }

  .page-cockfighting__cta-section .page-cockfighting__text-content {
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-button--large {
    padding: 15px 30px;
    font-size: 1rem;
  }

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

  .page-cockfighting__faq-answer.open {
    padding: 5px 15px 15px;
  }

  /* Mobile image overflow prevention */
  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
  .page-cockfighting__feature-image, .page-cockfighting__game-image {
    min-width: 200px;
    min-height: 150px; /* Adjust for smaller screens if needed, but keep above 200px if possible */
  }
  .page-cockfighting__game-image {
    height: 200px;
  }
}