.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #08160F;
  color: #F2FFF6;
}

.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;
  padding: 10px 0 60px 0; /* body handles header offset, this is for internal spacing */
  color: #F2FFF6;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
}

.page-cockfighting__hero-content {
  position: relative; /* Ensure content is above image if needed, but not overlapping */
  z-index: 1;
  max-width: 900px;
  margin-top: 40px; /* Space between image and text */
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-width: 180px;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F;
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold for section titles */
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #2AD16F;
  border-radius: 2px;
}

.page-cockfighting__intro-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__responsible-gambling-section,
.page-cockfighting__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
  padding: 80px 0;
}

.page-cockfighting__why-choose-sp8,
.page-cockfighting__live-experience-section,
.page-cockfighting__promotions-section,
.page-cockfighting__get-started-section,
.page-cockfighting__light-bg {
  background-color: #11271B; /* Card BG color for light sections */
  color: #F2FFF6;
  padding: 80px 0;
}

.page-cockfighting__text-block {
  font-size: 1.05em;
  margin-bottom: 25px;
  line-height: 1.7;
  color: #A7D9B8;
  text-align: justify;
}

.page-cockfighting__text-secondary {
  color: #A7D9B8;
  font-style: italic;
  text-align: center;
}

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

.page-cockfighting__card {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  max-width: 100%; /* Ensure images are responsive */
}

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

.page-cockfighting__card-text {
  font-size: 0.95em;
  color: #A7D9B8;
  line-height: 1.6;
  text-align: justify;
  flex-grow: 1; /* Allow text to take available space */
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__list-item {
  background-color: #11271B;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #2AD16F;
}

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

.page-cockfighting__list-item p {
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.6;
  text-align: justify;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background-color: #000;
  border: 2px solid #2AD16F;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.page-cockfighting__btn-step {
  margin-top: auto; /* Push button to bottom of card */
  margin-top: 25px; /* Add margin above button */
}

.page-cockfighting__faq-section {
  padding: 80px 0;
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green for question background */
  border-bottom: 1px solid #1E3A2A; /* Divider color */
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: #13994A;
}

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

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

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6em, 4vw, 2.2em);
  }
  .page-cockfighting__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-step {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    min-width: unset;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-sp8,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__live-experience-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__responsible-gambling-section,
  .page-cockfighting__get-started-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__dark-section,
  .page-cockfighting__light-bg {
    padding: 50px 0;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95em;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card {
    padding: 25px;
  }
  .page-cockfighting__card-image {
    height: 180px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3em;
  }
  .page-cockfighting__list-item {
    padding: 20px;
  }
  .page-cockfighting__list-title {
    font-size: 1.2em;
  }
  .page-cockfighting__video-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile or adjust as needed */
    margin-bottom: 30px;
  }
  .page-cockfighting__video,
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__feature-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__card,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
}