/* style/cockfighting.css */
/* Body padding-top handled by shared.css */

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

.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--page-cockfighting-text-main-color);
  background-color: var(--page-cockfighting-bg-color);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-cockfighting-text-main-color);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--page-cockfighting-text-main-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__text-block p,
.page-cockfighting__content-area p,
.page-cockfighting__list-item {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--page-cockfighting-text-main-color);
}

.page-cockfighting__list,
.page-cockfighting__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-cockfighting__ordered-list {
  list-style-type: decimal;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  min-height: 600px;
  overflow: hidden;
  background-color: var(--page-cockfighting-bg-color);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content up over the image, but not covering it completely */
  background: linear-gradient(to top, var(--page-cockfighting-bg-color) 0%, rgba(8, 22, 15, 0.7) 70%, rgba(8, 22, 15, 0) 100%);
  padding-top: 150px;
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  color: var(--page-cockfighting-text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-cockfighting__description {
  font-size: 1.2em;
  color: var(--page-cockfighting-text-secondary-color);
  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__btn-primary,
.page-cockfighting__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-glow-color);
  color: var(--page-cockfighting-bg-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

/* Section Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__betting-types-section,
.page-cockfighting__rules-section,
.page-cockfighting__advantages-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
}

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

.page-cockfighting__light-bg {
  background-color: #111e17; /* A slightly lighter dark green for contrast */
  color: var(--page-cockfighting-text-main-color);
}

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

/* Content Area Images */
.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg-color);
  border: 1px solid var(--page-cockfighting-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-text-main-color);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 15px;
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg-color);
  border: 1px solid var(--page-cockfighting-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-cockfighting-text-main-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-cockfighting-text-main-color);
  background-color: var(--page-cockfighting-deep-green-color);
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-cockfighting-gold-color);
  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 25px;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary-color);
}

.page-cockfighting__faq-item:not([open]) .page-cockfighting__faq-answer {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
    min-height: auto;
  }

  .page-cockfighting__hero-content {
    margin-top: -100px;
    padding-top: 100px;
  }

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

  .page-cockfighting__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;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }

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

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__card-grid {
    grid-template-columns: 1fr;
  }

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

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