.page-cockfighting { font-family: 'Arial', sans-serif; color: #FFF3E6; background: #0D0E12; }
.page-cockfighting__section { padding: 40px 0; }
.page-cockfighting__container { max-width: 1280px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.page-cockfighting__section-title { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 30px; color: #FF8C1A; }
.page-cockfighting__hero-section { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; padding-top: 10px; min-height: 450px; }
.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; padding: 20px; max-width: 900px; }
.page-cockfighting__main-title { font-size: clamp(2.5em, 5vw, 3.5em); font-weight: 800; line-height: 1.2; margin-bottom: 15px; color: #FFF3E6; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.page-cockfighting__hero-description { font-size: 1.1em; line-height: 1.6; margin-bottom: 30px; color: #FFF3E6; }
.page-cockfighting__cta-button { display: inline-block; padding: 12px 30px; border-radius: 8px; font-size: 1.1em; font-weight: 700; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; }
.page-cockfighting__btn-primary { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #FFF3E6; box-shadow: 0 4px 15px rgba(255,140,26,0.4); }
.page-cockfighting__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,140,26,0.6); }
.page-cockfighting__btn-secondary { background: #17191F; color: #FF8C1A; border: 2px solid #A84F0C; }
.page-cockfighting__btn-secondary:hover { background: #2a2d36; color: #FFA53A; }
.page-cockfighting__content-wrapper { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 30px; }
.page-cockfighting__text-block { flex: 1; line-height: 1.8; }
.page-cockfighting__text-block p { margin-bottom: 15px; color: #FFF3E6; }
.page-cockfighting__image-content { flex: none; width: 500px; height: auto; border-radius: 10px; object-fit: cover; border: 1px solid #A84F0C; }
.page-cockfighting__benefits-grid, .page-cockfighting__bet-types-grid, .page-cockfighting__tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 30px; }
.page-cockfighting__card { background: #17191F; border-radius: 10px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); border: 1px solid #A84F0C; color: #FFF3E6; }
.page-cockfighting__benefit-title, .page-cockfighting__bet-type-title, .page-cockfighting__tip-title, .page-cockfighting__guide-step-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: #FF8C1A; }
.page-cockfighting__image-card { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; border: 1px solid #A84F0C; }
.page-cockfighting__guide-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.page-cockfighting__guide-item { text-align: left; }
.page-cockfighting__guide-item .page-cockfighting__btn-secondary { margin-top: 15px; }
.page-cockfighting__faq-section { background: #0D0E12; }
details.page-cockfighting__faq-item { margin-bottom: 15px; border-radius: 10px; border: 1px solid #A84F0C; overflow: hidden; background: #17191F; }
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: #2a2d36; }
.page-cockfighting__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: #FFF3E6; }
.page-cockfighting__faq-toggle { font-size: 24px; font-weight: bold; color: #FF8C1A; 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: #17191F; border-radius: 0 0 10px 10px; color: #FFF3E6; }
.page-cockfighting__faq-answer p { margin-bottom: 10px; }
.page-cockfighting__conclusion-text { font-size: 1.1em; line-height: 1.7; text-align: center; margin-bottom: 30px; color: #FFF3E6; }
.page-cockfighting__cta-wrapper { text-align: center; margin-top: 30px; }

/* Trial Layout CSS (as required by prompt for any page's CSS) */
@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;
    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) {
  .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;
  }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
  .page-cockfighting__hero-section { padding-top: 0; min-height: 300px; }
  .page-cockfighting__main-title { font-size: 2em; }
  .page-cockfighting__hero-description { font-size: 0.9em; }
  .page-cockfighting__section-title { font-size: 24px; margin-bottom: 20px; }
  .page-cockfighting__content-wrapper { flex-direction: column; gap: 20px; }
  .page-cockfighting__image-content { width: 100%; height: auto; }
  .page-cockfighting__benefits-grid, .page-cockfighting__bet-types-grid, .page-cockfighting__tips-grid, .page-cockfighting__guide-list { grid-template-columns: 1fr; gap: 15px; }
  .page-cockfighting__card { padding: 20px; }
  .page-cockfighting__benefit-title, .page-cockfighting__bet-type-title, .page-cockfighting__tip-title, .page-cockfighting__guide-step-title { font-size: 18px; }
  .page-cockfighting__image-card { height: 180px; }
  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; margin-left: 10px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
  .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;
    display: flex;
    flex-direction: column;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Additional Styles for Trial Components (required for JS interaction) */
.page-cockfighting__game-trial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}
.page-cockfighting__game-trial-overlay.is-hidden {
  opacity: 0;
  display: none !important;
  pointer-events: none !important;
}
.page-cockfighting__game-trial-start {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  border: none;
  box-shadow: 0 4px 15px rgba(255,140,26,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-cockfighting__game-trial-start:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,140,26,0.6); }
.page-cockfighting__game-trial-shell { border: 1px solid #A84F0C; border-radius: 10px; overflow: hidden; }
.page-cockfighting__reward-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.page-cockfighting__reward-modal[hidden] { display: none; }
.page-cockfighting__reward-modal-content {
  background: #17191F;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 2px solid #FF8C1A;
  color: #FFF3E6;
}
.page-cockfighting__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #FF8C1A;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.page-cockfighting__reward-modal-close:hover { color: #FFA53A; }
.page-cockfighting__reward-modal h3 { font-size: 28px; margin-bottom: 20px; color: #FF8C1A; }
.page-cockfighting__reward-modal p { font-size: 1.1em; margin-bottom: 25px; }
.page-cockfighting__reward-modal .page-cockfighting__cta-button { width: auto; padding: 10px 25px; }
.page-cockfighting--reward-open { overflow: hidden; }