/* Base styles for the page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background: #ffffff; /* Default background for light sections */
}

.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: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-cockfighting p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small padding-top, as body handles header offset */
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  background-color: #f0f8ff; /* Light blue tint */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  max-width: 800px;
  padding: 20px 15px;
  z-index: 2;
}

.page-cockfighting__main-title {
  font-size: 44px;
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-cockfighting__intro-description {
  font-size: 18px;
  color: #333333;
  margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background: #1e87b8;
  border-color: #1e87b8;
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background: #e0f2f7;
  color: #1e87b8;
  border-color: #1e87b8;
}

.page-cockfighting__btn-link {
  background: none;
  color: #26A9E0;
  border: 2px solid transparent;
  padding: 10px 15px;
  font-size: 16px;
}

.page-cockfighting__btn-link:hover {
  text-decoration: underline;
  color: #1e87b8;
}

/* General Section Backgrounds */
.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-cockfighting__dark-text {
  color: #ffffff;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 50px 0;
  text-align: center;
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Game Types Section */
.page-cockfighting__game-types {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__type-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-cockfighting__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__type-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* How to Bet Section */
.page-cockfighting__how-to-bet {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting__step-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-cockfighting__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-cockfighting__tip-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__tip-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__promo-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

/* FAQ Section */
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: #555555;
}

/* Bottom CTA Section */
.page-cockfighting__cta-bottom {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__cta-bottom-content {
  max-width: 800px;
}

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

/* --- Homepage specific CSS (included as per strict instructions, though not directly used by this page's 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;
    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-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;
  }
  /* Additional PC layout for homepage modules, not directly affecting cockfighting.html */
  .page-cockfighting__promo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 16px auto 0;
    padding: 0 16px;
  }
  .page-cockfighting__promo-strip-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .page-cockfighting__promo-strip-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
  }
  .page-cockfighting__promo-strip-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .page-cockfighting__promo-strip-content p {
    font-size: 14px;
    line-height: 1.4;
  }
  .page-cockfighting__hot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 40px auto 0;
    padding: 0 16px;
  }
  .page-cockfighting__hot-games-item {
    text-align: center;
  }
  .page-cockfighting__hot-games-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .page-cockfighting__hot-games-name,
  .page-cockfighting__hot-games-rtp,
  .page-cockfighting__hot-games-desc {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 15px;
    line-height: 1.55;
  }

  .page-cockfighting__container {
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: 30px;
  }

  .page-cockfighting__intro-description {
    font-size: 16px;
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .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__feature-grid,
  .page-cockfighting__type-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__tip-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__type-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

  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 content area images */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Homepage specific mobile styles for promo strip and hot games */
  .page-cockfighting__promo-strip-track {
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 columns */
    overflow-x: hidden !important;
    padding: 0 15px !important;
  }
  .page-cockfighting__promo-strip-item {
    flex-direction: column !important;
    text-align: center !important;
  }
  .page-cockfighting__promo-strip-icon {
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }
  .page-cockfighting__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0 15px !important;
  }
  .page-cockfighting__hot-games-name,
  .page-cockfighting__hot-games-rtp,
  .page-cockfighting__hot-games-desc {
    display: none !important; /* Hide for mobile if needed */
  }
  /* Winner ticker fixed bottom bar for mobile */
  .page-cockfighting__winner-ticker {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(0,0,0,0.8) !important;
    color: #fff !important;
    padding: 10px 15px !important;
    box-sizing: border-box !important;
  }
  body {
    padding-bottom: 50px; /* Adjust if ticker is fixed */
  }
}

/* Common utility classes */
.is-hidden {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}