/* 页面基础样式 */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text on light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly setting for clarity based on body background */
}

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

.page-cockfighting__section {
  padding: 40px 0;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  text-align: center;
  background-color: #f5f8fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

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

.page-cockfighting__hero-description {
  font-size: 1.15em;
  color: #555555;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Limit hero image width for better presentation */
  margin: 0 auto;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 1em;
  margin-bottom: 15px;
  text-align: justify;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-cockfighting__list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-cockfighting__icon {
  margin-right: 10px;
  color: #26A9E0;
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-cockfighting__icon--check::before {
  content: '✓';
}

.page-cockfighting__icon--security::before {
  content: '🔒';
}

.page-cockfighting__icon--odds::before {
  content: '📊';
}

.page-cockfighting__icon--promo::before {
  content: '🎁';
}

.page-cockfighting__icon--transaction::before {
  content: '⚡';
}

.page-cockfighting__icon--support::before {
  content: '📞';
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure button adapts to container */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-cockfighting__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title,
.page-cockfighting__dark-bg .page-cockfighting__type-title {
  color: #ffffff;
}

.page-cockfighting__type-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__type-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__type-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-cockfighting__type-image {
  flex-shrink: 0;
  width: 40%; /* Adjust as needed */
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__numbered-list {
  list-style: none;
  counter-reset: guide-step;
  padding: 0;
}

.page-cockfighting__numbered-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  position: relative;
  padding-left: 45px;
}

.page-cockfighting__numbered-list li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
}

.page-cockfighting__list-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-cockfighting__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
}

.page-cockfighting__benefit-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-cockfighting__benefit-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__benefit-item .page-cockfighting__icon {
  font-size: 3em;
  margin-bottom: 15px;
  color: #26A9E0;
  display: block;
  text-align: center;
}

.page-cockfighting__benefit-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__faq-section {
  background-color: #f9f9f9;
}

/* FAQ styles (details version) */
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;
}
.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: #555555;
}

.page-cockfighting__conclusion {
  text-align: center;
  padding: 60px 0;
}

.page-cockfighting__conclusion .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__conclusion .page-cockfighting__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-cockfighting__copyright-info {
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
  color: #777777;
  background-color: #f0f0f0;
  margin-top: 40px;
}

/* Universal image and button responsive rules */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__section,
.page-cockfighting__card,
.page-cockfighting__container,
.page-cockfighting__type-card,
.page-cockfighting__benefit-item,
.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__cta-button,
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-buttons,
.page-cockfighting__button-group,
.page-cockfighting__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile responsive styles */
@media (max-width: 1023px) {
  /* This block is for homepage trial, forced by the prompt, not semantically for 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;
    margin: 0 auto;
    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 block is for homepage trial, forced by the prompt, not semantically for this page */
  .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 {
    font-size: 15px;
  }

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

  .page-cockfighting__main-title {
    font-size: 2em; /* Adjusted for mobile */
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-cockfighting__type-content {
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting__type-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .page-cockfighting__numbered-list li {
    padding-left: 35px;
  }

  .page-cockfighting__numbered-list li::before {
    width: 25px;
    height: 25px;
    font-size: 1em;
  }

  .page-cockfighting__list-title {
    font-size: 1.2em;
  }

  .page-cockfighting__benefits-list {
    grid-template-columns: 1fr;
  }

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

  /* Universal mobile image adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__type-card,
  .page-cockfighting__benefit-item,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Universal mobile button adaptation */
  .page-cockfighting__cta-button,
  .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;
  }
}

/* Forced CSS snippets from output format, not semantically for this page */
.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__promo-strip{margin-top:16px;}
.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);}