.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

.page-cockfighting__dark-bg {
  background-color: var(--background);
  color: var(--text-main);
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 500px;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 0;
  margin-bottom: 20px;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: -80px; /* Overlap slightly with image for design */
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--deep-green);
  border: 2px solid var(--deep-green);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--deep-green);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(10, 75, 44, 0.4);
}

.page-cockfighting__btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-small:hover {
  opacity: 0.9;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* About Section */
.page-cockfighting__about-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-cockfighting__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 80px 0;
}

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

.page-cockfighting__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

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

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep-green);
  margin-bottom: 10px;
}

.page-cockfighting__feature-text {
  font-size: 1rem;
  color: #555555;
}

.page-cockfighting__image-centered {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-cockfighting__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

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

.page-cockfighting__promo-cards-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: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 25px;
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__promo-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep-green);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__promo-text {
  font-size: 1rem;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

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

.page-cockfighting__tip-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tip-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-cockfighting__tip-text {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  color: #333333;
}

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

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

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: normal;
  color: var(--deep-green);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #eee;
}

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

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-cockfighting__hero-content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    margin-top: 0; /* Reset margin for desktop */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 10px;
  }

  .page-cockfighting__hero-content {
    padding: 20px 15px;
    margin-top: -40px; /* Adjust overlap for mobile */
  }

  .page-cockfighting__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-small,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__types-section,
  .page-cockfighting__why-choose-us,
  .page-cockfighting__how-to-play,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 40px 0;
  }

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

  .page-cockfighting__content-grid,
  .page-cockfighting__card-grid,
  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-cards-grid,
  .page-cockfighting__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting img,
  .page-cockfighting__image-responsive,
  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    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__image-wrapper,
  .page-cockfighting__image-centered,
  .page-cockfighting__promo-card,
  .page-cockfighting__step-card,
  .page-cockfighting__tip-item,
  .page-cockfighting__feature-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Custom Colors */
.page-cockfighting {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure color contrast for light backgrounds */
.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__section-description,
.page-cockfighting__light-bg .page-cockfighting__feature-title,
.page-cockfighting__light-bg .page-cockfighting__feature-text,
.page-cockfighting__light-bg .page-cockfighting__promo-title,
.page-cockfighting__light-bg .page-cockfighting__promo-text,
.page-cockfighting__light-bg .page-cockfighting__faq-item summary,
.page-cockfighting__light-bg .page-cockfighting__faq-answer {
  color: #333333;
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

/* Override for custom colors */
.page-cockfighting__about-section,
.page-cockfighting__why-choose-us,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  background-color: #f8f9fa;
  color: #333333;
}

.page-cockfighting__about-section p,
.page-cockfighting__why-choose-us p,
.page-cockfighting__promotions-section p,
.page-cockfighting__faq-section p {
  color: #555555;
}

.page-cockfighting__why-choose-us .page-cockfighting__feature-item {
  background-color: #ffffff;
}

.page-cockfighting__promotions-section .page-cockfighting__promo-card {
  background-color: #ffffff;
}

.page-cockfighting__faq-section .page-cockfighting__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
}

.page-cockfighting__faq-section .page-cockfighting__faq-item summary {
  color: var(--deep-green);
}

.page-cockfighting__faq-section .page-cockfighting__faq-toggle {
  color: var(--deep-green);
}