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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-dark);
}

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

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

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap slightly for visual effect, but not covering image */
  background-color: rgba(8, 22, 15, 0.9); /* Semi-transparent dark background */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.6);
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--background-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  line-height: 1.3;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__features-section,
.page-cockfighting__tips-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final {
  padding: 80px 0;
}

.page-cockfighting__introduction-section p,
.page-cockfighting__features-section p,
.page-cockfighting__benefits-section p,
.page-cockfighting__cta-final p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__subsection-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

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

.page-cockfighting__feature-item,
.page-cockfighting__benefit-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.page-cockfighting__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__feature-title,
.page-cockfighting__benefit-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-cockfighting__feature-item p,
.page-cockfighting__benefit-item p {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tips-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-main);
}

.page-cockfighting__tips-list li strong {
  color: var(--gold-color);
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-color);
}

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

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

.page-cockfighting__cta-final-content {
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    padding: 30px 15px;
    margin-top: -100px;
  }

  .page-cockfighting__main-title {
    font-size: 2em;
  }

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

  .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;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__features-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__image-content,
  .page-cockfighting__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
    box-sizing: border-box !important;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__subsection-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-cockfighting__tips-list li,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    font-size: 0.95em;
    padding: 15px;
  }

  .page-cockfighting__faq-item {
    margin-bottom: 10px;
  }

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

/* Ensure content images are not smaller than 200px */
.page-cockfighting img:not(.shared-header img, .shared-footer img) {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast Fixes */
.page-cockfighting__light-bg p, .page-cockfighting__light-bg li {
  color: #333333;
}
.page-cockfighting__dark-bg p, .page-cockfighting__dark-bg li {
  color: var(--text-secondary);
}
.page-cockfighting__card p {
  color: var(--text-secondary);
}
.page-cockfighting__card h3 {
  color: var(--gold-color);
}