.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-cockfighting__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background: linear-gradient(135deg, #017439, #004d26);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
}

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

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

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
  transform: translateY(-2px);
}

.page-cockfighting__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  color: #ffffff;
}

.page-cockfighting__dark-bg {
  background-color: #017439;
  color: #ffffff;
  padding: 60px 0;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__sub-title {
  color: #ffffff;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background for video section */
  color: #ffffff;
  text-align: center;
}

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

.page-cockfighting__video-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer; /* Indicates clickable video */
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.page-cockfighting__btn-video-cta {
  margin-top: 30px;
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-cockfighting__btn-video-cta:hover {
  background-color: #a00606;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
  background-color: #222222;
}

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

.page-cockfighting__types-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-cockfighting__card-content {
  padding: 25px;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting__card-title a {
  color: #FFFF00; /* Highlighted link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__card-title a:hover {
  color: #f0f0f0;
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
}

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

.page-cockfighting__guide-section .page-cockfighting__sub-title {
  color: #FFFF00;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  padding: 60px 0;
  background-color: #222222;
}

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

.page-cockfighting__strategy-section .page-cockfighting__text-block {
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us {
  padding: 60px 0;
}

.page-cockfighting__why-choose-us .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__why-choose-us .page-cockfighting__text-block {
  color: #f0f0f0;
}

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

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

.page-cockfighting__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #017439; /* Brand color for question background */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #005f2f;
}

.page-cockfighting__faq-title {
  margin: 0;
  color: #ffffff;
}

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

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px !important;
}

.page-cockfighting__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #e0e0e0;
}

/* Call to Action Section */
.page-cockfighting__call-to-action {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #017439, #004d26);
  color: #ffffff;
}

.page-cockfighting__call-to-action .page-cockfighting__section-title {
  color: #ffffff;
  font-size: 2.8em;
}

.page-cockfighting__call-to-action .page-cockfighting__text-block {
  max-width: 900px;
  margin: 30px auto;
  font-size: 1.2em;
  color: #f0f0f0;
}

.page-cockfighting__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting__btn-large:hover {
  background-color: #a00606;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.6em;
  }
  .page-cockfighting__card-title {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    flex-direction: column;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-content {
    padding-right: 0;
    text-align: center;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
    box-sizing: border-box !important;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-video-cta,
  .page-cockfighting__btn-large,
  .page-cockfighting__btn-small,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-top: 40px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.4em;
  }
  .page-cockfighting__card-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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: hidden !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__call-to-action .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__call-to-action .page-cockfighting__text-block {
    font-size: 1em;
  }
  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px !important;
  }
}