.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--dark-bg-1); /* Assuming shared.css defines a dark background */
}

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

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

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

/* General Section Styling */
.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 60px auto;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__section-description,
.page-cockfighting__dark-section .page-cockfighting__sub-title {
  color: #FFFFFF;
}

.page-cockfighting__dark-bg {
  background-color: var(--dark-bg-1);
  color: #FFFFFF;
}

.page-cockfighting__dark-bg p,
.page-cockfighting__dark-bg li {
  color: #f0f0f0;
}

.page-cockfighting__introduction-section,
.page-cockfighting__guide-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.page-cockfighting__bet-types-section,
.page-cockfighting__advantages-section,
.page-cockfighting__faq-section {
  background-color: var(--dark-bg-1); /* Using the dark background variable */
  padding: 80px 0;
  color: #FFFFFF;
}

/* Content Grid */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__content-grid .page-cockfighting__text-block p {
  margin-bottom: 15px;
}

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

.page-cockfighting__text-block--full-width {
  grid-column: 1 / -1;
}

/* Bet Types Section */
.page-cockfighting__bet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__bet-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
}

.page-cockfighting__bet-card .page-cockfighting__card-title {
  color: #26A9E0;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-cockfighting__bet-card p {
  color: #f0f0f0;
}

/* Guide Section */
.page-cockfighting__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__step-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #26A9E0;
  color: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-card .page-cockfighting__card-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__step-card p {
  color: #555555;
  margin-bottom: 20px;
}

/* Advantages Section */
.page-cockfighting__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-cockfighting__advantage-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__advantage-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__advantage-item .page-cockfighting__card-title {
  color: #26A9E0;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-item p {
  color: #f0f0f0;
}

/* Promotions Section */
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__promo-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
}

.page-cockfighting__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 15px 10px 15px;
}

.page-cockfighting__promo-card p {
  color: #555555;
  padding: 0 15px 20px 15px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-small {
  display: inline-block;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFFFFF;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  color: #FFFFFF;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
  color: #f0f0f0;
}

/* CTA Section */
.page-cockfighting__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-cockfighting__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-cockfighting__btn-small:hover {
  background-color: #d16b05;
  border-color: #d16b05;
}

/* Global image rules for content area */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
  .page-cockfighting__sub-title {
    font-size: 1.6em;
  }
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-cockfighting__advantages-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__bet-grid,
  .page-cockfighting__step-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO Section */
  .page-cockfighting__hero-section {
    min-height: 450px;
    padding-top: 0; /* Ensures no double padding if shared.css handles body */
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em !important;
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* General Section Styling */
  .page-cockfighting__container {
    padding: 0 15px !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px;
    padding-top: 40px;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em !important;
    margin: -15px auto 40px auto;
  }
  .page-cockfighting__sub-title {
    font-size: 1.4em !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 50px 0 !important;
  }

  /* Content Grid */
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .page-cockfighting__text-block {
    padding: 0 5px;
  }
  .page-cockfighting__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Product/Gameshow Images - Example if there were gameshows */
  /* Assuming gameshow images are in a grid, this would apply */
  .page-cockfighting__promo-grid,
  .page-cockfighting__bet-grid,
  .page-cockfighting__step-grid,
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Universal Image Adaption */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* All content containers with images */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Buttons and Button Containers */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .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;
  }
  .page-cockfighting__hero-buttons,
  .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 !important;
    flex-direction: column !important; /* Ensure vertical stacking on mobile */
  }

  /* Other Content Modules (e.g., Cards, FAQ) */
  .page-cockfighting__bet-card,
  .page-cockfighting__step-card,
  .page-cockfighting__advantage-item,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item {
    padding: 20px 15px !important;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px !important;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px !important;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  .page-cockfighting p,
  .page-cockfighting li {
    font-size: 15px !important;
  }
}