/* style/cockfighting.css */
.page-cockfighting {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top from header */
  background-color: #08160F;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over the image for visual hierarchy, but not *on* the image */
  position: relative;
  z-index: 2;
  background: rgba(8, 22, 15, 0.85); /* Semi-transparent dark background for readability */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

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

.page-cockfighting__subtitle {
  font-size: 1.1rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: bold;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E;
}

.page-cockfighting__btn-secondary:hover {
  background: #F2C14E;
  color: #08160F;
  box-shadow: 0 0 15px #F2C14E;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__introduction-section,
.page-cockfighting__game-types-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__cta-bottom {
  padding: 80px 0;
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Card BG */
}

.page-cockfighting__text-block {
  font-size: 1.05rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__card-grid,
.page-cockfighting__features-list,
.page-cockfighting__steps-grid,
.page-cockfighting__promo-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-cockfighting__card,
.page-cockfighting__promo-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

.page-cockfighting__card:hover,
.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 15px #57E38D; /* Glow */
}

.page-cockfighting__card-image,
.page-cockfighting__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__card-title,
.page-cockfighting__promo-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold */
  padding: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-cockfighting__card-description,
.page-cockfighting__promo-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px 20px 20px;
  text-align: justify;
}

.page-cockfighting__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.page-cockfighting__feature-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 1px solid #2E7A4E;
}

.page-cockfighting__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: inline-block;
}

.page-cockfighting__feature-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-cockfighting__step-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 3px solid #08160F;
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-cockfighting__btn-text {
  color: #2AD16F; /* Main color */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.page-cockfighting__btn-text:hover {
  color: #57E38D; /* Glow */
}

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

.page-cockfighting__full-promo-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #2E7A4E;
}

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

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

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #F2C14E;
  margin-left: 15px;
}

.page-cockfighting__faq-cta {
  text-align: center;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -50px;
    padding: 20px;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    margin-top: 0;
    background: rgba(8, 22, 15, 0.95);
    border-radius: 0;
    padding: 20px 15px;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__how-to-play-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom {
    padding: 50px 0;
  }

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

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

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

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

  .page-cockfighting__card-grid,
  .page-cockfighting__features-list,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__card-image,
  .page-cockfighting__promo-image {
    height: 180px;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__promo-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__feature-item {
    padding: 20px;
  }

  .page-cockfighting__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-cockfighting__step-card {
    padding: 20px;
  }

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

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

  .page-cockfighting__faq-answer {
    font-size: 0.95rem;
    padding: 15px;
  }

  /* Mobile responsive for images, videos, and buttons */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-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;
  }

  .page-cockfighting__cta-button,
  .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;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
}