.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles header offset */
  color: var(--text-main);
  background-color: var(--bg-primary);
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 8px;
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 5vw, 3.2em);
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-cockfighting__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--main-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-cockfighting__info-section,
.page-cockfighting__tournaments-section,
.page-cockfighting__promotions-section,
.page-cockfighting__guide-section,
.page-cockfighting__app-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 20px;
  background-color: var(--bg-primary);
  color: var(--text-main);
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__info-section p,
.page-cockfighting__tournaments-section p,
.page-cockfighting__promotions-section p,
.page-cockfighting__guide-section p,
.page-cockfighting__app-section p,
.page-cockfighting__conclusion-section p {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 30px;
}

.page-cockfighting__features-grid,
.page-cockfighting__tournament-grid,
.page-cockfighting__promo-grid,
.page-cockfighting__app-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-cockfighting__feature-item,
.page-cockfighting__tournament-card,
.page-cockfighting__promo-card,
.page-cockfighting__app-benefit-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__feature-item:hover,
.page-cockfighting__tournament-card:hover,
.page-cockfighting__promo-card:hover,
.page-cockfighting__app-benefit-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__feature-item img,
.page-cockfighting__tournament-card img,
.page-cockfighting__promo-card img,
.page-cockfighting__app-benefit-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__feature-title,
.page-cockfighting__card-title,
.page-cockfighting__app-benefit-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__feature-item p,
.page-cockfighting__tournament-card p,
.page-cockfighting__promo-card p,
.page-cockfighting__app-benefit-item p {
  font-size: 1em;
  color: var(--text-secondary);
  text-align: left;
  flex-grow: 1;
}

.page-cockfighting__guide-list {
  list-style: none;
  counter-reset: guide-step;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-list li {
  background-color: var(--card-bg);
  border-left: 5px solid var(--main-color);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  position: relative;
  color: var(--text-main);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-cockfighting__guide-list li::before {
  counter-increment: guide-step;
  content: "Bước " counter(guide-step);
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: var(--main-color);
  color: #ffffff;
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
}

.page-cockfighting__guide-step-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
  margin-top: 10px;
}

.page-cockfighting__guide-list li p {
  text-align: left;
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 0;
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
  user-select: none;
  list-style: none;
}

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

.page-cockfighting__faq-question:hover {
  background-color: rgba(var(--deep-green-rgb), 0.8);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-cockfighting__info-section,
  .page-cockfighting__tournaments-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__app-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 15px;
  }
  .page-cockfighting__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cockfighting__info-section p,
  .page-cockfighting__tournaments-section p,
  .page-cockfighting__promotions-section p,
  .page-cockfighting__guide-section p,
  .page-cockfighting__app-section p,
  .page-cockfighting__conclusion-section p {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  
  .page-cockfighting__features-grid,
  .page-cockfighting__tournament-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__app-benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__tournament-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__app-benefit-item {
    padding: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__card-title,
  .page-cockfighting__app-benefit-title {
    font-size: 1.3em;
  }

  .page-cockfighting__guide-list li {
    padding: 20px;
  }
  .page-cockfighting__guide-list li::before {
    left: 15px;
  }
  .page-cockfighting__guide-step-title {
    font-size: 1.2em;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px;
  }

  /* 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-section,
  .page-cockfighting__info-section,
  .page-cockfighting__tournaments-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__app-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__features-grid,
  .page-cockfighting__tournament-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__app-benefits,
  .page-cockfighting__guide-list,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-cockfighting__hero-section,
  .page-cockfighting__info-section,
  .page-cockfighting__tournaments-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__app-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__features-grid > div, .page-cockfighting__tournament-grid > div, .page-cockfighting__promo-grid > div, .page-cockfighting__app-benefits > div {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Color Variables */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-primary: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure text contrast for dark background */
.page-cockfighting__dark-bg {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

.page-cockfighting p,
.page-cockfighting li {
  color: var(--text-secondary);
}

.page-cockfighting__card,
.page-cockfighting__feature-item,
.page-cockfighting__tournament-card,
.page-cockfighting__promo-card,
.page-cockfighting__app-benefit-item,
.page-cockfighting__guide-list li,
.page-cockfighting__faq-item {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-cockfighting__feature-item p,
.page-cockfighting__tournament-card p,
.page-cockfighting__promo-card p,
.page-cockfighting__app-benefit-item p,
.page-cockfighting__guide-list li p,
.page-cockfighting__faq-answer p {
  color: var(--text-secondary);
}

.page-cockfighting__faq-question {
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
}