/* style/cockfighting.css */

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

/* Base styles for the page content, ensuring contrast with body background */
.page-cockfighting {
  background-color: var(--page-cockfighting-background); /* Dark background */
  color: var(--page-cockfighting-text-main); /* Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-cockfighting__text-block {
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--page-cockfighting-deep-green); /* Example background for hero if image isn't full bleed */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size */
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

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

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

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-main);
  transform: translateY(-3px);
}

.page-cockfighting__btn-link {
    background: transparent;
    color: var(--page-cockfighting-primary-color);
    border: 1px solid var(--page-cockfighting-border);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-cockfighting__btn-link:hover {
    background: var(--page-cockfighting-primary-color);
    color: var(--page-cockfighting-text-main);
}


/* About Section */
.page-cockfighting__about-section {
  background-color: var(--page-cockfighting-background);
  padding: 60px 0;
}

.page-cockfighting__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-cockfighting__features-section {
  background-color: var(--page-cockfighting-deep-green);
  padding: 60px 0;
}

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

.page-cockfighting__feature-card {
  background: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--page-cockfighting-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

/* How To Play Section */
.page-cockfighting__how-to-play-section {
  background-color: var(--page-cockfighting-background);
  padding: 60px 0;
}

.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__list-item {
  background: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
  font-size: 1.3rem;
  color: var(--page-cockfighting-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__list-item p {
  color: var(--page-cockfighting-text-secondary);
  font-size: 1rem;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  background-color: var(--page-cockfighting-deep-green);
  padding: 60px 0;
}

.page-cockfighting__betting-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  background-color: var(--page-cockfighting-background);
  padding: 60px 0;
}

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

.page-cockfighting__promo-card {
    background: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    color: var(--page-cockfighting-gold);
}

/* Tips Section */
.page-cockfighting__tips-section {
  background-color: var(--page-cockfighting-deep-green);
  padding: 60px 0;
}

.page-cockfighting__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: var(--page-cockfighting-background);
  padding: 60px 0;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--page-cockfighting-primary-color);
  font-weight: bold;
  background-color: var(--page-cockfighting-deep-green);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: var(--page-cockfighting-deep-green); /* Keep it dark, maybe slightly lighter */
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px;
  color: var(--page-cockfighting-text-secondary);
  font-size: 1rem;
  max-height: 0; /* For JS based accordion */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-cockfighting__faq-answer p {
    padding-bottom: 20px; /* Add padding to text inside */
}

/* Details tag specific styles for native accordion behavior */
.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    padding-top: 15px;
    padding-bottom: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    background-color: var(--page-cockfighting-deep-green);
}

/* Hide default details marker */
.page-cockfighting__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-cockfighting__faq-item summary {
  list-style: none;
}

/* CTA Section */
.page-cockfighting__cta-section {
  background-color: var(--page-cockfighting-deep-green);
  padding: 80px 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-cockfighting__container {
    padding: 30px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }
  .page-cockfighting__text-block {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  /* Images responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness (if any) */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Container padding and overflow for mobile */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Hero section specific mobile adjustments */
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  /* Button responsiveness */
  .page-cockfighting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ specific mobile adjustments */
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px;
  }
  .page-cockfighting__faq-item[open] .page-cockfighting__faq-answer {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.5rem;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9rem;
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__list-title {
    font-size: 1.1rem;
  }
}