.page-cockfighting { background-color: #140C0C; color: #FFF1E8; font-family: 'Arial', sans-serif; line-height: 1.6; }
.page-cockfighting__section { padding: 40px 0; }
.page-cockfighting__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.page-cockfighting__section-title { font-size: 36px; color: #F3C54D; text-align: center; margin-bottom: 40px; font-weight: 700; }
.page-cockfighting__text-block { font-size: 18px; margin-bottom: 20px; text-align: justify; }

.page-cockfighting__hero-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; margin-bottom: 40px; }
.page-cockfighting__hero-image-wrapper { width: 100%; max-height: 675px; overflow: hidden; margin-bottom: 30px; }
.page-cockfighting__hero-image { width: 100%; height: auto; display: block; object-fit: cover; }
.page-cockfighting__hero-content { max-width: 900px; padding: 0 15px; }
.page-cockfighting__main-title { font-size: 48px; font-weight: 900; color: #F3C54D; margin-bottom: 20px; line-height: 1.2; letter-spacing: -1px; max-width: 100%; }
.page-cockfighting__hero-description { font-size: 20px; margin-bottom: 30px; color: #FFF1E8; }
.page-cockfighting__hero-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: 18px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; white-space: normal; word-wrap: break-word; text-align: center; box-sizing: border-box; min-width: 180px; }
.page-cockfighting__btn-primary { background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); color: #140C0C; border: none; }
.page-cockfighting__btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(255,176,74,0.4); }
.page-cockfighting__btn-secondary { background: #2A1212; color: #FFB04A; border: 2px solid #FFB04A; }
.page-cockfighting__btn-secondary:hover { background: #FFB04A; color: #140C0C; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(255,176,74,0.4); }

.page-cockfighting__card { background-color: #2A1212; border: 1px solid #6A1E1E; border-radius: 10px; padding: 25px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); color: #FFF1E8; }
.page-cockfighting__card-title { font-size: 24px; color: #F3C54D; margin-bottom: 15px; font-weight: 600; }

.page-cockfighting__feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.page-cockfighting__image-content { width: 100%; height: auto; display: block; border-radius: 10px; margin-top: 30px; object-fit: cover; }

.page-cockfighting__steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
.page-cockfighting__step-card .page-cockfighting__btn-primary, .page-cockfighting__step-card .page-cockfighting__btn-secondary { margin-top: 20px; width: 100%; }

.page-cockfighting__bet-list { list-style: none; padding: 0; margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.page-cockfighting__bet-item { margin-bottom: 0; }

.page-cockfighting__tips-list { list-style: none; padding: 0; margin-top: 30px; }
.page-cockfighting__tips-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.page-cockfighting__tip-number { font-size: 28px; font-weight: 700; color: #FFB04A; margin-right: 15px; flex-shrink: 0; }
.page-cockfighting__tips-item p { margin: 0; font-size: 18px; }
.page-cockfighting__tips-item strong { color: #F3C54D; }

.page-cockfighting__promo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-top: 30px; }
.page-cockfighting__promo-card { text-align: center; }
.page-cockfighting__promo-card .page-cockfighting__promo-image { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.page-cockfighting__promo-card .page-cockfighting__card-title { font-size: 22px; margin-bottom: 10px; }
.page-cockfighting__promo-card p { font-size: 16px; margin-bottom: 20px; }
.page-cockfighting__promo-card .page-cockfighting__btn-primary, .page-cockfighting__promo-card .page-cockfighting__btn-secondary { width: auto; min-width: 150px; padding: 12px 25px; font-size: 16px; }

/* FAQ Styles */
details.page-cockfighting__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #6A1E1E; overflow: hidden; background: #2A1212; color: #FFF1E8; }
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: #F3C54D; }
.page-cockfighting__faq-toggle { font-size: 28px; font-weight: bold; color: #FFB04A; flex-shrink: 0; margin-left: 15px; width: 30px; text-align: center; }
details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 20px 20px; background: #1f0f0f; border-radius: 0 0 5px 5px; font-size: 16px; }

/* Common Responsive Styles for Images and Containers */
.page-cockfighting img { max-width: 100%; height: auto; display: block; }
.page-cockfighting__container, .page-cockfighting__section, .page-cockfighting__card { width: 100%; box-sizing: border-box; }

/* Homepage Trial Layout CSS (as per strict instruction, even if not used on this page) */
@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 Styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-cockfighting__section-title { font-size: 28px; margin-bottom: 25px; }
  .page-cockfighting__main-title { font-size: 36px; }
  .page-cockfighting__hero-description { font-size: 18px; }
  .page-cockfighting__hero-cta-buttons { flex-direction: column; gap: 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__hero-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;
  }
  .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;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__steps-grid, .page-cockfighting__promo-cards, .page-cockfighting__bet-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  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: 24px; width: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
}

/* Additional general styles for homepage elements as per instruction */
.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;}