/* 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;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--page-cockfighting-text-main); /* Main text color for dark body background */
  background-color: var(--page-cockfighting-background);
  line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is for visual */
  background-color: var(--page-cockfighting-background);
  overflow: hidden;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  margin-top: -150px; /* Pull content up over image slightly */
}

.page-cockfighting__main-title {
  font-weight: bold;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

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

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

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

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

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--page-cockfighting-glow);
}

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

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--page-cockfighting-glow);
}

/* General Section Styling */
.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__benefits-section,
.page-cockfighting__responsible-gaming-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  background-color: var(--page-cockfighting-background);
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: var(--page-cockfighting-gold);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-cockfighting-primary-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-secondary);
  margin-bottom: 25px;
  text-align: justify;
}

.page-cockfighting__image-center {
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  height: auto;
}

.page-cockfighting__image-bottom-spacing {
  margin-bottom: 0;
}

/* Features Grid */
.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-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--page-cockfighting-glow);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

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

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

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

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__step-title {
  font-size: 1.6rem;
  color: var(--page-cockfighting-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Benefits List */
.page-cockfighting__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

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

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

.page-cockfighting__benefit-description {
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.5;
}

/* Responsible Gaming */
.page-cockfighting__responsible-gaming-section .page-cockfighting__btn-secondary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__faq-question::-webkit-details-marker { /* For details/summary */
  display: none;
}

.page-cockfighting__faq-question:hover {
  background-color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle, /* For details/summary */
.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-answer, /* For details/summary */
.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 15px;
}

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

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-gold);
}

.page-cockfighting__cta-final-section .page-cockfighting__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__hero-content {
    margin-top: -100px;
  }
}

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

  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }
  
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }

  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 0 15px;
  }

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

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__responsible-gaming-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding: 60px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }

  .page-cockfighting__image-center {
    margin: 30px auto;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }

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

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

  /* Responsive Images, Videos, Buttons */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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;
  }
  
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .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;
  }
  
  .page-cockfighting__cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__cta-buttons {
    gap: 10px;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    padding: 12px 20px;
  }
}