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

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

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

.page-cockfighting__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #E53935; /* Brand color for titles */
}

.page-cockfighting__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, assuming body padding-top from shared.css */
  background-color: #f5f7fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #E53935;
  margin-bottom: 15px;
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  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;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

/* Image Content */
.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Grid Layouts */
.page-cockfighting__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.page-cockfighting__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

/* Card Styles */
.page-cockfighting__card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 10px;
}

.page-cockfighting__card-text {
  font-size: 15px;
  color: #333333;
}

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-cockfighting__guide-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.page-cockfighting__guide-item::before {
  counter-increment: guide-counter;
  content: "0" counter(guide-counter);
  font-size: 28px;
  font-weight: bold;
  color: #FF5A4F;
  margin-right: 15px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.page-cockfighting__guide-step-title {
  font-size: 20px;
  font-weight: bold;
  color: #E53935;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Feature Items */
.page-cockfighting__feature-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 15px;
  color: #333333;
}

/* Specific Section Backgrounds/Colors */
.page-cockfighting__dark-section {
  background: #E53935;
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__card-title {
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-cockfighting__medium-bg {
  background: #FF5A4F;
  color: #ffffff;
}

.page-cockfighting__medium-bg .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background: #F5F7FA;
  color: #333333;
}

/* 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: #333333;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__btn-primary {
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  /* HOMEPAGE SPECIFIC STYLES - INCLUDED AS PER MANDATORY INSTRUCTION, BUT NOT USED IN THIS PAGE'S HTML */
  .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) {
  /* HOMEPAGE SPECIFIC STYLES - INCLUDED AS PER MANDATORY INSTRUCTION, BUT NOT USED IN THIS PAGE'S HTML */
  .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__section-title {
    font-size: 28px;
  }

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

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

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

  .page-cockfighting__grid-3-cols,
  .page-cockfighting__grid-2-cols {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__guide-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .page-cockfighting__guide-item::before {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .page-cockfighting__guide-step-title {
    font-size: 18px;
  }

  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 and container responsiveness */
  .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 STYLES - INCLUDED AS PER MANDATORY INSTRUCTION, BUT NOT USED IN THIS PAGE'S HTML */
  .page-cockfighting__promo-strip-track { /* Placeholder for homepage promo strip */
    grid-template-columns: repeat(2, 1fr) !important; 
    overflow-x: hidden !important;
    gap: 10px !important;
  }
  .page-cockfighting__hot-games-grid { /* Placeholder for homepage hot games */
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  .page-cockfighting__brand-intro { /* Placeholder for homepage brand intro */
    display: block !important;
  }
  .page-cockfighting__winner-ticker { /* Placeholder for homepage winner ticker */
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
  }
  body {
    padding-bottom: 50px; /* Adjust if winner ticker is fixed */
  }
}

/* HOMEPAGE SPECIFIC STYLES - INCLUDED AS PER MANDATORY INSTRUCTION, BUT NOT USED IN THIS PAGE'S HTML */
.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;}.page-cockfighting__reward-modal-close{position:absolute;top:10px;right:10px;font-size:24px;color:#fff;cursor:pointer;background:none;border:none;}

/* No filter properties to change image colors */
.page-cockfighting img {
  filter: none; /* Ensure no CSS filters are applied */
}