/* style/cockfighting.css */

:root {
  --page-cockfighting-primary-color: #FFD700;
  --page-cockfighting-secondary-color: #8B0000;
  --page-cockfighting-text-light: #ffffff;
  --page-cockfighting-text-dark: #333333;
  --page-cockfighting-bg-dark: #121212; /* Inherited from shared.css body */
  --page-cockfighting-bg-light: #f5f5f5;
  --page-cockfighting-card-bg-dark: rgba(255, 255, 255, 0.1);
  --page-cockfighting-card-bg-light: #ffffff;
}

.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-cockfighting-text-light); /* Default text color for dark body background */
  background-color: var(--page-cockfighting-bg-dark); /* Ensure consistency if not fully inherited */
}

/* Ensure main content starts below header */
.page-cockfighting__hero-section,
.page-cockfighting__video-section {
  padding-top: var(--header-offset, 120px);
}

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

.page-cockfighting__section-title {
  font-size: 2.8em;
  color: var(--page-cockfighting-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--page-cockfighting-text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--page-cockfighting-secondary-color) 0%, var(--page-cockfighting-primary-color) 100%);
  min-height: 70vh;
  position: relative;
  overflow: hidden;
}

.page-cockfighting__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-cockfighting-primary-color);
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  font-weight: 300;
}

.page-cockfighting__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-bg-dark); /* Gold button, dark text for contrast */
  border: 2px solid var(--page-cockfighting-primary-color);
}

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

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

.page-cockfighting__btn-secondary:hover {
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-bg-dark); /* Gold button, dark text for contrast */
}

/* General Section Styles */
.page-cockfighting__dark-bg {
  background-color: var(--page-cockfighting-bg-dark);
  color: var(--page-cockfighting-text-light);
}

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

.page-cockfighting__light-bg .page-cockfighting__section-title {
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__light-bg .page-cockfighting__section-description {
  color: var(--page-cockfighting-text-dark);
}

.page-cockfighting__light-bg p,
.page-cockfighting__light-bg li {
  color: var(--page-cockfighting-text-dark);
}

.page-cockfighting__introduction-section,
.page-cockfighting__rules-section,
.page-cockfighting__advantages-section,
.page-cockfighting__registration-guide-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 80px 0;
}

/* Content Grid */
.page-cockfighting__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-cockfighting__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__text-block {
  flex: 1;
  font-size: 1.1em;
}

.page-cockfighting__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Card Grid */
.page-cockfighting__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg-dark);
  color: var(--page-cockfighting-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__light-bg .page-cockfighting__card {
  background-color: var(--page-cockfighting-card-bg-light);
  color: var(--page-cockfighting-text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 1.6em;
  color: var(--page-cockfighting-primary-color);
  margin-bottom: 15px;
}

.page-cockfighting__light-bg .page-cockfighting__card-title {
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__card-text {
  font-size: 1em;
  line-height: 1.7;
}

/* List Styles */
.page-cockfighting__rule-list,
.page-cockfighting__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg-light);
  color: var(--page-cockfighting-text-dark);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-cockfighting__dark-bg .page-cockfighting__list-item {
  background-color: var(--page-cockfighting-card-bg-dark);
  color: var(--page-cockfighting-text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-item-title {
  font-size: 1.4em;
  color: var(--page-cockfighting-secondary-color);
  margin-bottom: 10px;
}

.page-cockfighting__dark-bg .page-cockfighting__list-item-title {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__list-item p {
  font-size: 1em;
  line-height: 1.6;
}

/* Feature Grid (Advantages Section) */
.page-cockfighting__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-cockfighting__feature-card {
  background-color: var(--page-cockfighting-card-bg-light);
  color: var(--page-cockfighting-text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__feature-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: var(--page-cockfighting-secondary-color);
  margin-bottom: 10px;
}

/* Registration Guide */
.page-cockfighting__step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: var(--page-cockfighting-card-bg-dark);
  color: var(--page-cockfighting-text-light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-cockfighting__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--page-cockfighting-primary-color);
  color: var(--page-cockfighting-bg-dark); /* Gold circle, dark text */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

/* FAQ Section */
.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--page-cockfighting-card-bg-light);
  color: var(--page-cockfighting-secondary-color);
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-question-text {
  margin: 0;
  flex-grow: 1;
  color: var(--page-cockfighting-secondary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--page-cockfighting-card-bg-light);
  color: var(--page-cockfighting-text-dark);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.6;
}

/* CTA Wrapper */
.page-cockfighting__cta-wrapper {
  text-align: center;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
  text-align: center;
  padding: 100px 20px;
  background: var(--page-cockfighting-secondary-color);
  color: var(--page-cockfighting-text-light);
}

.page-cockfighting__conclusion-section .page-cockfighting__section-title {
  color: var(--page-cockfighting-primary-color);
}

.page-cockfighting__conclusion-section .page-cockfighting__section-description {
  color: var(--page-cockfighting-text-light);
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: 3em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.2em;
  }
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
  .page-cockfighting__section-description {
    font-size: 1.1em;
  }
  .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 60px 15px;
  }
  .page-cockfighting__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting__hero-description {
    font-size: 1.1em;
  }
  .page-cockfighting__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
  }
  .page-cockfighting__introduction-section,
  .page-cockfighting__rules-section,
  .page-cockfighting__advantages-section,
  .page-cockfighting__registration-guide-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 60px 0;
  }
  .page-cockfighting__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-cockfighting__section-description {
    margin-bottom: 40px;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }

  /* Images, Videos, Buttons responsive styles for mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__hero-video-wrapper,
  .page-cockfighting__image-wrapper,
  .page-cockfighting__cta-wrapper,
  .page-cockfighting__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    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-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-cockfighting__faq-answer {
    padding: 15px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting__hero-title {
    font-size: 2em;
  }
  .page-cockfighting__hero-description {
    font-size: 1em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__card-title {
    font-size: 1.4em;
  }
  .page-cockfighting__feature-title,
  .page-cockfighting__step-title {
    font-size: 1.3em;
  }
}