.page-cockfighting {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
}

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

.page-cockfighting__card-bg {
  background-color: #111111;
}

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

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

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

.page-cockfighting__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #F2C14E;
}

@media (min-width: 769px) {
  .page-cockfighting__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-cockfighting__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
  min-width: 200px;
  text-align: center;
}

.page-cockfighting__hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  font-weight: bold;
}

.page-cockfighting__about-section {
  padding: 60px 0;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-cockfighting__text-content {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF6D6;
}

.page-cockfighting__game-gallery-section {
  padding: 60px 0;
}

.page-cockfighting__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-content: center;
}

.page-cockfighting__game-card {
  display: block;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.page-cockfighting__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.2);
}

.page-cockfighting__game-image {
  width: 100%;
  height: 200px; /* Minimum display height */
  object-fit: cover;
  display: block;
}

.page-cockfighting__features-section {
  padding: 60px 0;
  border-top: 1px solid #3A2A12;
}

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

.page-cockfighting__feature-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

.page-cockfighting__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A0A0A;
}

.page-cockfighting__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #F2C14E;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cockfighting__cta-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
  margin: 0 10px 20px;
  min-width: 200px;
  text-align: center;
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

.page-cockfighting__cta-button--secondary {
  background: none;
  border: 2px solid #FFD36B;
  color: #FFD36B;
  box-shadow: none;
}

.page-cockfighting__cta-button--secondary:hover {
  background-color: rgba(255, 211, 107, 0.1);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.4);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 20px;
  }

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-content {
    padding: 0 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
  }

  .page-cockfighting__hero-cta {
    width: 100%;
    max-width: 280px;
  }

  .page-cockfighting__section-title {
    padding-top: 20px;
    margin-bottom: 30px;
  }

  .page-cockfighting__about-section,
  .page-cockfighting__game-gallery-section,
  .page-cockfighting__features-section,
  .page-cockfighting__cta-section {
    padding: 40px 0;
  }

  .page-cockfighting__gallery-grid,
  .page-cockfighting__feature-list {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__game-image {
    max-width: 100%;
    height: auto;
  }

  .page-cockfighting__cta-button {
    width: calc(100% - 40px);
    margin: 0 auto 15px;
  }

  .page-cockfighting__text-content {
    font-size: 0.95em;
  }

  /* Ensure all images in content area are responsive and not too small */
  .page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum display size for content images */
    min-height: 200px;
  }
}

@media (max-width: 549px) {
  .page-cockfighting__gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__game-image {
    height: auto; /* Allow auto height on smaller screens */
  }
}

/* Global image rules for content area to prevent small icons */
.page-cockfighting img:not(.page-cockfighting__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no image filters */
.page-cockfighting img {
  filter: none !important;
}