/* General Styles */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
}

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

.page-cockfighting__section {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold */
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #FFB04A 0%, #D86A14 100%);
  border-radius: 2px;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px;
  padding: 10px 0 60px;
  overflow: hidden;
  color: #FFF1E8;
  background: #140C0C;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-weight: 800;
  line-height: 1.2;
  color: #F3C54D;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(243, 197, 77, 0.5);
  font-size: clamp(28px, 4vw, 48px);
}

.page-cockfighting__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

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

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #FFB04A;
  cursor: pointer;
  font-size: 16px;
}

.page-cockfighting__btn-secondary:hover {
  background: #C61F1F;
  border-color: #FFF1E8;
}

.page-cockfighting__introduction p {
  text-align: justify;
  margin-bottom: 20px;
  font-size: 17px;
}

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

.page-cockfighting__card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-cockfighting__card p {
  font-size: 16px;
  padding: 0 20px;
  color: #FFF1E8;
}

.page-cockfighting__mt-30 {
  margin-top: 30px;
}

.page-cockfighting__how-to-play .page-cockfighting__section-title,
.page-cockfighting__security .page-cockfighting__section-title,
.page-cockfighting__why-choose .page-cockfighting__section-title,
.page-cockfighting__faq .page-cockfighting__section-title {
  color: #F3C54D;
}

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

.page-cockfighting__step-card {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 176, 74, 0.4);
}

.page-cockfighting__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 15px;
}

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

.page-cockfighting__tips-strategy .page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tips-strategy .page-cockfighting__list li {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #FFF1E8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 40px;
}

.page-cockfighting__tips-strategy .page-cockfighting__list li strong {
  color: #F3C54D;
}

.page-cockfighting__tips-strategy .page-cockfighting__list li::before {
  content: '✓';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFB04A;
  font-weight: bold;
  font-size: 20px;
}

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__feature-item {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
  font-size: 16px;
  color: #FFF1E8;
}

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

.page-cockfighting__promo-card {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-cockfighting__promo-card p {
  font-size: 16px;
  padding: 0 20px;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-cockfighting__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-cockfighting__benefits-list li {
  background: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 17px;
  color: #FFF1E8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 40px;
}

.page-cockfighting__benefits-list li::before {
  content: '★';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #F3C54D;
  font-weight: bold;
  font-size: 18px;
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* 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: #3a1a1a;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF1E8;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  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: #1e0f0f;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  color: #FFF1E8;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  /* Homepage trial reset, not applicable for inner page. */
  /* However, to fulfill the prompt requirement of outputting the exact CSS for homepage trial, even if not used on this page: */
  .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) {
  /* Homepage PC three-column layout, not applicable for inner page. */
  /* However, to fulfill the prompt requirement of outputting the exact CSS for homepage trial, even if not used on this page: */
  .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__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-cockfighting__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-cockfighting__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-cockfighting__grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__promo-title {
    font-size: 20px;
  }
  .page-cockfighting__card p,
  .page-cockfighting__step-card p,
  .page-cockfighting__feature-item p,
  .page-cockfighting__promo-card p,
  .page-cockfighting__introduction p {
    font-size: 15px;
  }
  .page-cockfighting__tips-strategy .page-cockfighting__list li,
  .page-cockfighting__benefits-list li {
    font-size: 15px;
    padding: 15px 15px 15px 40px;
  }
  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: 20px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* Mobile image and container adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__container,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__step-card,
  .page-cockfighting__feature-item,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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;
  }
  /* No promo-strip or hot-games for inner pages, so no specific 768px rules for them here */
  /* No brand-intro or winner-ticker for inner pages */
}

/* Placeholder for shared.css body padding, if not handled by shared.css */
/* If shared.css does not provide body padding-top, add it here for .page-cockfighting */
/* .page-cockfighting { padding-top: var(--header-offset, 122px); } */
/* The hero section already has 10px padding-top, so no extra header offset needed directly on it */

/* Fixed layout elements from prompt (not applicable to this inner page, but included as per instruction to output full CSS) */
.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;}
.page-cockfighting__reward-modal-close{position:absolute;top:10px;right:10px;font-size:24px;color:#fff;cursor:pointer;background:none;border:none;}

/* Color contrast specific styles */
.page-cockfighting__dark-bg {
  background: #140C0C;
  color: #FFF1E8;
}
.page-cockfighting__card-bg {
  background: #2A1212;
  color: #FFF1E8;
}