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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header clearance */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer; /* Indicate clickable */
}

.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;
  margin: 0 auto;
  color: #ffffff;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-cockfighting__btn-primary {
  background-color: #CC0000; /* Main brand color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #CC0000;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFCC00; /* Auxiliary brand color */
  border: 2px solid #FFCC00;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFCC00;
  color: #0a0a0a; /* Dark text for contrast */
  transform: translateY(-2px);
}

.page-cockfighting__content-section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

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

.page-cockfighting__light-bg {
  background-color: #f8f9fa;
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__text-contrast-fix {
  color: #333333; /* For light background sections */
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  color: #FFCC00; /* Gold for titles */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
  color: #FFCC00;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #CC0000;
}

.page-cockfighting__paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__paragraph a {
  color: #FFCC00;
  text-decoration: underline;
}

.page-cockfighting__paragraph a:hover {
  color: #CC0000;
}

.page-cockfighting__image-text-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__game-types-grid,
.page-cockfighting__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__image-text-item,
.page-cockfighting__step-card,
.page-cockfighting__game-type-card,
.page-cockfighting__advantage-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Default to white for dark backgrounds */
}

.page-cockfighting__light-bg .page-cockfighting__step-card {
  background: #ffffff; /* White background for light section */
  color: #333333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__image-text-item:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__game-type-card:hover,
.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image,
.page-cockfighting__game-image,
.page-cockfighting__advantage-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

.page-cockfighting__image {
  min-height: 200px;
}

.page-cockfighting__game-image {
  min-height: 200px;
}

.page-cockfighting__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto; /* Center icons */
}

.page-cockfighting__item-title,
.page-cockfighting__step-title,
.page-cockfighting__game-title,
.page-cockfighting__advantage-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFCC00;
}

.page-cockfighting__light-bg .page-cockfighting__item-title,
.page-cockfighting__light-bg .page-cockfighting__step-title {
  color: #CC0000;
}

.page-cockfighting__item-description,
.page-cockfighting__step-description,
.page-cockfighting__game-description,
.page-cockfighting__advantage-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__item-description,
.page-cockfighting__light-bg .page-cockfighting__step-description,
.page-cockfighting__light-bg .page-cockfighting__game-description,
.page-cockfighting__light-bg .page-cockfighting__advantage-description {
  color: #333333;
}

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

.page-cockfighting__strategy-item {
  background: #ffffff;
  border-left: 5px solid #CC0000;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-cockfighting__strategy-item .page-cockfighting__item-title {
  color: #CC0000;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__strategy-item .page-cockfighting__item-description {
  color: #555555;
}

.page-cockfighting__strategy-item a {
  color: #CC0000;
  text-decoration: underline;
}

.page-cockfighting__strategy-item a:hover {
  color: #FFCC00;
}

.page-cockfighting__cta-section {
  background-color: #CC0000; /* Main brand color for CTA */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

.page-cockfighting__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFCC00;
}

.page-cockfighting__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question .page-cockfighting__item-title {
  margin: 0;
  font-size: 1.2em;
  color: #CC0000;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #CC0000;
  transition: transform 0.3s ease;
}

.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;
  color: #555555;
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

.page-cockfighting__faq-answer a {
  color: #CC0000;
  text-decoration: underline;
}

.page-cockfighting__faq-answer a:hover {
  color: #FFCC00;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
    min-height: 400px;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__paragraph {
    font-size: 0.95em;
  }

  .page-cockfighting__image-text-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__image-text-item,
  .page-cockfighting__step-card,
  .page-cockfighting__game-type-card,
  .page-cockfighting__advantage-card {
    padding: 20px;
  }

  .page-cockfighting__image,
  .page-cockfighting__game-image,
  .page-cockfighting__advantage-icon {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__item-title,
  .page-cockfighting__step-title,
  .page-cockfighting__game-title,
  .page-cockfighting__advantage-title {
    font-size: 1.3em;
  }

  .page-cockfighting__cta-section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__cta-description {
    font-size: 0.95em;
  }

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

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

  .page-cockfighting__faq-question .page-cockfighting__item-title {
    font-size: 1.1em;
  }

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

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

  /* Ensure all containers are responsive */
  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__image-text-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__game-types-grid,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__strategy-list,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__strategy-item {
    padding: 20px;
  }
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}