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

/* Base styles for the page content */
.page-cockfighting {
  color: var(--af88-text-main); /* Light text for dark body background */
  background-color: var(--af88-background); /* Ensure consistency if body background is not fully propagated */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Sections */
.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--af88-gold-color);
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__sub-title {
  font-size: 1.8em;
  color: var(--af88-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-cockfighting__text-link {
  color: var(--af88-secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: var(--af88-glow-color);
  text-decoration: underline;
}

.page-cockfighting__highlight {
  color: var(--af88-gold-color);
  font-weight: bold;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual flow, but not overlapping text */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.page-cockfighting__hero-description {
  font-size: 1.2em;
  color: var(--af88-text-secondary);
  margin-bottom: 30px;
}

/* Call to Action Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--af88-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: var(--af88-primary-color); /* Brand color for contrast */
  border: 2px solid var(--af88-primary-color);
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  background: var(--af88-primary-color);
  color: #ffffff;
}

/* Features Section */
.page-cockfighting__features-section .page-cockfighting__section-title,
.page-cockfighting__betting-types-section .page-cockfighting__section-title,
.page-cockfighting__experience-section .page-cockfighting__section-title,
.page-cockfighting__faq-section .page-cockfighting__section-title {
  color: var(--af88-primary-color);
}

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

.page-cockfighting__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-cockfighting__feature-card,
.page-cockfighting__card {
  background-color: #ffffff; /* White background for light section */
  color: #333333; /* Dark text for light background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: var(--af88-primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Reliability Section */
.page-cockfighting__reliability-section .page-cockfighting__sub-title {
  color: var(--af88-secondary-color);
}

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

.page-cockfighting__step-item {
  background-color: var(--af88-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  background: var(--af88-button-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: var(--af88-gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__step-description {
  font-size: 1em;
  color: var(--af88-text-secondary);
}

/* Experience Section */
.page-cockfighting__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  text-align: left;
}

.page-cockfighting__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__image-text-block-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__image-text-block-content {
  flex: 1;
  max-width: 50%;
}

/* Commitment Section */
.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__list-item {
  background-color: var(--af88-card-bg);
  border: 1px solid var(--af88-border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--af88-text-main);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-cockfighting__list-item strong {
  color: var(--af88-gold-color);
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--af88-primary-color);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X or minus */
}

.page-cockfighting__faq-answer {
  padding: 15px 25px;
  font-size: 1.1em;
  color: #555555;
  line-height: 1.6;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  color: var(--af88-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-cockfighting__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }

  .page-cockfighting__image-text-block-image,
  .page-cockfighting__image-text-block-content {
    max-width: 100%;
    flex: none;
  }

  .page-cockfighting__image-text-block,
  .page-cockfighting__image-text-block--reverse {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

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

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 20px 15px;
  }

  .page-cockfighting__grid,
  .page-cockfighting__grid--2-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__card,
  .page-cockfighting__step-item,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-item {
    padding: 20px;
  }

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

  .page-cockfighting__image-text-block-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Ensure all images are responsive and don't overflow */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section,
  .page-cockfighting__overview-section,
  .page-cockfighting__features-section,
  .page-cockfighting__reliability-section,
  .page-cockfighting__betting-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__experience-section,
  .page-cockfighting__commitment-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-cockfighting__faq-answer {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }

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

  .page-cockfighting__hero-description {
    font-size: 0.95em;
  }
}

/* Desktop video width for __video-container */
.page-cockfighting__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}