:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --background-color-main: #08160F; /* Custom Background */
  --card-bg: #11271B; /* Custom Card BG */
  --text-main-custom: #F2FFF6; /* Custom Text Main */
  --text-secondary-custom: #A7D9B8; /* Custom Text Secondary */
  --border-color-custom: #2E7A4E; /* Custom Border */
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;

  /* Default text color for light backgrounds to ensure contrast */
  --text-on-light: #333333;
  /* Default background for light sections */
  --background-light-section: #f2fff6; /* Using Text Main as a light background for contrast sections */
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main-custom); /* Default text color for dark body background */
  background-color: var(--background-color-main); /* Set main background for page content */
}

/* 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: 10px; /* Small top padding as body handles header offset */
  background-color: var(--background-color-main);
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 5vw, 3.2em); /* Clamp for H1 */
  font-weight: 700;
  color: var(--text-main-custom);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-description {
  font-size: clamp(1em, 2vw, 1.3em);
  color: var(--text-secondary-custom);
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cockfighting__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main-custom);
  position: relative;
  padding-bottom: 10px;
}

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

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

.page-cockfighting__text-main {
  color: var(--text-main-custom);
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-secondary {
  color: var(--text-secondary-custom);
  font-size: 0.95em;
  line-height: 1.7;
}

.page-cockfighting__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-cockfighting__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Background Color Handling */
.page-cockfighting__dark-bg {
  background-color: var(--background-color-main);
  color: var(--text-main-custom);
}

.page-cockfighting__light-bg {
  background-color: var(--background-light-section);
  color: var(--text-on-light);
}
.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__card-title {
  color: var(--text-on-light);
}
.page-cockfighting__light-bg .page-cockfighting__text-main,
.page-cockfighting__light-bg .page-cockfighting__text-secondary {
  color: var(--text-on-light);
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-cockfighting__image-row {
  display: flex;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.page-cockfighting__image-row img {
  width: calc(50% - 10px);
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.page-cockfighting__features-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-custom);
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Types Section */
.page-cockfighting__types-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__type-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color-custom);
}

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

.page-cockfighting__type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__type-card .page-cockfighting__card-title {
  padding: 20px 20px 0;
  font-size: 1.4em;
}

.page-cockfighting__type-card .page-cockfighting__text-secondary {
  padding: 0 20px 20px;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__guide-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color-custom);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.page-cockfighting__guide-list li:hover {
  transform: translateY(-3px);
}

.page-cockfighting__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__strategy-list li {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color-custom);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.page-cockfighting__strategy-list li:hover {
  transform: translateY(-3px);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color-custom);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-custom);
  font-weight: 600;
  font-size: 1.1em;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(var(--primary-color), 0.1); /* Lighter hover for dark background */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: var(--background-color-main); /* Slightly different background for answer */
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary-custom);
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--deep-green);
  border-top: 5px solid var(--primary-color);
  border-bottom: 5px solid var(--primary-color);
  margin-top: 60px;
}

.page-cockfighting__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image img {
    border-radius: 6px;
  }
  .page-cockfighting__image-row img {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9em, 3vw, 1.1em);
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__container {
    padding: 30px 15px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 25px;
  }
  .page-cockfighting__section-title::after {
    width: 60px;
  }
  .page-cockfighting__text-main {
    font-size: 1em;
  }
  .page-cockfighting__text-secondary {
    font-size: 0.9em;
  }

  .page-cockfighting__image-row {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__image-row img {
    width: 100%;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__guide-list li,
  .page-cockfighting__strategy-list li {
    padding: 20px;
    border-radius: 8px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3em;
  }

  .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;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* Images responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
}