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

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

.page-cockfighting__main-title,
.page-cockfighting__section-title,
.page-cockfighting__feature-title,
.page-cockfighting__list-title,
.page-cockfighting__advantage-title,
.page-cockfighting__faq-title,
.page-cockfighting__cta-title {
  color: #FF4500;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__main-title {
  font-size: 3.5em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-cockfighting__hero-description,
.page-cockfighting__section-description,
.page-cockfighting__feature-text,
.page-cockfighting__list-item p,
.page-cockfighting__advantage-text,
.page-cockfighting__faq-answer p,
.page-cockfighting__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 25px;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-cockfighting__btn-secondary {
  background-color: #1E90FF;
  color: #ffffff;
  border: 2px solid #1E90FF;
  margin-left: 20px;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #1a7ae6;
  border-color: #1a7ae6;
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 50px;
}

.page-cockfighting__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  color: #ffffff;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

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

.page-cockfighting__feature-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.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text for dark card background */
}

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

.page-cockfighting__feature-image,
.page-cockfighting__advantage-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title,
.page-cockfighting__advantage-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FF4500;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__list-item {
  background-color: rgba(30, 144, 255, 0.1);
  border-left: 5px solid #1E90FF;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 8px;
  text-align: left;
}

.page-cockfighting__list-title {
  font-size: 1.8em;
  color: #FF4500;
  margin-bottom: 10px;
  text-align: left;
}

.page-cockfighting__list-item p {
  text-align: left;
  color: #e0e0e0;
}

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

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

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  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.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: rgba(30, 144, 255, 0.15);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-title {
  margin: 0;
  font-size: 1.3em;
  color: #ffffff;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FF4500;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 25px;
}

.page-cockfighting__faq-answer p {
  text-align: left;
  color: #e0e0e0;
}

/* CTA Banner */
.page-cockfighting__cta-banner {
  background-color: #1a1a1a;
  padding: 60px 0;
  color: #ffffff;
}

.page-cockfighting__cta-banner .page-cockfighting__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__cta-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-cockfighting__cta-content .page-cockfighting__cta-title {
  text-align: left;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-cockfighting__cta-content .page-cockfighting__cta-description {
  text-align: left;
  margin-bottom: 30px;
}

.page-cockfighting__cta-image {
  flex-shrink: 0;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
  .page-cockfighting__cta-banner .page-cockfighting__container {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__cta-content {
    text-align: center;
  }
  .page-cockfighting__cta-content .page-cockfighting__cta-title {
    text-align: center;
  }
  .page-cockfighting__cta-content .page-cockfighting__cta-description {
    text-align: center;
  }
  .page-cockfighting__cta-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__main-title {
    font-size: 2.5em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__hero-description,
  .page-cockfighting__section-description,
  .page-cockfighting__feature-text,
  .page-cockfighting__list-item p,
  .page-cockfighting__advantage-text,
  .page-cockfighting__faq-answer p,
  .page-cockfighting__cta-description {
    font-size: 1em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    margin-left: 0;
    width: 100%;
    max-width: 100% !important;
    margin-bottom: 15px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__hero-section {
    padding: 60px 15px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__advantage-list {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__advantage-item,
  .page-cockfighting__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-cockfighting__feature-image,
  .page-cockfighting__advantage-icon {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__cta-banner .page-cockfighting__container,
  .page-cockfighting__about-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px 20px;
  }
}