/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-cockfighting__text-block {
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__list li {
  margin-bottom: 10px;
}

.page-cockfighting__card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #F2FFF6; /* Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__card-description {
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

/* Color contrast classes */
.page-cockfighting__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__light-bg {
  background-color: #0A4B2C; /* Deep Green for contrast */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Card BG for sections */
  color: #F2FFF6; /* Text Main */
}

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background: #2AD16F;
  color: #ffffff;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

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

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 60px 20px;
}

/* How-To-Join Section */
.page-cockfighting__how-to-join-section {
  padding: 60px 20px;
}

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

.page-cockfighting__step-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  width: 100%; /* Ensure desktop width is 100% with max-width */
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video-caption {
  color: #A7D9B8;
  margin-top: 15px;
  font-style: italic;
}

.page-cockfighting__video-cta {
  margin-top: 30px;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 60px 20px;
}

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

.page-cockfighting__tips-block {
  background-color: #0A4B2C;
  border-left: 5px solid #2AD16F;
  padding: 25px;
  border-radius: 8px;
  color: #F2FFF6;
}

.page-cockfighting__tips-block p {
  color: #A7D9B8;
}

.page-cockfighting__tips-block .page-cockfighting__list {
  color: #A7D9B8;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 20px;
}

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

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px; /* Adjust max-width for feature icons */
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
}

/* Strategies Section */
.page-cockfighting__strategies-section {
  padding: 60px 20px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 20px;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-cockfighting__faq-question:hover {
  background-color: #1E3A2A;
}

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  font-size: 0.95em;
}

/* Details tag specific styling for FAQ */
.page-cockfighting__faq-item summary {
  list-style: none;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

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

  .page-cockfighting__hero-section,
  .page-cockfighting__intro-section,
  .page-cockfighting__how-to-join-section,
  .page-cockfighting__video-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__features-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    padding: 40px 15px;
  }

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

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

  .page-cockfighting__sub-title {
    font-size: 1.5em;
  }

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

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

  /* Image responsive adaptation */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Image container responsive adaptation */
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__step-card,
  .page-cockfighting__feature-card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0px;
    padding-right: 0px;
    overflow: hidden !important;
  }

  .page-cockfighting__step-image,
  .page-cockfighting__feature-icon {
    margin-left: auto;
    margin-right: auto;
  }

  /* Video responsive adaptation */
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video container responsive adaptation */
  .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: 0px;
    padding-right: 0px;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding: 0 15px; /* Add padding to button group */
  }
}