.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark, so use light text */
  background-color: #0a0a0a;
}

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

.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0a0a0a; /* Ensure dark background for contrast */
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Slightly transparent background for readability */
  border-radius: 10px;
}

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

.page-cockfighting__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-cockfighting__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: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
  background-color: #1e87b0;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: rgba(38, 169, 224, 0.1);
  transform: translateY(-2px);
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__text-contrast-fix {
  color: #333333;
  text-shadow: none;
}

.page-cockfighting__introduction-section,
.page-cockfighting__types-section,
.page-cockfighting__strategies-section,
.page-cockfighting__security-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-cockfighting__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__link {
  color: #333333;
}

.page-cockfighting__link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-cockfighting__link:hover {
  text-decoration: underline;
}

.page-cockfighting__features-grid,
.page-cockfighting__types-grid,
.page-cockfighting__promos-grid,
.page-cockfighting__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__promo-card,
.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-cockfighting__light-bg .page-cockfighting__card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__card-title a.page-cockfighting__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-cockfighting__card-title a.page-cockfighting__card-link:hover {
  text-decoration: underline;
}

.page-cockfighting__card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-cockfighting__light-bg .page-cockfighting__card p {
  color: #333333;
}

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

.page-cockfighting__type-image,
.page-cockfighting__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px;
}

.page-cockfighting__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-cockfighting__guide-item {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #f0f0f0;
}

.page-cockfighting__light-bg .page-cockfighting__guide-item {
  background: #f8f8f8;
  color: #333333;
}

.page-cockfighting__guide-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__guide-item p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting__strategy-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-cockfighting__strategy-item p {
  flex-grow: 1;
}

.page-cockfighting__strategy-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-cockfighting__faq-section {
  padding: 80px 0;
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f8f8;
  color: #333333;
}

.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;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

.page-cockfighting__faq-question:hover {
  background-color: #f0f0f0;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26A9E0;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
  content: '−';
}

.page-cockfighting__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

.page-cockfighting__conclusion-section {
  text-align: center;
  padding: 80px 0;
  background-color: #26A9E0;
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title,
.page-cockfighting__conclusion-section .page-cockfighting__text-block {
  color: #FFFFFF;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-primary {
  background-color: #EA7C07; /* Login color */
  border-color: #EA7C07;
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-primary:hover {
  background-color: #d86c00;
  border-color: #d86c00;
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

.page-cockfighting__conclusion-section .page-cockfighting__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b0;
  border-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-cockfighting__text-block {
    font-size: 1rem;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__guide-step-title,
  .page-cockfighting__strategy-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-content {
    padding: 10px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-cockfighting__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__why-choose-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__strategies-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 0.95rem;
  }
  .page-cockfighting__features-grid,
  .page-cockfighting__types-grid,
  .page-cockfighting__promos-grid,
  .page-cockfighting__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .page-cockfighting__card,
  .page-cockfighting__guide-item,
  .page-cockfighting__strategy-item {
    padding: 20px;
  }
  .page-cockfighting__card-title,
  .page-cockfighting__guide-step-title,
  .page-cockfighting__strategy-title {
    font-size: 1.1rem;
  }
  .page-cockfighting__card p,
  .page-cockfighting__guide-item p,
  .page-cockfighting__strategy-item p {
    font-size: 0.9rem;
  }
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__type-image,
  .page-cockfighting__promo-image,
  .page-cockfighting__feature-icon {
    min-width: 200px !important;
    min-height: 150px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
    font-size: 0.9rem;
  }
}