.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for first section */
  overflow: hidden;
  color: #FFF3E6;
  background-color: #0D0E12; /* Ensure dark background for text contrast */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFF3E6;
  line-height: 1.2;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #FFB04D; /* Glow */
}

.page-cockfighting__section-description {
  font-size: 1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF3E6;
}

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

.page-cockfighting__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #FFF3E6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #FFA53A;
  color: #0D0E12;
  transform: translateY(-2px);
}

.page-cockfighting__dark-bg {
  background-color: #0D0E12; /* Background */
  color: #FFF3E6; /* Text Main */
  padding: 60px 0;
}

.page-cockfighting__card-bg {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
  padding: 60px 0;
}

/* Video Section */
.page-cockfighting__video-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
}

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

/* Intro Section */
.page-cockfighting__intro-section .page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__intro-section .page-cockfighting__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__intro-section .page-cockfighting__text-block {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

/* Types Section */
.page-cockfighting__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__type-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.3);
}

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFA53A;
}

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: #FFF3E6;
}

/* Rules Section */
.page-cockfighting__rules-section .page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__rules-section .page-cockfighting__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__rules-section .page-cockfighting__text-block {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-cockfighting__sub-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #FF8C1A;
}

.page-cockfighting__rules-section ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-cockfighting__rules-section ul li {
  margin-bottom: 8px;
}

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

.page-cockfighting__benefit-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__benefit-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFB04D; /* Glow */
}

.page-cockfighting__benefit-text {
  font-size: 0.95em;
  color: #FFF3E6;
}

.page-cockfighting__benefits-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__step-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  border: 3px solid #0D0E12;
  box-shadow: 0 0 0 5px #A84F0C;
}

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

.page-cockfighting__step-text {
  font-size: 0.95em;
  color: #FFF3E6;
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__tip-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tip-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFB04D;
}

.page-cockfighting__tip-text {
  font-size: 0.95em;
  color: #FFF3E6;
}

.page-cockfighting__tips-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__faq-item {
  background-color: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-item[open] {
  background-color: #17191F;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: #FFA53A;
  list-style: none;
  user-select: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95em;
  color: #FFF3E6;
  line-height: 1.6;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__intro-section .page-cockfighting__content-wrapper,
  .page-cockfighting__rules-section .page-cockfighting__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__intro-section .page-cockfighting__content-image,
  .page-cockfighting__intro-section .page-cockfighting__text-block,
  .page-cockfighting__rules-section .page-cockfighting__content-image,
  .page-cockfighting__rules-section .page-cockfighting__text-block {
    max-width: 100%;
  }

  .page-cockfighting__intro-section .page-cockfighting__text-block,
  .page-cockfighting__rules-section .page-cockfighting__text-block {
    order: 2; /* Text after image on smaller screens */
  }

  .page-cockfighting__intro-section .page-cockfighting__content-image,
  .page-cockfighting__rules-section .page-cockfighting__content-image {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section,
  .page-cockfighting__dark-bg,
  .page-cockfighting__card-bg {
    padding: 40px 0 !important;
  }

  .page-cockfighting__container {
    padding: 0 10px !important;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-cockfighting__section-description {
    font-size: 0.9em;
    margin-bottom: 25px;
  }

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

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

  /* Image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Video responsiveness */
  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important;
    height: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Small top padding for video section on mobile */
  }

  .page-cockfighting__content-wrapper,
  .page-cockfighting__grid-layout,
  .page-cockfighting__benefits-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__tips-list,
  .page-cockfighting__faq-list {
    gap: 20px !important;
  }

  .page-cockfighting__type-card,
  .page-cockfighting__benefit-item,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__faq-item {
    padding: 20px !important;
  }

  .page-cockfighting__card-image {
    height: 200px !important;
  }

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

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