.page-cockfighting { font-family: 'Arial', sans-serif; color: #333333; background: #F4F7FB; line-height: 1.6; }
.page-cockfighting__container { max-width: 1200px; margin: 0 auto; padding: 20px 15px; box-sizing: border-box; }
.page-cockfighting__section-title { font-size: 32px; font-weight: 700; color: #1F2D3D; text-align: center; margin-bottom: 30px; }
.page-cockfighting__section-title--white { color: #ffffff; }
.page-cockfighting__sub-title { font-size: 24px; font-weight: 600; color: #1F2D3D; margin-bottom: 15px; }
.page-cockfighting__sub-title--white { color: #ffffff; }
.page-cockfighting__text-block { font-size: 16px; margin-bottom: 20px; text-align: justify; }
.page-cockfighting__text-block--white { color: #f0f0f0; }
.page-cockfighting__btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 12px 25px; border-radius: 8px; background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); color: #ffffff; font-size: 18px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; min-width: 150px; box-sizing: border-box; }
.page-cockfighting__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(47, 107, 255, 0.4); }
.page-cockfighting__btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 12px 25px; border-radius: 8px; background: #ffffff; color: #2F6BFF; font-size: 18px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; border: 2px solid #2F6BFF; cursor: pointer; min-width: 150px; margin-left: 15px; box-sizing: border-box; }
.page-cockfighting__btn-secondary:hover { background: #e6f0ff; border-color: #2F6BFF; }
.page-cockfighting__btn-center { display: block; margin-left: auto; margin-right: auto; width: fit-content; margin-top: 30px; }
.page-cockfighting__hero-section { position: relative; display: flex; align-items: center; justify-content: center; height: 500px; overflow: hidden; background: #2F6BFF; padding-top: 10px; }
.page-cockfighting__hero-image-wrapper { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.page-cockfighting__hero-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.page-cockfighting__hero-content { position: relative; z-index: 1; text-align: center; color: #ffffff; max-width: 800px; padding: 20px; }
.page-cockfighting__main-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 15px; }
.page-cockfighting__hero-description { font-size: 19px; margin-bottom: 30px; }
.page-cockfighting__hero-cta { display: flex; justify-content: center; gap: 20px; }

.page-cockfighting__introduction-section { padding: 60px 0; background: #F4F7FB; }
.page-cockfighting__image-content { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.page-cockfighting__game-types-section { padding: 60px 0; background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); }
.page-cockfighting__card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__card { background: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; padding: 25px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.page-cockfighting__card--dark-theme { background: rgba(255, 255, 255, 0.1); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); }
.page-cockfighting__card--dark-theme .page-cockfighting__card-title { color: #ffffff; }
.page-cockfighting__card--dark-theme .page-cockfighting__card-description { color: #f0f0f0; }
.page-cockfighting__card-image { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.page-cockfighting__card-title { font-size: 22px; font-weight: 700; color: #1F2D3D; margin-bottom: 10px; }
.page-cockfighting__card-description { font-size: 15px; color: #333333; margin-bottom: 20px; flex-grow: 1; }
.page-cockfighting__card--dark-theme .page-cockfighting__btn-primary { background: #ffffff; color: #2F6BFF; }
.page-cockfighting__card--dark-theme .page-cockfighting__btn-primary:hover { background: #e6f0ff; }

.page-cockfighting__how-to-play-section { padding: 60px 0; background: #F4F7FB; }
.page-cockfighting__step-list { list-style: none; padding: 0; margin: 40px 0; counter-reset: step-counter; }
.page-cockfighting__step-item { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 30px; position: relative; padding-left: 60px; }
.page-cockfighting__step-item::before { counter-increment: step-counter; content: counter(step-counter); position: absolute; left: 0; top: 0; width: 40px; height: 40px; background: #2F6BFF; color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.page-cockfighting__step-title { font-size: 20px; font-weight: 700; color: #1F2D3D; margin-bottom: 10px; }

.page-cockfighting__rules-tips-section { padding: 60px 0; background: #1F2D3D; }
.page-cockfighting__content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__list { list-style: disc; padding-left: 20px; margin-bottom: 20px; }
.page-cockfighting__list--white li { color: #f0f0f0; margin-bottom: 8px; }
.page-cockfighting__list--white strong { color: #ffffff; }

.page-cockfighting__promotions-section { padding: 60px 0; background: #F4F7FB; }
.page-cockfighting__promo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__promo-card { background: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; padding: 25px; display: flex; flex-direction: column; align-items: center; }
.page-cockfighting__promo-image { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.page-cockfighting__promo-title { font-size: 20px; font-weight: 700; color: #1F2D3D; margin-bottom: 10px; }
.page-cockfighting__promo-description { font-size: 15px; color: #333333; margin-bottom: 20px; flex-grow: 1; }

.page-cockfighting__safety-support-section { padding: 60px 0; background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); }

.page-cockfighting__faq-section { padding: 60px 0; background: #F4F7FB; }
.page-cockfighting__faq-list { margin-top: 40px; }
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #ffffff;
}
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: #1F2D3D;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  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: #333333;
}

.page-cockfighting__cta-final-section { padding: 60px 0; background: #1F2D3D; text-align: center; }
.page-cockfighting__final-cta-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }


/* ==================================================================
   HOMEPAGE SPECIFIC CSS BLOCKS (REQUIRED BY TEMPLATE, COPIED AS-IS)
   These blocks are for homepage trial/promo/hot games, not directly 
   relevant to this inner page's content, but included as per instructions.
   ================================================================== */
@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;
  }
}

/* ==================================================================
   GENERAL MOBILE RESPONSIVE CSS FOR INNER PAGE CONTENT
   ================================================================== */
@media (max-width: 768px) {
  .page-cockfighting__section-title { font-size: 26px; margin-bottom: 20px; }
  .page-cockfighting__sub-title { font-size: 20px; }
  .page-cockfighting__text-block { font-size: 15px; }

  .page-cockfighting__hero-section { height: auto; padding: 10px 0 30px; }
  .page-cockfighting__hero-content { padding: 15px; }
  .page-cockfighting__main-title { font-size: clamp(2rem, 8vw, 2.5rem); }
  .page-cockfighting__hero-description { font-size: 16px; margin-bottom: 20px; }
  .page-cockfighting__hero-cta { flex-direction: column; gap: 10px; padding: 0 15px; }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__btn-center {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-cockfighting__btn-center .page-cockfighting__btn-primary, .page-cockfighting__btn-center .page-cockfighting__btn-secondary {
    width: 100%;
  }

  .page-cockfighting__introduction-section, .page-cockfighting__game-types-section, .page-cockfighting__how-to-play-section, .page-cockfighting__rules-tips-section, .page-cockfighting__promotions-section, .page-cockfighting__safety-support-section, .page-cockfighting__faq-section, .page-cockfighting__cta-final-section {
    padding: 30px 0;
  }

  .page-cockfighting__card-grid, .page-cockfighting__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card-image, .page-cockfighting__promo-image {
    height: 150px;
  }

  .page-cockfighting__step-item {
    padding-left: 50px;
  }
  .page-cockfighting__step-item::before {
    width: 35px; height: 35px; font-size: 18px;
  }
  .page-cockfighting__step-title { font-size: 18px; }

  .page-cockfighting__content-grid { grid-template-columns: 1fr; gap: 20px; }

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

  .page-cockfighting__final-cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* General image and container responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__container,
  .page-cockfighting__card,
  .page-cockfighting__promo-card,
  .page-cockfighting__content-grid > div,
  .page-cockfighting__text-block-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-image-wrapper {
    height: 300px;
  }
}