.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared, but for context */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered */
  background-color: #0A2463;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  z-index: 1;
  max-width: 900px;
}

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

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

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

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

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

/* Section Backgrounds */
.page-cockfighting__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a; /* Dark background for light text */
  color: #ffffff;
}

/* About Section */
.page-cockfighting__about-section .page-cockfighting__section-title,
.page-cockfighting__how-to-play-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: #FFD700;
}

/* Features Section */
.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-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

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

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

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

/* How to Play Section */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  color: #ffffff;
}

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

.page-cockfighting__step-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

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

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

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

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

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  max-width: 100%;
  min-width: 200px;
  min-height: 200px;
}

/* Promotions Section */
.page-cockfighting__promotions-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__promotion-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
  color: #ffffff;
}

.page-cockfighting__promotion-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__promotion-description {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

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

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

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

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

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

.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;
  background-color: rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

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

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

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

.page-cockfighting__cta-final-section .page-cockfighting__btn-primary,
.page-cockfighting__cta-final-section .page-cockfighting__btn-secondary {
  margin: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__feature-title {
    font-size: 1.3em;
  }
  .page-cockfighting__step-title,
  .page-cockfighting__promotion-title,
  .page-cockfighting__faq-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__hero-content,
  .page-cockfighting__features-grid,
  .page-cockfighting__steps-list,
  .page-cockfighting__promotions-list,
  .page-cockfighting__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__step-item,
  .page-cockfighting__promotion-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }
  .page-cockfighting__feature-image {
    height: auto;
  }

  /* Image responsiveness for all images within .page-cockfighting */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video responsiveness for all videos within .page-cockfighting */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__feature-title {
    font-size: 1.2em;
  }
  .page-cockfighting__step-title,
  .page-cockfighting__promotion-title,
  .page-cockfighting__faq-title {
    font-size: 1.3em;
  }
}