.page-cockfighting {
  color: #ffffff; /* Body background is dark, so text is light */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.5); /* Darken image for text readability */
  min-height: 400px; /* Ensure hero image has enough height */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto;
}

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

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

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

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

.page-cockfighting__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-cockfighting__introduction-section,
.page-cockfighting__why-choose-haybet,
.page-cockfighting__game-types,
.page-cockfighting__how-to-join,
.page-cockfighting__betting-tips,
.page-cockfighting__promotions,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 20px;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

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

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-cockfighting__feature-image,
.page-cockfighting__types-image,
.page-cockfighting__process-image,
.page-cockfighting__promotion-banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-list,
.page-cockfighting__type-list,
.page-cockfighting__process-list,
.page-cockfighting__tips-list,
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__feature-item,
.page-cockfighting__type-item,
.page-cockfighting__process-item,
.page-cockfighting__tips-item,
.page-cockfighting__promo-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for dark sections */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: inherit;
}

.page-cockfighting__light-bg .page-cockfighting__feature-item,
.page-cockfighting__light-bg .page-cockfighting__type-item,
.page-cockfighting__light-bg .page-cockfighting__process-item,
.page-cockfighting__light-bg .page-cockfighting__tips-item,
.page-cockfighting__light-bg .page-cockfighting__promo-item {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__feature-heading,
.page-cockfighting__type-heading,
.page-cockfighting__process-heading,
.page-cockfighting__tips-heading,
.page-cockfighting__promo-heading {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #EA7C07; /* Highlight with accent color */
}

.page-cockfighting__feature-text,
.page-cockfighting__type-description,
.page-cockfighting__process-text,
.page-cockfighting__tips-text,
.page-cockfighting__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: inherit;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for dark sections */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: inherit;
}

.page-cockfighting__light-bg .page-cockfighting__faq-item {
  background-color: #f8f8f8;
  color: #333333;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* For dark sections */
  color: inherit;
}

.page-cockfighting__light-bg .page-cockfighting__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid transparent;
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  margin-right: 10px;
  color: inherit;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  color: #EA7C07;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 0 20px 15px;
  font-size: 0.95em;
  line-height: 1.6;
  color: inherit;
}

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

/* Details element specific styling */
.page-cockfighting__faq-item summary {
  list-style: none;
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    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__introduction-section,
  .page-cockfighting__why-choose-haybet,
  .page-cockfighting__game-types,
  .page-cockfighting__how-to-join,
  .page-cockfighting__betting-tips,
  .page-cockfighting__promotions,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 15px;
  }

  .page-cockfighting__container,
  .page-cockfighting__video-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-cockfighting__feature-list,
  .page-cockfighting__type-list,
  .page-cockfighting__process-list,
  .page-cockfighting__tips-list,
  .page-cockfighting__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__type-item,
  .page-cockfighting__process-item,
  .page-cockfighting__tips-item,
  .page-cockfighting__promo-item {
    padding: 20px;
  }

  .page-cockfighting__feature-heading,
  .page-cockfighting__type-heading,
  .page-cockfighting__process-heading,
  .page-cockfighting__tips-heading,
  .page-cockfighting__promo-heading {
    font-size: 1.2em;
  }

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

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

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

  .page-cockfighting video,
  .page-cockfighting__video-player {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}

@media (min-width: 769px) {
  .page-cockfighting__hero-section {
    min-height: 500px;
  }

  .page-cockfighting__hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .page-cockfighting__video-wrapper {
    width: 100%; /* Ensure desktop width is 100% within container */
  }
}