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

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

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

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px; /* Small top padding for first section */
  padding-top: 10px; /* Adhering to the small top padding rule */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main); /* #F2FFF6 */
  border: 2px solid var(--border-color); /* #2E7A4E */
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--border-color); /* #2E7A4E */
  color: #ffffff;
}

.page-cockfighting__btn-center {
  margin: 30px auto 0;
  display: block;
  max-width: 300px;
}

/* General Section Styling */
.page-cockfighting__intro-section,
.page-cockfighting__bet-types,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__promotions-section,
.page-cockfighting__why-choose-us,
.page-cockfighting__faq-section,
.page-cockfighting__cta-final {
  padding: 60px 0;
}

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-main); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__text-block {
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  margin-bottom: 20px;
  text-align: justify;
}

.page-cockfighting__image-text-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
  align-items: center;
}

.page-cockfighting__image-inline {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-cockfighting__card {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__card-title {
  font-size: 1.4rem;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Guide List */
.page-cockfighting__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__guide-list li {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.page-cockfighting__guide-step-title {
  font-size: 1.5rem;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Strategy List */
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__strategy-list li {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
}

.page-cockfighting__strategy-item-title {
  font-size: 1.4rem;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__strategy-item-text {
  font-size: 0.95rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Advantages List */
.page-cockfighting__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__advantages-list li {
  background-color: var(--card-bg); /* #11271B */
  border: 1px solid var(--border-color); /* #2E7A4E */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.page-cockfighting__icon {
  font-size: 3rem;
  color: var(--glow); /* #57E38D */
  margin-bottom: 15px;
  display: block;
}

.page-cockfighting__advantage-title {
  font-size: 1.4rem;
  color: var(--text-main); /* #F2FFF6 */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-cockfighting__advantage-text {
  font-size: 0.95rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

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

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

.page-cockfighting__faq-item summary {
  list-style: none;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--card-bg); /* #11271B */
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-cockfighting__faq-question:hover {
  background-color: var(--deep-green); /* #0A4B2C */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow); /* #57E38D */
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 20px 30px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
  background-color: var(--card-bg); /* #11271B */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cockfighting__hero-image-wrapper {
    max-height: 500px;
  }

  .page-cockfighting__image-text-block {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 8vw, 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 {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-cockfighting__intro-section,
  .page-cockfighting__bet-types,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__why-choose-us,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final {
    padding: 40px 0;
  }

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

  .page-cockfighting__card-grid,
  .page-cockfighting__strategy-list,
  .page-cockfighting__advantages-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card,
  .page-cockfighting__guide-list li,
  .page-cockfighting__strategy-list li,
  .page-cockfighting__advantages-list li {
    padding: 20px;
  }

  .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__hero-content,
  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__image-text-block,
  .page-cockfighting__bet-types,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__why-choose-us,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
  }

  .page-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }
}