/* style/cockfighting.css */

/* Base Styles */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default for light background */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default white */
}

/* Ensure main content has proper top padding for fixed header */
.page-cockfighting__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  color: #FFFFFF; /* Text on hero image should be light */
}

.page-cockfighting__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #017439; /* Fallback for image loading */
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Special color for hero title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-cockfighting__paragraph {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-cockfighting__highlight {
  font-weight: bold;
  color: #017439; /* Brand color for highlights */
}

/* Section specific styles */
.page-cockfighting__intro-section,
.page-cockfighting__what-is-dag-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__cta-download-section {
  padding: 80px 0;
}

.page-cockfighting__advantages-section,
.page-cockfighting__video-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
  color: #FFFFFF; /* Light text for dark background sections */
}

.page-cockfighting__advantages-section .page-cockfighting__section-title,
.page-cockfighting__video-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title,
.page-cockfighting__tips-section .page-cockfighting__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-cockfighting__advantages-section {
  background-color: #017439;
}

.page-cockfighting__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

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

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  color: #FFFFFF; /* Ensure text is white on dark card background */
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: #FFFFFF;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00; /* Yellow for card titles on dark background */
}

.page-cockfighting__light-bg .page-cockfighting__card-title {
  color: #017439; /* Brand color for card titles on light background */
}

.page-cockfighting__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__card-description {
  color: #333333;
}

/* How-to-play steps */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #017439;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #017439;
}

/* Video Section */
.page-cockfighting__video-section {
  background-color: #017439;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for video */
  margin: 0 auto 30px auto;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer; /* Indicate clickable video */
}

.page-cockfighting__video-link {
  display: block;
  text-decoration: none;
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 112px; /* For 16:9 aspect ratio */
}

.page-cockfighting__video-caption {
  font-size: 1.1em;
  color: #FFFFFF;
  margin-top: 20px;
}

/* Promotions Section */
.page-cockfighting__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  background-color: #017439;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFF00; /* Yellow for FAQ questions */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

/* CTA Download Section */
.page-cockfighting__cta-download-section {
  text-align: center;
}

/* Buttons */
.page-cockfighting__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box; /* Ensure padding/border included in width */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-cockfighting__btn--primary {
  background-color: #C30808; /* Red for primary action (Register/Login) */
  color: #FFFF00; /* Yellow text on red button */
  border-color: #C30808;
}

.page-cockfighting__btn--primary:hover {
  background-color: #e01010;
  border-color: #e01010;
  transform: translateY(-2px);
}

.page-cockfighting__btn--secondary {
  background-color: #017439; /* Brand green for secondary action */
  color: #FFFFFF;
  border-color: #017439;
}

.page-cockfighting__btn--secondary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
  transform: translateY(-2px);
}

.page-cockfighting__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Image specific styles to meet requirements */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Enforce minimum size for all content images */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* New content specific styles */
.page-cockfighting__content-image {
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__dark-bg .page-cockfighting__content-image {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__dark-bg .page-cockfighting__sub-title {
  color: #FFFF00;
}

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

.page-cockfighting__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-cockfighting__dark-bg .page-cockfighting__list-item {
  color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* Fixed header offset for mobile */
  .page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__btn--large {
    padding: 15px 25px;
    font-size: 1.1em;
  }

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

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

  .page-cockfighting__intro-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__video-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-download-section,
  .page-cockfighting__what-is-dag-section,
  .page-cockfighting__tips-section {
    padding: 50px 0;
  }

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

  /* Video responsiveness */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }

  /* Ensure card images are responsive */
  .page-cockfighting__card-image {
    height: auto;
    min-height: 200px;
  }

  /* FAQ */
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
    font-size: 1em;
  }

  /* Generic container for mobile overflow prevention */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__advantage-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__hero-content,
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* New content specific styles mobile */
  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }
  .page-cockfighting__list {
    margin-left: 15px;
  }
  .page-cockfighting__list-item {
    font-size: 1em;
  }
}

/* Override default padding for specific elements if needed */
.page-cockfighting__hero-content {
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}