/* style/cockfighting.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Nền */
  line-height: 1.6;
}

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

.page-cockfighting__container--center {
  text-align: center;
}

.page-cockfighting__section-spacing {
  padding: 60px 0;
}

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

.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;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow */
  background: rgba(8, 22, 15, 0.8); /* Background for text over potentially busy image */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.page-cockfighting__description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.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: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  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: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-cockfighting__description-text {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 50%;
}

.page-cockfighting__feature-title {
  font-size: 1.5rem;
  color: #F2FFF6;
  margin-bottom: 15px;
}

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

/* Bet Types Section */
.page-cockfighting__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__bet-type-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 1px solid #2E7A4E;
}

.page-cockfighting__card-title {
  font-size: 1.6rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  text-align: center;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  color: #A7D9B8;
  text-align: justify;
}

/* Get Started Section */
.page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__step-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__step-title {
  font-size: 1.5rem;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  font-size: 1rem;
  color: #A7D9B8;
}

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

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

.page-cockfighting__promotion-card {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 1px solid #2E7A4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting__promotion-card .page-cockfighting__card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.page-cockfighting__promotion-card .page-cockfighting__card-description {
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-secondary {
  width: fit-content;
  margin-top: auto;
}

.page-cockfighting__cta-wrapper--center {
  text-align: center;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
}

.page-cockfighting__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  overflow: hidden;
}

.page-cockfighting__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #1E3A2A; /* Divider */
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-item summary:hover {
  background-color: #0A4B2C;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
  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;
  color: #A7D9B8;
  border-top: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__faq-answer p {
  margin: 0;
  color: #A7D9B8;
}

/* Final CTA Section */
.page-cockfighting__final-cta-section {
  background-color: #08160F;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 30px;
  }
}

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

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

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

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

  .page-cockfighting__hero-content {
    margin-top: -60px; /* Adjust pull-up for smaller screens */
    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: 1rem;
  }

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

  .page-cockfighting__description-text,
  .page-cockfighting__text-block,
  .page-cockfighting__feature-description,
  .page-cockfighting__card-description,
  .page-cockfighting__step-description,
  .page-cockfighting__faq-answer p {
    font-size: 0.95rem;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__bet-type-card,
  .page-cockfighting__step-item,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }

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

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

  .page-cockfighting__promotion-image {
    height: 150px;
  }

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

  .page-cockfighting__faq-toggle {
    font-size: 1.3rem;
  }

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__cta-buttons,
  .page-cockfighting__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}