.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Main text color for dark background */
  background-color: #0D0E12; /* Overall background from custom palette */
}

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

.page-cockfighting__dark-section {
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-cockfighting__light-bg {
  background-color: #17191F; /* Card BG from custom palette for contrast */
  color: #FFF3E6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  height: 675px; /* Fixed height for desktop, will be auto on mobile */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cockfighting__hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  z-index: 1;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: 700;
  line-height: 1.2;
  color: #FFB04D; /* Glow color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 0 15px #FFB04D;
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #FFB04D;
  color: #0D0E12;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFB04D;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF3E6;
}

.page-cockfighting__about-section,
.page-cockfighting__gameplay-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-banner {
  padding: 80px 0;
}

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

.page-cockfighting__feature-item,
.page-cockfighting__bet-type-card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6;
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__bet-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 176, 77, 0.3);
}

.page-cockfighting__feature-icon,
.page-cockfighting__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFB04D;
}

.page-cockfighting__feature-description,
.page-cockfighting__card-description {
  font-size: 1em;
  color: #FFF3E6;
}

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

.page-cockfighting__step-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #FFF3E6;
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  font-size: 2em;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 20px auto;
}

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

.page-cockfighting__step-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-cockfighting__btn-link {
  display: inline-block;
  color: #FFB04D;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #FFB04D;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting__btn-link:hover {
  color: #FFA53A;
  border-color: #FFA53A;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 50px auto 0 auto;
  color: #FFF3E6;
}

.page-cockfighting__strategy-list li {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__strategy-list li strong {
  color: #FFB04D;
}

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

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #FFB04D;
  background-color: #17191F;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFB04D;
}

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

.page-cockfighting__cta-banner {
  background: #0D0E12;
  text-align: center;
}

.page-cockfighting__cta-banner-content {
  padding: 60px 20px;
  background-color: #17191F;
  border-radius: 12px;
  border: 1px solid #A84F0C;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__cta-banner-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #FFB04D;
  margin-bottom: 20px;
  text-shadow: 0 0 12px rgba(255, 176, 77, 0.4);
}

.page-cockfighting__cta-banner-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #FFF3E6;
}

.page-cockfighting__btn-lg {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-image-wrapper {
    height: 500px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__cta-banner-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    height: 300px;
  }
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 15px;
  }
  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__bet-types-grid,
  .page-cockfighting__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-item,
  .page-cockfighting__bet-type-card,
  .page-cockfighting__step-item {
    padding: 25px;
  }
  .page-cockfighting__feature-icon,
  .page-cockfighting__card-image {
    height: 200px;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__card-title,
  .page-cockfighting__step-title {
    font-size: 1.3em;
  }
  .page-cockfighting__strategy-list {
    margin-top: 30px;
  }
  .page-cockfighting__strategy-list li {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-cockfighting__cta-banner-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-cockfighting__cta-banner-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-cockfighting__btn-lg {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-cockfighting__about-section,
  .page-cockfighting__gameplay-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-banner {
    padding: 50px 0;
  }
}