:root {
  --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-cockfighting {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body already handles header offset, small top padding for aesthetic */
  box-sizing: border-box;
}

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

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

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

.page-cockfighting__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 font size */
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  color: var(--color-text-main);
  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 {
  padding: 15px 30px;
  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;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: var(--color-button-gradient);
  color: #ffffff;
  border: none;
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-background);
  transform: translateY(-2px);
}

.page-cockfighting__section {
  padding: 60px 0;
  box-sizing: border-box;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  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-color: var(--color-glow);
  border-radius: 2px;
}

.page-cockfighting__content-area {
  font-size: 1.1em;
  color: var(--color-text-main);
}

.page-cockfighting__content-area p {
  margin-bottom: 20px;
}

.page-cockfighting__content-area h3 {
  font-size: 1.5em;
  color: var(--color-gold);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
}

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

.page-cockfighting__list-item,
.page-cockfighting__advantages-item,
.page-cockfighting__tips-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__numbered-list .page-cockfighting__list-item {
  counter-increment: list-counter;
  position: relative;
  padding-left: 50px;
}

.page-cockfighting__numbered-list .page-cockfighting__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 15px;
  top: 20px;
  background-color: var(--color-glow);
  color: var(--color-background);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-cockfighting__list-title,
.page-cockfighting__advantages-title,
.page-cockfighting__tips-title {
  color: var(--color-gold);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__dark-section {
  background-color: var(--color-deep-green);
  color: var(--color-text-main);
}

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

.page-cockfighting__promo-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promo-title {
  color: var(--color-gold);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__btn-full-width {
  display: block;
  width: 100%;
  max-width: 400px; /* Limit width for desktop */
  margin: 30px auto 0 auto;
}

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

.page-cockfighting__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--color-text-main);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--color-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  color: var(--color-glow);
}

.page-cockfighting__faq-item summary {
  list-style: none;
}

.page-cockfighting__faq-item summary::-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 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.page-cockfighting__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Desktop video container width for flex alignment */
.page-cockfighting__video-container {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

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

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

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .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__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .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__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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: 0; /* Full width for video itself */
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }

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

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

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-cockfighting__faq-answer {
    padding: 0 20px 15px 20px;
  }
}