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

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Defaults to #F2FFF6 */
  background-color: var(--bg-color); /* Defaults to #08160F */
  line-height: 1.6;
}

.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: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  color: var(--text-main-color);
}

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

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

.page-cockfighting__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

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

.page-cockfighting__hero-description {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-cockfighting__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background: rgba(var(--border-color-rgb), 0.2);
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-cockfighting__dark-section {
  background-color: var(--bg-color);
  padding: 60px 0;
}

.page-cockfighting__introduction-section .page-cockfighting__container,
.page-cockfighting__game-types-section .page-cockfighting__container,
.page-cockfighting__guide-section .page-cockfighting__container,
.page-cockfighting__benefits-section .page-cockfighting__container,
.page-cockfighting__tips-section .page-cockfighting__container,
.page-cockfighting__promotions-section .page-cockfighting__container,
.page-cockfighting__faq-section .page-cockfighting__container,
.page-cockfighting__cta-final-section .page-cockfighting__container {
  background-color: var(--card-bg-color); /* #11271B */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting p {
  margin-bottom: 15px;
  color: var(--text-secondary-color);
  font-size: 1.1em;
  line-height: 1.7;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__highlight {
  color: var(--glow-color);
  font-weight: bold;
}

.page-cockfighting__list,
.page-cockfighting__guide-list,
.page-cockfighting__benefits-list,
.page-cockfighting__tips-list,
.page-cockfighting__promotions-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__list-item {
  background-color: var(--deep-green-color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--main-color);
}

.page-cockfighting__list-item h3 {
  color: var(--text-main-color);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__list-item p {
  margin-bottom: 0;
  color: var(--text-secondary-color);
}

.page-cockfighting__text-link {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cockfighting__text-link:hover {
  text-decoration: underline;
}

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

.page-cockfighting__faq-item {
  background-color: var(--deep-green-color);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--divider-color);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
  font-weight: bold;
  font-size: 1.15em;
  cursor: pointer;
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: var(--main-color);
  color: #fff;
}

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

.page-cockfighting__faq-question:hover {
  background-color: rgba(var(--main-color-rgb), 0.2);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

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

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

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

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  margin-bottom: 20px;
}

.page-cockfighting__cta-final-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-secondary-color);
}

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-cockfighting__hero-content {
    padding: 15px;
    width: 90%;
    position: static; /* Remove absolute positioning for mobile */
    transform: none;
    margin: 20px auto 0; /* Center content below image */
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for better contrast */
  }
  
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

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

  .page-cockfighting__hero-description {
    font-size: clamp(0.9em, 3vw, 1.1em);
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 25px;
  }

  .page-cockfighting__dark-section {
    padding: 40px 0;
  }

  .page-cockfighting__introduction-section .page-cockfighting__container,
  .page-cockfighting__game-types-section .page-cockfighting__container,
  .page-cockfighting__guide-section .page-cockfighting__container,
  .page-cockfighting__benefits-section .page-cockfighting__container,
  .page-cockfighting__tips-section .page-cockfighting__container,
  .page-cockfighting__promotions-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__cta-final-section .page-cockfighting__container {
    padding: 25px 15px;
    border-radius: 0;
  }

  .page-cockfighting p,
  .page-cockfighting li {
    font-size: 1em;
  }

  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

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

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

  .page-cockfighting__cta-final-section {
    padding: 60px 0;
  }

  .page-cockfighting__cta-final-section p {
    font-size: 1.1em;
    padding: 0 15px;
  }
  
  /* Image/Video container responsiveness */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}