.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

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

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

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

.page-cockfighting__text-center {
  text-align: center;
}

.page-cockfighting__section {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Brand color for titles */
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__dark-bg .page-cockfighting__sub-title {
  color: #ffffff;
}

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

.page-cockfighting__paragraph {
  margin-bottom: 15px;
}

.page-cockfighting__list {
  list-style: disc inside;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-cockfighting__list-item {
  margin-bottom: 8px;
}

.page-cockfighting__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-cockfighting__dark-bg .page-cockfighting__text-link {
  color: #FFFF00;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login yellow text */
  border: 2px solid #C30808;
  margin-right: 15px;
}

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

.page-cockfighting__btn-secondary {
  background-color: #FFFFFF;
  color: #017439; /* Brand green text */
  border: 2px solid #017439;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2b;
  border-color: #005a2b;
}

/* Hero Section */
.page-cockfighting__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.page-cockfighting__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.page-cockfighting__hero-content {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-align: left;
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-align: left;
}

.page-cockfighting__hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-cockfighting__hero-video-wrapper {
  flex: 1;
  min-width: 400px;
  position: relative;
  padding-bottom: 28.125%; /* 16:9 Aspect Ratio (56.25% for 16:9, 28.125% for half height) */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 1;
  cursor: pointer;
}

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

/* Features Section */
.page-cockfighting__features-section {
  background-color: #f8f8f8;
}

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

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

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-cockfighting__card-text {
  font-size: 1em;
  color: #555555;
}

/* How to Start Section */
.page-cockfighting__how-to-start-section {
  background-color: #017439;
}

.page-cockfighting__how-to-start-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__how-to-start-section .page-cockfighting__section-description {
  color: #f0f0f0;
}

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

.page-cockfighting__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-icon {
  background-color: #C30808; /* Red for steps */
  color: #FFFF00; /* Yellow text for steps */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-button {
  margin-top: auto; /* Push button to bottom */
  margin-right: 0; /* Remove margin for single button */
  width: fit-content;
}

/* Gameplay Section */
.page-cockfighting__gameplay-section {
  background-color: #ffffff;
}

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

.page-cockfighting__text-block {
  flex: 2;
  min-width: 300px;
}

.page-cockfighting__image-block {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-height: 200px;
  min-width: 200px;
}

/* Security Section */
.page-cockfighting__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__security-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-cockfighting__security-item .page-cockfighting__card-title {
  color: #017439;
}

.page-cockfighting__security-item .page-cockfighting__card-text {
  color: #555555;
}

/* Testimonials Section */
.page-cockfighting__testimonials-section {
  background-color: #f8f8f8;
}

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

.page-cockfighting__testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-style: italic;
  color: #555555;
}

.page-cockfighting__testimonial-author {
  margin-top: 15px;
  font-weight: bold;
  color: #333333;
  font-style: normal;
}

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

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

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

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

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__cta-section .page-cockfighting__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__hero-content {
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-container {
    flex-direction: column;
    padding: 30px 15px;
  }
  .page-cockfighting__hero-content {
    padding-right: 0;
    text-align: center;
    order: 2;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
    text-align: center;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
    text-align: center;
  }
  .page-cockfighting__hero-buttons {
    justify-content: center;
    width: 100%;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    margin-right: 0;
  }
  .page-cockfighting__hero-video-wrapper {
    min-width: unset;
    width: 100%;
    margin-bottom: 30px;
    order: 1;
    padding-bottom: 56.25%; /* Full 16:9 aspect ratio for mobile video */
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__security-item,
  .page-cockfighting__testimonial-card {
    padding: 20px;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__text-block {
    min-width: unset;
    width: 100%;
  }
  .page-cockfighting__image-block {
    min-width: unset;
    width: 100%;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }

  /* Force responsive for images and videos */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__hero-video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}