.page-cockfighting {
  background-color: #08160F;
  color: #F2FFF6;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow-x: hidden;
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px 40px;
  max-width: 1390px;
  margin: 0 auto;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* 1920x600 ratio */
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

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

.page-cockfighting__main-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-cockfighting__cta-button--small {
  font-size: 1rem;
  padding: 12px 25px;
}

.page-cockfighting__cta-button--large {
  font-size: 1.25rem;
  padding: 16px 35px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #57E38D;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-cockfighting__section-title--inverted {
  color: #F2FFF6;
}

.page-cockfighting__introduction,
.page-cockfighting__features,
.page-cockfighting__how-to-play,
.page-cockfighting__promotions,
.page-cockfighting__faq,
.page-cockfighting__cta-final {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-cockfighting__text-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__text-content--inverted {
  color: #F2FFF6;
  text-align: center;
}

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

.page-cockfighting__feature-card {
  background-color: #11271B;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(34, 199, 104, 0.3);
}

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

.page-cockfighting__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2C14E; /* Gold color for feature titles */
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 0.95rem;
  color: #A7D9B8;
  line-height: 1.6;
}

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

.page-cockfighting__step-item {
  background-color: #11271B;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #1E3A2A;
}

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

.page-cockfighting__step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 0.95rem;
  color: #A7D9B8;
  line-height: 1.6;
}

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

.page-cockfighting__promotion-card {
  background-color: #0A4B2C; /* Deep Green for promotion cards */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting__promotion-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-cockfighting__promotion-description {
  font-size: 0.95rem;
  color: #F2FFF6;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-cockfighting__promotion-link {
  color: #57E38D;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-cockfighting__promotion-link:hover {
  color: #2AD16F;
}

.page-cockfighting__faq-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-cockfighting__faq-item {
  background-color: #11271B;
  border-radius: 10px;
  padding: 20px 25px;
  border: 1px solid #1E3A2A;
}

.page-cockfighting__faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-cockfighting__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #57E38D;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-cockfighting__faq-answer {
  font-size: 0.95rem;
  color: #A7D9B8;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
  padding-top: 0;
}

.page-cockfighting__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-cockfighting__cta-final {
  background-color: #0A4B2C;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 80px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__cta-final .page-cockfighting__section-title {
  margin-bottom: 20px;
  color: #F2FFF6;
}

/* Mobile responsive adjustments */
@media (max-width: 849px) {
  .page-cockfighting__hero-section {
    padding: 15px 10px 30px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-cockfighting__introduction,
  .page-cockfighting__features,
  .page-cockfighting__how-to-play,
  .page-cockfighting__promotions,
  .page-cockfighting__faq,
  .page-cockfighting__cta-final {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

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

  .page-cockfighting__feature-card,
  .page-cockfighting__step-item,
  .page-cockfighting__promotion-card,
  .page-cockfighting__faq-item {
    padding: 20px;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__step-image {
    max-height: 200px;
  }

  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }

  .page-cockfighting__faq-question {
    font-size: 1.05rem;
  }

  .page-cockfighting__faq-answer {
    font-size: 0.9rem;
  }

  .page-cockfighting__cta-final {
    padding: 40px 15px;
  }
}

@media (max-width: 549px) {
  .page-cockfighting__hero-section {
    padding: 10px 10px 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.2rem, 8vw, 2rem);
  }

  .page-cockfighting__hero-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-cockfighting__introduction,
  .page-cockfighting__features,
  .page-cockfighting__how-to-play,
  .page-cockfighting__promotions,
  .page-cockfighting__faq,
  .page-cockfighting__cta-final {
    margin: 30px auto;
    padding: 0 10px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
    margin-bottom: 25px;
  }

  .page-cockfighting__text-content {
    font-size: 0.9rem;
    text-align: left;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__promotion-title {
    font-size: 1.1rem;
  }

  .page-cockfighting__feature-description,
  .page-cockfighting__step-description,
  .page-cockfighting__promotion-description {
    font-size: 0.85rem;
  }

  .page-cockfighting__cta-final {
    padding: 30px 10px;
  }
}