/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background); /* #08160F */
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-cockfighting__description {
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-cockfighting__cta-buttons--centered {
  margin-top: 40px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.3);
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border); /* #2E7A4E */
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* #2E7A4E with transparency */
  transform: translateY(-2px);
}

.page-cockfighting__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Section Titles and Subtitles */
.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-cockfighting__section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-cockfighting__text-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
}

.page-cockfighting__image-content {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element */
}

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

.page-cockfighting__card {
  background-color: var(--card-bg); /* #11271B */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border); /* #2E7A4E */
  color: var(--text-main); /* #F2FFF6 */
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Step List */
.page-cockfighting__step-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-cockfighting__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-cockfighting__step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 8px;
  font-weight: 600;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-cockfighting__feature-item {
  background-color: var(--card-bg); /* #11271B */
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--deep-green); /* #0A4B2C */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__feature-title {
  font-size: 1.25rem;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Promotions Section */
.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__promotion-list li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__promotion-list li::before {
  content: '✓';
  color: var(--glow); /* #57E38D */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--divider); /* #1E3A2A */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main); /* #F2FFF6 */
  cursor: pointer;
  background-color: var(--card-bg); /* #11271B */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* #2E7A4E with transparency */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--glow); /* #57E38D */
  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;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Call to Action Section */
.page-cockfighting__call-to-action .page-cockfighting__container {
  background-color: var(--deep-green); /* #0A4B2C */
  border-radius: 15px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border); /* #2E7A4E */
}

.page-cockfighting__call-to-action .page-cockfighting__section-title {
  color: var(--gold); /* #F2C14E */
  margin-bottom: 15px;
}

.page-cockfighting__call-to-action .page-cockfighting__description {
  font-size: 1.15rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  color: var(--text-main); /* #F2FFF6 */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid--reversed {
    flex-direction: column;
  }
  .page-cockfighting__hero-content {
    margin-top: -50px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-content {
    margin-top: -30px;
    padding: 20px;
  }
  .page-cockfighting__main-title {
    font-size: 2rem;
  }
  .page-cockfighting__description {
    font-size: 1rem;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-cockfighting__card-grid,
  .page-cockfighting__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__card,
  .page-cockfighting__feature-item {
    padding: 20px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__feature-title {
    font-size: 1.2rem;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
  .page-cockfighting__call-to-action .page-cockfighting__container {
    padding: 40px 20px;
  }
  .page-cockfighting__call-to-action .page-cockfighting__description {
    font-size: 1rem;
  }
  /* Mobile image/video responsiveness */
  .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__image-wrapper,
  .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;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }
  .page-cockfighting__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-cockfighting__step-number {
    margin-bottom: 10px;
  }
}