.page-cockfighting {
  color: #333333; /* Deep text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #003366; /* Primary color as fallback */
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
  opacity: 0.7; /* Slightly dim image for text readability */
}

.page-cockfighting__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-cockfighting__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

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

.page-cockfighting__btn--tertiary:hover {
  background-color: #004488;
  border-color: #004488;
}

.page-cockfighting__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.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__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #666666;
  text-align: justify;
}

.page-cockfighting__text-content--center {
  text-align: center;
}

.page-cockfighting__text-content--light {
  color: #f0f0f0;
}

.page-cockfighting__text-link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
}

.page-cockfighting__text-link:hover {
  color: #FFD700;
}

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-bet-section,
.page-cockfighting__deep-dive-section,
.page-cockfighting__cta-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  margin-bottom: 20px;
}

.page-cockfighting__introduction-section {
  background-color: #FFFFFF;
}

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

.page-cockfighting__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-icon {
  width: 250px;
  height: 187.5px; /* Aspect ratio 4:3 */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-cockfighting__card-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  flex-grow: 1;
}

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

.page-cockfighting__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #003366;
  color: #FFD700;
  font-size: 2em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__deep-dive-section {
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__image--right {
  float: right;
  margin-left: 30px;
  width: 600px; /* Example size */
  height: 450px; /* Example size */
}

.page-cockfighting__cta-section {
  background: linear-gradient(135deg, #003366, #004488);
  color: #FFFFFF;
  text-align: center;
  padding: 100px 0;
}

.page-cockfighting__section-title--light {
  color: #FFD700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__section-title--light::after {
  background-color: #FFFFFF;
}

.page-cockfighting__btn--cta {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-cockfighting__btn--cta:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__image--right {
    float: none;
    margin: 0 auto 30px auto;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__text-content {
    font-size: 1em;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-bet-section,
  .page-cockfighting__deep-dive-section,
  .page-cockfighting__cta-section {
    padding: 50px 0;
  }
  .page-cockfighting__hero-image {
    height: 300px; /* Adjust height for smaller screens */
  }
  .page-cockfighting__feature-icon {
    width: 200px;
    height: 150px;
  }
  .page-cockfighting__image--right {
    width: 100%;
    height: auto;
  }
  .page-cockfighting__btn--cta {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}