.page-cockfighting {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  color: #FFB04D; /* Glow */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Main color */
  border: 2px solid #A84F0C; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  background: #FF8C1A; /* Main color */
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2em;
  font-weight: bold;
  line-height: 1.3;
}

.page-cockfighting__introduction-section,
.page-cockfighting__feature-section,
.page-cockfighting__benefits-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__introduction-section {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

.page-cockfighting__text-block {
  color: #FFF3E6;
  margin-bottom: 20px;
  font-size: 1.05em;
}

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

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

.page-cockfighting__feature-grid {
  flex-direction: row;
}

.page-cockfighting__benefits-grid {
  flex-direction: row-reverse; /* Image on left for benefits */
}

.page-cockfighting__feature-content,
.page-cockfighting__benefits-content {
  flex: 1;
}

.page-cockfighting__feature-image-wrapper,
.page-cockfighting__benefits-image-wrapper {
  flex: 1;
  position: relative;
  height: 0;
  padding-bottom: 45%; /* Approx 800x600 aspect ratio */
  border-radius: 10px;
  overflow: hidden;
}

.page-cockfighting__feature-image,
.page-cockfighting__benefits-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-cockfighting__feature-list,
.page-cockfighting__benefits-list,
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #FFF3E6;
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FF8C1A; /* Main color */
  font-weight: bold;
}

.page-cockfighting__btn-inline {
  margin-top: 20px;
}

.page-cockfighting__games-section {
  background-color: #0D0E12; /* Background */
  padding: 60px 0;
}

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

.page-cockfighting__game-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-cockfighting__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-cockfighting__card-title a:hover {
  text-decoration: underline;
}

.page-cockfighting__card-description {
  color: #FFF3E6;
  font-size: 0.95em;
  padding: 0 15px;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

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

.page-cockfighting__strategy-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  color: #FFB04D; /* Glow */
  font-weight: bold;
  font-size: 1.1em;
  list-style: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  color: #FFF3E6;
  font-size: 1em;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .page-cockfighting__feature-grid,
  .page-cockfighting__benefits-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-cockfighting__feature-image-wrapper,
  .page-cockfighting__benefits-image-wrapper {
    padding-bottom: 56.25%; /* 16:9 for smaller screens */
  }

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

  .page-cockfighting__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    max-width: 90%;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Responsive font size for H1 */
  }

  .page-cockfighting__description {
    font-size: 1em;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__feature-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }

  .page-cockfighting__game-cards {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__strategy-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card-image {
    height: 180px;
  }

  /* Mobile image and container responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__feature-image-wrapper,
  .page-cockfighting__benefits-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}