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

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
}

.page-cockfighting__video-container {
  width: 100%; /* Important for desktop flex layout */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__section-padding {
  padding: 80px 0;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  position: relative;
}

.page-cockfighting__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--button-gradient);
  margin: 20px auto 0 auto;
  border-radius: 2px;
}

.page-cockfighting__features-grid,
.page-cockfighting__content-grid,
.page-cockfighting__type-cards-grid,
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  order: 2;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-wrapper {
  order: 1;
}

.page-cockfighting__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.page-cockfighting__feature-title,
.page-cockfighting__sub-title,
.page-cockfighting__type-card-title,
.page-cockfighting__step-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__feature-text,
.page-cockfighting__paragraph,
.page-cockfighting__type-card-text,
.page-cockfighting__faq-answer p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-cockfighting__highlight {
  color: var(--gold-color);
  font-weight: bold;
}

.page-cockfighting__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.page-cockfighting__image--large {
  margin-top: 40px;
  border-radius: 10px;
}

.page-cockfighting__image--responsive {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-cockfighting__list,
.page-cockfighting__ordered-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item {
  counter-increment: list-counter;
}

.page-cockfighting__ordered-list .page-cockfighting__list-item::before {
  content: counter(list-counter) '.';
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.page-cockfighting__text-block {
  padding: 20px;
}

.page-cockfighting__text-block--full-width {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
}

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

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: var(--gold-color);
}

.page-cockfighting__dark-section .page-cockfighting__feature-title,
.page-cockfighting__dark-section .page-cockfighting__sub-title,
.page-cockfighting__dark-section .page-cockfighting__type-card-title,
.page-cockfighting__dark-section .page-cockfighting__step-title {
  color: var(--secondary-color);
}

.page-cockfighting__dark-section .page-cockfighting__feature-text,
.page-cockfighting__dark-section .page-cockfighting__paragraph,
.page-cockfighting__dark-section .page-cockfighting__type-card-text,
.page-cockfighting__dark-section .page-cockfighting__list-item,
.page-cockfighting__dark-section .page-cockfighting__faq-answer p {
  color: var(--text-secondary);
}

.page-cockfighting__step-item {
  text-align: center;
}

.page-cockfighting__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting a[class*="button"],
.page-cockfighting a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-cockfighting__btn--center {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 300px;
  text-align: center;
}

.page-cockfighting__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
  color: var(--gold-color);
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-cockfighting__faq-item[open] > .page-cockfighting__faq-question {
  background-color: var(--primary-color);
  border-bottom: 1px solid var(--border-color);
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-cockfighting__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__cta-section .page-cockfighting__image {
  margin-bottom: 40px;
  border-radius: 10px;
}

.page-cockfighting__image--full-width {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }

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

  .page-cockfighting__main-title {
    font-size: 2rem;
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-cockfighting__btn--center {
    max-width: 100%;
  }

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

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

  .page-cockfighting__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__content-grid,
  .page-cockfighting__type-cards-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .page-cockfighting__content-grid--reverse .page-cockfighting__text-block,
  .page-cockfighting__content-grid--reverse .page-cockfighting__image-wrapper {
    order: unset; /* Reset order for mobile */
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__sub-title,
  .page-cockfighting__type-card-title,
  .page-cockfighting__step-title {
    font-size: 1.3rem;
  }

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

  .page-cockfighting__video,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video-container {
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 0;
    box-shadow: none;
  }

  .page-cockfighting__image--large {
    margin-top: 20px;
  }

  .page-cockfighting__image--full-width {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .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;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }

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

  .page-cockfighting__text-block--full-width {
    padding: 0 15px;
  }

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

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