.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.page-cockfighting__hero-content {
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-cockfighting__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-cockfighting__section-title--dark {
  color: #333333;
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__paragraph--dark {
  color: #333333;
}

.page-cockfighting__dark-bg {
  background-color: #2a2a2a; /* Slightly lighter dark background for sections */
  padding: 80px 0;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #f8f8f8;
  padding: 80px 0;
  color: #333333;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-cockfighting__btn-small:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-cockfighting__btn-primary--large,
.page-cockfighting__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.1em;
}

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #ffffff;
}

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

.page-cockfighting__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Video Section */
.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-cockfighting__video-caption {
  text-align: center;
  font-style: italic;
  margin-top: 10px;
  color: #333333;
}

/* Types Section Grid */
.page-cockfighting__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #333333;
  text-align: center;
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  margin: 20px 15px 10px 15px;
  color: #26A9E0;
}

.page-cockfighting__card-text {
  padding: 0 15px 20px 15px;
  font-size: 1em;
  color: #555555;
}

/* Betting Guide Section */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}

.page-cockfighting__content-left,
.page-cockfighting__content-right {
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #333333;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__sub-title--dark {
  color: #26A9E0;
}

.page-cockfighting__list,
.page-cockfighting__ordered-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

.page-cockfighting__list--dark .page-cockfighting__list-item,
.page-cockfighting__ordered-list--dark .page-cockfighting__list-item {
  color: #333333;
}

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

.page-cockfighting__image-right {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Security Section */
.page-cockfighting__grid--three-col {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-cockfighting__card--transparent {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #ffffff;
  padding: 30px;
}

.page-cockfighting__card--transparent .page-cockfighting__card-title {
  color: #ffffff;
}

.page-cockfighting__card--transparent .page-cockfighting__card-text {
  color: #f0f0f0;
}

.page-cockfighting__card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__promo-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: #333333;
  display: flex;
  flex-direction: column;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-cockfighting__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__promo-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: left;
}

/* Register Download Section */
.page-cockfighting__register-download-section {
  text-align: center;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-title {
  font-size: 1.2em;
  color: #26A9E0;
  margin: 0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Final CTA Section */
.page-cockfighting__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

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

  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-primary--large,
  .page-cockfighting__btn-secondary--large,
  .page-cockfighting__btn-small,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    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__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;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure buttons stack vertically on mobile */
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__paragraph {
    font-size: 0.95em;
  }

  .page-cockfighting__dark-bg,
  .page-cockfighting__light-bg {
    padding: 60px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__grid,
  .page-cockfighting__grid--three-col,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 200px; /* Adjust image height for smaller screens */
  }

  .page-cockfighting__card-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__content-left,
  .page-cockfighting__content-right {
    padding: 15px;
  }

  .page-cockfighting__promo-card {
    flex-direction: column;
  }

  .page-cockfighting__promo-content {
    padding: 15px;
  }

  .page-cockfighting__faq-question {
    padding: 15px;
  }

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

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

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
  }

  .page-cockfighting__hero-section {
    height: 400px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-cockfighting__hero-buttons {
    flex-direction: column;
  }
}