.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: var(--background, #08160F); /* Background from shared.css */
  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;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual effect, but content below image */
  background: linear-gradient(180deg, rgba(17, 47, 27, 0.8) 0%, rgba(8, 22, 15, 0.95) 100%);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  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-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-cockfighting__btn-secondary:hover {
  background: #57E38D; /* Glow */
  color: #08160F; /* Background */
  transform: translateY(-2px);
}

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

.page-cockfighting__introduction-section,
.page-cockfighting__features-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Card BG */
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-cockfighting__image-wrapper--center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px #57E38D; /* Glow */
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__step-card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #F2FFF6; /* Text Main */
  position: relative;
  overflow: hidden;
  border: 1px solid #2E7A4E;
}

.page-cockfighting__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: #F2C14E; /* Gold */
  color: #08160F; /* Background */
  font-size: 2rem;
  font-weight: bold;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-20deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-cockfighting__btn-text {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-cockfighting__btn-text:hover {
  color: #F2C14E; /* Gold */
}

.page-cockfighting__card--promo {
  background: linear-gradient(135deg, #11271B 0%, #0A4B2C 100%); /* Card BG to Deep Green */
  border: 1px solid #2E7A4E;
}

.page-cockfighting__download-cta {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  border: 1px solid #2E7A4E;
}

.page-cockfighting__download-title {
  font-size: 2rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__download-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: #13994A; /* Darker green from button gradient */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: #F2C14E; /* Gold */
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  color: #57E38D; /* Glow */
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Details element specific styling to remove default marker */
.page-cockfighting__faq-item summary {
  list-style: none;
}

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

/* Global image responsive styles */
.page-cockfighting img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global video responsive styles */
.page-cockfighting video,
.page-cockfighting__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-cockfighting__video-container,
.page-cockfighting__video-wrapper {
  width: 100%; /* Desktop width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 30px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-cockfighting__cta-buttons {
    gap: 15px;
  }
  .page-cockfighting__card,
  .page-cockfighting__step-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    width: calc(100% - 30px); /* Adjust for padding on sides */
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__features-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section {
    padding: 60px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }
  .page-cockfighting__feature-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card,
  .page-cockfighting__step-card {
    padding: 20px;
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__step-title {
    font-size: 1.4rem;
  }
  .page-cockfighting__download-cta {
    padding: 30px;
  }
  .page-cockfighting__download-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }
  .page-cockfighting__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile specific image/video/container overrides */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    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 */
  }
}