.page-cockfighting {
  color: #ffffff; /* Body background #121212 is dark, so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background from shared.css */
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background: #121212; /* Ensure dark background for this section */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cockfighting__description {
  font-size: 1.15rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b3;
  border-color: #1e87b3;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Section specific styles */
.page-cockfighting__about-section,
.page-cockfighting__betting-section,
.page-cockfighting__promo-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__feature-section,
.page-cockfighting__guide-section,
.page-cockfighting__safety-section {
  padding: 60px 0;
}

/* Color contrast adjustments for sections */
.page-cockfighting__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__list-item,
.page-cockfighting__light-bg .page-cockfighting__bet-card-title,
.page-cockfighting__light-bg .page-cockfighting__bet-card-text,
.page-cockfighting__light-bg .page-cockfighting__promo-card-title,
.page-cockfighting__light-bg .page-cockfighting__promo-card-text,
.page-cockfighting__light-bg .page-cockfighting__faq-qtext,
.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #333333;
}

.page-cockfighting__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast, but still dark */
  color: #FFFFFF;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__text-block,
.page-cockfighting__dark-bg .page-cockfighting__grid-title,
.page-cockfighting__dark-bg .page-cockfighting__list-item,
.page-cockfighting__dark-bg .page-cockfighting__step-title,
.page-cockfighting__dark-bg .page-cockfighting__step-text,
.page-cockfighting__dark-bg .page-cockfighting__feature-card-title,
.page-cockfighting__dark-bg .page-cockfighting__feature-card-text {
  color: #FFFFFF;
}

/* Grid for features/bet types */
.page-cockfighting__grid,
.page-cockfighting__bet-types-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__safety-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__grid-item,
.page-cockfighting__bet-card,
.page-cockfighting__promo-card,
.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for cards on dark sections */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px;
}

.page-cockfighting__light-bg .page-cockfighting__grid-item,
.page-cockfighting__light-bg .page-cockfighting__bet-card,
.page-cockfighting__light-bg .page-cockfighting__promo-card,
.page-cockfighting__light-bg .page-cockfighting__feature-card {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__grid-item:hover,
.page-cockfighting__bet-card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__grid-title,
.page-cockfighting__bet-card-title,
.page-cockfighting__promo-card-title,
.page-cockfighting__feature-card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-cockfighting__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Guide section steps */
.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  background-color: #26A9E0;
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__step-text {
  font-size: 1.05rem;
}

/* FAQ section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fdfdfd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  list-style: none;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-question {
  color: #FFFFFF;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-cockfighting__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-cockfighting__dark-bg .page-cockfighting__faq-answer {
  color: #cccccc;
}

/* Details element specific CSS for FAQ */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__main-title {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }
  .page-cockfighting__description {
    font-size: 1.05rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-cockfighting__about-section,
  .page-cockfighting__feature-section,
  .page-cockfighting__betting-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promo-section,
  .page-cockfighting__safety-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-content {
    padding: 0 15px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    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__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__image-content,
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px !important;
  }
  .page-cockfighting__grid,
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__safety-features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-cockfighting__grid-item,
  .page-cockfighting__bet-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__feature-card {
    padding: 20px;
  }
  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-cockfighting__step-item::before {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 15px 15px 15px;
  }
}