.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--secondary-color); /* Matches body background */
}

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

.page-cockfighting__dark-bg {
  background-color: #1A1A1A;
  color: #ffffff;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  align-items: center;
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Clear fixed header */
  text-align: center;
  background-color: #1A1A1A;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-section .page-cockfighting__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__hero-content {
  max-width: 800px;
  z-index: 1;
}

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

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

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

.page-cockfighting__hero-image-wrapper {
  flex-shrink: 0;
  max-width: 100%;
  text-align: center;
}

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

/* General Section Styles */
.page-cockfighting__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
  padding-top: 40px;
}

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: #1A1A1A;
}

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

.page-cockfighting__light-bg .page-cockfighting__text-block {
  color: #333333;
}

.page-cockfighting__dark-bg .page-cockfighting__text-block {
  color: #f0f0f0;
}

.page-cockfighting__about-section, .page-cockfighting__types-section, .page-cockfighting__strategy-section, .page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__features-section, .page-cockfighting__guide-section, .page-cockfighting__promotions-section, .page-cockfighting__cta-section {
  padding: 80px 0;
}

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

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__feature-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__card-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* Types Grid */
.page-cockfighting__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__type-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-cockfighting__type-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting__type-image {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__type-card .page-cockfighting__card-title {
  color: #1A1A1A;
}

.page-cockfighting__type-card .page-cockfighting__card-description {
  color: #333333;
  flex-grow: 1;
}

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__guide-step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-cockfighting__guide-item p {
  color: #f0f0f0;
}

/* Strategy Section */
.page-cockfighting__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-cockfighting__strategy-item:hover {
  transform: translateY(-10px);
}

.page-cockfighting__strategy-image {
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__strategy-item .page-cockfighting__card-title {
  color: #1A1A1A;
}

.page-cockfighting__strategy-item .page-cockfighting__card-description {
  color: #333333;
  flex-grow: 1;
}

/* Promotions Section */
.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__promotion-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__promotion-item strong {
  color: #FFD700;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 80px 0;
  text-align: center;
}

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

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

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
  object-fit: cover;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFD700;
  color: #1A1A1A;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
  color: #1A1A1A;
}

.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;
  background-color: #f9f9f9;
  color: #333333;
}

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

.page-cockfighting__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

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

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

.page-cockfighting__cta-image {
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #e6c200;
  color: #1A1A1A;
}

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

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

/* Links */
.page-cockfighting a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-cockfighting__light-bg a {
  color: #1A1A1A;
}

.page-cockfighting__light-bg a:hover {
  color: #FFD700;
}

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

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    flex-direction: column;
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__about-section, .page-cockfighting__types-section, .page-cockfighting__strategy-section, .page-cockfighting__faq-section, .page-cockfighting__features-section, .page-cockfighting__guide-section, .page-cockfighting__promotions-section, .page-cockfighting__cta-section, .page-cockfighting__video-section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* Image Responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__feature-card,
  .page-cockfighting__type-card,
  .page-cockfighting__strategy-item,
  .page-cockfighting__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Video Responsive */
  .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;
  }

  /* Button Responsive */
  .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-buttons,
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 1.8em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
  }
}