.page-cockfighting {
  font-family: 'Arial', sans-serif;
  background-color: #08160F; /* Nền tối theo tùy chỉnh */
  color: #F2FFF6; /* Chữ sáng theo tùy chỉnh */
}

.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;
  min-height: 600px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  color: #F2FFF6;
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Tối ảnh nền để chữ nổi bật */
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4); /* Nền bán trong suốt cho nội dung */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
}

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

.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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  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%); /* Màu nút chính */
  color: #F2FFF6;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__btn-secondary {
  background: none;
  color: #2AD16F; /* Màu chữ nút phụ */
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.2);
}

/* General Section Styles */
.page-cockfighting__introduction-section,
.page-cockfighting__game-types-section,
.page-cockfighting__rules-section,
.page-cockfighting__guide-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  border-bottom: 1px solid #1E3A2A; /* Màu Divider */
}

.page-cockfighting__introduction-section.page-cockfighting__dark-bg,
.page-cockfighting__rules-section.page-cockfighting__dark-bg,
.page-cockfighting__advantages-section.page-cockfighting__dark-bg,
.page-cockfighting__tips-section.page-cockfighting__dark-bg,
.page-cockfighting__conclusion-section.page-cockfighting__dark-bg {
  background-color: #0A4B2C; /* Màu Deep Green cho các phần nền tối */
  color: #F2FFF6;
}

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề phụ */
}

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

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

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

.page-cockfighting__card {
  background-color: #11271B; /* Màu Card BG */
  border-radius: 10px;
  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 #2E7A4E; /* Màu Border */
  color: #F2FFF6;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8;
}

/* Rules Section */
.page-cockfighting__rule-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__rule-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #F2FFF6;
}

.page-cockfighting__rule-heading {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #57E38D; /* Màu Glow */
}

.page-cockfighting__rule-text {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8;
}

/* Guide Section */
.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: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  color: #F2FFF6;
}

.page-cockfighting__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: #2AD16F;
  color: #F2FFF6;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #0A4B2C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  margin-top: 30px; /* Adjust for step number */
  color: #F2C14E;
}

.page-cockfighting__step-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-small:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-1px);
}

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

.page-cockfighting__feature-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(87, 227, 141, 0.5)); /* Glow effect */
}

.page-cockfighting__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #57E38D;
}

.page-cockfighting__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #A7D9B8;
}

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

.page-cockfighting__promo-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #F2FFF6;
}

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

.page-cockfighting__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0 20px;
  color: #F2C14E;
}

.page-cockfighting__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 20px;
  color: #A7D9B8;
}

/* Tips Section */
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__tip-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #F2FFF6;
}

.page-cockfighting__tip-heading {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #57E38D;
}

.page-cockfighting__tip-text {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  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.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #1E3A2A; /* Màu Divider đậm hơn */
  color: #F2C14E;
  list-style: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: #57E38D;
}

.page-cockfighting__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question .page-cockfighting__faq-toggle {
  content: '−';
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }

  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

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

  .page-cockfighting__hero-section {
    min-height: 500px;
    padding: 10px 0;
  }

  .page-cockfighting__hero-content {
    padding: 20px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

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

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

  .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__promo-card,
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__rule-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__faq-item,
  .page-cockfighting__hero-image-wrapper {
    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__faq-question {
    font-size: 1em;
    padding: 15px;
  }

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

  .page-cockfighting__btn-small {
    padding: 8px 15px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }

  .page-cockfighting__hero-description {
    font-size: 0.9em;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
  }

  .page-cockfighting__card-title,
  .page-cockfighting__step-title,
  .page-cockfighting__feature-title,
  .page-cockfighting__promo-title,
  .page-cockfighting__rule-heading,
  .page-cockfighting__tip-heading {
    font-size: 1.2em;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 0.9em;
  }
}