.page-cockfighting__hero-section { background: linear-gradient(rgba(8, 22, 15, 0.7), rgba(8, 22, 15, 0.7)), url('[GALLERY:bg:1920x1080:cockfighting,arena,crowd,excitement,halo88]') center/cover no-repeat; padding: 10px 0 40px; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 500px; color: #F2FFF6; overflow: hidden; }
.page-cockfighting__hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.page-cockfighting__hero-content { max-width: 900px; margin: 0 auto; padding: 20px; z-index: 1; position: relative; }
.page-cockfighting__main-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: #F2FFF6; text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
.page-cockfighting__lead-text { font-size: 18px; line-height: 1.6; margin-bottom: 30px; color: #A7D9B8; }
.page-cockfighting__cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.page-cockfighting__btn-primary, .page-cockfighting__btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 8px; font-size: 18px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; white-space: nowrap; box-sizing: border-box; max-width: 100%; }
.page-cockfighting__btn-primary { background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); color: #ffffff; border: none; }
.page-cockfighting__btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); }
.page-cockfighting__btn-secondary { background: #11271B; color: #2AD16F; border: 2px solid #2AD16F; }
.page-cockfighting__btn-secondary:hover { background: #2AD16F; color: #ffffff; border-color: #2AD16F; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); }

.page-cockfighting__introduction-section, .page-cockfighting__guide-section, .page-cockfighting__advantages-section, .page-cockfighting__conclusion-section { padding: 60px 0; background-color: #08160F; color: #F2FFF6; }
.page-cockfighting__section-title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 40px; color: #F2FFF6; }
.page-cockfighting__container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page-cockfighting__paragraph { font-size: 17px; line-height: 1.7; margin-bottom: 20px; color: #A7D9B8; }

.page-cockfighting__bet-types-section, .page-cockfighting__strategy-section, .page-cockfighting__faq-section { padding: 60px 0; background-color: #11271B; color: #F2FFF6; }
.page-cockfighting__grid-3-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.page-cockfighting__card { background: #08160F; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); text-align: center; padding-bottom: 20px; border: 1px solid #2E7A4E; }
.page-cockfighting__card-image { width: 100%; height: 250px; object-fit: cover; margin-bottom: 15px; }
.page-cockfighting__card-title { font-size: 22px; font-weight: 600; margin-bottom: 10px; color: #F2C14E; padding: 0 15px; }
.page-cockfighting__card-text { font-size: 16px; line-height: 1.6; color: #A7D9B8; padding: 0 15px; }

.page-cockfighting__numbered-list, .page-cockfighting__bullet-list { list-style: none; padding: 0; margin-bottom: 40px; }
.page-cockfighting__numbered-list li, .page-cockfighting__bullet-list li { background: #08160F; margin-bottom: 20px; padding: 25px; border-radius: 10px; border: 1px solid #2E7A4E; }
.page-cockfighting__list-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: #2AD16F; }
.page-cockfighting__numbered-list li p, .page-cockfighting__bullet-list li p { font-size: 16px; line-height: 1.6; color: #A7D9B8; margin-bottom: 0; }

.page-cockfighting__feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-bottom: 40px; }
.page-cockfighting__feature-item { background: #08160F; border-radius: 12px; padding: 30px; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); border: 1px solid #2E7A4E; }
.page-cockfighting__feature-icon { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 20px; }
.page-cockfighting__feature-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: #F2FFF6; }

details.page-cockfighting__faq-item { margin-bottom: 15px; border-radius: 10px; border: 1px solid #2E7A4E; overflow: hidden; background: #08160F; }
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; 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: #11271B; }
.page-cockfighting__faq-qtext { flex: 1; font-size: 18px; font-weight: 600; line-height: 1.5; text-align: left; color: #F2FFF6; }
.page-cockfighting__faq-toggle { font-size: 24px; font-weight: bold; color: #2AD16F; flex-shrink: 0; margin-left: 15px; width: 28px; text-align: center; }
details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 25px 20px; background: #08160F; border-radius: 0 0 10px 10px; color: #A7D9B8; font-size: 16px; line-height: 1.6; }

/* General image and container responsiveness */
.page-cockfighting img { max-width: 100%; height: auto; display: block; }
.page-cockfighting__container, .page-cockfighting__card, .page-cockfighting__feature-item, .page-cockfighting__numbered-list li, .page-cockfighting__bullet-list li { box-sizing: border-box; }

/* Media Queries for different screen sizes */
@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; }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section { padding: 10px 0 30px; min-height: 400px; }
  .page-cockfighting__hero-content { padding: 15px; }
  .page-cockfighting__main-title { font-size: 32px; margin-bottom: 15px; }
  .page-cockfighting__lead-text { font-size: 16px; margin-bottom: 25px; }
  .page-cockfighting__cta-buttons { flex-direction: column; gap: 15px; padding: 0 15px; }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary { max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; white-space: normal !important; word-wrap: break-word !important; padding: 12px 20px; font-size: 16px; }

  .page-cockfighting__introduction-section, .page-cockfighting__guide-section, .page-cockfighting__advantages-section, .page-cockfighting__conclusion-section, .page-cockfighting__bet-types-section, .page-cockfighting__strategy-section, .page-cockfighting__faq-section { padding: 40px 0; }
  .page-cockfighting__section-title { font-size: 28px; margin-bottom: 30px; }
  .page-cockfighting__paragraph { font-size: 15px; }

  .page-cockfighting__grid-3-columns { grid-template-columns: 1fr; gap: 20px; }
  .page-cockfighting__card-image { height: 200px; }
  .page-cockfighting__card-title { font-size: 20px; }
  .page-cockfighting__card-text { font-size: 15px; }

  .page-cockfighting__numbered-list li, .page-cockfighting__bullet-list li { padding: 20px; }
  .page-cockfighting__list-title { font-size: 18px; }
  .page-cockfighting__numbered-list li p, .page-cockfighting__bullet-list li p { font-size: 15px; }

  .page-cockfighting__feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-cockfighting__feature-item { padding: 25px; }
  .page-cockfighting__feature-icon { width: 70px; height: 70px; margin-bottom: 15px; }
  .page-cockfighting__feature-title { font-size: 18px; }

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

  .page-cockfighting img { max-width: 100% !important; width: 100% !important; height: auto !important; }
  .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container, .page-cockfighting__feature-item, .page-cockfighting__faq-item { max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; padding-left: 15px; padding-right: 15px; }

  /* Placeholder for homepage specific elements on mobile - as per instructions */
  .page-cockfighting__promo-strip-track { grid-template-columns: repeat(2, 1fr); overflow-x: hidden; }
  .page-cockfighting__hot-games-grid { grid-template-columns: repeat(2, 1fr); }
  .page-cockfighting__hot-games-item-name, .page-cockfighting__hot-games-item-rtp, .page-cockfighting__hot-games-item-desc { display: none; }
  .page-cockfighting__winner-ticker { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; padding: 10px 15px; background: rgba(0,0,0,0.8); color: #F2FFF6; }
  body { padding-bottom: 50px; } /* Adjust if winner ticker is fixed */
}

.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__reward-modal.is-hidden { display: none !important; pointer-events: none !important; }
.page-cockfighting__reward-modal-close { position: absolute; top: 15px; right: 15px; font-size: 28px; color: #fff; cursor: pointer; background: none; border: none; padding: 0; line-height: 1; opacity: 0.7; transition: opacity 0.3s ease; z-index: 10001; }
.page-cockfighting__reward-modal-close:hover { opacity: 1; }

/* Color contrast fixes based on body background #08160F (dark) */
.page-cockfighting { color: #F2FFF6; }
.page-cockfighting__card { background: #11271B; color: #F2FFF6; }
.page-cockfighting__light-bg { background-color: #08160F; color: #F2FFF6; }
.page-cockfighting__dark-section { background-color: #11271B; color: #F2FFF6; }
.page-cockfighting__btn-primary { background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); color: #ffffff; }
.page-cockfighting__btn-secondary { background: #11271B; color: #2AD16F; border: 2px solid #2AD16F; }
.page-cockfighting p, .page-cockfighting li p { color: #A7D9B8; }
.page-cockfighting__section-title, .page-cockfighting__main-title { color: #F2FFF6; }
.page-cockfighting__card-title { color: #F2C14E; }
.page-cockfighting__list-title { color: #2AD16F; }
.page-cockfighting__feature-title { color: #F2FFF6; }
.page-cockfighting__faq-qtext { color: #F2FFF6; }
.page-cockfighting__faq-toggle { color: #2AD16F; }