.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Colors from custom palette */
.page-cockfighting__dark-bg {
  background-color: #140C0C;
  color: #FFF1E8;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__card-bg {
  background-color: #2A1212;
  color: #FFF1E8;
}

.page-cockfighting__text-link {
  color: #F3C54D; /* Gold */
  text-decoration: underline;
}

.page-cockfighting__text-link:hover {
  color: #FFB04A;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #F3C54D;
  color: #140C0C;
  transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 60px;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image for visual flow */
  background: rgba(20, 12, 12, 0.85); /* Background: #140C0C with opacity */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__main-title {
  color: #FFF1E8;
  font-size: clamp(2em, 4vw, 3.5em);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  color: #FFF1E8;
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-button {
  margin: 10px;
}

/* General Section Styles */
.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

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

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-cockfighting__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
  font-size: 1.1em;
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
}

.page-cockfighting__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image-block--center {
  flex: none;
  margin: 40px auto 0 auto;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Bet Types Grid */
.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-cockfighting__bet-type-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark card background */
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__card-title {
  color: #F3C54D; /* Gold */
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-cockfighting__card-description {
  color: #FFF1E8;
  font-size: 1em;
}

/* How-To Section */
.page-cockfighting__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-cockfighting__step-item {
  background-color: #f8f8f8;
  border-left: 5px solid #C61F1F;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__step-title {
  color: #C61F1F;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__step-item p {
  color: #333333;
  font-size: 1em;
}

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

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Benefits Section */
.page-cockfighting__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__benefit-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border: 1px solid #7E0D0D; /* Deep Red */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-cockfighting__benefit-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__benefits-grid .page-cockfighting__card-title {
  color: #F3C54D; /* Gold */
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-cockfighting__benefits-grid .page-cockfighting__card-description {
  color: #FFF1E8;
  font-size: 1em;
}

/* Betting Tips Section */
.page-cockfighting__tip-list {
  list-style: none;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__tip-list li {
  position: relative;
  margin-bottom: 15px;
  color: #333333;
  font-size: 1.1em;
}

.page-cockfighting__tip-list li::before {
  content: '✔';
  color: #C61F1F;
  position: absolute;
  left: -20px;
  font-weight: bold;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F3C54D; /* Gold */
  background-color: rgba(255, 255, 255, 0.02);
  transition: background-color 0.3s ease;
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F3C54D;
}

.page-cockfighting__faq-answer {
  padding: 0 25px 20px 25px;
  color: #FFF1E8;
  font-size: 1em;
}

.page-cockfighting__faq-answer p {
  margin-top: 10px;
}

/* Conclusion CTA Section */
.page-cockfighting__cta-section .page-cockfighting__section-title {
  color: #F3C54D;
}

.page-cockfighting__cta-description {
  color: #FFF1E8;
  text-align: center;
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-bottom: 40px;
  }

  .page-cockfighting__hero-content {
    padding: 30px 15px;
    margin-top: -80px;
  }

  .page-cockfighting__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-cockfighting__container {
    padding: 30px 15px;
  }

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

  .page-cockfighting__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-cockfighting__text-block, .page-cockfighting__image-block {
    flex: none;
    width: 100%;
  }

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

  .page-cockfighting__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding: 15px 10px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .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__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__how-to-join-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__betting-tips-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__step-item {
    padding: 15px 20px;
  }

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

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