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

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

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

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  text-align: center;
}

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

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

.page-cockfighting__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-cockfighting__hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  color: #F2FFF6; /* Text Main */
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-cockfighting__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-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: 700;
  font-size: 18px;
  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 custom color */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  opacity: 0.9;
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border custom color */
}

.page-cockfighting__btn-secondary:hover {
  background: #11A84E; /* Main color */
  color: #ffffff;
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-cockfighting__introduction-section,
.page-cockfighting__rules-section,
.page-cockfighting__guide-section,
.page-cockfighting__faq-section {
  background-color: #08160F; /* Background custom color */
}

.page-cockfighting__dark-section {
  background-color: #11271B; /* Card B G custom color */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__dark-bg {
  background-color: #11271B; /* Card B G custom color */
  color: #F2FFF6; /* Text Main */
}

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
  order: 2;
}

.page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
  order: 1;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.page-cockfighting__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 17px;
  color: #A7D9B8; /* Text Secondary */
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2AD16F; /* Lighter green for checkmark */
  font-weight: bold;
}

.page-cockfighting__list-item strong {
  color: #F2FFF6; /* Text Main */
}

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

.page-cockfighting__advantage-card {
  background-color: #11271B; /* Card B G custom color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-cockfighting__advantage-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__advantage-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-cockfighting__advantage-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-cockfighting__advantage-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-cockfighting__guide-step {
  background-color: #11271B; /* Card B G custom color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button custom color */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(17, 168, 78, 0.3);
}

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

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

.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: #0A4B2C; /* Deep Green custom color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-cockfighting__promotion-title {
  font-size: 24px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__promotion-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
}

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

.page-cockfighting__faq-item {
  background-color: #11271B; /* Card B G custom color */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card B G custom color */
  border-bottom: 1px solid #1E3A2A; /* Divider custom color */
  user-select: none;
  list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow custom color */
  margin-left: 15px;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  border-bottom: 1px solid #1E3A2A; /* Divider custom color */
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-cockfighting__conclusion-section {
  background-color: #0A4B2C; /* Deep Green custom color */
  text-align: center;
  padding: 80px 0;
}

.page-cockfighting__conclusion-text {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__conclusion-text a {
  color: #57E38D; /* Glow custom color */
  text-decoration: underline;
  font-weight: 600;
}

.page-cockfighting__conclusion-text a:hover {
  color: #F2C14E; /* Gold custom color */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting__content-grid--reverse .page-cockfighting__image-block {
    order: 1;
  }

  .page-cockfighting__content-grid--reverse .page-cockfighting__text-block {
    order: 2;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(28px, 4vw, 48px);
  }

  .page-cockfighting__hero-description {
    font-size: clamp(15px, 1.8vw, 18px);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 30px;
  }

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

  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

  .page-cockfighting__hero-cta-buttons,
  .page-cockfighting__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__advantages-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__advantage-card,
  .page-cockfighting__guide-step,
  .page-cockfighting__promotion-card {
    padding: 25px;
  }

  .page-cockfighting__advantage-title,
  .page-cockfighting__step-title,
  .page-cockfighting__promotion-title {
    font-size: 20px;
  }

  .page-cockfighting__text-block p,
  .page-cockfighting__list-item,
  .page-cockfighting__advantage-description,
  .page-cockfighting__step-description,
  .page-cockfighting__promotion-description,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer,
  .page-cockfighting__conclusion-text {
    font-size: 16px;
  }

  .page-cockfighting__faq-question {
    padding: 15px 20px;
  }

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

  /* Mobile image specific rules */
  .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__text-block,
  .page-cockfighting__image-block,
  .page-cockfighting__advantages-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotions-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__faq-item {
    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; /* body đã xử lý --header-offset */
  }
}