.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-cockfighting__hero-section {
  background: linear-gradient(135deg, #000080, #1a1a40); /* Dark blue gradient */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-cockfighting__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700; /* Gold for title */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__cta-button--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-cockfighting__cta-button--primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080; /* Dark blue text */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-cockfighting__about-section,
.page-cockfighting__rules-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section {
  padding: 80px 0;
}

.page-cockfighting__about-section {
  background-color: rgba(0, 0, 0, 0.3); /* Darker background for contrast */
}

.page-cockfighting__features-section,
.page-cockfighting__strategies-section,
.page-cockfighting__guide-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-cockfighting__dark-bg {
  background-color: rgba(0, 0, 0, 0.3); /* Explicitly dark background */
  color: #f0f0f0;
}

.page-cockfighting__light-bg {
  background-color: rgba(255, 255, 255, 0.1); /* Lighter dark background for cards */
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-cockfighting__text-block ul,
.page-cockfighting__text-block ol {
  list-style-position: inside;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-cockfighting__text-block li {
  margin-bottom: 10px;
}

.page-cockfighting__text-block strong {
  color: #FFD700;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

.page-cockfighting__feature-card,
.page-cockfighting__strategy-card,
.page-cockfighting__promotion-card {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__strategy-card:hover,
.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__feature-card p,
.page-cockfighting__strategy-card p,
.page-cockfighting__promotion-card p {
  color: #f0f0f0;
}

.page-cockfighting__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-cockfighting__guide-list li {
  counter-increment: guide-counter;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  position: relative;
  padding-left: 80px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.page-cockfighting__guide-list h3 {
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

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

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

.page-cockfighting__card-link {
  display: inline-block;
  margin-top: 20px;
  color: #FFD700; /* Gold */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__card-link:hover {
  color: #e0b800;
  border-color: #e0b800;
}

.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

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

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

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

  .page-cockfighting__content-grid {
    flex-direction: column;
  }

  .page-cockfighting__content-grid--reverse {
    flex-direction: column;
  }

  .page-cockfighting__text-block,
  .page-cockfighting__image-wrapper {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    padding-top: var(--header-offset, 120px) !important;
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-cockfighting__hero-section,
  .page-cockfighting__about-section,
  .page-cockfighting__features-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-cockfighting__main-title {
    font-size: 32px !important;
    margin-bottom: 15px;
  }

  .page-cockfighting__description {
    font-size: 16px !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: 28px !important;
    margin-bottom: 30px;
  }

  .page-cockfighting__content-grid {
    gap: 30px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__strategies-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-card,
  .page-cockfighting__strategy-card,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__guide-list li {
    padding: 20px 20px 20px 70px;
  }

  .page-cockfighting__guide-list li::before {
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .page-cockfighting__guide-list h3 {
    font-size: 18px;
  }

  /* Image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__promotion-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 28px !important;
  }

  .page-cockfighting__section-title {
    font-size: 24px !important;
  }

  .page-cockfighting__cta-button {
    font-size: 15px !important;
    padding: 10px 15px !important;
  }
}