.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  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__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body background for contrast */
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a; /* Dark grey for sections that need to stand out from body */
  color: #ffffff;
}

.page-cockfighting__section-title,
.page-cockfighting__hero-title,
.page-cockfighting__feature-title,
.page-cockfighting__gameshow-title,
.page-cockfighting__guide-step-title,
.page-cockfighting__cta-title {
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  padding-top: 60px;
}

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

.page-cockfighting a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
  max-width: 50%;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  text-align: left;
}

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

.page-cockfighting__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

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

/* Buttons */
.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-align: center;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
  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);
}

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

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

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

.page-cockfighting__feature-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

.page-cockfighting__guide-item {
  background-color: #0d0d0d;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__guide-step-description {
  font-size: 1.1em;
  color: #cccccc;
}

.page-cockfighting__button-container {
  text-align: center;
  margin-top: 40px;
}

/* Gameshow Section */
.page-cockfighting__gameshow-section {
  padding: 60px 0;
}

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

.page-cockfighting__gameshow-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__gameshow-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__gameshow-title {
  font-size: 1.4em;
  color: #26A9E0;
  padding: 15px;
  margin: 0;
}

.page-cockfighting__gameshow-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting__gameshow-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__gameshow-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px 20px;
}

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

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

.page-cockfighting__faq-item {
  background-color: #0d0d0d;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

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

.page-cockfighting__faq-question:hover {
  background-color: #26A9E0;
}

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

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 20px;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #cccccc;
}

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

/* Global image responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* HERO Section */
  .page-cockfighting__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header if shared.css doesn't do it */
    padding-bottom: 40px;
    min-height: auto;
  }

  .page-cockfighting__hero-content {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
    text-align: center;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    text-align: center;
  }

  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .page-cockfighting__hero-image-wrapper {
    width: 100%;
    justify-content: center;
  }

  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Section Titles */
  .page-cockfighting__section-title,
  .page-cockfighting__cta-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-top: 30px;
  }

  /* Text Blocks */
  .page-cockfighting__text-block {
    font-size: 0.95em;
    text-align: left;
  }

  /* Features Section */
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item {
    padding: 20px;
  }

  .page-cockfighting__feature-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Guide Section */
  .page-cockfighting__guide-item {
    padding: 20px;
  }

  .page-cockfighting__guide-step-title {
    font-size: 1.4em;
  }

  /* Gameshow Section */
  .page-cockfighting__gameshow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__gameshow-image {
    height: 200px; /* Slightly smaller for mobile */
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* FAQ Section */
  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 15px;
  }

  /* CTA Section */
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Universal Image and Container Adaptations */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__feature-item,
  .page-cockfighting__guide-item,
  .page-cockfighting__gameshow-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button Specific Mobile Styles */
  .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;
  }
}

@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 60px 0;
  }

  .page-cockfighting__hero-title {
    font-size: 3em;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__gameshow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}