/* style/cockfighting.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login-color: #EA7C07;
  --background-color: #FFFFFF;
  --black-color-custom: #000000;
}

/* Body background color is from shared.css: var(--black-color), which is dark. So text should be light. */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Rely on shared body background */
}

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

.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-light);
}

.page-cockfighting__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-cockfighting__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-cockfighting__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-cockfighting__light-bg .page-cockfighting__section-title,
.page-cockfighting__light-bg .page-cockfighting__text-block,
.page-cockfighting__light-bg .page-cockfighting__card-title,
.page-cockfighting__light-bg .page-cockfighting__card-text,
.page-cockfighting__light-bg .page-cockfighting__step-title,
.page-cockfighting__light-bg .page-cockfighting__step-text,
.page-cockfighting__light-bg .page-cockfighting__faq-qtext,
.page-cockfighting__light-bg .page-cockfighting__faq-answer p,
.page-cockfighting__light-bg .page-cockfighting__list-item {
  color: var(--text-dark);
}

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

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-cockfighting__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-cockfighting__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-cockfighting__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-cockfighting__btn-link {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid transparent;
  padding: 8px 15px;
  font-size: 0.95em;
}

.page-cockfighting__btn-link:hover {
  text-decoration: underline;
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

/* Introduction Section */
.page-cockfighting__introduction-section {
  padding: 60px 0;
}

/* Features Section */
.page-cockfighting__features-section {
  padding: 60px 0;
}

.page-cockfighting__feature-grid,
.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card,
.page-cockfighting__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__feature-image,
.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-cockfighting__card-text {
  font-size: 1em;
  color: var(--text-light);
  flex-grow: 1;
}

/* Guide Section */
.page-cockfighting__guide-section {
  padding: 60px 0;
}

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

.page-cockfighting__step-card {
  background-color: var(--background-color);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-cockfighting__step-text {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Video Section */
.page-cockfighting__video-section {
  padding: 60px 0;
  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: var(--black-color-custom);
  border-radius: 10px;
  margin: 40px auto;
  width: 100%; /* Important for desktop */
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

.page-cockfighting__video-description {
  font-size: 1.1em;
  color: var(--text-light);
  margin-top: 20px;
}

/* Types Section */
.page-cockfighting__types-section {
  padding: 60px 0;
}

.page-cockfighting__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-cockfighting__list-item {
  background-color: var(--background-color);
  border-left: 5px solid var(--primary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting__list-item strong {
  color: var(--primary-color);
}

/* Promotions Section */
.page-cockfighting__promotions-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-cockfighting__faq-section {
  padding: 60px 0;
}

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

.page-cockfighting__faq-item {
  background-color: var(--background-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  color: var(--text-dark);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  list-style: none; /* For details/summary */
}

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

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 15px;
}

.page-cockfighting__faq-answer {
  padding: 15px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-dark);
}

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

/* Final CTA Section */
.page-cockfighting__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__text-block,
  .page-cockfighting__card-text,
  .page-cockfighting__step-text,
  .page-cockfighting__video-description,
  .page-cockfighting__list-item,
  .page-cockfighting__faq-answer {
    font-size: 0.95em;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-cockfighting__cta-buttons .page-cockfighting__btn-primary,
  .page-cockfighting__cta-buttons .page-cockfighting__btn-secondary {
    width: 100%;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__step-card {
    padding: 20px;
  }
  .page-cockfighting__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 10px 20px;
  }

  /* Mobile responsive for images, videos, buttons */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__hero-content,
  .page-cockfighting__feature-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__step-card,
  .page-cockfighting__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section,
  .page-cockfighting__introduction-section,
  .page-cockfighting__features-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__video-section,
  .page-cockfighting__types-section,
  .page-cockfighting__promotions-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-final-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-cockfighting__video-section {
    padding-top: 10px !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-cockfighting__cta-button,
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    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__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column !important;
  }
}