/* style/cockfighting.css */

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

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

.page-cockfighting__section {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.page-cockfighting__dark-section {
  background-color: var(--color-card-bg);
}

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

.page-cockfighting__container--narrow {
  max-width: 800px;
}

.page-cockfighting__heading {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding */
  background-color: var(--color-background);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  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;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

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

.page-cockfighting__btn-primary--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}

.page-cockfighting__cta-buttons--center {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Content Grid */
.page-cockfighting__content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block,
.page-cockfighting__image-block {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-cockfighting__image-block--center {
  flex: 1 1 100%;
  text-align: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-cockfighting__feature-card {
  background-color: var(--color-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-description {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

/* Step List */
.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-cockfighting__step-item {
  margin-bottom: 30px;
  padding-left: 40px;
  position: relative;
}

.page-cockfighting__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--button-gradient);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.page-cockfighting__step-item p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.page-cockfighting__button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

/* Promotion List */
.page-cockfighting__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__promo-item {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: var(--color-text-main);
}

.page-cockfighting__promo-item::before {
  content: '★';
  color: var(--color-gold);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-cockfighting__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--color-text-main);
  transition: color 0.3s ease;
  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 {
  color: var(--color-gold);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--color-gold);
}

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

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

.page-cockfighting__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Highlight text */
.page-cockfighting .highlight {
  color: var(--color-glow);
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 500px;
  }
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__heading {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
  }
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 30px 0;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

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

  .page-cockfighting__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-cockfighting__text-block, .page-cockfighting__image-block {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__image-block, .page-cockfighting__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__step-item {
    padding-left: 35px;
  }
  .page-cockfighting__step-item::before {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure all img tags inside content areas are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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;
  }
  .page-cockfighting__video-section { /* Although no video is used, include for completeness */
    padding-top: 10px !important; 
  }
  .page-cockfighting__video-wrapper { /* Although no video is used, include for completeness */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

@media (max-width: 480px) {
  .page-cockfighting__heading {
    font-size: 1.5rem;
  }
  .page-cockfighting__hero-title {
    font-size: 2rem;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.95rem;
  }
}