.page-cockfighting {
  padding-top: 120px; /* Desktop: Ensure content is below fixed header */
  background-color: var(--dark-bg-1); /* Inherit from shared.css */
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: 100px; /* Mobile: Adjust for smaller header */
  }
}

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

.page-cockfighting__hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(135deg, #0A2463, #3A5A9A); /* Darker gradient for banner */
}

.page-cockfighting__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  object-fit: cover;
}

.page-cockfighting__hero-content h1 {
  font-size: 42px;
  color: #FFD700; /* Gold color for main heading */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-content p {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(90deg, #FFD700, #FFA500); /* Gold gradient */
  color: #0A2463; /* Dark text on gold */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(90deg, #FFA500, #FFC107);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__link:hover {
  color: #FFA500;
  text-decoration: underline;
}

/* Module 2: Introduction Section */
.page-cockfighting__introduction-section {
  padding: 80px 0;
  background: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}

.page-cockfighting__introduction-section h2 {
  font-size: 36px;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__introduction-section p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__intro-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-cockfighting__feature-item {
  flex: 1 1 300px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__feature-icon {
  width: 150px; /* Increased size for icons */
  height: auto;
  margin-bottom: 20px;
}

.page-cockfighting__feature-item h3 {
  font-size: 22px;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-item p {
  font-size: 16px;
  color: #555555;
  text-align: center;
}

/* Module 3: Game Details Section */
.page-cockfighting__game-details-section {
  padding: 80px 0;
  background: var(--dark-bg-1); /* Dark background */
  color: #ffffff; /* Light text */
}

.page-cockfighting__game-details-section h2 {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__game-details-section p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__detail-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__detail-card--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__detail-image {
  flex: 0 0 45%;
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__detail-content {
  flex: 1;
}

.page-cockfighting__detail-content h3 {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__detail-content p {
  font-size: 17px;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-cockfighting__cta-button--secondary {
  background: none;
  border: 2px solid #FFD700;
  color: #FFD700;
  box-shadow: none;
  padding: 12px 30px;
  font-size: 18px;
}

.page-cockfighting__cta-button--secondary:hover {
  background: #FFD700;
  color: #0A2463;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Module 4: Promotions Section */
.page-cockfighting__promotions-section {
  padding: 80px 0;
  background: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-cockfighting__promotions-section h2 {
  font-size: 36px;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__promotions-section p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-cockfighting__promo-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__promo-image {
  width: 100%;
  max-width: 300px; /* Ensure images are large enough */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-cockfighting__promo-card h3 {
  font-size: 24px;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__promo-card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
  text-align: center;
}

.page-cockfighting__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
}

.page-cockfighting__responsible-gambling {
  margin-top: 60px;
  padding: 20px;
  background: #e0f2f7;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  color: #0A2463;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 80px 0;
  background: var(--dark-bg-1); /* Dark background */
  color: #ffffff; /* Light text */
}

.page-cockfighting__faq-section h2 {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  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 h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff; /* Ensure white text on dark question background */
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold toggle icon */
  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: 28px;
  height: 28px;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: #FFA500;
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.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;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Lighter transparent background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0; /* Light text for answer */
}

.page-cockfighting__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Module 5: Latest Blog Section */
.page-cockfighting__latest-blog-section {
  padding: 80px 0;
  background: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-cockfighting__latest-blog-section h2 {
  font-size: 36px;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__latest-blog-section p {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-cockfighting__blog-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.page-cockfighting__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page-cockfighting__blog-content {
  padding: 25px;
  text-align: left;
}

.page-cockfighting__blog-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__blog-link {
  color: #0A2463; /* Dark blue for blog titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__blog-link:hover {
  color: #1a3a7a;
  text-decoration: underline;
}

.page-cockfighting__blog-content p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 15px;
  text-align: left;
}

.page-cockfighting__blog-date {
  font-size: 14px;
  color: #888888;
}

.page-cockfighting__view-all-posts {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content h1 {
    font-size: 36px;
  }

  .page-cockfighting__hero-content p {
    font-size: 16px;
  }

  .page-cockfighting__introduction-section h2,
  .page-cockfighting__game-details-section h2,
  .page-cockfighting__promotions-section h2,
  .page-cockfighting__faq-section h2,
  .page-cockfighting__latest-blog-section h2 {
    font-size: 32px;
  }

  .page-cockfighting__detail-card {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__detail-card--reverse {
    flex-direction: column;
  }

  .page-cockfighting__detail-image {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-banner {
    padding: 40px 0;
  }

  .page-cockfighting__hero-content h1 {
    font-size: 28px;
  }

  .page-cockfighting__hero-content p {
    font-size: 15px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__game-details-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__latest-blog-section {
    padding: 50px 0;
  }

  .page-cockfighting__introduction-section h2,
  .page-cockfighting__game-details-section h2,
  .page-cockfighting__promotions-section h2,
  .page-cockfighting__faq-section h2,
  .page-cockfighting__latest-blog-section h2 {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-cockfighting__introduction-section p,
  .page-cockfighting__game-details-section p,
  .page-cockfighting__promotions-section p,
  .page-cockfighting__faq-answer p,
  .page-cockfighting__blog-content p {
    font-size: 15px;
  }

  .page-cockfighting__intro-features {
    flex-direction: column;
    gap: 20px;
  }

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

  .page-cockfighting__feature-icon {
    width: 120px;
  }

  .page-cockfighting__feature-item h3 {
    font-size: 20px;
  }

  .page-cockfighting__detail-card {
    padding: 30px;
    gap: 20px;
  }

  .page-cockfishing__detail-image {
    width: 100%;
    max-width: 100%;
  }

  .page-cockfighting__detail-content h3 {
    font-size: 24px;
  }

  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__promo-card h3 {
    font-size: 20px;
  }

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

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

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

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

  .page-cockfighting__blog-image {
    height: 180px;
  }

  .page-cockfighting__blog-content h3 {
    font-size: 18px;
  }
}