.page-cockfighting {
  background-color: #B71C1C;
  color: #FFF5E1;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Using clamp for responsive font size, avoiding fixed large values */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFF5E1; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__subtitle {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

.page-cockfighting__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-cockfighting__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
}

.page-cockfighting__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-cockfighting__btn--secondary {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
}

.page-cockfighting__btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  background-color: #7A0E0E; /* Deep Red */
}

.page-cockfighting__btn--tertiary {
  background-color: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F4D34D; /* Gold */
}

.page-cockfighting__btn--tertiary:hover {
  background-color: #F4D34D;
  color: #7A0E0E;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #F4D34D; /* Gold */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__about-section, 
.page-cockfighting__how-to-play-section, 
.page-cockfighting__features-section, 
.page-cockfighting__promotions-section, 
.page-cockfighting__cta-final-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  margin-bottom: 30px;
  background-color: #D32F2F; /* Card BG */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__content-grid .page-cockfighting__text-content {
  flex: 1;
}

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

.page-cockfighting__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #FFF5E1;
}

.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: #7A0E0E; /* Deep Red */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-cockfighting__step-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  border: 2px solid #FFCC66;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
}

.page-cockfighting__step-card p {
  color: #FFF5E1;
}

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

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

.page-cockfighting__feature-card {
  background-color: #7A0E0E; /* Deep Red */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__feature-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__feature-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #F4D34D; /* Gold */
}

.page-cockfighting__feature-card p {
  color: #FFF5E1;
}

.page-cockfighting__promotions-section .page-cockfighting__content-grid {
  flex-direction: row-reverse; /* Image on right */
}

.page-cockfighting__cta-final-section {
  text-align: center;
  padding: 80px 20px;
}

.page-cockfighting__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFF5E1;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__about-section .page-cockfighting__content-grid,
  .page-cockfighting__promotions-section .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid .page-cockfighting__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
  .page-cockfighting__promotions-section .page-cockfighting__content-grid .page-cockfighting__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 30px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-cockfighting__subtitle {
    font-size: 1em;
  }
  .page-cockfighting__hero-buttons,
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn {
    width: 100%;
    padding: 15px 20px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__about-section, 
  .page-cockfighting__how-to-play-section, 
  .page-cockfighting__features-section, 
  .page-cockfighting__promotions-section, 
  .page-cockfighting__cta-final-section {
    padding: 40px 15px;
  }
  .page-cockfighting__content-grid {
    gap: 20px;
  }
  .page-cockfighting__steps-grid,
  .page-cockfighting__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }
  .page-cockfighting__image,
  .page-cockfighting__feature-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__step-card, .page-cockfighting__feature-card {
    padding: 20px;
  }
}