.page-cockfighting__hero-section { position: relative; width: 100%; overflow: hidden; margin-bottom: 30px; padding-top: 10px; }
.page-cockfighting__hero-image-wrapper { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ }
.page-cockfighting__hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.page-cockfighting__hero-content { position: relative; z-index: 2; text-align: center; padding: 20px 15px; max-width: 900px; margin: 0 auto; background: rgba(0, 0, 0, 0.6); border-radius: 8px; transform: translateY(-50px); }
.page-cockfighting__main-title { font-size: 38px; font-weight: 700; color: #ffffff; margin-bottom: 15px; line-height: 1.2; }
.page-cockfighting__description { font-size: 18px; color: #f0f0f0; margin-bottom: 25px; line-height: 1.6; }
.page-cockfighting__cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.page-cockfighting__section-title { font-size: 32px; font-weight: 700; color: #E53935; text-align: center; margin-bottom: 30px; line-height: 1.3; }
.page-cockfighting__container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.page-cockfighting__text-block { font-size: 16px; line-height: 1.7; color: #333333; text-align: justify; margin-bottom: 25px; }

.page-cockfighting__btn-primary, .page-cockfighting__btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 8px; font-size: 18px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; }
.page-cockfighting__btn-primary { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #ffffff; }
.page-cockfighting__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4); }
.page-cockfighting__btn-secondary { background: #ffffff; color: #E53935; border: 2px solid #E53935; }
.page-cockfighting__btn-secondary:hover { background: #E53935; color: #ffffff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(229, 57, 53, 0.2); }

.page-cockfighting__about-section, .page-cockfighting__guide-section, .page-cockfighting__faq-section { padding: 50px 0; background: #F5F7FA; color: #333333; }
.page-cockfighting__dark-section { padding: 50px 0; background: #E53935; color: #ffffff; }
.page-cockfighting__dark-section .page-cockfighting__section-title { color: #ffffff; }
.page-cockfighting__dark-section .page-cockfighting__text-block { color: #f0f0f0; }

.page-cockfighting__advantages-section { padding: 50px 0; }
.page-cockfighting__grid-advantages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__advantage-item { text-align: center; background: rgba(255, 255, 255, 0.1); padding: 30px; border-radius: 10px; transition: transform 0.3s ease; }
.page-cockfighting__advantage-item:hover { transform: translateY(-5px); }
.page-cockfighting__advantage-icon { width: 100px; height: 100px; object-fit: contain; margin-bottom: 20px; display: block; margin-left: auto; margin-right: auto; max-width: 100%; height: auto; }
.page-cockfighting__advantage-title { font-size: 22px; font-weight: 600; color: #ffffff; margin-bottom: 10px; }
.page-cockfighting__advantage-item p { font-size: 15px; color: #f0f0f0; line-height: 1.6; }

.page-cockfighting__guide-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__guide-item { background: #ffffff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-cockfighting__guide-title { font-size: 22px; font-weight: 600; color: #E53935; margin-bottom: 15px; }
.page-cockfighting__guide-item p { font-size: 15px; color: #333333; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.page-cockfighting__guide-item .page-cockfighting__btn-primary { margin-top: auto; }

.page-cockfighting__types-section { padding: 50px 0; }
.page-cockfighting__type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__type-card { background: rgba(255, 255, 255, 0.1); border-radius: 10px; overflow: hidden; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.page-cockfighting__type-card:hover { transform: translateY(-5px); }
.page-cockfighting__type-image { width: 100%; height: 200px; object-fit: cover; margin-bottom: 15px; display: block; max-width: 100%; height: auto; }
.page-cockfighting__type-title { font-size: 20px; font-weight: 600; color: #ffffff; margin-bottom: 10px; padding: 0 15px; }
.page-cockfighting__type-card p { font-size: 15px; color: #f0f0f0; line-height: 1.6; padding: 0 15px 20px; }

.page-cockfighting__faq-section { padding: 50px 0; }
.page-cockfighting__faq-list { margin-top: 40px; }
details.page-cockfighting__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #e0e0e0; overflow: hidden; background: #fff; }
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: #333333; }
.page-cockfighting__faq-toggle { font-size: 24px; font-weight: bold; color: #666; 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__faq-answer p { margin-bottom: 0; }

.page-cockfighting__cta-section { padding: 60px 0; text-align: center; }
.page-cockfighting__cta-section .page-cockfighting__btn-primary { margin-top: 30px; }

/* Common image responsive styles */
.page-cockfighting img { max-width: 100%; height: auto; display: block; }

/* Media Queries */
@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;
  }
  .page-cockfighting__hero-content { transform: translateY(-20px); }
  .page-cockfighting__main-title { font-size: 32px; }
  .page-cockfighting__description { font-size: 16px; }
  .page-cockfighting__section-title { font-size: 28px; }
}

@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;
  }
  .page-cockfighting__hero-content { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 80%; padding: 25px; background: rgba(0, 0, 0, 0.7); border-radius: 10px; max-width: 900px; }
  .page-cockfighting__hero-image-wrapper { padding-bottom: 0; height: 500px; margin-bottom: -100px; /* Adjust as needed to overlap with content */ }
}

@media (max-width: 768px) {
  /* General content area padding */
  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Section */
  .page-cockfighting__hero-section { margin-bottom: 20px; }
  .page-cockfighting__hero-image-wrapper { padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile */ }
  .page-cockfighting__hero-content { transform: translateY(-10px); padding: 15px 10px; margin-left: 15px; margin-right: 15px; width: auto; }
  .page-cockfighting__main-title { font-size: 26px; margin-bottom: 10px; }
  .page-cockfighting__description { font-size: 14px; margin-bottom: 15px; }
  .page-cockfighting__cta-buttons { flex-direction: column; gap: 10px; padding: 0 10px; }

  /* Buttons - Mobile specific */
  .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;
    font-size: 16px;
  }
  .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: 10px;
    padding-right: 10px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__cta-buttons { flex-direction: column; }

  /* Sections */
  .page-cockfighting__about-section, .page-cockfighting__guide-section, .page-cockfighting__faq-section, .page-cockfighting__advantages-section, .page-cockfighting__types-section, .page-cockfighting__cta-section {
    padding: 30px 0;
  }
  .page-cockfighting__section-title { font-size: 24px; margin-bottom: 20px; }
  .page-cockfighting__text-block { font-size: 15px; margin-bottom: 20px; }

  /* Advantages Section */
  .page-cockfighting__grid-advantages { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .page-cockfighting__advantage-item { padding: 20px; }
  .page-cockfighting__advantage-icon { width: 80px; height: 80px; margin-bottom: 15px; }
  .page-cockfighting__advantage-title { font-size: 20px; }
  .page-cockfighting__advantage-item p { font-size: 14px; }

  /* Guide Section */
  .page-cockfighting__guide-steps { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .page-cockfighting__guide-item { padding: 20px; }
  .page-cockfighting__guide-title { font-size: 20px; }
  .page-cockfighting__guide-item p { font-size: 14px; }

  /* Types Section */
  .page-cockfighting__type-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
  .page-cockfighting__type-card { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
  .page-cockfighting__type-image { height: 180px; margin-bottom: 10px; }
  .page-cockfighting__type-title { font-size: 18px; }
  .page-cockfighting__type-card p { font-size: 14px; padding: 0 10px 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 image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Content containers to prevent overflow */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__types-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}

/* Ensure body padding for fixed header is handled by shared.css */
/* The following are specific to homepage trial, included as per instruction but not directly used by cockfighting.html */
@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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-cockfighting__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!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%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.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;}.page-cockfighting__promo-strip{margin-top:16px;}}