.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  overflow-x: hidden; /* Prevent horizontal scroll on desktop */
}

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

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

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
  text-align: justify;
}

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

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

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 30px auto 0; /* Adjust margin to place content below image */
  padding: 0 20px;
  box-sizing: border-box;
}

.page-cockfighting__hero-title {
  color: #F2FFF6; /* Text Main */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-cockfighting__hero-description {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  font-size: 1.2em;
}

/* Video Section */
.page-cockfighting__video-section {
  padding-top: 10px; /* body already handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F;
  text-align: center;
}

.page-cockfighting__video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

.page-cockfighting__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-cockfighting__video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-cockfighting__video-caption {
  color: #F2FFF6;
}

.page-cockfighting__video-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-cockfighting__video-description {
  font-size: 1em;
  color: #A7D9B8;
}

/* General Content Image */
.page-cockfighting__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

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

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

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

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

.page-cockfighting__step-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  position: relative;
  padding-left: 70px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-cockfighting__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__step-description {
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-cockfighting__card-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-cockfighting__card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

.page-cockfighting__card-title a:hover {
  color: #2AD16F; /* Lighter green on hover */
}

.page-cockfighting__card-description {
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 20px;
}

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

.page-cockfighting__center-button {
  text-align: center;
  margin-top: 50px;
}

/* CTA Button */
.page-cockfighting__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-cockfighting__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-cockfighting__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 30px;
  margin-top: 15px;
}

.page-cockfighting__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 60px;
}

/* FAQ Section */
.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;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  list-style: none;
  outline: none;
  user-select: none;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-title {
    font-size: 2.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section-padding {
    padding: 40px 0;
  }
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
  .page-cockfighting__hero-content {
    margin-top: 20px;
  }
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-cockfighting__video-section {
    padding-bottom: 40px;
  }
  .page-cockfighting__video-title {
    font-size: 1.5em;
  }
  .page-cockfighting__video-description {
    font-size: 0.9em;
  }

  /* Mobile image 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__hero-image-wrapper,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promotions-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }

  /* Mobile video responsiveness */
  .page-cockfighting video,
  .page-cockfighting__video-player {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }
  .page-cockfighting__video-section .page-cockfighting__video-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile button responsiveness */
  .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 !important;
    padding-right: 15px !important; /* Ensure padding is not removed by width 100% */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container,
  .page-cockfighting__center-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__step-item {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-cockfighting__step-item::before {
    left: auto;
    right: 20px;
    top: 20px;
  }
}