.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
}

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

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

.page-cockfighting__dark-section {
  background: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
}

.page-cockfighting__light-bg {
  background: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

.page-cockfighting__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(13, 14, 18, 0.7); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons adapt to container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6; /* Text Main */
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #FFB04D; /* Glow */
  border: 2px solid #A84F0C; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background: #A84F0C;
  color: #FFF3E6;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 30px;
}

.page-cockfighting__subsection-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__steps-list,
.page-cockfighting__tips-list,
.page-cockfighting__security-features,
.page-cockfighting__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__steps-list li,
.page-cockfighting__tips-list li,
.page-cockfighting__security-features li,
.page-cockfighting__advantage-list li {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 40px;
}

.page-cockfighting__steps-list li strong,
.page-cockfighting__tips-list li strong,
.page-cockfighting__security-features li strong,
.page-cockfighting__advantage-list li strong {
  color: #FFB04D; /* Glow */
  display: block;
  margin-bottom: 5px;
}

.page-cockfighting__steps-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 15px;
  top: 20px;
  background: #D96800; /* Deep Orange */
  color: #FFF3E6;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.page-cockfighting__promo-card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__promo-card p {
  font-size: 0.95rem;
  color: #FFF3E6;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

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

.page-cockfighting__btn-full-width {
  width: 100%;
  margin-top: 30px;
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
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: rgba(168, 79, 12, 0.2); /* Hover effect using Border color */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Text Main */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  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: rgba(23, 25, 31, 0.8); /* Slightly darker Card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}

/* General Image Responsiveness */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__hero-section {
    padding-bottom: 30px;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
  }

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

  .page-cockfighting__intro-text {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__subsection-title {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-cockfighting__steps-list li,
  .page-cockfighting__tips-list li,
  .page-cockfighting__security-features li,
  .page-cockfighting__advantage-list li {
    padding: 15px 15px 15px 40px;
    font-size: 0.95rem;
  }

  .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__promo-card p {
    font-size: 0.9rem;
  }

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

  /* Image container responsiveness */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

/* The following media queries are from the template for homepage elements, strictly included as per instructions */
@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;max-width:none !important;width:100%;margin:0;padding:0;}
  .page-cockfighting__game-trial-shell{display:flex;flex-direction:column;height:100%;max-height:300px;box-sizing:border-box;}
  .page-cockfighting__game-trial-viewport{flex:1;min-height:0;position:relative;width:100%;}
  .page-cockfighting__game-trial-frame{display:block;width:100%;height:100%;min-height:0;border:none;}
  .page-cockfighting__hero-jackpot-claim{background:#c62828!important;color:#fff!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;background:rgba(0,0,0,0.7);display:flex;align-items:center;justify-content:center;}
.page-cockfighting__reward-modal[hidden] { display: none !important; }
.page-cockfighting__reward-modal-content { background: #17191F; padding: 30px; border-radius: 10px; text-align: center; max-width: 400px; position: relative; border: 1px solid #A84F0C; }
.page-cockfighting__reward-modal-close { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 24px; color: #FFA53A; cursor: pointer; }
.page-cockfighting__reward-modal-close:hover { color: #FFB04D; }
.page-cockfighting__reward-modal h3 { color: #FFB04D; font-size: 1.8rem; margin-bottom: 15px; }
.page-cockfighting__reward-modal p { color: #FFF3E6; margin-bottom: 25px; }
.page-cockfighting__reward-modal .page-cockfighting__btn-primary { width: auto; padding: 10px 25px; }