.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Inherited from body, ensure consistency */
}

.page-cockfighting__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

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

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  color: inherit;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-cockfighting__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e00a0a;
  border-color: #e00a0a;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  margin-left: 15px;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 20px;
  background-color: #017439;
  color: #ffffff;
  border: 1px solid #017439;
}

.page-cockfighting__btn-small:hover {
  background-color: #02944b;
  border-color: #02944b;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
}

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

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.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;
  filter: brightness(0.5); /* Darken video for text readability */
  cursor: pointer;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  background-color: #ffffff;
  color: #333333;
}

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

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

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-cockfighting__bet-type-card {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333333;
}

.page-cockfighting__bet-type-card .page-cockfighting__card-title {
  color: #017439;
}

/* Guide Section */
.page-cockfighting__guide-section {
  background-color: #ffffff;
  color: #333333;
}

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

.page-cockfighting__step-card {
  background-color: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__step-card .page-cockfighting__card-title {
  color: #C30808;
}

/* Strategy Section */
.page-cockfighting__strategy-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-cockfighting__strategy-item {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333333;
}

.page-cockfighting__strategy-item .page-cockfighting__card-title {
  color: #017439;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-cockfighting__promo-card .page-cockfighting__card-title {
  color: #C30808;
}

/* Tech & Security Section */
.page-cockfighting__tech-security-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-cockfighting__tech-item {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333333;
}

.page-cockfighting__tech-item .page-cockfighting__card-title {
  color: #017439;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #ffffff;
  color: #333333;
}

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

.page-cockfighting__faq-item {
  text-align: left;
  margin-bottom: 20px;
  padding: 0;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

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

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333333;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  color: #555555;
}

/* CTA Section */
.page-cockfighting__cta-section {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

/* Global Image/Video/Button Responsive Styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__video-wrapper,
.page-cockfighting__video-container,
.page-cockfighting__video-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-buttons,
.page-cockfighting__button-group,
.page-cockfighting__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    margin-left: 0;
    width: 100%;
    padding: 10px 15px;
  }

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

  .page-cockfighting__section-intro {
    font-size: 0.95em;
  }

  .page-cockfighting__content-area {
    padding: 30px 15px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__bet-type-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__strategy-grid,
  .page-cockfighting__promo-cards-grid,
  .page-cockfighting__tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__promo-image {
    height: 150px;
  }

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

  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }

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

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

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

  /* Force responsive for all images, videos, buttons */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting video,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-video-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: 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;
  }
}