.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main for dark background */
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles --header-offset, only small top padding here */
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio */
  overflow: hidden;
  margin-bottom: 40px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-cockfighting__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

/* Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #11271B; /* Card BG */
  color: #57E38D; /* Glow */
  border: 2px solid #2E7A4E; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

/* Sections */
.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__section-description {
  font-size: 1.05em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__light-bg {
  background-color: #0A4B2C; /* Deep Green, slightly lighter for contrast */
  color: #F2FFF6; /* Text Main */
  padding: 80px 0;
}

.page-cockfighting__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  padding: 80px 0;
}

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

.page-cockfighting__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__feature-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

/* Fishing Game Promo Section */
.page-cockfighting__fishing-game-promo .page-cockfighting__container {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-cockfighting__promo-content {
  flex: 1;
}

.page-cockfighting__promo-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-cockfighting__step-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__step-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__step-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  text-align: left;
}

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

/* CTA Bottom Section */
.page-cockfighting__cta-bottom {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__cta-bottom .page-cockfighting__section-title {
  margin-bottom: 25px;
}

.page-cockfighting__cta-bottom .page-cockfighting__section-description {
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__fishing-game-promo .page-cockfighting__container {
    flex-direction: column;
  }
  .page-cockfighting__promo-content,
  .page-cockfighting__promo-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-cockfighting__fishing-game-promo .page-cockfighting__promo-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 40px;
  }
}

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

  .page-cockfighting__container {
    padding: 0 15px;
  }

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

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

  .page-cockfighting__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
  }

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

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__promo-image-wrapper,
  .page-cockfighting__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid {
    gap: 20px;
  }
}