.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background: #0A0A0A; /* Body background color */
}

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  padding: 0 15px;
}

.page-cockfighting__main-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Auxiliary color for titles */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.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: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for primary button */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #111111;
  color: #FFD36B; /* Auxiliary color for secondary button text */
  border: 2px solid #FFD36B;
}

.page-cockfighting__btn-secondary:hover {
  background: #222222;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-cockfighting__btn-large {
  min-width: 250px;
  padding: 18px 35px;
  font-size: 20px;
}

.page-cockfighting__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__features-grid,
.page-cockfighting__steps-container,
.page-cockfighting__types-grid,
.page-cockfighting__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__feature-card,
.page-cockfighting__step-card,
.page-cockfighting__type-card,
.page-cockfighting__promo-card {
  background: #111111; /* Card background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-cockfighting__feature-image,
.page-cockfighting__step-image,
.page-cockfighting__type-image,
.page-cockfighting__promo-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__feature-title,
.page-cockfighting__step-title,
.page-cockfighting__type-title,
.page-cockfighting__promo-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-cockfighting__tips-strategies .page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-cockfighting__tips-strategies .page-cockfighting__text-block {
  flex: 1;
  text-align: left;
}

.page-cockfighting__tips-strategies .page-cockfighting__image-block {
  flex-shrink: 0;
  width: 500px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tips-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-cockfighting__tips-list li {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
  color: #FFF6D6;
}

.page-cockfighting__tips-list li::before {
  content: '✔';
  color: #F2C14E;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-cockfighting__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-cockfighting__dark-section {
  background: #111111; /* Card background */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111;
  color: #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 0.3s ease;
  color: #FFD36B;
}
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: #222222;
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  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: #0A0A0A;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
  font-size: 16px;
  line-height: 1.6;
}

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

/* Fixed header spacing (from common) */
/* body padding-top is handled by shared.css */

/* Specific media queries as required by prompt */
@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 Specific Styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .page-cockfighting__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .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: 12px 20px;
    font-size: 16px;
  }
  
  .page-cockfighting__btn-large {
    padding: 15px 25px;
    font-size: 18px;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-container,
  .page-cockfighting__types-grid,
  .page-cockfighting__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__type-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__type-title,
  .page-cockfighting__promo-title {
    font-size: 20px;
  }

  .page-cockfighting__tips-strategies .page-cockfighting__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__tips-strategies .page-cockfighting__image-block {
    width: 100%;
  }

  .page-cockfighting__tips-list li {
    font-size: 15px;
  }

  /* FAQ Mobile */
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 16px; }
  .page-cockfighting__faq-toggle { font-size: 20px; width: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* General image and container rules for mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__features-grid,
  .page-cockfighting__steps-container,
  .page-cockfighting__types-grid,
  .page-cockfighting__promo-cards-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  
  .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;
  }
}

/* Ensure is-hidden works for overlay */
.page-cockfighting__game-trial-overlay.is-hidden { display: none !important; pointer-events: none !important; }
.page-cockfighting__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-cockfighting__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.page-cockfighting__reward-modal-content {
  background: #111111;
  border: 1px solid #F2C14E;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.5);
  color: #FFF6D6;
}
.page-cockfighting__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #FFF6D6;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}
.page-cockfighting__reward-modal-close:hover {
  color: #F2C14E;
}
.page-cockfighting__reward-modal h3 {
  color: #F2C14E;
  font-size: 28px;
  margin-bottom: 20px;
}
.page-cockfighting__reward-modal p {
  font-size: 18px;
  margin-bottom: 30px;
}