/* style/cockfighting.css */

/* Base styles for the cockfighting page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  line-height: 1.6;
}

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

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem); /* Responsive font size for H2 */
  font-weight: 700;
  color: #26A9E0; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-cockfighting__text-block p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.page-cockfighting__content-image {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

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

.page-cockfighting__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative; /* Ensure content is above image in stacking context if needed */
  z-index: 2;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem); /* Responsive H1 font size */
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-video-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 40px 0;
  padding-top: 10px; /* Small top padding */
  text-align: center;
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  width: 100%; /* Desktop width */
}

.page-cockfighting__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.page-cockfighting__btn-video-cta {
  margin-top: 20px;
}

/* Content Sections */
.page-cockfighting__introduction-section,
.page-cockfighting__bet-types-section,
.page-cockfighting__guide-section,
.page-cockfighting__advantages-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__bet-list,
.page-cockfighting__guide-list,
.page-cockfighting__advantage-list,
.page-cockfighting__promotion-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-cockfighting__bet-list li,
.page-cockfighting__guide-list li,
.page-cockfighting__advantage-list li,
.page-cockfighting__promotion-list li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-cockfighting__bet-list li strong,
.page-cockfighting__guide-list li strong,
.page-cockfighting__advantage-list li strong,
.page-cockfighting__promotion-list li strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 30px;
}

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
  list-style: none; /* For details tag */
}

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

.page-cockfighting__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1.1rem;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__hero-section {
    padding: 40px 0;
  }

  .page-cockfighting__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  }

  .page-cockfighting__hero-description,
  .page-cockfighting__text-block p,
  .page-cockfighting__bet-list li,
  .page-cockfighting__guide-list li,
  .page-cockfighting__advantage-list li,
  .page-cockfighting__promotion-list li,
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    font-size: 1rem;
  }
}

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

  .page-cockfighting__hero-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }

  .page-cockfighting__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-cockfighting__hero-description {
    font-size: 1rem;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting__btn-video-cta,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__video-section {
    padding: 30px 0;
    padding-top: 10px !important;
  }
  
  .page-cockfighting__video-wrapper {
    padding-bottom: 66%; /* Adjust aspect ratio for mobile if needed, e.g., 3:2 */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting__introduction-section,
  .page-cockfighting__bet-types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
    margin-bottom: 30px;
  }

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

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

  .page-cockfighting__bet-list li,
  .page-cockfighting__guide-list li,
  .page-cockfighting__advantage-list li,
  .page-cockfighting__promotion-list li {
    padding: 15px;
    font-size: 0.95rem;
  }

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

  .page-cockfighting__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.95rem;
  }
}