.page-cockfighting {
  padding-top: var(--header-offset, 120px);
  color: #ffffff; /* Dark body background #050E1A, so light text */
  background-color: #050E1A; /* Ensure main content area also has a dark background */
}

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

.page-cockfighting__hero-section {
  position: relative;
  padding: 120px 0; /* Adjusted for desktop, mobile will adjust via var */
  background: linear-gradient(135deg, #0A1931, #2A0A31);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-cockfighting__hero-container {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-cockfighting__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-cockfighting__hero-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-cockfighting__hero-btn--primary {
  background-color: #FFD700;
  color: #0A1931;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__hero-btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-cockfighting__hero-btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__hero-btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 1;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}

.page-cockfighting__about-section, .page-cockfighting__gameplay-section, .page-cockfighting__source-section, .page-cockfighting__why-choose-section, .page-cockfighting__faq-section, .page-cockfighting__cta-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-cockfighting__about-section:last-of-type, .page-cockfighting__cta-section:last-of-type {
  border-bottom: none;
}

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

.page-cockfighting__feature-item, .page-cockfighting__step-item, .page-cockfighting__source-item {
  background-color: rgba(10, 25, 49, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover, .page-cockfighting__step-item:hover, .page-cockfighting__source-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__feature-icon, .page-cockfighting__source-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__source-title, .page-cockfighting__advantage-title, .page-cockfighting__faq-question {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-cockfighting__feature-text, .page-cockfighting__step-text, .page-cockfighting__source-text, .page-cockfighting__advantage-text, .page-cockfighting__faq-answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
}

.page-cockfighting__step-btn, .page-cockfighting__section-btn, .page-cockfighting__cta-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: #FFD700;
  color: #0A1931;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__step-btn:hover, .page-cockfighting__section-btn:hover, .page-cockfighting__cta-btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-cockfighting__gameplay-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1000px; /* Enforce max width */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 12px;
  margin: 60px auto 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

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

.page-cockfighting__advantage-item {
  background-color: rgba(10, 25, 49, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__advantage-link, .page-cockfighting__faq-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-cockfighting__advantage-link:hover, .page-cockfighting__faq-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-cockfighting__why-choose-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1200px; /* Enforce max width */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 12px;
  margin: 60px auto 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFD700;
}

.page-cockfighting__faq-list {
  margin-top: 50px;
}

.page-cockfighting__faq-item {
  background-color: rgba(10, 25, 49, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 25px;
}

.page-cockfighting__faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  margin-bottom: 10px; /* Adjusted to allow space for answer */
}

.page-cockfighting__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-cockfighting__faq-question.active::after {
  content: '-';
}

.page-cockfighting__faq-answer {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-cockfighting__faq-question.active + .page-cockfighting__faq-answer {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 80px 0;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__hero-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-cockfighting__features-grid, .page-cockfighting__steps-grid, .page-cockfighting__source-grid, .page-cockfighting__advantages-list {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__feature-item, .page-cockfighting__step-item, .page-cockfighting__source-item, .page-cockfighting__advantage-item, .page-cockfighting__faq-item {
    padding: 20px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__source-title, .page-cockfighting__advantage-title, .page-cockfighting__faq-question {
    font-size: 1.4em;
  }
  .page-cockfighting__gameplay-image, .page-cockfighting__why-choose-image {
    margin-top: 40px;
  }
}