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

/* Buttons */
.page-cockfighting__btn-primary { display: inline-block; background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); color: #ffffff; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 18px; transition: all 0.3s ease; border: none; cursor: pointer; text-align: center; white-space: normal; word-wrap: break-word; box-sizing: border-box; }
.page-cockfighting__btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.page-cockfighting__btn-secondary { display: inline-block; background: transparent; color: #F3C54D; padding: 10px 20px; border: 2px solid #F3C54D; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s ease; cursor: pointer; text-align: center; white-space: normal; word-wrap: break-word; box-sizing: border-box; }
.page-cockfighting__btn-secondary:hover { background: #F3C54D; color: #140C0C; }
.page-cockfighting__btn-small { font-size: 14px; padding: 8px 15px; }
.page-cockfighting__btn-large { font-size: 20px; padding: 15px 30px; }

/* Hero Section */
.page-cockfighting__hero-section { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 10px; margin-bottom: 20px; }
.page-cockfighting__hero-image-wrapper { width: 100%; max-width: 100%; overflow: hidden; margin-bottom: 20px; }
.page-cockfighting__hero-image { width: 100%; height: auto; display: block; object-fit: cover; border-radius: 10px; }
.page-cockfighting__hero-content { text-align: center; max-width: 800px; padding: 0 15px; }
.page-cockfighting__hero-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: #F3C54D; margin-bottom: 15px; line-height: 1.1; letter-spacing: -0.5px; }
.page-cockfighting__hero-description { font-size: 18px; color: #FFF1E8; margin-bottom: 30px; }

/* Intro Section */
.page-cockfighting__intro-section { background-color: #2A1212; padding: 60px 0; border-top: 1px solid #6A1E1E; border-bottom: 1px solid #6A1E1E; }

/* Why Choose Us Section */
.page-cockfighting__dark-section { background-color: #C61F1F; color: #ffffff; padding: 60px 0; }
.page-cockfighting__dark-section .page-cockfighting__section-title { color: #FFF1E8; }
.page-cockfighting__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__feature-card { background-color: #7E0D0D; padding: 30px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); border: 1px solid #E53030; }
.page-cockfighting__feature-icon { width: 100%; max-width: 120px; height: auto; margin-bottom: 20px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; }
.page-cockfighting__feature-title { font-size: 22px; font-weight: 700; color: #F3C54D; margin-bottom: 10px; }
.page-cockfighting__feature-description { font-size: 15px; color: #FFF1E8; }

/* Bet Types Section */
.page-cockfighting__bet-list { list-style: none; padding: 0; margin-top: 30px; }
.page-cockfighting__bet-item { background-color: #2A1212; border: 1px solid #6A1E1E; border-radius: 8px; padding: 20px; margin-bottom: 15px; }
.page-cockfighting__bet-item-title { font-size: 20px; font-weight: 600; color: #F3C54D; margin-bottom: 8px; }
.page-cockfighting__bet-item-description { font-size: 15px; color: #FFF1E8; }
.page-cockfighting__content-image { width: 100%; height: auto; display: block; margin-top: 30px; border-radius: 10px; object-fit: cover; }

/* How To Play Section */
.page-cockfighting__steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__step-card { background-color: #7E0D0D; padding: 30px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); border: 1px solid #E53030; position: relative; display: flex; flex-direction: column; align-items: center; }
.page-cockfighting__step-number { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background-color: #F3C54D; color: #140C0C; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; border: 2px solid #D86A14; }
.page-cockfighting__step-title { font-size: 22px; font-weight: 700; color: #F3C54D; margin-top: 20px; margin-bottom: 10px; }
.page-cockfighting__step-description { font-size: 15px; color: #FFF1E8; margin-bottom: 20px; flex-grow: 1; }

/* Promotions Section */
.page-cockfighting__promo-card { background-color: #2A1212; border: 1px solid #6A1E1E; border-radius: 10px; display: flex; align-items: center; margin-bottom: 30px; overflow: hidden; }
.page-cockfighting__promo-image { width: 40%; height: auto; object-fit: cover; display: block; }
.page-cockfighting__promo-content { padding: 30px; flex: 1; }
.page-cockfighting__promo-title { font-size: 24px; font-weight: 700; color: #F3C54D; margin-bottom: 10px; }
.page-cockfighting__promo-description { font-size: 16px; color: #FFF1E8; margin-bottom: 20px; }

/* FAQ Section */
details.page-cockfighting__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #6A1E1E; overflow: hidden; background: #2A1212; }
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: rgba(106, 30, 30, 0.5); }
.page-cockfighting__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: #FFF1E8; }
.page-cockfighting__faq-toggle { font-size: 24px; font-weight: bold; color: #F3C54D; 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: rgba(42, 18, 18, 0.7); border-radius: 0 0 5px 5px; color: #FFF1E8; }

/* Final CTA Section */
.page-cockfighting__cta-final { text-align: center; padding: 60px 0; background-color: #E53030; }
.page-cockfighting__cta-final .page-cockfighting__section-title { color: #FFF1E8; margin-bottom: 20px; }
.page-cockfighting__cta-final .page-cockfighting__text-block { max-width: 800px; margin-left: auto; margin-right: auto; color: #FFF1E8; }
.page-cockfighting__cta-content { display: flex; flex-direction: column; align-items: center; }

/* --- Global Image & Button Responsive Rules (for inner pages) --- */
.page-cockfighting img { max-width: 100%; height: auto; display: block; }
.page-cockfighting a[class*="btn"], .page-cockfighting button[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; }

/* --- Homepage Trial Layout CSS (as per strict requirement, scoped to page-cockfighting) --- */
/* This section is included as boilerplate for inner pages as per prompt's strict requirement */
@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__section-title { font-size: 26px; margin-bottom: 20px; }
  .page-cockfighting__text-block { font-size: 15px; }
  .page-cockfighting__hero-title { font-size: clamp(24px, 7vw, 38px); }
  .page-cockfighting__hero-description { font-size: 16px; }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary { max-width: 100% !important; width: 100% !important; padding: 12px 15px !important; margin-bottom: 10px; }
  .page-cockfighting__hero-content .page-cockfighting__btn-primary { margin-top: 10px; }

  /* Features Grid */
  .page-cockfighting__features-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Bet Types Image */
  .page-cockfighting__content-image { margin-top: 20px; }

  /* How To Play Steps */
  .page-cockfighting__steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-cockfighting__step-card { padding-top: 40px; }
  .page-cockfighting__step-number { top: -20px; }

  /* Promotions Cards */
  .page-cockfighting__promo-card { flex-direction: column; text-align: center; }
  .page-cockfighting__promo-image { width: 100%; height: auto; border-radius: 10px 10px 0 0; }
  .page-cockfighting__promo-content { padding: 20px; }
  .page-cockfighting__promo-title { font-size: 20px; }
  .page-cockfighting__promo-description { font-size: 15px; }

  /* FAQ Section */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 15px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* General content area containers */
  .page-cockfighting__section-spacing { padding: 30px 0; }
  .page-cockfighting__container { padding-left: 15px !important; padding-right: 15px !important; max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; }
  .page-cockfighting__hero-section .page-cockfighting__container, .page-cockfighting__intro-section .page-cockfighting__container, .page-cockfighting__why-choose-us .page-cockfighting__container, .page-cockfighting__bet-types .page-cockfighting__container, .page-cockfighting__how-to-play .page-cockfighting__container, .page-cockfighting__promotions .page-cockfighting__container, .page-cockfighting__faq-section .page-cockfighting__container, .page-cockfighting__cta-final .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-cockfighting img { max-width: 100% !important; width: 100% !important; height: auto !important; }
  .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;
  }
  .page-cockfighting__cta-buttons { flex-direction: column; }
}