/* style/cockfighting.css */

/* Base styles for the page */
.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body 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: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

.page-cockfighting__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.page-cockfighting__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.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;
  font-size: 1.1em;
  cursor: pointer;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-cockfighting__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #017439;
}

/* Intro Section */
.page-cockfighting__intro-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

/* Why GO88 Section */
.page-cockfighting__why-go88-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-cockfighting__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-cockfighting__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-cockfighting__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Download Guide Section */
.page-cockfighting__download-guide-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-cockfighting__download-platform {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__platform-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 30px;
  text-align: center;
}

.page-cockfighting__download-steps {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.page-cockfighting__platform-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-cockfighting__step-list {
  flex: 1;
  list-style: none;
  padding: 0;
}

.page-cockfighting__step-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #f0f0f0;
}

.page-cockfighting__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-cockfighting__download-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
}

.page-cockfighting__bullet-list {
  list-style: disc;
  margin-left: 20px;
  color: #f0f0f0;
}

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

/* Account Section */
.page-cockfighting__account-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__step-heading {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-cockfighting__account-steps .page-cockfighting__step-list {
  list-style: decimal;
  margin-left: 40px;
  margin-bottom: 30px;
}

/* Betting Types Section */
.page-cockfighting__betting-types-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-cockfighting__betting-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__betting-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Tips Section */
.page-cockfighting__tips-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-cockfighting__tip-list .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding-left: 30px; /* Reset padding-left for list-item in tip-list */
}

.page-cockfighting__tip-list .page-cockfighting__list-item::before {
  content: '';
  display: none; /* Hide default list counter */
}

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

.page-cockfighting__tip-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.8);
  transition: background-color 0.3s ease;
}

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

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

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

.page-cockfighting__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-cockfighting__faq-answer a:hover {
  color: #005a2e;
}

/* CTA Section */
.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: #017439;
  text-align: center;
  color: #FFFFFF;
}

.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__large-btn {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-top: 30px;
  background-color: #C30808; /* Register/Login color */
  border-color: #C30808;
  color: #FFFF00; /* Register/Login font color */
}

.page-cockfighting__large-btn:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__download-steps {
    flex-direction: column;
  }
  .page-cockfighting__platform-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-cockfighting__hero-content {
    padding: 20px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__text-block, .page-cockfighting__feature-description, .page-cockfighting__betting-description, .page-cockfighting__tip-description, .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }
  .page-cockfighting__feature-grid, .page-cockfighting__tip-list, .page-cockfighting__betting-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__download-platform {
    padding: 20px;
  }
  .page-cockfighting__platform-title {
    font-size: 1.6em;
  }
  .page-cockfighting__step-item {
    font-size: 1em;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
  }
  .page-cockfighting__large-btn {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  
  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Maintain minimum size for content images */
    min-height: 200px !important;
  }
  
  /* Mobile 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;
  }

  /* Mobile button responsiveness */
  .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__hero-actions,
  .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;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__feature-item, .page-cockfighting__betting-item, .page-cockfighting__tip-list .page-cockfighting__list-item {
    padding: 20px;
  }
  .page-cockfighting__faq-question, .page-cockfighting__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Fixes based on body background #0a0a0a (dark) */
.page-cockfighting {
  color: #ffffff; /* Default text color for the page content */
}

.page-cockfighting__text-block,
.page-cockfighting__feature-description,
.page-cockfighting__betting-description,
.page-cockfighting__tip-description,
.page-cockfighting__faq-answer p {
  color: #e0e0e0; /* Slightly off-white for better readability on dark backgrounds */
}

.page-cockfighting__light-bg {
  background-color: #1a1a1a; /* Darker shade of background */
  color: #ffffff;
}

.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__btn-primary {
  background-color: #017439;
  color: #FFFFFF;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-cockfighting__large-btn {
  background-color: #C30808;
  color: #FFFF00;
}

.page-cockfighting__faq-question {
  background-color: rgba(1, 116, 57, 0.8);
  color: #FFFFFF;
}

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

.page-cockfighting__faq-answer {
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
}

.page-cockfighting__faq-answer a {
  color: #017439;
}