.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Overall page background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for first section, relying on body for header offset */
}

.page-cockfighting__hero-section {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-cockfighting__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Default to column for mobile/general */
  gap: 30px;
  align-items: center;
}

.page-cockfighting__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__hero-text-container {
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 700;
  color: #F3C54D; /* Gold for main title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 18px;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #F3C54D;
  border: 2px solid #F3C54D;
  box-shadow: 0 4px 15px rgba(243, 197, 77, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 197, 77, 0.4);
}

.page-cockfighting__section {
  padding: 50px 0;
  margin-bottom: 30px;
  background-color: #140C0C; /* Consistent background */
}

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

.page-cockfighting__section-title {
  font-size: clamp(24px, 3vw, 38px);
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 17px;
  color: #FFF1E8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__why-choose-us .page-cockfighting__feature-grid,
.page-cockfighting__game-types .page-cockfighting__type-grid,
.page-cockfighting__promotions .page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__promo-card {
  background-color: #2A1212; /* Card background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  color: #FFF1E8; /* Text color for cards */
}

.page-cockfighting__feature-image,
.page-cockfighting__type-image,
.page-cockfighting__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: 600;
  color: #F3C54D;
  padding: 20px 20px 10px;
  text-align: center;
}

.page-cockfighting__card-text {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px 20px;
  flex-grow: 1; /* Make text block take available space */
  text-align: justify;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
  margin: 0 20px 20px;
  width: auto; /* Override default 100% for card buttons */
  align-self: center;
}

.page-cockfighting__how-to-play .page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 70px; /* Space for step number */
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  background-color: #C61F1F; /* Deep Red for step number background */
  color: #FFF1E8;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.page-cockfighting__step-title {
  font-size: 20px;
  color: #F3C54D;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: #FFF1E8;
}

.page-cockfighting__tips-strategies .page-cockfighting__tip-list {
  list-style: none;
  padding: 0;
}

.page-cockfighting__tip-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-cockfighting__tip-title {
  font-size: 20px;
  color: #F3C54D;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__tip-text {
  font-size: 16px;
  color: #FFF1E8;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 0;
}

/* FAQ styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border color */
  overflow: hidden;
  background: #2A1212; /* Card background */
  color: #FFF1E8;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: rgba(106, 30, 30, 0.3); /* Slightly lighter hover for dark background */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold for FAQ question text */
}
.page-cockfighting__faq-toggle {
  font-size: 28px; /* Larger for better visibility on dark background */
  font-weight: bold;
  color: #FFF1E8; /* White for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 25px;
  background: #140C0C; /* Darker background for answer */
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #FFF1E8;
}
.page-cockfighting__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-cockfighting__hero-content-wrapper {
    flex-direction: row; /* Desktop: row layout */
    text-align: left;
    gap: 50px;
  }
  .page-cockfighting__hero-image-container,
  .page-cockfighting__hero-text-container {
    flex: 1;
  }
  .page-cockfighting__hero-text-container {
    text-align: left;
  }
  .page-cockfighting__description {
    margin-left: 0;
    margin-right: 0;
  }
  .page-cockfighting__cta-buttons {
    justify-content: flex-start;
  }
}

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

  .page-cockfighting__hero-section {
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-cockfighting__main-title {
    font-size: 28px;
  }

  .page-cockfighting__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    margin-top: 20px;
    padding: 0 15px; /* Add padding to container */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-cockfighting__section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-cockfighting__text-block {
    font-size: 15px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__type-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__type-image,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Allow height to adjust */
    min-height: 200px; /* Ensure minimum size */
  }

  .page-cockfighting__card-title {
    font-size: 20px;
    padding: 15px 15px 8px;
  }

  .page-cockfighting__card-text {
    font-size: 14px;
    padding: 0 15px 15px;
  }

  .page-cockfighting__promo-card .page-cockfighting__btn-primary {
    margin: 0 15px 15px;
    max-width: calc(100% - 30px) !important;
    width: calc(100% - 30px) !important;
  }

  .page-cockfighting__step-item {
    padding: 20px;
    padding-left: 60px;
  }

  .page-cockfighting__step-item::before {
    left: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-cockfighting__step-title,
  .page-cockfighting__tip-title {
    font-size: 18px;
  }

  .page-cockfighting__step-text,
  .page-cockfighting__tip-text {
    font-size: 15px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 16px; }
  .page-cockfighting__faq-toggle { font-size: 24px; width: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* Ensure all images and containers are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
 }}