/* style/cockfighting.css */
/* Body background color from shared.css: var(--bg-color) which is #08160F (dark) */

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

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  overflow: hidden;
  min-height: 500px;
}

.page-cockfighting__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main-color); /* #F2FFF6 */
}

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

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for green button */
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold-color); /* #F2C14E */
  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: linear-gradient(90deg, transparent, var(--main-color), transparent); /* #11A84E */
  border-radius: 2px;
}

.page-cockfighting__section-title--light {
  color: var(--text-main-color); /* #F2FFF6 */
}

.page-cockfighting__intro-section,
.page-cockfighting__why-choose-section,
.page-cockfighting__types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--bg-color); /* #08160F */
}

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-secondary-color); /* #A7D9B8 */
}

.page-cockfighting__text-block--light {
  color: var(--text-main-color); /* #F2FFF6 */
}

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

.page-cockfighting__feature-card,
.page-cockfighting__promotion-card {
  background-color: var(--card-bg-color); /* #11271B */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--divider-color); /* #1E3A2A */
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color); /* #57E38D */
}

.page-cockfighting__feature-icon,
.page-cockfighting__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%; /* Ensure images are responsive */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-cockfighting__list-item {
  background-color: var(--card-bg-color); /* #11271B */
  border-left: 5px solid var(--main-color); /* #11A84E */
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-secondary-color); /* #A7D9B8 */
}

.page-cockfighting__list-item .page-cockfighting__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--gold-color); /* #F2C14E */
}

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

.page-cockfighting__step-card {
  background-color: var(--card-bg-color); /* #11271B */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--divider-color); /* #1E3A2A */
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-cockfighting__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--glow-color) 0%, var(--main-color) 100%); /* #57E38D, #11A84E */
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--deep-green-color); /* #0A4B2C */
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting__image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-cockfighting__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 50%;
}

.page-cockfighting__promotions-section .page-cockfighting__btn-text {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold-color); /* #F2C14E */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-cockfighting__promotions-section .page-cockfighting__btn-text:hover {
  color: var(--glow-color); /* #57E38D */
  text-decoration: underline;
}

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

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main-color); /* #F2FFF6 */
  background-color: var(--deep-green-color); /* #0A4B2C */
  border-bottom: 1px solid var(--divider-color); /* #1E3A2A */
}

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

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

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

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

.page-cockfighting__cta-bottom-section {
  background-color: var(--deep-green-color); /* #0A4B2C */
  text-align: center;
  padding: 80px 0;
}

.page-cockfighting__cta-bottom-section .page-cockfighting__container {
  max-width: 800px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    max-width: 700px;
  }

  .page-cockfighting__image--right {
    max-width: 100%;
    float: none;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    min-height: 400px;
  }

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

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom-section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-cockfighting__features-grid,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-icon,
  .page-cockfighting__promotion-image,
  .page-cockfighting__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-cockfighting__list-item .page-cockfighting__list-title {
    font-size: 1.1rem;
  }

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

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

  .page-cockfighting__cta-bottom-section {
    padding: 60px 0;
  }

  .page-cockfighting__cta-buttons--center {
    padding: 0 15px;
  }

  .page-cockfighting__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for aesthetic spacing */
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    min-height: 350px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .page-cockfighting__description {
    font-size: 0.9rem;
  }
}