.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

.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;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  text-align: center;
  padding: 100px 20px 60px; /* Adjust padding-top for header offset */
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  color: #ffffff;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

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

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

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

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

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

.page-cockfighting__dark-bg {
  background-color: #1A237E;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__section-description {
  color: #666666;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #FFC107;
  color: #1A237E;
  border: 2px solid #FFC107;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFC107;
  color: #1A237E;
}

.page-cockfighting__btn-link {
  display: inline-block;
  color: #FFC107;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-link:hover {
  color: #e0a800;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 20px;
  text-align: center;
}

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

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

.page-cockfighting__video-cta {
  margin-top: 20px;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 80px 20px;
}

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

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

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__feature-icon {
  width: 250px;
  height: 167px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 80px 20px;
}

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

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFC107;
  color: #1A237E;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  color: #FFC107;
  margin-bottom: 15px;
}

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

.page-cockfighting__guide-cta {
  margin-top: 50px;
  text-align: center;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 20px;
}

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

.page-cockfighting__type-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__type-title {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-cockfighting__type-text {
  font-size: 1em;
  color: #666666;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 20px;
}

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

.page-cockfighting__tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__tip-title {
  font-size: 1.6em;
  color: #FFC107;
  margin-bottom: 15px;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 20px;
}

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

.page-cockfighting__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promo-title {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-cockfighting__promo-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-cockfighting__promotions-cta {
  margin-top: 50px;
  text-align: center;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 20px;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1A237E;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1em; /* Ensure h3 inside is not too large */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 80px 20px;
  text-align: center;
}

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

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 15px 40px;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.9em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__types-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 0.9em;
  }
}