.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from body */
}

/* Fixed header padding */
.page-cockfighting__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
}

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

.page-cockfighting__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-cockfighting__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-cockfighting__dark-section .page-cockfighting__section-description {
  color: #ffffff;
}

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

.page-cockfighting__hero-container {
  z-index: 1;
  position: relative;
  max-width: 900px;
}

.page-cockfighting__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

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

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

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

/* Why BJ88 Section */
.page-cockfighting__why-bj88 {
  background-color: #1a1a1a;
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-cockfighting__feature-card {
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__feature-card .page-cockfighting__card-title {
  color: #FFD700;
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-cockfighting__feature-card p {
  color: #e0e0e0;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* How to Play Section */
.page-cockfighting__how-to-play {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-cockfighting__step-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #FFD700;
  color: #0A2463;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__step-item p {
  color: #e0e0e0;
}

/* Mobile Experience Section */
.page-cockfighting__mobile-experience {
  background-color: #1a1a1a;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-cockfighting__mobile-text {
  flex: 1;
}

.page-cockfighting__mobile-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-cockfighting__mobile-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__mobile-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 24px;
  padding-left: 35px;
  margin-bottom: 10px;
  color: #e0e0e0;
  font-size: 1.05em;
}

.page-cockfighting__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-cockfighting__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Responsible Gambling Section */
.page-cockfighting__responsible-gambling {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-cockfighting__responsible-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-cockfighting__responsible-text {
  flex: 1;
}

.page-cockfighting__responsible-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__responsible-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__responsible-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line></svg>') no-repeat left center;
  background-size: 24px;
  padding-left: 35px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.05em;
}

.page-cockfighting__responsible-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-cockfighting__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #0A2463;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  border-radius: 8px;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate */
  color: #e6c200;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: #2a2a2a;
  color: #e0e0e0;
  border-radius: 0 0 8px 8px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.7;
}

/* Final CTA Section */
.page-cockfighting__final-cta {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__cta-container {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 3em;
  }

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

  .page-cockfighting__mobile-content,
  .page-cockfighting__responsible-content {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__mobile-image-wrapper,
  .page-cockfighting__responsible-image-wrapper {
    margin-top: 40px;
  }

  .page-cockfighting__mobile-text ul,
  .page-cockfighting__responsible-text ul {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 100px !important; /* Adjust for mobile header */
    padding-bottom: 60px;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

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

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

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

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

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

  .page-cockfighting__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__step-item {
    padding: 25px;
  }

  .page-cockfighting__faq-question {
    padding: 18px 20px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 1.1em;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px !important;
  }
  
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__mobile-image-wrapper,
  .page-cockfighting__responsible-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-cockfighting__mobile-image,
  .page-cockfighting__responsible-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

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

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

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