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

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

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__hero-content {
  padding: 30px 15px 50px;
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 2;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.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: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-cockfighting__btn-primary:hover {
  background: #1e87b3;
  border-color: #1e87b3;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87b3;
  border-color: #1e87b3;
  transform: translateY(-2px);
}

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

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__types-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

.page-cockfighting__features-section,
.page-cockfighting__cta-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-cockfighting__features-section .page-cockfighting__section-title,
.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #ffffff;
}

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

.page-cockfighting__feature-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-icon {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 600;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-cockfighting__guide-item p {
  font-size: 1rem;
  color: #444444;
}

.page-cockfighting__guide-cta {
  text-align: center;
  margin-top: 40px;
}

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

.page-cockfighting__type-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e0e0;
}

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

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

.page-cockfighting__type-description {
  font-size: 1rem;
  color: #555555;
}

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

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  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: #f5f5f5;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure contrast */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #444444; /* Ensure contrast */
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* No homepage trial specific rules for inner page */
  /* General rules for smaller screens (tablet landscape) */
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (min-width: 1024px) {
  /* No homepage trial specific rules for inner page */
  /* General rules for desktop */
  .page-cockfighting__hero-section {
    padding-bottom: 80px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-content {
    padding: 20px 10px 30px;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
    margin-bottom: 10px;
  }
  .page-cockfighting__container {
    padding: 0 10px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__type-card {
    padding: 20px;
  }
  .page-cockfighting__feature-icon {
    width: 150px;
    height: auto;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__type-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__guide-item {
    padding: 20px;
  }
  .page-cockfighting__guide-step-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  .page-cockfighting__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* Global image and container adaptation for mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__cta-section,
  .page-cockfighting__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* The following CSS is included as per the strict instruction in the prompt's return format example, 
   even though it pertains to homepage game trial layout and this is an inner page. 
   These rules will not affect this inner page as the elements are not present. */
@media (max-width:1023px){.page-cockfighting__home-hero{display:block!important;grid-template-columns:none!important;height:auto!important;max-height:none!important;overflow-x:hidden;box-sizing:border-box;}.page-cockfighting__hero-brand,.page-cockfighting__hero-jackpot{display:none!important;}.page-cockfighting__game-trial{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;overflow:hidden!important;padding:0 0 12px!important;box-sizing:border-box;}.page-cockfighting__game-trial-shell{height:auto!important;max-height:none!important;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box;}.page-cockfighting__game-trial-topbar,.page-cockfighting__game-trial-bottombar{display:none!important;}.page-cockfighting__game-trial-viewport{position:relative;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-cockfighting__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;max-width:100%;border:none;z-index:1;overflow:hidden;}.page-cockfighting__game-trial-overlay{z-index:5!important;pointer-events:auto!important;}.page-cockfighting__game-trial-start{z-index:6!important;pointer-events:auto!important;touch-action:manipulation;}}
@media (min-width:1024px){.page-cockfighting__home-hero{display:grid;grid-template-columns:26% 48% 26%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-cockfighting__hero-brand,.page-cockfighting__hero-jackpot,.page-cockfighting__game-trial{height:300px;max-height:300px;}.page-cockfighting__game-trial{overflow:hidden;}.page-cockfighting__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-cockfighting__game-trial-viewport{flex:1;min-height:0;}.page-cockfighting__game-trial-frame{height:100%;min-height:0;}.page-cockfighting__hero-jackpot-claim{background:#c62828!important;}.page-cockfighting__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-cockfighting__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-cockfighting__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.page-cockfighting__game-trial-overlay{z-index:5;pointer-events:auto;}.page-cockfighting__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-cockfighting__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-cockfighting__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-cockfighting__reward-modal{position:fixed;inset:0;z-index:10000;}