/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */\  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-cockfighting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #22C768; /* Auxiliary color */
  border-radius: 2px;
}

.page-cockfighting__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  background-color: #08160F;
}

.page-cockfighting__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  filter: brightness(0.8);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Slightly darker overlay for text readability */
  border-radius: 10px;
  margin-top: -150px; /* Pull content up over image slightly for visual flow */
}

.page-cockfighting__hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 20px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-cockfighting__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button highlight */
  border: 2px solid #2AD16F;
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
  border-color: #57E38D; /* Glow */
}

.page-cockfighting__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Card styles */
.page-cockfighting__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Text Main */
  text-align: center;
}

.page-cockfighting__card img {
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-cockfighting__dark-section {
  background-color: #08160F;
  color: #F2FFF6;
  padding: 80px 0;
}

.page-cockfighting__light-bg {
  background-color: #11271B; /* Using Card BG for light contrast */
  color: #F2FFF6;
  padding: 80px 0;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us .page-cockfighting__section-title {
    color: #F2FFF6;
}

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

.page-cockfighting__feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-cockfighting__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-cockfighting__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
}

.page-cockfighting__feature-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* How to Play Section */
.page-cockfighting__how-to-play .page-cockfighting__section-title {
    color: #F2FFF6;
}

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

.page-cockfighting__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
}

.page-cockfighting__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-cockfighting__step-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-cockfighting__step-button {
    margin-top: auto; /* Push button to bottom */
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6;
    border: none;
}

.page-cockfighting__step-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 10px rgba(42, 209, 111, 0.4);
}

/* Bet Types Section */
.page-cockfighting__bet-types .page-cockfighting__section-title {
    color: #F2FFF6;
}

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

.page-cockfighting__bet-type-card {
  padding: 30px;
}

.page-cockfighting__bet-type-title {
  font-size: 24px;
  font-weight: 700;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-cockfighting__bet-type-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* Tips Section */
.page-cockfighting__tips-section .page-cockfighting__section-title {
    color: #F2FFF6;
}

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

.page-cockfighting__tip-card {
  padding: 30px;
}

.page-cockfighting__tip-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-cockfighting__tip-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  color: #F2FFF6;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #1E3A2A; /* Divider for hover */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #0A4B2C; /* Deep Green for answer background */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
}

/* Final CTA Section */
.page-cockfighting__final-cta {
  padding: 80px 0;
  background-color: #08160F; /* Background */
  text-align: center;
}

.page-cockfighting__final-cta .page-cockfighting__section-title {
    color: #F2FFF6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 40px;
  }
  .page-cockfighting__hero-description {
    font-size: 18px;
  }
  .page-cockfighting__section-title {
    font-size: 30px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__bet-type-title, .page-cockfighting__tip-title {
    font-size: 20px;
  }
  .page-cockfighting__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-cockfighting__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  .page-cockfighting__hero-image {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 28px;
    line-height: 1.3;
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
  }
  .page-cockfighting__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__step-button,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 15px;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__bet-type-grid,
  .page-cockfighting__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__feature-image {
    height: 180px;
  }
  .page-cockfighting__feature-title, .page-cockfighting__step-title, .page-cockfighting__bet-type-title, .page-cockfighting__tip-title {
    font-size: 18px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 16px; }
  .page-cockfighting__faq-toggle { font-size: 24px; width: 24px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 24px;
  }
  .page-cockfighting__hero-description {
    font-size: 14px;
  }
  .page-cockfighting__hero-content {
    margin-top: -60px;
  }
  .page-cockfighting__section-title {
    font-size: 20px;
  }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary {
    font-size: 14px;
    padding: 10px 15px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 15px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 20px;
    width: 20px;
  }
  .page-cockfighting__faq-answer p {
    font-size: 14px;
  }
}