/* style/cockfighting.css */

:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #22C768;
  --page-cockfighting-bg-dark: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border-color: #2E7A4E;
  --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-secondary); /* Default text color for the page */
  background-color: var(--page-cockfighting-bg-dark);
}

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

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border-color);
  border-radius: 8px;
  padding: 25px;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__text-main {
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-secondary {
  color: var(--page-cockfighting-text-secondary);
}

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

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

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

.page-cockfighting__hero-content {
  padding: 50px 20px;
  text-align: center;
  background-color: var(--page-cockfighting-bg-dark);
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-btn-gradient);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__centered-button {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__paragraph {
  font-size: 1.05rem;
  text-align: justify;
  margin-bottom: 25px;
  line-height: 1.7;
}

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

/* Features Section */
.page-cockfighting__features-grid,
.page-cockfighting__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__feature-item,
.page-cockfighting__tip-card {
  text-align: center;
}

.page-cockfighting__feature-title,
.page-cockfighting__tip-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__feature-description,
.page-cockfighting__tip-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* How to Play Section */
.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__step-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__step-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-cockfighting-text-secondary);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 8px;
  color: var(--page-cockfighting-text-main);
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: #1a3628; /* Slightly darker hover for dark card bg */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  font-size: 1.1rem;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-answer {
  padding: 15px 20px;
  font-size: 1rem;
  line-height: 1.6;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card bg */
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  color: var(--page-cockfighting-text-secondary);
}

/* CTA Bottom Section */
.page-cockfighting__cta-bottom-section {
  text-align: center;
  padding-bottom: 60px;
}

/* Global image and button responsive rules for desktop */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__cta-buttons,
.page-cockfighting__button-group,
.page-cockfighting__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 20px 15px;
  }

  /* HERO Section Mobile */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-cockfighting__hero-content {
    padding: 30px 15px;
  }

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

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

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

  /* Buttons Mobile */
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .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: 12px 20px !important;
    font-size: 1rem !important;
  }
  
  .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;
  }

  /* Section Titles Mobile */
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__paragraph {
    font-size: 0.95rem;
  }

  /* General Images Mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* All image containers and content sections */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  /* Features & Tips Grid Mobile */
  .page-cockfighting__features-grid,
  .page-cockfighting__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-cockfighting__feature-title,
  .page-cockfighting__tip-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.15rem;
  }

  /* FAQ Section Mobile */
  .page-cockfighting__faq-item summary {
    padding: 12px 15px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }

  .page-cockfighting__faq-toggle {
    font-size: 1.3rem;
  }

  .page-cockfighting__faq-answer {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
}

/* Ensure content area images are not smaller than 200px (desktop) */
.page-cockfighting__content-image {
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__features-grid img,
.page-cockfighting__tips-grid img {
  min-width: 200px;
  min-height: 200px;
}

/* No filter on images */
.page-cockfighting img {
  filter: none; /* Ensure no CSS filters are applied */
}