.page-cockfighting {
  color: #ffffff; /* Body background is #0a0a0a (dark), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on body background */
}

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  margin-bottom: 30px;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background for text */
  border-radius: 10px;
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

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

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

.page-cockfighting__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-cockfighting__features-section,
.page-cockfighting__game-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__tips-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for sections */
  border-radius: 10px;
}

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

.page-cockfighting__feature-card,
.page-cockfighting__promotion-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-icon,
.page-cockfighting__promotion-image {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 15px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title,
.page-cockfighting__promotion-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__feature-text,
.page-cockfighting__promotion-text {
  color: #f0f0f0;
}

.page-cockfighting__game-types-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
}

.page-cockfighting__game-type-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__game-type-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin-bottom: 15px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__game-type-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__game-type-text {
  color: #f0f0f0;
}

.page-cockfighting__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-cockfighting__guide-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__guide-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 15px;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__guide-title {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__guide-text {
  color: #f0f0f0;
}

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

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-cockfighting__tip-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__tip-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__tip-text {
  color: #f0f0f0;
}

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

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #26A9E0;
  user-select: none;
  list-style: none;
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  padding: 0 25px 18px 25px;
  color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__btn-primary {
    padding: 10px 20px;
  }

  .page-cockfighting__features-section,
  .page-cockfighting__game-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section {
    margin: 20px auto;
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__hero-image-wrapper,
  .page-cockfighting__features-grid,
  .page-cockfighting__game-types-list,
  .page-cockfighting__guide-steps,
  .page-cockfighting__promotion-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-cockfighting__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__btn-center {
    width: 100% !important;
  }

  .page-cockfighting__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting__section-description {
    font-size: 0.95em;
  }

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

@media (max-width: 480px) {
  .page-cockfighting__main-title {
    font-size: 1.5em;
  }
  .page-cockfighting__section-title {
    font-size: 1.3em;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
}