.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6;
  background-color: #0D0E12;
}

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

.page-cockfighting__center-content {
  text-align: center;
}

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent background for readability */
  border-radius: 8px;
  margin-top: -80px; /* Overlap slightly for design */
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF3E6;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #17191F;
  color: #FF8C1A;
  border: 2px solid #A84F0C;
}

.page-cockfighting__btn-secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFB04D;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-cockfighting__text-block a {
  color: #FFA53A;
  text-decoration: underline;
}

.page-cockfighting__introduction-section {
  padding-bottom: 60px;
  background-color: #0D0E12;
}

.page-cockfighting__why-choose-section {
  padding: 80px 0;
  background-color: #17191F;
}

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

.page-cockfighting__card {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #FFF3E6;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFB04D;
  margin-bottom: 10px;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
  flex-grow: 1;
}

.page-cockfighting__types-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-cockfighting__gameshow-item .page-cockfighting__card-image {
  height: 220px; /* Slightly taller for gameshows */
}

.page-cockfighting__guide-section {
  padding: 80px 0;
  background-color: #17191F;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px auto;
  max-width: 800px;
}

.page-cockfighting__guide-item {
  background: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-step-title {
  font-size: 1.6rem;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-cockfighting__guide-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
}

.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

.page-cockfighting__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-cockfighting__promotion-card .page-cockfighting__card-image {
  height: 200px;
}

.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #17191F;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-cockfighting__tip-item {
  background: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tip-title {
  font-size: 1.6rem;
  color: #FFA53A;
  margin-bottom: 10px;
}

.page-cockfighting__tip-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
}

.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #0D0E12;
}

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

.page-cockfighting__faq-item {
  background: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFB04D;
  cursor: pointer;
  list-style: none;
  user-select: none;
  position: relative;
}

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

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF3E6;
  border-top: 1px solid #A84F0C;
  margin-top: -1px; /* Overlap border */
}

.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: #17191F;
}

.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__conclusion-section .page-cockfighting__cta-buttons {
  margin-top: 40px;
}

/* Universal image responsive styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px !important;
    margin-top: -40px; /* Adjust overlap for mobile */
  }

  .page-cockfighting__main-title {
    font-size: 2rem !important;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem !important;
  }

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

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

  .page-cockfighting__section-title {
    font-size: 2rem !important;
    margin-bottom: 30px !important;
    padding-top: 40px !important;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem !important;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__gameshow-grid,
  .page-cockfighting__promotion-cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .page-cockfighting__card-image {
    height: 180px !important; /* Adjust image height for mobile cards */
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem !important;
  }

  .page-cockfighting__card-description {
    font-size: 0.9rem !important;
  }

  .page-cockfighting__guide-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__faq-item {
    padding: 20px !important;
  }

  .page-cockfighting__guide-step-title,
  .page-cockfighting__tip-title {
    font-size: 1.4rem !important;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1rem !important;
    padding: 15px 20px !important;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.5rem !important;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px !important;
    font-size: 0.9rem !important;
  }

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

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__features-grid,
  .page-cockfighting__gameshow-grid,
  .page-cockfighting__promotion-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

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