/* style/cockfighting.css */
:root {
  --net1win-primary-color: #26A9E0;
  --net1win-secondary-color: #FFFFFF;
  --net1win-login-color: #EA7C07;
  --net1win-background-color: #0a0a0a; /* Body background from shared.css */
  --net1win-text-light: #ffffff;
  --net1win-text-dark: #333333;
  --net1win-border-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--net1win-background-color);
  text-align: center;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio */
  overflow: hidden;
  position: relative;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-cockfighting__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  color: var(--net1win-text-light);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.page-cockfighting__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--net1win-text-light);
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-cockfighting__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__btn-primary {
  display: inline-block;
  background-color: var(--net1win-primary-color);
  color: var(--net1win-text-light);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-cockfighting__intro-section,
.page-cockfighting__tips-section {
  padding: 60px 0;
  background-color: var(--net1win-background-color);
}

.page-cockfighting__intro-section p,
.page-cockfighting__tips-section p,
.page-cockfighting__tips-section ol,
.page-cockfighting__tips-section li {
  color: var(--net1win-text-light);
}

.page-cockfighting__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent light background for cards */
  color: var(--net1win-text-light);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--net1win-border-color);
}

.page-cockfighting__history-culture-section,
.page-cockfighting__types-section {
  padding: 60px 0;
  background-color: var(--net1win-background-color);
}

.page-cockfighting__rules-bets-section,
.page-cockfighting__benefits-section {
  padding: 60px 0;
  background-color: var(--net1win-primary-color);
  color: var(--net1win-text-light);
}

.page-cockfighting__rules-bets-section .page-cockfighting__section-title,
.page-cockfighting__benefits-section .page-cockfighting__section-title {
  color: var(--net1win-text-light);
}

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

.page-cockfighting__text-content {
  flex: 1;
}

.page-cockfighting__image-left,
.page-cockfighting__image-right {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__image-left {
  order: -1;
}

.page-cockfighting__rules-bets-section .page-cockfighting__image-right,
.page-cockfighting__benefits-section .page-cockfighting__image-right {
  order: 1;
}

.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: var(--net1win-background-color);
}

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

.page-cockfighting__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--net1win-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--net1win-text-light);
}

.page-cockfighting__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--net1win-primary-color);
  list-style: none;
}

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

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

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

.page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--net1win-text-light);
}

.page-cockfighting__faq-answer p {
  margin-top: 0;
  color: var(--net1win-text-light);
}

.page-cockfighting__btn-secondary {
  display: inline-block;
  background-color: var(--net1win-secondary-color);
  color: var(--net1win-primary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--net1win-primary-color);
  box-sizing: border-box;
  margin-top: 20px;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-cockfighting p a,
.page-cockfighting li a {
  color: var(--net1win-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting p a:hover,
.page-cockfighting li a:hover {
  text-decoration: underline;
  color: lighten(var(--net1win-primary-color), 10%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-cockfighting__section-title {
    font-size: 2em;
  }
  .page-cockfighting__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__image-left,
  .page-cockfighting__image-right {
    max-width: 100%;
    order: initial;
  }
  .page-cockfighting__reverse-order-mobile .page-cockfighting__image-right {
    order: -1; /* For mobile, image comes first */
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }
  .page-cockfighting__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px;
    text-shadow: none;
    background: rgba(0, 0, 0, 0.5);
    margin-top: -100px; /* Adjust to sit below image */
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-cockfighting__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-cockfighting__btn-primary {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-cockfighting__intro-section,
  .page-cockfighting__history-culture-section,
  .page-cockfighting__rules-bets-section,
  .page-cockfighting__types-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__tips-section,
  .page-cockfighting__faq-section {
    padding: 30px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-cockfighting__content-wrapper {
    gap: 20px;
  }
  .page-cockfighting__card {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-cockfighting__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }
  .page-cockfighting__btn-secondary {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  /* Mobile responsive images, videos, buttons */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting video,
  .page-cockfighting__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__video-section,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .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;
    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 {
    flex-direction: column;
    gap: 10px;
  }
}