.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF;
}

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

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

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

.page-cockfighting__paragraph {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-cockfighting__paragraph--white {
  color: #FFFFFF;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: #C30808;
  color: #FFFF00;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-cockfighting__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  box-sizing: border-box;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
  border-color: #017439;
}

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

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

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

.page-cockfighting__hero-title {
  font-size: 52px;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: #F0F0F0;
  margin-bottom: 30px;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
}

.page-cockfighting__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  text-align: center;
}

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

/* Why Choose Section */
.page-cockfighting__why-choose-section {
  background-color: #017439;
  padding: 80px 0;
}

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

.page-cockfighting__feature-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__feature-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

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

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

.page-cockfighting__step-item {
  text-align: center;
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-cockfighting__step-title {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
  background-color: #017439;
  padding: 80px 0;
}

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

.page-cockfighting__bet-type-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__bet-type-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__bet-type-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
}

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

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

.page-cockfighting__tip-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__tip-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

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

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

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

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

.page-cockfighting__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-cockfighting__promo-description {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

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

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Changed by JS */
}

.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 all content */
  padding: 15px 25px;
}

.page-cockfighting__faq-answer p {
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 44px;
  }
  .page-cockfighting__hero-description {
    font-size: 18px;
  }
  .page-cockfighting__section-title {
    font-size: 30px;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__image-wrapper {
    margin-top: 30px;
  }
}

@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-title {
    font-size: 36px;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }
  .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;
  }
  .page-cockfighting__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 60px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting img,
  .page-cockfighting__image,
  .page-cockfighting__feature-icon,
  .page-cockfighting__step-image,
  .page-cockfighting__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__image-wrapper,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-item,
  .page-cockfighting__bet-type-card,
  .page-cockfighting__tip-card,
  .page-cockfighting__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 30px;
  }
  .page-cockfighting__hero-description {
    font-size: 15px;
  }
  .page-cockfighting__section-title {
    font-size: 22px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 16px;
    padding: 10px 20px;
  }
}