/* style/cockfighting.css */
:root {
  --page-cockfighting-primary-color: #11A84E;
  --page-cockfighting-secondary-color: #22C768;
  --page-cockfighting-bg-color: #08160F;
  --page-cockfighting-card-bg: #11271B;
  --page-cockfighting-text-main: #F2FFF6;
  --page-cockfighting-text-secondary: #A7D9B8;
  --page-cockfighting-border-color: #2E7A4E;
  --page-cockfighting-glow-color: #57E38D;
  --page-cockfighting-gold-color: #F2C14E;
  --page-cockfighting-divider-color: #1E3A2A;
  --page-cockfighting-deep-green: #0A4B2C;
}

.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-main); /* Default text color for the page */
  background-color: var(--page-cockfighting-bg-color);
}

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

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

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
}

.page-cockfighting__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
  max-width: 800px;
  margin-top: -150px; /* Overlap slightly for visual effect, but text is below image */
  background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size */
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
  font-size: 1.1em;
  color: var(--page-cockfighting-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--page-cockfighting-text-main);
  border: 2px solid var(--page-cockfighting-primary-color);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--page-cockfighting-gold-color);
  border: 2px solid var(--page-cockfighting-gold-color);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-cockfighting__btn-secondary:hover {
  background: var(--page-cockfighting-gold-color);
  color: var(--page-cockfighting-bg-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-cockfighting__btn-link {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--page-cockfighting-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  color: var(--page-cockfighting-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__intro-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--page-cockfighting-bg-color);
}

.page-cockfighting__dark-section {
  background-color: var(--page-cockfighting-deep-green);
  color: var(--page-cockfighting-text-main);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: var(--page-cockfighting-text-secondary);
  text-align: justify;
}

.page-cockfighting__text-block strong {
  color: var(--page-cockfighting-text-main);
}

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

.page-cockfighting__bet-list,
.page-cockfighting__guide-list,
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__bet-item,
.page-cockfighting__guide-item,
.page-cockfighting__tips-item {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-cockfighting-border-color);
}

.page-cockfighting__bet-heading,
.page-cockfighting__guide-step-title,
.page-cockfighting__tip-heading {
  font-size: 1.6em;
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__bet-description,
.page-cockfighting__guide-step-description,
.page-cockfighting__tip-description {
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.7;
}

.page-cockfighting__guide-item {
  counter-increment: step-counter;
  position: relative;
  padding-left: 50px;
}

.page-cockfighting__guide-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-text-main);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2em;
}

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

.page-cockfighting__advantage-card {
  background-color: var(--page-cockfighting-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-cockfighting-border-color);
  text-align: center;
}

.page-cockfighting__advantage-title {
  font-size: 1.8em;
  color: var(--page-cockfighting-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__advantage-description {
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.7;
}

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

.page-cockfighting__faq-item {
  background-color: var(--page-cockfighting-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--page-cockfighting-border-color);
  overflow: hidden;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-cockfighting-text-main);
  background-color: var(--page-cockfighting-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-question:hover {
  background-color: var(--page-cockfighting-border-color);
}

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--page-cockfighting-text-secondary);
  line-height: 1.7;
}

.page-cockfighting__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-cockfighting__bet-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-cockfighting__guide-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }

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

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

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

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

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

  .page-cockfighting__intro-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

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

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

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

  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__bet-list,
  .page-cockfighting__guide-list,
  .page-cockfighting__tips-list,
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__bet-heading,
  .page-cockfighting__guide-step-title,
  .page-cockfighting__tip-heading {
    font-size: 1.4em;
  }

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

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

  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
}