.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff;
}

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

.page-cockfighting__section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__section-title {
  font-size: 36px;
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-cockfighting__section-text {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
}

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

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  margin-top: -100px; /* Adjust to place content below image */
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.page-cockfighting__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #333333;
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button--primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__cta-button--primary:hover {
  background: #1e87c2;
  transform: translateY(-2px);
}

.page-cockfighting__cta-button--secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__cta-button--secondary:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
}

.page-cockfighting__cta-button--white {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-cockfighting__cta-button--white:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
}

.page-cockfighting__introduction-section .page-cockfighting__section-text {
  text-align: left;
}

.page-cockfighting__bet-types-section {
  background: #f9f9f9;
  color: #333333;
}

.page-cockfighting__grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.page-cockfighting__card-text {
  font-size: 16px;
  color: #555555;
}

.page-cockfighting__button-group {
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__guide-section {
  background: #ffffff;
}

.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background: #f0f8ff;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  position: relative;
  padding-top: 60px;
}

.page-cockfighting__step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

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

.page-cockfighting__step-text {
  font-size: 16px;
  color: #555555;
}

.page-cockfighting__tips-section {
  background: #26A9E0;
  color: #ffffff;
}

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

.page-cockfighting__content-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting__image-wrapper {
  text-align: center;
}

.page-cockfighting__feature-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  min-width: 200px;
  min-height: 150px;
}

.page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #ffffff;
}

.page-cockfighting__tips-list li strong {
  color: #ffffff;
}

.page-cockfighting__advantages-section {
  background: #ffffff;
}

.page-cockfighting__advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__advantage-item {
  background: #f0f8ff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.page-cockfighting__advantage-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min-size for images */
  min-height: 200px;
}

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

.page-cockfighting__advantage-text {
  font-size: 15px;
  color: #555555;
}

.page-cockfighting__faq-section {
  background: #f9f9f9;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

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;
}

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: #f5f5f5;
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

.page-cockfighting__faq-answer p {
  margin: 0;
}

.page-cockfighting__cta-final-section {
  background: #26A9E0;
  color: #ffffff;
  padding: 80px 0;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-title {
  color: #ffffff;
  font-size: 42px;
}

.page-cockfighting__cta-final-section .page-cockfighting__section-text {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 40px;
}

.page-cockfighting__cta-final-section .page-cockfighting__cta-button {
  background: #EA7C07; /* Login color for final CTA */
  border-color: #EA7C07;
}

.page-cockfighting__cta-final-section .page-cockfighting__cta-button:hover {
  background: #d46c06;
  border-color: #d46c06;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-cockfighting__container {
    padding: 20px 30px;
  }

  .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }

  .page-cockfighting__hero-description {
    font-size: clamp(15px, 1.6vw, 18px);
  }

  .page-cockfighting__grid-container,
  .page-cockfighting__steps-grid,
  .page-cockfighting__advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-cockfighting__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
  }

  .page-cockfighting__cta-final-section .page-cockfighting__section-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 15px;
  }

  .page-cockfighting__section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-cockfighting__section-text {
    font-size: 16px;
  }

  .page-cockfighting__hero-section {
    padding-top: 10px;
    margin-bottom: 20px;
  }

  .page-cockfighting__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Ensure full image is visible */
  }

  .page-cockfighting__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: clamp(14px, 3.5vw, 16px);
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__button-group {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cockfighting__grid-container,
  .page-cockfighting__steps-grid,
  .page-cockfighting__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 20px;
  }

  .page-cockfighting__card-text {
    font-size: 15px;
  }

  .page-cockfighting__step-card {
    padding: 50px 20px 20px;
  }

  .page-cockfighting__step-title {
    font-size: 20px;
  }

  .page-cockfighting__tips-list li {
    font-size: 15px;
    padding: 12px 15px;
    margin-bottom: 10px;
  }

  .page-cockfighting__advantage-item {
    padding: 20px;
  }

  .page-cockfighting__advantage-title {
    font-size: 18px;
  }

  .page-cockfighting__advantage-text {
    font-size: 14px;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 15px;
  }

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

  .page-cockfighting__cta-final-section {
    padding: 50px 0;
  }

  .page-cockfighting__cta-final-section .page-cockfighting__section-title {
    font-size: 32px;
  }

  .page-cockfighting__cta-final-section .page-cockfighting__section-text {
    font-size: 16px;
  }

  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section { padding-left: 0; padding-right: 0; }
  .page-cockfighting__hero-content { padding-left: 15px; padding-right: 15px; }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-content {
    margin-top: -40px;
  }

  .page-cockfighting__hero-title {
    font-size: clamp(22px, 8vw, 30px);
  }

  .page-cockfighting__hero-description {
    font-size: clamp(14px, 4vw, 15px);
  }

  .page-cockfighting__cta-final-section .page-cockfighting__section-title {
    font-size: 28px;
  }
}