.page-cockfighting{background:var(--page-bg,#0A0A0A);color:var(--text-main,#FFF6D6);font-family:Arial,sans-serif;line-height:1.6;}
.page-cockfighting__section{padding:40px 20px;max-width:1200px;margin:0 auto;box-sizing:border-box;}
.page-cockfighting__section-title{font-size:36px;color:var(--text-main,#FFF6D6);text-align:center;margin-bottom:30px;font-weight:700;line-height:1.2;}
.page-cockfighting__section-subtitle{font-size:18px;color:#FFF6D6;text-align:center;margin-bottom:40px;}
.page-cockfighting__button{display:inline-block;padding:12px 25px;border-radius:5px;background:linear-gradient(180deg,#FFD86A 0%,#DDA11D 100%);color:#111111;text-decoration:none;font-weight:bold;font-size:16px;transition:all .3s ease;border:none;cursor:pointer;max-width:100%;box-sizing:border-box;white-space:normal;word-wrap:break-word;}
.page-cockfighting__button:hover{opacity:.9;transform:translateY(-2px);}
.page-cockfighting__button-group{display:flex;justify-content:center;gap:20px;margin-top:30px;flex-wrap:wrap;}
.page-cockfighting__hero-section{background:#0A0A0A;padding:60px 20px 40px;text-align:center;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:10px;}
.page-cockfighting__hero-image-wrapper{margin-bottom:30px;max-width:100%;overflow:hidden;box-sizing:border-box;}
.page-cockfighting__hero-image{max-width:100%;height:auto;display:block;border-radius:10px;object-fit:cover;width:100%;max-height:675px;}
.page-cockfighting__hero-content{max-width:800px;margin:0 auto;}
.page-cockfighting__hero-content h1{font-size:clamp(28px,4vw,48px);color:var(--text-main,#FFF6D6);margin-bottom:20px;font-weight:800;line-height:1.2;}
.page-cockfighting__hero-content p{font-size:18px;color:#FFF6D6;margin-bottom:30px;}
.page-cockfighting__why-choose-us-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:40px;}
.page-cockfighting__feature-card{background:var(--card-bg,#111111);padding:25px;border-radius:10px;text-align:center;box-shadow:0 4px 15px rgba(0,0,0,.2);transition:transform .3s ease;color:var(--text-main,#FFF6D6);border:1px solid var(--border-color,#3A2A12);}
.page-cockfighting__feature-card:hover{transform:translateY(-5px);}
.page-cockfighting__feature-card h3{font-size:22px;color:var(--text-main,#FFF6D6);margin-top:15px;margin-bottom:10px;}
.page-cockfighting__feature-card p{font-size:15px;color:#FFF6D6;}
.page-cockfighting__why-choose-us-image{margin-top:40px;}
.page-cockfighting__bet-types-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:40px;}
.page-cockfighting__bet-type-card{background:var(--card-bg,#111111);padding:20px;border-radius:10px;text-align:center;box-shadow:0 4px 15px rgba(0,0,0,.2);color:var(--text-main,#FFF6D6);border:1px solid var(--border-color,#3A2A12);}
.page-cockfighting__bet-type-card h3{font-size:20px;color:var(--text-main,#FFF6D6);margin-bottom:10px;}
.page-cockfighting__bet-type-card p{font-size:14px;color:#FFF6D6;}
.page-cockfighting__bet-types-image{margin-top:40px;}
.page-cockfighting__live-stream-content{display:flex;flex-direction:column;gap:30px;margin-top:40px;}
.page-cockfighting__live-stream-image{max-width:100%;height:auto;display:block;border-radius:10px;object-fit:cover;}
.page-cockfighting__live-stream-text{flex:1;}
.page-cockfighting__live-stream-text ul{list-style:none;padding:0;margin-top:20px;}
.page-cockfighting__live-stream-text ul li{background:var(--card-bg,#111111);padding:15px;margin-bottom:10px;border-radius:8px;font-size:16px;color:var(--text-main,#FFF6D6);border:1px solid var(--border-color,#3A2A12);}
.page-cockfighting__live-stream-text ul li strong{color:var(--primary-color,#F2C14E);}
.page-cockfighting__tips-image{max-width:100%;height:auto;display:block;border-radius:10px;margin-bottom:30px;object-fit:cover;}
.page-cockfighting__tips-list{list-style:decimal;padding-left:20px;margin-top:20px;color:var(--text-main,#FFF6D6);}
.page-cockfighting__tips-list li{margin-bottom:10px;font-size:16px;}
.page-cockfighting__tips-list li strong{color:var(--primary-color,#F2C14E);}
.page-cockfighting__promotions-list{list-style:none;padding:0;margin-top:20px;}
.page-cockfighting__promotion-item{background:var(--card-bg,#111111);padding:20px;margin-bottom:15px;border-radius:10px;display:flex;align-items:center;gap:20px;border:1px solid var(--border-color,#3A2A12);}
.page-cockfighting__promotion-item-icon{font-size:30px;color:var(--primary-color,#F2C14E);flex-shrink:0;}
.page-cockfighting__promotion-item-content h3{font-size:20px;color:var(--text-main,#FFF6D6);margin-bottom:5px;}
.page-cockfighting__promotion-item-content p{font-size:15px;color:#FFF6D6;}
.page-cockfighting__promotions-image{max-width:100%;height:auto;display:block;border-radius:10px;margin-bottom:30px;object-fit:cover;}
.page-cockfighting__faq-section{padding-bottom:60px;}
details.page-cockfighting__faq-item{margin-bottom:15px;border-radius:10px;border:1px solid var(--border-color,#3A2A12);overflow:hidden;background:var(--card-bg,#111111);color:var(--text-main,#FFF6D6);}
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 .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(255,255,255,.05);}
.page-cockfighting__faq-qtext{flex:1;font-size:18px;font-weight:600;line-height:1.5;text-align:left;color:var(--text-main,#FFF6D6);}
.page-cockfighting__faq-toggle{font-size:24px;font-weight:bold;color:var(--primary-color,#F2C14E);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(0,0,0,.2);border-radius:0 0 10px 10px;}
.page-cockfighting__faq-answer p{color:#FFF6D6;font-size:15px;}
.page-cockfighting__cta-final{text-align:center;background:var(--card-bg,#111111);padding:60px 20px;border-radius:15px;margin-top:40px;border:1px solid var(--border-color,#3A2A12);}
.page-cockfighting__cta-final-image{max-width:100%;height:auto;display:block;margin:0 auto 30px;border-radius:10px;object-fit:cover;}

/* Homepage specific CSS - MUST BE 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;
  }
}

@media (min-width: 1024px) {
  .page-cockfighting__live-stream-content {
    flex-direction: row;
    align-items: center;
  }
  .page-cockfighting__live-stream-image {
    flex: 1;
    max-width: 50%;
  }
  .page-cockfighting__live-stream-text {
    flex: 1;
    padding-left: 40px;
  }
  .page-cockfighting__tips-strategies .page-cockfighting__section-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
  }
  .page-cockfighting__tips-image {
    flex: 1;
    max-width: 50%;
    margin-bottom: 0;
  }
  .page-cockfighting__tips-content {
    flex: 1;
  }
  .page-cockfighting__promotions .page-cockfighting__section-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .page-cockfighting__promotions-image {
    flex: 1;
    max-width: 50%;
    margin-bottom: 0;
  }
  .page-cockfighting__promotions-list-wrapper {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 30px 15px;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-cockfighting__hero-content h1 {
    font-size: clamp(24px, 7vw, 36px);
  }

  .page-cockfighting__hero-content p {
    font-size: 16px;
  }

  .page-cockfighting__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__button {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__bet-type-card,
  .page-cockfighting__promotion-item {
    padding: 20px;
  }

  .page-cockfighting__feature-card h3,
  .page-cockfighting__bet-type-card h3,
  .page-cockfighting__promotion-item-content h3 {
    font-size: 18px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__live-stream-content,
  .page-cockfighting__tips-strategies .page-cockfighting__section-content,
  .page-cockfighting__promotions .page-cockfighting__section-content,
  .page-cockfighting__cta-final,
  .page-cockfighting__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__live-stream-content {
    flex-direction: column;
  }
  .page-cockfighting__tips-strategies .page-cockfighting__section-content {
    flex-direction: column;
  }
  .page-cockfighting__promotions .page-cockfighting__section-content {
    flex-direction: column;
  }
}