.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
  line-height: 1.6;
}

.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; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-cockfighting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cockfighting__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-cockfighting__cta-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__section {
  padding: 80px 20px;
  text-align: center;
}

.page-cockfighting__light-bg {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-cockfighting__dark-bg {
  background-color: #2F6BFF;
  color: #ffffff;
}

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

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__section-title--white {
  color: #ffffff;
}

.page-cockfighting__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D;
}

.page-cockfighting__dark-bg .page-cockfighting__section-description {
  color: #f0f0f0;
}

.page-cockfighting__section-description--white {
  color: #f0f0f0;
}

.page-cockfighting__image-text-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 50px;
}

.page-cockfighting__grid-item {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__grid-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  color: #2F6BFF;
}

.page-cockfighting__dark-bg .page-cockfighting__subsection-title {
  color: #6FA3FF;
}

.page-cockfighting__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-cockfighting__feature-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  position: relative;
  padding-left: 30px;
}

.page-cockfighting__feature-list li::before {
  content: '✔';
  color: #2F6BFF;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-cockfighting__dark-bg .page-cockfighting__feature-list li::before {
  color: #A5C4FF;
}

.page-cockfighting__grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-cockfighting__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #1F2D3D;
}

.page-cockfighting__dark-bg .page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-cockfighting__dark-bg .page-cockfighting__card-title {
  color: #A5C4FF;
}

.page-cockfighting__betting-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.page-cockfighting__betting-list li {
  margin-bottom: 8px;
}

.page-cockfighting__cta-wrapper {
  margin-top: 60px;
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: none;
}

.page-cockfighting__btn-secondary:hover {
  background: #e0e0e0;
  color: #2F6BFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-cockfighting__content-block {
  margin-top: 50px;
  text-align: left;
}

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

.page-cockfighting__content-block--reversed {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-items: center;
  gap: 40px;
}

.page-cockfighting__content-block--reversed .page-cockfighting__text-content {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__content-block--reversed .page-cockfighting__image-content {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting__content-block--reversed .page-cockfighting__image-content img {
  margin-bottom: 0;
}

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

.page-cockfighting__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 280px; /* Ensure cards have similar height */
}

.page-cockfighting__step-number {
  width: 50px;
  height: 50px;
  background-color: #2F6BFF;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

.page-cockfighting__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-cockfighting__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
}

.page-cockfighting__btn-small:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
  background: #fff;
  color: #1F2D3D;
  text-align: left;
}

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;
  color: #1F2D3D;
}

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: #F4F7FB; /* Lighter background on hover */
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2F6BFF; /* Primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #F4F7FB; /* Background for answer */
  border-radius: 0 0 5px 5px;
  color: #1F2D3D;
  font-size: 1rem;
}

.page-cockfighting__cta-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  padding: 100px 20px;
  color: #ffffff;
}

.page-cockfighting__cta-content {
  max-width: 900px;
}

.page-cockfighting__cta-button--large {
  font-size: 1.25rem;
  padding: 18px 50px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 15px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }
  .page-cockfighting__section {
    padding: 60px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 2rem;
  }
  .page-cockfighting__subsection-title {
    font-size: 1.6rem;
  }
  .page-cockfighting__image-text-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-block--reversed {
    flex-direction: column-reverse;
  }
  .page-cockfighting__cta-section {
    padding: 80px 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-image img {
    border-radius: 4px;
  }
  .page-cockfighting__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__section {
    padding: 40px 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }
  .page-cockfighting__section-description {
    font-size: 1rem;
  }
  .page-cockfighting__grid-item,
  .page-cockfighting__content-block--reversed .page-cockfighting__text-content,
  .page-cockfighting__content-block--reversed .page-cockfighting__image-content {
    min-width: unset;
    width: 100%;
  }
  .page-cockfighting__card {
    padding: 20px;
  }
  .page-cockfighting__card img {
    
  }
  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }
  .page-cockfighting__step-card {
    min-height: unset;
  }
  .page-cockfighting__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-qtext { font-size: 1rem; }
  .page-cockfighting__faq-toggle { font-size: 1.3rem; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

  /* Mobile image responsiveness */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__image-text-grid,
  .page-cockfighting__content-block--reversed,
  .page-cockfighting__steps-grid,
  .page-cockfighting__faq-list,
  .page-cockfighting__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}