.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Body background is white */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  /* Using a very dark green gradient to ensure contrast for white text (WCAG AA 4.5:1) */
  background: linear-gradient(135deg, #00331a, #004d26);
  color: #ffffff;
}

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

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

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px; /* Constrain text width for readability */
}

.page-cockfighting__hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0; /* Slightly off-white for description */
}

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

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-download {
  background: #B00000; /* Darker red for contrast with white text (WCAG AA 4.5:1) */
  color: #FFFFFF;
}

.page-cockfighting__btn-download:hover {
  background: #8e0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-register {
  background: #B00000; /* Darker red for contrast with white text (WCAG AA 4.5:1) */
  color: #FFFFFF;
}

.page-cockfighting__btn-register:hover {
  background: #8e0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-cockfighting__container--centered {
  max-width: 800px;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #017439; /* Brand primary color for titles */
}

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

.page-cockfighting__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: #333333;
  text-align: left;
}

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

.page-cockfighting__highlight {
  font-weight: bold;
  color: #017439; /* Highlight using primary color */
}

.page-cockfighting__dark-bg .page-cockfighting__highlight {
  color: #FFFF00; /* Yellow highlight on dark background for visibility (WCAG AA 4.5:1) */
}

.page-cockfighting__link-in-text {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-cockfighting__dark-bg .page-cockfighting__link-in-text {
  color: #FFFF00;
}

.page-cockfighting__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-cockfighting__introduction {
  background-color: #f9f9f9;
}

.page-cockfighting__bet-types {
  background-color: #00331a; /* Very dark green for contrast with white text */
  color: #ffffff;
}

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

.page-cockfighting__card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting__card-text {
  font-size: 16px;
  line-height: 1.6;
}

.page-cockfighting__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.page-cockfighting__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 16px;
  color: #555555;
}

.page-cockfighting__buttons-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-cockfighting__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

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

.page-cockfighting__promotions {
  background-color: #00331a; /* Very dark green for contrast with white text */
  color: #ffffff;
}

.page-cockfighting__grid-promotions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}