.page-cockfighting {
  color: var(--text-main, #F2FFF6); /* Default text color for dark body background */
  background-color: var(--background, #08160F); /* Dark background */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10; /* Ensure content is above image but not overlaying */
  max-width: 900px;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -150px; /* Pull content slightly over image, but not on it */
  background-color: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
}

.page-cockfighting__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-cockfighting__btn--secondary {
  background: none;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-cockfighting__btn--secondary:hover {
  background-color: var(--border, #2E7A4E);
  color: #FFFFFF;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 40px;
  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: var(--gold, #F2C14E);
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__video-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--card-bg, #11271B);
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-cockfighting__card,
.page-cockfighting__feature-card,
.page-cockfighting__strategy-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-secondary, #A7D9B8);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-cockfighting__card-title,
.page-cockfighting__feature-title,
.page-cockfighting__strategy-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
  text-align: center;
}

.page-cockfighting__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
  flex-grow: 1;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow, #57E38D);
  font-weight: bold;
}

.page-cockfighting__cta-section--dark {
  background-color: var(--deep-green, #0A4B2C);
  padding: 80px 20px;
}

.page-cockfighting__cta-section--dark .page-cockfighting__section-title,
.page-cockfighting__cta-section--dark .page-cockfighting__text-block {
  color: #FFFFFF;
}

.page-cockfighting__cta-section--dark .page-cockfighting__section-title::after {
  background-color: #FFFFFF;
}

.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--glow, #57E38D);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting a {
  color: var(--glow, #57E38D);
  text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    margin-top: -50px;
    padding: 20px;
  }

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

  .page-cockfighting__description {
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-cockfighting__btn {
    width: 100% !important; /* Force full width on mobile */
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95em;
  }

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

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

  .page-cockfighting__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile video responsiveness */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__introduction-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__types-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__card,
  .page-cockfighting__feature-card,
  .page-cockfighting__strategy-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting__cta-buttons {
    display: flex;
    flex-direction: column; /* Mobile vertical stacking for buttons */
  }
}