/* style/cockfighting.css */
:root {
  --page-cockfighting-background: #0D0E12;
  --page-cockfighting-card-bg: #17191F;
  --page-cockfighting-text-main: #FFF3E6;
  --page-cockfighting-button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --page-cockfighting-border: #A84F0C;
  --page-cockfighting-glow: #FFB04D;
  --page-cockfighting-deep-orange: #D96800;
}

.page-cockfighting {
  background-color: var(--page-cockfighting-background); /* Body background is dark */
  color: var(--page-cockfighting-text-main); /* Light text for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for hero section */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text block */
  border-radius: 8px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-cockfighting-glow);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
}

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

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

.page-cockfighting__btn-primary {
  background: var(--page-cockfighting-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--page-cockfighting-glow);
  border: 2px solid var(--page-cockfighting-glow);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-glow);
  color: var(--page-cockfighting-background);
  transform: translateY(-3px);
}

.page-cockfighting__section {
  padding: 60px 20px;
  background-color: var(--page-cockfighting-background);
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--page-cockfighting-glow);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}

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

.page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg);
  color: var(--page-cockfighting-text-main);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid var(--page-cockfighting-deep-orange);
  border-radius: 5px;
  font-size: 1rem;
}

.page-cockfighting__list-item strong {
  color: var(--page-cockfighting-glow);
}

.page-cockfighting__ordered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
}

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

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: var(--page-cockfighting-text-main);
  border: 1px solid var(--page-cockfighting-border);
}

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

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 15px 20px 10px;
  color: var(--page-cockfighting-glow);
}

.page-cockfighting__card-title a {
  color: var(--page-cockfighting-glow);
  text-decoration: none;
}

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

.page-cockfighting__card-text {
  font-size: 0.95rem;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-cockfighting__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  border: 1px solid var(--page-cockfighting-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;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-cockfighting-glow);
  cursor: pointer;
  background-color: var(--page-cockfighting-deep-orange);
  border-radius: 8px;
  list-style: none; /* For details/summary */
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 15px;
  font-size: 1rem;
  color: var(--page-cockfighting-text-main);
  line-height: 1.7;
}

.page-cockfighting__faq-answer p {
  margin-top: 15px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-cockfighting__description {
    font-size: 0.95rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 0;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

  .page-cockfighting__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    margin: 0 15px;
  }

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

  .page-cockfighting__card-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__card-text {
    font-size: 0.9rem;
  }

  .page-cockfighting__btn-small {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 10px;
    font-size: 0.95rem;
  }

  /* Ensure all containers with images/videos/buttons adapt */
  .page-cockfighting__introduction-section,
  .page-cockfighting__criteria-section,
  .page-cockfighting__top-platforms-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }
}