.page-cockfighting {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy from body */
}
.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, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #08162B; /* Deep Navy */
}
.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  object-fit: cover;
}
.page-cockfighting__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}
.page-cockfighting__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}
.page-cockfighting__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: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}
.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6); /* Glow */
}
.page-cockfighting__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border color */
}
.page-cockfighting__btn-secondary:hover {
  background: #113B7A; /* Main color */
  border-color: #1D5FD1; /* Auxiliary color */
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.4); /* Glow */
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 25px;
  padding-top: 40px;
}
.page-cockfighting__section-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
}
.page-cockfighting__content-grid--reverse {
  grid-template-areas: "image text";
}
.page-cockfighting__content-grid--reverse .page-cockfighting__text-block { grid-area: text; }
.page-cockfighting__content-grid--reverse .page-cockfighting__image-block { grid-area: image; }
.page-cockfighting__text-block p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #F3F8FF; /* Text Main */
}
.page-cockfighting__text-block h3 {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}
.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-cockfighting__dark-section {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF; /* Text Main */
}
.page-cockfighting__light-bg {
  background-color: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}
.page-cockfighting__type-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}
.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}
.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  padding: 0 15px;
}
.page-cockfighting__card-text {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  padding: 0 15px;
}

.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
}
.page-cockfighting__guide-list li {
  margin-bottom: 25px;
  border-left: 4px solid #F2C14E; /* Gold */
  padding-left: 20px;
}
.page-cockfighting__guide-list li h3 {
  color: #F2C14E; /* Gold */
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.page-cockfighting__guide-list li p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
}
.page-cockfighting__guide-cta {
  margin-top: 20px;
  display: inline-block;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
}
.page-cockfighting__tips-list li {
  margin-bottom: 25px;
  border-left: 4px solid #1D5FD1; /* Auxiliary color */
  padding-left: 20px;
}
.page-cockfighting__tips-list li h3 {
  color: #1D5FD1; /* Auxiliary color */
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.page-cockfighting__tips-list li p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
}

.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}
.page-cockfighting__promo-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}
.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
}

/* FAQ styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* 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;
  color: #F3F8FF; /* Text Main */
}
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: #113B7A; /* Main color */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* 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: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
}
.page-cockfighting__faq-answer p {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 1023px) {
  /* This section is included for strict compliance with the example JSON, 
     even though it's typically for homepage hero. It will not affect this inner page 
     unless specific classes are added. */
  .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;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !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) {
  /* This section is included for strict compliance with the example JSON, 
     even though it's typically for homepage hero. It will not affect this inner page 
     unless specific classes are added. */
  .page-cockfighting__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-cockfighting__hero-brand,
  .page-cockfighting__hero-jackpot,
  .page-cockfighting__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial {
    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;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 20px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2rem;
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__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: 2rem;
    padding-top: 30px;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 30px;
  }
  .page-cockfighting__content-grid--reverse {
    grid-template-areas: none;
  }
  .page-cockfighting__content-grid--reverse .page-cockfighting__text-block, 
  .page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
    grid-area: auto;
  }
  .page-cockfighting__text-block p {
    font-size: 0.95rem;
  }
  .page-cockfighting__text-block h3 {
    font-size: 1.15rem;
  }
  
  .page-cockfighting__types-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 30px;
  }
  .page-cockfighting__card-image {
    height: 180px;
  }
  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__card-text {
    font-size: 0.9rem;
  }

  .page-cockfighting__guide-list li,
  .page-cockfighting__tips-list li {
    margin-bottom: 20px;
    padding-left: 15px;
  }
  .page-cockfighting__guide-list li h3,
  .page-cockfighting__tips-list li h3 {
    font-size: 1.1rem;
  }
  .page-cockfighting__guide-list li p,
  .page-cockfighting__tips-list li p {
    font-size: 0.95rem;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 1rem; }
  .page-cockfighting__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
  .page-cockfighting__faq-answer p { font-size: 0.95rem; }

  /* General image and container responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .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;
    overflow: hidden;
  }
  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__cta-buttons.page-cockfighting__cta-buttons--center {
    flex-direction: column;
  }
  .page-cockfighting p,
  .page-cockfighting li,
  .page-cockfighting a {
    font-size: 16px;
    line-height: 1.6;
  }
}