.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background: var(--background); /* #08160F */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main); /* #F2FFF6 */
}

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

.page-cockfighting__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

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

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--gold); /* #F2C14E */
  border: 2px solid var(--gold); /* #F2C14E */
}

.page-cockfighting__btn-secondary:hover {
  background: var(--gold); /* #F2C14E */
  color: var(--background); /* #08160F */
  transform: translateY(-3px);
}

.page-cockfighting__section {
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-cockfighting__light-bg {
  background: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
}

.page-cockfighting__dark-bg {
  background: var(--background); /* #08160F */
  color: var(--text-main); /* #F2FFF6 */
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold); /* #F2C14E */
}

.page-cockfighting__introduction-section p,
.page-cockfighting__bet-types-section p,
.page-cockfighting__security-section p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-cockfighting__card {
  background: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-cockfighting__card--light {
  background: var(--deep-green); /* #0A4B2C */
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold); /* #F2C14E */
}

.page-cockfighting__card p {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-cockfighting__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--glow); /* #57E38D */
}

.page-cockfighting__step-title::before {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--glow); /* #57E38D */
  margin: 0 auto 15px;
}

.page-cockfighting__guide-step p {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-cockfighting__bet-list,
.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-cockfighting__bet-list li,
.page-cockfighting__security-list li {
  background: var(--deep-green); /* #0A4B2C */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: var(--text-main); /* #F2FFF6 */
  border-left: 5px solid var(--glow); /* #57E38D */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__bet-list li strong,
.page-cockfighting__security-list li strong {
  color: var(--gold); /* #F2C14E */
}

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

.page-cockfighting__faq-item {
  background: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main); /* #F2FFF6 */
  background: var(--deep-green); /* #0A4B2C */
  transition: background 0.3s ease;
}

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

.page-cockfighting__faq-item summary:hover {
  background: var(--divider); /* #1E3A2A */
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
  color: var(--glow); /* #57E38D */
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold); /* #F2C14E */
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  border-top: 1px solid var(--divider); /* #1E3A2A */
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Custom properties for colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient-start: #2AD16F;
  --button-gradient-end: #13994A;
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 25px;
  }

  .page-cockfighting__main-title {
    font-size: 3rem;
  }

  .page-cockfighting__description {
    font-size: 1rem;
  }

  .page-cockfighting__section-title {
    font-size: 2.2rem;
  }

  .page-cockfighting__card-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__guide-step {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is small visual padding */
  }

  .page-cockfighting__hero-content {
    padding: 20px;
    max-width: 100%;
  }

  .page-cockfighting__main-title {
    font-size: 2.2rem; /* Clamp handles this, but explicit for safety */
  }

  .page-cockfighting__description {
    font-size: 0.95rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__section {
    padding: 40px 15px;
  }

  .page-cockfighting__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 30px auto;
  }

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

  .page-cockfighting__card,
  .page-cockfighting__guide-step {
    padding: 25px;
    width: 100%;
  }

  .page-cockfighting__bet-list li,
  .page-cockfighting__security-list li {
    font-size: 1rem;
    padding: 15px;
  }

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

  .page-cockfighting__faq-qtext {
    color: var(--glow);
  }

  .page-cockfighting__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

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

  .page-cockfighting__main-title {
    font-size: 1.8rem; /* Clamp handles this */
  }

  .page-cockfighting__description {
    font-size: 0.9rem;
  }

  .page-cockfighting__section {
    padding: 30px 10px;
  }

  .page-cockfighting__section-title {
    font-size: 1.6rem;
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__faq-item summary {
    font-size: 1rem;
  }

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