.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height for hero */
  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: 1;
}

.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: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF; /* Ensure high contrast */
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-cockfighting__hero-cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-cockfighting__intro-section,
.page-cockfighting__how-to-join-section,
.page-cockfighting__types-section,
.page-cockfighting__strategies-section,
.page-cockfighting__safety-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-banner {
  padding: 80px 0;
}

.page-cockfighting__dark-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-cockfighting__highlight-text {
  color: #EA7C07; /* Login color for highlighting */
  font-weight: bold;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-link:hover {
  text-decoration: underline;
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__intro-button,
.page-cockfighting__join-button,
.page-cockfighting__safety-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 15px 40px;
  font-size: 1.2em;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}

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

.page-cockfighting__step-card {
  background-color: #0a0a0a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

.page-cockfighting__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-cockfighting__card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  padding: 20px 20px 10px;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px 20px;
  color: #e0e0e0;
}

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

.page-cockfighting__feature-item {
  background-color: #0a0a0a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__feature-item:hover {
  background-color: #1a1a1a;
}

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

.page-cockfighting__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Safety Section */
.page-cockfighting__safety-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-cockfighting__safety-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-cockfighting__safety-heading {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__safety-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

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

.page-cockfighting__faq-item {
  background-color: #0a0a0a;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em;
}

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

.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;
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px;
}

/* CTA Banner */
.page-cockfighting__cta-banner {
  background: linear-gradient(135deg, #26A9E0, #1e87bb);
  text-align: center;
  padding: 100px 20px;
  border-radius: 12px;
  margin: 60px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-cockfighting__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-cockfighting__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-cockfighting__cta-button {
  padding: 18px 45px;
  border-radius: 10px;
  font-size: 1.3em;
  text-decoration: none;
  font-weight: bold;
  background-color: #EA7C07; /* Login color for strong CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-cockfighting__cta-button:hover {
  background-color: #d16e00;
  transform: translateY(-3px);
  border-color: #d16e00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    height: auto;
    min-height: 600px;
    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-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__hero-cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__how-to-join-section,
  .page-cockfighting__types-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner {
    padding: 50px 0;
  }

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

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

  .page-cockfighting__section-description,
  .page-cockfighting__text-block,
  .page-cockfighting__step-text,
  .page-cockfighting__card-text,
  .page-cockfighting__feature-text,
  .page-cockfighting__safety-text,
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }

  .page-cockfighting__step-card,
  .page-cockfighting__card,
  .page-cockfighting__feature-item,
  .page-cockfighting__safety-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }

  .page-cockfighting__step-image,
  .page-cockfighting__card-image {
    height: 200px;
  }

  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting__cta-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  /* Mobile image responsiveness */
  .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__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__how-to-join-section,
  .page-cockfighting__types-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner,
  .page-cockfighting__hero-cta-group,
  .page-cockfighting__steps-grid,
  .page-cockfighting__cards-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__safety-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Mobile button responsiveness */
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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;
    overflow-x: hidden !important;
  }
  .page-cockfighting__hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.6em;
  }
  .page-cockfighting__hero-cta-button {
    max-width: 90%;
  }
}