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

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

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
}

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

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 20px;
  margin-top: 30px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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: #1a7fb0;
  border-color: #1a7fb0;
}

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

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

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-cockfighting__text-link:hover {
  color: #EA7C07;
}

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

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-cockfighting__intro-section .page-cockfighting__section-title,
.page-cockfighting__promotions-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: #000000;
}

.page-cockfighting__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-cockfighting__intro-section .page-cockfighting__sub-title,
.page-cockfighting__promotions-section .page-cockfighting__sub-title,
.page-cockfighting__faq-section .page-cockfighting__sub-title {
  color: #333333;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.page-cockfighting__feature-list,
.page-cockfighting__step-list,
.page-cockfighting__deposit-methods,
.page-cockfighting__bet-types {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__feature-item,
.page-cockfighting__step-item,
.page-cockfighting__method-item,
.page-cockfighting__bet-item {
  background-color: rgba(255, 255, 255, 0.05); /* Light background for dark sections */
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
}

.page-cockfighting__intro-section .page-cockfighting__feature-item,
.page-cockfighting__promotions-section .page-cockfighting__method-item,
.page-cockfighting__faq-section .page-cockfighting__bet-item {
  background-color: #f9f9f9; /* Darker background for light sections */
  color: #333333;
}

.page-cockfighting__feature-item::before,
.page-cockfighting__step-item::before,
.page-cockfighting__method-item::before,
.page-cockfighting__bet-item::before {
  content: '✔️';
  margin-right: 10px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
}

.page-cockfighting__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  margin-right: 15px;
}

.page-cockfighting__step-list {
  counter-reset: step-counter;
}

.page-cockfighting__image-wrapper {
  margin: 30px auto;
  text-align: center;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

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

.page-cockfighting__faq-item {
  background-color: #f9f9f9;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-item[open] {
  background-color: #e0f2f7;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #26A9E0;
  color: #ffffff;
  border-bottom: 1px solid #26A9E0;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #ffffff;
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #333333;
}

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

.page-cockfighting__faq-image {
  margin-top: 50px;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__sub-title {
    font-size: 1.5rem;
  }
}

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

  .page-cockfighting__hero-content {
    margin-top: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-cockfighting__intro-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

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

  .page-cockfighting__sub-title {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__method-item,
  .page-cockfighting__bet-item,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    font-size: 1rem;
  }

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }

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

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0; /* No extra padding on video container for full width */
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-cockfighting__faq-item {
    margin: 0 15px 15px 15px;
  }

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

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