/* style/cockfighting.css */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-cockfighting__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-cockfighting__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability, not color change */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  color: #E0B34C;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: #E0B34C;
  color: #0A2463;
  border: 2px solid #E0B34C;
}

.page-cockfighting__btn-primary:hover {
  background-color: #ffc107;
  color: #0A2463;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #E0B34C;
  color: #0A2463;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 0;
  background-color: #000000;
  color: #f0f0f0;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 0;
}

.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
}

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

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

.page-cockfighting__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* How To Bet Section */
.page-cockfighting__how-to-bet-section {
  padding: 60px 0;
  background-color: #000000;
  color: #f0f0f0;
}

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

.page-cockfighting__step-card {
  background-color: #0A2463;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__step-icon {
  font-size: 2.5em;
  color: #E0B34C;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1;
}

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

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

.page-cockfighting__cta-buttons--centered {
  text-align: center;
  margin-top: 40px;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  padding: 60px 0;
}

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

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

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

.page-cockfighting__type-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 60px 0;
  background-color: #000000;
  color: #f0f0f0;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background-color: #0A2463;
  border-left: 5px solid #E0B34C;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__strategy-subtitle {
  font-size: 1.3em;
  color: #E0B34C;
  margin-bottom: 10px;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
}

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

.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-cockfighting__promo-title a {
  color: #E0B34C;
  text-decoration: none;
}

.page-cockfighting__promo-title a:hover {
  text-decoration: underline;
}

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

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #000000;
  color: #f0f0f0;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: #0A2463;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #0A2463;
  color: #E0B34C;
  font-weight: bold;
  font-size: 1.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: #1a3a7c;
}

.page-cockfighting__faq-heading {
  margin: 0;
  color: #E0B34C;
}

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

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

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #0A2463;
  color: #f0f0f0;
}

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

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

/* Final CTA Section */
.page-cockfighting__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__cta-final-content {
  max-width: 800px;
}

.page-cockfighting__cta-final-title {
  font-size: 2.8em;
  color: #E0B34C;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__cta-final-description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__container,
  .page-cockfighting__intro-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-bet-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-cockfighting__hero-video-wrapper {
    overflow: hidden !important;
  }

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

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

  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
}