:root {
  --primary-color: #0A2463;
  --secondary-color: #E0B73B;
  --accent-color: #FF0000; /* Bright red for CTA/emphasis */
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --border-color-light: #e0e0e0;
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
}

/* Base styles for the page content, considering body background #121212 */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: transparent; /* Main content background will be handled by sections */
  padding-top: 120px; /* Desktop: Ensure content is below fixed header */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.page-cockfighting__sub-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-top: 50px;
  margin-bottom: 25px;
}

.page-cockfighting p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
}

.page-cockfighting__list,
.page-cockfighting__guide-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting__list li,
.page-cockfighting__guide-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 16px;
}

.page-cockfighting__list li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  top: -2px;
}

.page-cockfighting__guide-list li::before {
  content: counter(item) '. ';
  counter-increment: item;
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 18px;
  top: 0;
}

.page-cockfighting__guide-list {
  counter-reset: item;
}

.page-cockfighting a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Highlight text */
.highlight-text {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), #000000);
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event */
}

.page-cockfighting__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-cockfighting__video-link:hover .page-cockfighting__video-overlay {
  opacity: 1;
}

.page-cockfighting__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(224, 183, 59, 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-cockfighting__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-cockfighting__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-cockfighting__play-now-button:hover {
  background: #f0c242; /* Slightly lighter secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Module 1: H1 Title + CTA */
.page-cockfighting__title-section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__main-title {
  font-size: 48px;
  color: var(--text-color-dark-bg);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__title-description {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  cursor: pointer;
}

.page-cockfighting__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-cockfighting__btn-primary:hover {
  background: #f0c242;
  border-color: #f0c242;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* General Section Backgrounds */
.page-cockfighting__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__light-bg {
  background-color: var(--card-bg-light);
  color: var(--text-color-light-bg);
}

/* Content Area */
.page-cockfighting__content-area {
  padding: 60px 20px;
}

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

.page-cockfighting__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
  font-size: 16px;
  color: var(--text-color-light-bg);
}

/* Module 2: FAQ */
.page-cockfighting__faq-section {
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-cockfighting__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color-dark-bg);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.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 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Ensure content expands fully */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-cockfighting__faq-answer p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Module 3: Brand Introduction */
.page-cockfighting__brand-section {
  padding: 60px 20px;
  background-color: var(--card-bg-light);
  color: var(--text-color-light-bg);
}

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

.page-cockfighting__brand-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.page-cockfighting__brand-img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
}

.page-cockfighting__brand-sub-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__brand-item p {
  font-size: 16px;
  color: var(--text-color-light-bg);
}

/* Module 4: Blog List */
.page-cockfighting__blog-section {
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

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

.page-cockfighting__blog-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: var(--card-bg-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__blog-item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-cockfighting__blog-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: var(--text-color-dark-bg);
}

.page-cockfighting__blog-link:hover {
  text-decoration: none;
}

.page-cockfighting__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
  line-height: 1.4;
}

.page-cockfighting__blog-item-excerpt {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 15px;
}

.page-cockfighting__blog-item-date {
  font-size: 14px;
  color: #aaa;
  display: block;
}

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

  .page-cockfighting__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video-container,
  .page-cockfighting__video-link,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain; /* Ensure video is fully visible */
  }

  .page-cockfighting__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-cockfighting__title-section {
    padding: 50px 15px;
  }

  .page-cockfighting__main-title {
    font-size: 32px;
  }

  .page-cockfighting__title-description {
    font-size: 18px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section-title {
    font-size: 26px;
  }

  .page-cockfighting__sub-title {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .page-cockfighting p,
  .page-cockfighting__list li,
  .page-cockfighting__guide-list li {
    font-size: 15px;
  }

  .page-cockfighting__feature-grid,
  .page-cockfighting__brand-content,
  .page-cockfighting__blog-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__brand-item,
  .page-cockfighting__blog-item {
    padding: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__feature-img,
  .page-cockfighting__brand-img,
  .page-cockfighting__blog-item-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__brand-sub-title {
    font-size: 20px;
  }

  .page-cockfighting__faq-question {
    padding: 15px;
  }

  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }

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

  .page-cockfighting__faq-answer {
    padding: 0 15px;
  }

  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }

  .page-cockfighting__blog-item-title {
    font-size: 18px;
  }

  .page-cockfighting__blog-item-excerpt {
    font-size: 14px;
  }
}

/* Ensure specific contrast for light background sections */
.page-cockfighting__light-bg .highlight-text {
  color: var(--primary-color); /* Darker highlight on light background */
}

/* Ensure specific contrast for dark background sections */
.page-cockfighting__dark-bg .highlight-text {
  color: var(--secondary-color); /* Lighter highlight on dark background */
}

.page-cockfighting__card {
  background: var(--card-bg-light);
  color: var(--text-color-light-bg);
  border: 1px solid var(--border-color-light);
}

.page-cockfighting__dark-bg .page-cockfighting__card {
  background: var(--card-bg-dark);
  color: var(--text-color-dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__blog-item .page-cockfighting__blog-item-title {
  color: var(--secondary-color);
}

.page-cockfighting__blog-item .page-cockfighting__blog-item-excerpt {
  color: #ccc; /* Ensure good contrast on dark card background */
}