/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: var(--background-color, #FFFFFF);
}

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

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

.page-cockfighting__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-cockfighting__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.page-cockfighting__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.page-cockfighting__main-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;
  color: #F0F0F0;
}

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

.page-cockfighting__paragraph {
  margin-bottom: 15px;
  font-size: 1.1em;
  text-align: justify;
}

.page-cockfighting__image-content {
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

/* Sections */
.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__security-section,
.page-cockfighting__cta-section {
  padding: 80px 0;
}

.page-cockfighting__why-choose-us-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

/* Color Contrast */
.page-cockfighting__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__feature-title,
.page-cockfighting__dark-section .page-cockfighting__step-title,
.page-cockfighting__dark-section .page-cockfighting__promo-title,
.page-cockfighting__dark-section .page-cockfighting__faq-title {
  color: #FFFFFF;
}

.page-cockfighting__dark-section .page-cockfighting__paragraph {
  color: #F0F0F0;
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #26A9E0;
}

/* Buttons */
.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.page-cockfighting__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

/* Types Grid */
.page-cockfighting__types-grid,
.page-cockfighting__promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__type-item,
.page-cockfighting__promo-item {
  background: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

/* Steps List */
.page-cockfighting__steps-list {
  list-style: none;
  counter-reset: step-counter;
  margin-top: 40px;
  padding: 0;
  margin-bottom: 40px;
}

.page-cockfighting__step-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 30px;
}

.page-cockfighting__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #EA7C07;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFFFF;
}

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

.page-cockfighting__tip-item {
  background: #F8F8F8;
  padding: 25px;
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFFFF;
  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;
  color: #F0F0F0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

/* CTA Section */
.page-cockfighting__cta-container {
  text-align: center;
}

.page-cockfighting__cta-button {
  margin-top: 30px;
}

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

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

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

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

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

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

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-cockfighting__container,
  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-us-section,
  .page-cockfighting__types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-cockfighting__video-wrapper,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__step-item {
    padding-left: 50px;
  }

  .page-cockfighting__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }
}