.page-cockfighting-analysis-prediction {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #000000; /* From shared.css body background */
}

.page-cockfighting-analysis-prediction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-cockfighting-analysis-prediction__section {
  padding: 60px 0;
  text-align: center;
  background-color: #000000; /* Default section background, inheriting from body */
}

.page-cockfighting-analysis-prediction__dark-section {
  background-color: #017439; /* Brand color for dark sections */
  color: #ffffff;
}

.page-cockfighting-analysis-prediction__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
}

.page-cockfighting-analysis-prediction__dark-section .page-cockfighting-analysis-prediction__section-title {
  color: #ffffff;
}

.page-cockfighting-analysis-prediction__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-analysis-prediction__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-cockfighting-analysis-prediction__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-cockfighting-analysis-prediction__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting-analysis-prediction__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-cockfighting-analysis-prediction__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting-analysis-prediction__btn-primary,
.page-cockfighting-analysis-prediction__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting-analysis-prediction__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-cockfighting-analysis-prediction__btn-primary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-cockfighting-analysis-prediction__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cockfighting-analysis-prediction__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting-analysis-prediction__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-cockfighting-analysis-prediction__btn-register:hover {
  background-color: #9c0606;
  color: #ffffff;
}

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

.page-cockfighting-analysis-prediction__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-cockfighting-analysis-prediction__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-analysis-prediction__card-image,
.page-cockfighting-analysis-prediction__benefit-icon,
.page-cockfighting-analysis-prediction__step-icon {
  width: 100%;
  height: auto;
  min-height: 200px; /* Min size for images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting-analysis-prediction__card-title,
.page-cockfighting-analysis-prediction__benefit-title,
.page-cockfighting-analysis-prediction__step-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFFF00; /* Highlight important titles */
  font-weight: bold;
}

.page-cockfighting-analysis-prediction__card p {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-cockfighting-analysis-prediction__image-text-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting-analysis-prediction__image-text-layout:nth-child(even) {
  flex-direction: row-reverse;
}

.page-cockfighting-analysis-prediction__text-content {
  flex: 1;
  text-align: left;
  min-width: 300px;
}

.page-cockfighting-analysis-prediction__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting-analysis-prediction__content-image {
  width: 100%;
  height: auto;
  min-height: 200px; /* Min size for images */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting-analysis-prediction__subtitle {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #017439; /* Brand color for subtitles */
  text-align: left;
}

.page-cockfighting-analysis-prediction__dark-section .page-cockfighting-analysis-prediction__subtitle {
  color: #FFFF00;
}

.page-cockfighting-analysis-prediction__benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting-analysis-prediction__benefit-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting-analysis-prediction__benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  padding: 10px;
  background-color: #017439;
  border: 3px solid #FFFF00;
}

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

.page-cockfighting-analysis-prediction__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting-analysis-prediction__step-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  padding: 10px;
  background-color: #017439;
  border: 3px solid #FFFF00;
}

.page-cockfighting-analysis-prediction__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFF00;
  font-weight: bold;
}

.page-cockfighting-analysis-prediction__step-item p {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting-analysis-prediction__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-cockfighting-analysis-prediction__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting-analysis-prediction__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-cockfighting-analysis-prediction__faq-question:hover {
  background-color: #005a2e;
}

.page-cockfighting-analysis-prediction__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em;
}

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

.page-cockfighting-analysis-prediction__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting-analysis-prediction__faq-item.active .page-cockfighting-analysis-prediction__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-cockfighting-analysis-prediction__faq-item.active .page-cockfighting-analysis-prediction__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting-analysis-prediction__hero-title {
    font-size: 3em;
  }
  .page-cockfighting-analysis-prediction__section-title {
    font-size: 2.2em;
  }
  .page-cockfighting-analysis-prediction__image-text-layout {
    flex-direction: column;
  }
  .page-cockfighting-analysis-prediction__image-text-layout:nth-child(even) {
    flex-direction: column;
  }
}

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

  .page-cockfighting-analysis-prediction__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-cockfighting-analysis-prediction__hero-title {
    font-size: 2.2em;
  }

  .page-cockfighting-analysis-prediction__hero-description {
    font-size: 1em;
  }

  .page-cockfighting-analysis-prediction__section {
    padding: 40px 0;
  }

  .page-cockfighting-analysis-prediction__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-cockfighting-analysis-prediction__text-block {
    font-size: 0.95em;
  }

  .page-cockfighting-analysis-prediction__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting-analysis-prediction__btn-primary,
  .page-cockfighting-analysis-prediction__btn-secondary {
    padding: 12px 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting-analysis-prediction__grid-container,
  .page-cockfighting-analysis-prediction__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-analysis-prediction__card,
  .page-cockfighting-analysis-prediction__benefit-card,
  .page-cockfighting-analysis-prediction__step-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting-analysis-prediction__card-image,
  .page-cockfighting-analysis-prediction__benefit-icon,
  .page-cockfighting-analysis-prediction__step-icon,
  .page-cockfighting-analysis-prediction__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-cockfighting-analysis-prediction__image-text-layout {
    flex-direction: column;
    gap: 20px;
  }

  .page-cockfighting-analysis-prediction__image-text-layout:nth-child(even) {
    flex-direction: column;
  }

  .page-cockfighting-analysis-prediction__text-content,
  .page-cockfighting-analysis-prediction__image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-cockfighting-analysis-prediction__subtitle {
    font-size: 1.5em;
  }

  .page-cockfighting-analysis-prediction__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-cockfighting-analysis-prediction__faq-question h3 {
    font-size: 1em;
  }

  .page-cockfighting-analysis-prediction__faq-answer {
    padding: 15px 20px;
  }
}