.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#121212), so text should be light */
  background-color: #121212; /* Matches shared body background */
}

.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: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__section-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  overflow: hidden;
  min-height: 700px;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

.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 readability */
}

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

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

.page-cockfighting__btn-primary:hover {
  background-color: #005a2e;
  transform: translateY(-3px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

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

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

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

.page-cockfighting__learn-more-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 40px;
}

.page-cockfighting__rules-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for a section */
  color: #ffffff;
}

.page-cockfighting__rules-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-cockfighting__rule-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  flex: 1 1 45%;
  min-width: 300px;
  box-sizing: border-box;
}

.page-cockfighting__rule-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.page-cockfighting__rule-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-cockfighting__rule-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-cockfighting__rule-list li strong {
  color: #FFFF00; /* Highlight key terms */
}

.page-cockfighting__rule-note {
  font-style: italic;
  color: #cccccc;
  text-align: center;
}

.page-cockfighting__view-rules-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 40px;
}

.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-cockfighting__tip-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-cockfighting__tip-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
}

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

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

.page-cockfighting__tip-description {
  font-size: 1em;
  color: #cccccc;
}

.page-cockfighting__more-tips-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 60px;
}

.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-cockfighting__promo-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-10px);
  background: rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__promo-description {
  font-size: 1em;
  color: #cccccc;
}

.page-cockfighting__view-promos-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 60px;
}

.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

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

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

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

.page-cockfighting__faq-title {
  margin: 0;
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(0deg); /* Explicitly reset if using '−' */
}

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

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

.page-cockfighting__contact-support-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 60px;
}

.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__cta-content {
  max-width: 900px;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent; /* Ensure consistent border styling */
}

.page-cockfighting__cta-button[style*="background-color: #C30808"] {
  border-color: #C30808;
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
}

/* Responsive Styles */
@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;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 15px 40px;
    min-height: 500px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__section-text {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__tips-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-cockfighting__rule-card {
    flex: 1 1 100%;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__cta-button {
    width: 100%;
    max-width: 300px; /* Limit max width for column buttons */
    margin: 0 auto;
  }
  /* Mobile responsive for images, videos, and buttons */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video {
    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-image-wrapper,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow-x: hidden !important;
  }
  .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 {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

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