.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Body background is dark #1a1a1a, so use light text */
  background-color: transparent; /* Inherit from body or shared */
}

.page-cockfighting__dark-bg {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 100 100" preserveAspectRatio="none"%3E%3Cdefs%3E%3CradialGradient id="g" cx="50%" cy="50%" r="50%" fx="50%" fy="50%"%3E%3Cstop offset="0%25" stop-color="%23CC0000" stop-opacity="0.3"/%3E%3Cstop offset="100%25" stop-color="%231a1a1a" stop-opacity="0.8"/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width="100" height="100" fill="url(%23g)"/%3E%3C/svg%3E');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 600px;
  gap: 30px;
}

.page-cockfighting__hero-content {
  z-index: 10;
  max-width: 900px;
  margin-bottom: 30px;
}

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

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

.page-cockfighting__cta-buttons {
  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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-3px);
}

.page-cockfighting__hero-video-wrapper {
  position: relative;
  width: 80%;
  max-width: 1200px;
  padding-bottom: 45%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.page-cockfighting__hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-cockfighting__section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-cockfighting__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__image-card {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* How-to-play section */
.page-cockfighting__how-to-play .page-cockfighting__section-title,
.page-cockfighting__how-to-play .page-cockfighting__text-block {
  color: #ffffff;
}

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

.page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__list-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-cockfighting__list-item p {
  color: #e0e0e0;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-cockfighting__bet-list .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__bet-list .page-cockfighting__list-item h3 {
  color: #CC0000;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__bet-list .page-cockfighting__list-item p {
  color: #cccccc;
  font-size: 0.95em;
  line-height: 1.6;
}

/* Advantages section */
.page-cockfighting__advantages .page-cockfighting__section-title {
  color: #FFD700;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff; /* Ensure text is light on dark card background */
}

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

.page-cockfighting__card p {
  color: #e0e0e0;
  font-size: 1em;
  line-height: 1.7;
}

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

.page-cockfighting__tip-list .page-cockfighting__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__tip-list .page-cockfighting__list-item h3 {
  color: #CC0000;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__tip-list .page-cockfighting__list-item p {
  color: #cccccc;
  font-size: 0.95em;
  line-height: 1.6;
}

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

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1.2em;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
}

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

.page-cockfighting__faq-answer p {
  color: #e0e0e0;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Conclusion section */
.page-cockfighting__conclusion {
  padding-bottom: 80px;
}

.page-cockfighting__conclusion .page-cockfighting__section-title {
  color: #FFD700;
}

/* 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: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-cockfighting__hero-video-wrapper {
    width: 95%;
    padding-bottom: 53.4375%; /* 16:9 for smaller screens */
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__container {
    padding: 0 10px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
  }
  .page-cockfighting img,
  .page-cockfighting video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-video-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }
  .page-cockfighting__faq-answer p {
    font-size: 0.9em;
  }
  .page-cockfighting__card h3,
  .page-cockfighting__list-item h3 {
    font-size: 1.2em;
  }
  .page-cockfighting__card p,
  .page-cockfighting__list-item p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.6em;
  }
  .page-cockfighting__hero-video-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for very small screens or vertical orientation */
  }
}