.page-cockfighting {
  background-color: #140C0C;
  color: #FFF1E8;
}

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px; /* Adjust as needed */
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
  margin-top: 20px; /* Separates content from image */
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #F3C54D;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.page-cockfighting__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-cockfighting__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-cockfighting__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-cockfighting__section {
  padding: 60px 0;
  background-color: #2A1212;
  margin-bottom: 20px;
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

.page-cockfighting__section:last-of-type {
  margin-bottom: 0;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-cockfighting__section-text {
  font-size: 1.05em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-cockfighting__section-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting__feature-item {
  background-color: #140C0C;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__feature-icon {
  width: 100%; /* Ensure it takes full width of card */
  max-width: 400px; /* But not excessively large */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #E53030;
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF1E8;
}

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

.page-cockfighting__step-item {
  background-color: #140C0C;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  position: relative;
  padding-left: 70px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 30px;
  left: 20px;
  font-size: 2em;
  font-weight: 800;
  color: #F3C54D;
  line-height: 1;
  counter-increment: step-counter;
}

.page-cockfighting__step-number::before {
  content: counter(step-counter);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #E53030;
  margin-bottom: 10px;
}

.page-cockfighting__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #FFF1E8;
}

.page-cockfighting__how-to-play-image {
  margin-top: 50px;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting__cta-section {
  padding: 80px 20px;
  background-color: #140C0C;
  text-align: center;
}

.page-cockfighting__cta-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__cta-text {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2.2em, 5vw, 3em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 30px;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-cockfighting__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-cockfighting__feature-list,
  .page-cockfighting__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item {
    padding: 25px 20px;
  }
  .page-cockfighting__step-item {
    padding-left: 60px;
  }
  .page-cockfighting__step-number {
    font-size: 1.8em;
    top: 25px;
    left: 15px;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__section-image,
  .page-cockfighting__how-to-play-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-cockfighting__cta-section {
    padding: 60px 20px;
  }
  .page-cockfighting__cta-title {
    font-size: 1.8em;
  }
  .page-cockfighting__cta-text {
    font-size: 1em;
  }

  .page-cockfighting img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-cockfighting__description {
    font-size: 0.9em;
  }
  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__cta-title {
    font-size: 1.5em;
  }
  .page-cockfighting__button {
    padding: 8px 20px;
    font-size: 0.85em;
  }
}