.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main for dark background */
  line-height: 1.6;
  background-color: #B71C1C; /* Background from custom colors */
}

.page-cockfighting__main-title,
.page-cockfighting__intro-title,
.page-cockfighting__why-qh8-title,
.page-cockfighting__types-title,
.page-cockfighting__how-to-bet-title,
.page-cockfighting__promotions-title,
.page-cockfighting__tips-title,
.page-cockfighting__faq-title,
.page-cockfighting__final-cta-title {
  color: #FFF5E1;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__intro-title,
.page-cockfighting__why-qh8-title,
.page-cockfighting__types-title,
.page-cockfighting__how-to-bet-title,
.page-cockfighting__promotions-title,
.page-cockfighting__tips-title,
.page-cockfighting__faq-title,
.page-cockfighting__final-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-cockfighting__description,
.page-cockfighting__intro-text,
.page-cockfighting__why-qh8-item-text,
.page-cockfighting__types-card-text,
.page-cockfighting__step-text,
.page-cockfighting__promo-card-text,
.page-cockfighting__tip-item-text,
.page-cockfighting__faq-answer p,
.page-cockfighting__final-cta-description {
  font-size: 1.125rem;
  color: #FFF5E1;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__dark-section {
  background-color: #7A0E0E; /* Deep Red for contrast */
  color: #FFF5E1;
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 50px;
  gap: 30px;
  text-align: center;
  background-image: linear-gradient(180deg, #C91F17 0%, #7A0E0E 100%);
}

.page-cockfighting__hero-content {
  max-width: 900px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

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

.page-cockfighting__cta-buttons--center {
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #333333; /* Dark text for gold button */
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1;
  border: 2px solid #F2B544; /* Border color */
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #E53935; /* Auxiliary color */
}

.page-cockfighting__intro-section,
.page-cockfighting__why-qh8-section,
.page-cockfighting__types-section,
.page-cockfighting__how-to-bet-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__final-cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__intro-text {
  text-align: center;
}

.page-cockfighting__why-qh8-grid,
.page-cockfighting__types-grid,
.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.page-cockfighting__why-qh8-item,
.page-cockfighting__types-card,
.page-cockfighting__step-item,
.page-cockfighting__promo-card,
.page-cockfighting__tip-item,
.page-cockfighting__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border color */
  color: #FFF5E1;
}

.page-cockfighting__why-qh8-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__why-qh8-item-title,
.page-cockfighting__types-card-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-card-title,
.page-cockfighting__tip-item-title,
.page-cockfighting__faq-question .page-cockfighting__faq-qtext {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFF5E1;
}

.page-cockfighting__types-image,
.page-cockfighting__step-image,
.page-cockfighting__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__how-to-bet-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.page-cockfighting__step-item {
  counter-increment: step-counter;
  position: relative;
  padding-top: 50px;
}

.page-cockfighting__step-item::before {
  content: "Bước " counter(step-counter);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #333333;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 8px 20px;
  border-radius: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544;
}

.page-cockfighting__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.page-cockfighting__faq-list {
  margin-top: 3rem;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  padding: 0;
  background-color: #D32F2F;
  border: 1px solid #F2B544;
  border-radius: 10px;
  overflow: hidden;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: #C91F17;
  color: #FFF5E1;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: #E53935;
  border-bottom-color: #F2B544;
}

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

.page-cockfighting__faq-question .page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 20px;
  color: #FFD86A;
}

.page-cockfighting__faq-answer {
  padding: 20px 30px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #FFF5E1;
  text-align: left;
}

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

.page-cockfighting__final-cta-description {
  text-align: center;
}

/* --- Responsive Styles --- */

/* Tablet styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
    gap: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__why-qh8-section,
  .page-cockfighting__types-section,
  .page-cockfighting__how-to-bet-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__final-cta-section {
    padding: 40px 15px;
  }

  .page-cockfighting__description,
  .page-cockfighting__intro-text,
  .page-cockfighting__why-qh8-item-text,
  .page-cockfighting__types-card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__promo-card-text,
  .page-cockfighting__tip-item-text,
  .page-cockfighting__faq-answer p,
  .page-cockfighting__final-cta-description {
    font-size: 1rem;
  }

  .page-cockfighting__why-qh8-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__how-to-bet-steps,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-cockfighting__why-qh8-icon {
    width: 80px;
    height: 80px;
  }

  .page-cockfighting__types-image,
  .page-cockfighting__step-image,
  .page-cockfighting__promo-image {
    height: 200px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    flex-direction: column;
    padding: 10px 15px 30px !important;
    gap: 15px;
  }

  .page-cockfighting__hero-image {
    object-fit: contain !important; /* Mobile main image contain, not cover */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

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

  .page-cockfighting__intro-section,
  .page-cockfighting__why-qh8-section,
  .page-cockfighting__types-section,
  .page-cockfighting__how-to-bet-section,
  .page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__final-cta-section {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__description,
  .page-cockfighting__intro-text,
  .page-cockfighting__why-qh8-item-text,
  .page-cockfighting__types-card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__promo-card-text,
  .page-cockfighting__tip-item-text,
  .page-cockfighting__faq-answer p,
  .page-cockfighting__final-cta-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .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: 12px 15px;
    font-size: 1rem;
  }

  .page-cockfighting__why-qh8-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__how-to-bet-steps,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-cockfighting__why-qh8-item,
  .page-cockfighting__types-card,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__tip-item,
  .page-cockfighting__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__why-qh8-icon {
    width: 60px;
    height: 60px;
  }

  .page-cockfighting__types-image,
  .page-cockfighting__step-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}