.page-cockfighting {
  color: #ffffff; /* Body background is dark, so text is light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on shared.css body background */
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #017439, #005a2d);
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem); /* Use clamp for H1 font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for prominence */
  line-height: 1.2;
}

.page-cockfighting__intro-text {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-cockfighting__section {
  padding: 60px 0;
  background-color: #1a1a2e; /* Dark background from body, ensuring contrast */
}

.page-cockfighting__dark-section {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FFFF00; /* Use prominent color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  text-align: center;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-cockfighting__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__text-block,
.page-cockfighting p,
.page-cockfighting li {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-cockfighting__text-block strong,
.page-cockfighting p strong,
.page-cockfighting li strong {
  color: #FFFF00;
}

.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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-cockfighting__ordered-list,
.page-cockfighting__unordered-list {
  margin-top: 20px;
  padding-left: 25px;
}

.page-cockfighting__ordered-list li,
.page-cockfighting__unordered-list li {
  margin-bottom: 10px;
  line-height: 1.8;
  color: #ffffff;
}

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

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-item summary {
  list-style: none;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #FFFF00;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #017439, #005a2d);
}

.page-cockfighting__cta-button {
  margin-top: 30px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-cockfighting__intro-text {
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 12px 20px !important;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__hero-content .page-cockfighting__btn-primary,
  .page-cockfighting__hero-content .page-cockfighting__btn-secondary {
    display: block;
  }
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-content {
    margin: 20px auto;
  }
  .page-cockfighting p,
  .page-cockfighting li {
    font-size: 0.95rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 20px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__container,
  .page-cockfighting__feature-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-cockfighting__cta .page-cockfighting__btn-primary,
  .page-cockfighting__cta .page-cockfighting__btn-secondary {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}