.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css var(--black-color) */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px 0; /* Adjusted padding-top for header offset */
  min-height: 600px;
  overflow: hidden;
  text-align: center;
}

.page-cockfighting__hero-section .page-cockfighting__container {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-cockfighting__main-title {
  font-size: 3.5em;
  font-weight: 900;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* General Section Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__promotions-section,
.page-cockfighting__cta-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
}

.page-cockfighting__advantages-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  color: #FFFFFF; /* Light text for dark background */
}

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

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin: 10px;
}

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

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

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

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Image styles */
.page-cockfighting__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__feature-card {
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-cockfighting__feature-card p {
  color: #333333;
}

/* Bet Type Grid */
.page-cockfighting__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__bet-type-card {
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting__bet-type-card h3 {
  color: #26A9E0;
  font-size: 1.3em;
  margin-bottom: 10px;
}

/* How-to-play Steps */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background-color: #FFFFFF;
  color: #333333;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #EA7C07; /* Login color for emphasis */
  margin-bottom: 10px;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background-color: #FFFFFF;
  color: #333333;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

/* Promotions Section */
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__promo-item {
  background-color: #FFFFFF;
  color: #333333;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promo-title {
  font-size: 1.4em;
  color: #EA7C07;
  margin-bottom: 10px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: #FFFFFF;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #26A9E0;
}

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

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

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important;
  padding: 15px 20px;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 450px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting__text-block {
    font-size: 1em;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: calc(100% - 30px) !important; /* Account for margin */
    margin: 10px 15px !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__image-content,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__bet-type-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__step-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__promo-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }

  .page-cockfighting__faq-question {
    padding: 12px 15px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 12px 15px;
  }

  .page-cockfighting__content-area img {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }
  /* Ensure all content area images are at least 200px */
  .page-cockfighting__image-content {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
}