.page-cockfighting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff; /* Default light background, assuming shared.css provides var(--background-color) */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.page-cockfighting__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  padding: 0 15px;
}

.page-cockfighting__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555555;
}

.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: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-cockfighting__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

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

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-cockfighting__introduction-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__conclusion-section {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-cockfighting__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #FFFFFF;
}

.page-cockfighting__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-cockfighting__bet-list,
.page-cockfighting__steps-list,
.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-cockfighting__bet-item,
.page-cockfighting__step-item,
.page-cockfighting__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__dark-section .page-cockfighting__bet-item,
.page-cockfighting__dark-section .page-cockfighting__tip-item {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__bet-item h3,
.page-cockfighting__step-item h3,
.page-cockfighting__tip-item h3 {
  color: #26A9E0;
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__dark-section .page-cockfighting__bet-item h3,
.page-cockfighting__dark-section .page-cockfighting__tip-item h3 {
  color: #FFFFFF;
}

.page-cockfighting__bet-item p,
.page-cockfighting__step-item p,
.page-cockfighting__tip-item p {
  font-size: 1.05rem;
  color: inherit;
}

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

.page-cockfighting__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__promo-card h3 {
  color: #26A9E0;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__promo-card p {
  font-size: 1rem;
  color: #555555;
}

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

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

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  font-weight: bold;
  font-size: 1.15rem;
  color: #FFFFFF;
  list-style: none;
}

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

.page-cockfighting__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
}

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

.page-cockfighting__text-center {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-cockfighting__bet-item h3,
  .page-cockfighting__step-item h3,
  .page-cockfighting__tip-item h3,
  .page-cockfighting__promo-card h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 10px 15px 40px; /* Adjust padding for mobile */
  }

  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important; /* Ensure title fits */
  }

  .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: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__content-area,
  .page-cockfighting__promo-card,
  .page-cockfighting__faq-item,
  .page-cockfighting__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

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

  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__bet-item,
  .page-cockfighting__step-item,
  .page-cockfighting__tip-item,
  .page-cockfighting__promo-card {
    padding: 20px;
  }

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

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