.page-cockfighting {
  color: #ffffff; /* Body background #1a1a1a (dark), so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #1a1a1a; /* Ensure consistency with shared.css body background for content context */
}

.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; /* Primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__section-title--white {
  color: #FFFFFF;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__section-description--white {
  color: #FFFFFF;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  overflow: hidden;
}

.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.7);
  z-index: 2;
}

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

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

.page-cockfighting__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
}

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

.page-cockfighting__intro-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__intro-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__intro-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__intro-heading {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__intro-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Even darker background */
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

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

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

.page-cockfighting__video-cta {
  margin-top: 20px;
}

/* How-To-Play Section */
.page-cockfighting__how-to-play-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__step-heading {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

/* Advantages Section */
.page-cockfighting__advantages-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-cockfighting__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-cockfighting__advantage-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__advantage-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-cockfighting__advantage-heading {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__advantage-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__promo-heading {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__promo-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

.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;
  color: #f0f0f0;
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

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

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

/* Responsive Design */
@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: 2em;
  }
  .page-cockfighting__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-content {
    padding: 15px;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

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

  .page-cockfighting__intro-section,
  .page-cockfighting__video-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-cockfighting__intro-grid,
  .page-cockfighting__steps-list,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__intro-item,
  .page-cockfighting__step-item,
  .page-cockfighting__advantage-card,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

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

  .page-cockfighting__intro-heading,
  .page-cockfighting__step-heading,
  .page-cockfighting__advantage-heading,
  .page-cockfighting__promo-heading {
    font-size: 1.5em;
  }

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

  .page-cockfighting__hero-image {
    width: 100% !important;
    height: 100% !important;
  }

  /* Video responsive rules */
  .page-cockfighting video,
  .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__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 1.1em;
  }

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

  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }
}