/* style/cockfighting.css */

/* Root variables from shared.css will define --background */
.page-cockfighting {
  font-family: Arial, sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color for dark backgrounds */
  background-color: var(--background, #08160F);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background, #08160F);
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for desktop */
  margin-bottom: 30px;
}

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

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

.page-cockfighting__hero-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-cockfighting__hero-description {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-cockfighting__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* General Section Styling */
.page-cockfighting__section {
  padding: 60px 0;
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__section-title {
  color: var(--text-main, #F2FFF6);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-cockfighting__content-area {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.1rem;
}

.page-cockfighting__content-area p {
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__content-area h3 {
  color: var(--text-main, #F2FFF6);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-cockfighting__content-area li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting__content-area li::before {
  content: '▶';
  color: var(--glow, #57E38D);
  position: absolute;
  left: 0;
  font-size: 0.9em;
  top: 3px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* Button text always white for contrast */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

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

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--glow, #57E38D);
  border: 2px solid var(--glow, #57E38D);
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: #08160F;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

/* Guide Section */
.page-cockfighting__guide-step {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
}

.page-cockfighting__guide-step .page-cockfighting__step-title {
  color: var(--gold, #F2C14E);
  font-size: 1.6rem;
  margin-top: 0;
}

/* Bet Types Section */
.page-cockfighting__bet-list,
.page-cockfighting__tips-list,
.page-cockfighting__benefits-list,
.page-cockfighting__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 0;
  list-style: none;
}

.page-cockfighting__bet-list li,
.page-cockfighting__tips-list li,
.page-cockfighting__benefits-list li,
.page-cockfighting__promo-list li {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border, #2E7A4E);
  transition: transform 0.3s ease;
  padding-left: 25px; /* Reset padding-left from general li */
}

.page-cockfighting__bet-list li:hover,
.page-cockfighting__tips-list li:hover,
.page-cockfighting__benefits-list li:hover,
.page-cockfighting__promo-list li:hover {
  transform: translateY(-5px);
}

.page-cockfighting__bet-list li::before,
.page-cockfighting__tips-list li::before,
.page-cockfighting__benefits-list li::before,
.page-cockfighting__promo-list li::before {
  content: none; /* Remove default list item bullet */
}

.page-cockfighting__bet-type-title,
.page-cockfighting__tip-title,
.page-cockfighting__benefit-title,
.page-cockfighting__promo-title {
  color: var(--gold, #F2C14E);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main, #F2FFF6);
  background-color: var(--deep-green, #0A4B2C);
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

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

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow, #57E38D);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 20px 25px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary, #A7D9B8);
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  text-align: center;
  padding: 80px 0;
}

.page-cockfighting__cta-final-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

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

/* Links within content */
.page-cockfighting__content-area a,
.page-cockfighting__faq-answer a {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

.page-cockfighting__content-area a:hover,
.page-cockfighting__faq-answer a:hover {
  color: var(--gold, #F2C14E);
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 0;
    padding-top: 10px;
  }

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

  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1.1rem;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }

  .page-cockfighting__content-area {
    font-size: 1rem;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

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

  .page-cockfighting__hero-section {
    padding: 30px 0;
    padding-top: 10px;
  }

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

  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1rem;
  }

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

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-cockfighting__content-area {
    padding: 0 15px;
  }

  .page-cockfighting__content-area p,
  .page-cockfighting__content-area li {
    font-size: 0.95rem;
  }

  .page-cockfighting__content-area h3 {
    font-size: 1.3rem;
  }

  .page-cockfighting__image-content,
  .page-cockfighting__hero-image {
    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__guide-step,
  .page-cockfighting__bet-list li,
  .page-cockfighting__tips-list li,
  .page-cockfighting__benefits-list li,
  .page-cockfighting__promo-list li,
  .page-cockfighting__faq-item,
  .page-cockfighting__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__bet-list,
  .page-cockfighting__tips-list,
  .page-cockfighting__benefits-list,
  .page-cockfighting__promo-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-cockfighting__cta-final-section {
    padding: 60px 0;
  }
}

/* Ensure color contrast for dark background */
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting__hero-description,
.page-cockfighting__guide-step p,
.page-cockfighting__bet-list li p,
.page-cockfighting__tips-list li p,
.page-cockfighting__benefits-list li p,
.page-cockfighting__promo-list li p,
.page-cockfighting__faq-answer p {
  color: var(--text-secondary, #A7D9B8);
}

.page-cockfighting h1,
.page-cockfighting h2,
.page-cockfighting h3,
.page-cockfighting__faq-question .page-cockfighting__faq-qtext {
  color: var(--text-main, #F2FFF6);
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  color: #ffffff;
}
.page-cockfighting__btn-secondary {
  color: var(--glow, #57E38D);
}
.page-cockfighting__btn-secondary:hover {
  color: #08160F;
}

.page-cockfighting__faq-toggle {
  color: var(--glow, #57E38D);
}

.page-cockfighting__content-area a,
.page-cockfighting__faq-answer a {
  color: var(--glow, #57E38D);
}