/* style/cockfighting.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-button-color: #EA7C07;
  --background-color: #121212; /* From shared.css body background */
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --card-background-dark-opacity: rgba(255, 255, 255, 0.08);
}

.page-cockfighting {
  color: var(--text-color-light); /* Base text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-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.5); /* Darken video for text readability */
}

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

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting__hero-description {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn-primary {
  background-color: var(--login-button-color); /* Specific color for login/register */
  color: var(--secondary-color);
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  background-color: #d16a06;
  transform: translateY(-2px);
}

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

.page-cockfighting__btn-secondary:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

.page-cockfighting__video-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

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

.page-cockfighting__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-cockfighting__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

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

.page-cockfighting__text-block {
  flex: 1;
  min-width: 300px;
  color: var(--text-color-light);
}

.page-cockfighting__image-block {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

.page-cockfighting__dark-bg {
  background-color: rgba(38, 169, 224, 0.15); /* Primary color with opacity for dark background */
  color: var(--text-color-light);
}

.page-cockfighting__light-card-bg {
  background-color: var(--card-background-dark-opacity); /* Lighter background for contrast, still dark tone */
  color: var(--text-color-light);
}

.page-cockfighting__intro-section,
.page-cockfighting__game-types,
.page-cockfighting__security,
.page-cockfighting__conclusion {
  padding: 60px 0;
}

.page-cockfighting__why-choose-us,
.page-cockfighting__how-to-play,
.page-cockfighting__strategies,
.page-cockfighting__promotions,
.page-cockfighting__faq-section {
  padding: 60px 0;
}

.page-cockfighting__feature-list,
.page-cockfighting__guide-list,
.page-cockfighting__promo-list,
.page-cockfighting__security-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-cockfighting__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-color-light);
}

.page-cockfighting__list-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.page-cockfighting__guide-list .page-cockfighting__list-item::before {
  content: counter(item) '. ';
  counter-increment: item;
  color: var(--primary-color);
  font-weight: bold;
  left: 0;
}

.page-cockfighting__guide-list {
  counter-reset: item;
}

.page-cockfighting__cta-single {
  text-align: center;
  margin-top: 40px;
}

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

.page-cockfighting__faq-item {
  background-color: var(--card-background-dark-opacity);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-color-light);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--secondary-color);
  list-style: none; /* For details/summary */
}

.page-cockfighting__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-cockfighting__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  color: var(--text-color-light);
}

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

.page-cockfighting__conclusion-text {
  text-align: center;
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__content-wrapper {
    flex-direction: column;
  }
  .page-cockfighting__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cockfighting__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-cockfighting__hero-content {
    padding: 15px;
  }

  .page-cockfighting__main-title {
    font-size: 2rem;
  }

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

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

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-cockfighting__section-title {
    font-size: 1.8rem;
  }

  .page-cockfighting__sub-title {
    font-size: 1.3rem;
  }

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

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

  .page-cockfighting__hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-cockfighting__content-area,
  .page-cockfighting__text-block,
  .page-cockfighting__image-block,
  .page-cockfighting__cta-single {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cockfighting__list-item {
    padding-left: 25px;
  }

  .page-cockfighting__list-item::before {
    left: 0;
  }
}