.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default light text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  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 not hidden by 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: 20px;
}

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

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

.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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
  background-color: #FFD700; /* Gold brand color */
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #000000;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold brand color */
  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: #1E90FF; /* Royal Blue brand color */
  border-radius: 2px;
}

.page-cockfighting__section-title--light {
  color: #ffffff;
}

.page-cockfighting__intro-section p,
.page-cockfighting__guide-section p,
.page-cockfighting__tips-section p,
.page-cockfighting__promotion-intro,
.page-cockfighting__cta-final-section p {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-cockfighting__dark-bg {
  background-color: #1A1A1A; /* Dark background for contrast */
  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-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  color: #FFD700; /* Gold brand color */
  margin-bottom: 15px;
}

.page-cockfighting__video-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--dark-bg-1);
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}

.page-cockfighting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

.page-cockfighting__video-cta {
  margin-top: 40px;
}

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

.page-cockfighting__guide-step {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  position: relative;
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1E90FF; /* Royal Blue brand color */
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #FFD700; /* Gold brand color */
}

.page-cockfighting__guide-step .page-cockfighting__card-title {
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__guide-cta {
  margin-top: 50px;
}

.page-cockfighting__promotion-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-cockfighting__promotion-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promotion-cta {
  margin-top: 50px;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__tips-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #FFD700; /* Gold accent */
  border-radius: 8px;
  color: #f0f0f0;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-cockfighting__tips-list li strong {
  color: #FFD700;
}

.page-cockfighting__faq-section {
  background-color: #1A1A1A;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1E90FF; /* Royal Blue brand color */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #ffffff;
}

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

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

.page-cockfighting__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  font-size: 1.05em;
}

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

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

.page-cockfighting__cta-final-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--dark-bg-1);
}

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

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

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    min-height: 500px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.2em;
  }
  .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;
    margin: 0 auto;
  }
  .page-cockfighting__content-area {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__intro-section p,
  .page-cockfighting__guide-section p,
  .page-cockfighting__tips-section p,
  .page-cockfighting__promotion-intro,
  .page-cockfighting__cta-final-section p {
    font-size: 0.95em;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__promotion-image {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-cockfighting__card-title {
    font-size: 1.2em;
  }
  .page-cockfighting__video-wrapper {
    margin-bottom: 20px;
  }
  .page-cockfighting__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Ensure all containers with images/videos are responsive */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__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-x: hidden !important;
  }
  .page-cockfighting__tips-list li {
    padding: 15px;
    font-size: 0.9em;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-cockfighting__faq-answer p {
    font-size: 0.95em;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
}