/* style/cockfighting.css */

/* Body background is dark from shared.css, so use light text */
.page-cockfighting {
  color: #ffffff; /* Light text for dark background */
}

.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding for content below */
  min-height: 600px;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-cockfighting__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Slightly darken video for text readability */
}

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

.page-cockfighting__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

.page-cockfighting__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-cockfighting__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0 10px 15px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__cta-button--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-cockfighting__cta-button--primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-cockfighting__cta-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cockfighting__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

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

.page-cockfighting__info-section,
.page-cockfighting__guide-section,
.page-cockfighting__promo-section,
.page-cockfighting__features-section,
.page-cockfighting__security-section,
.page-cockfighting__faq-section,
.page-cockfighting__conclusion-section {
  padding: 60px 0;
  text-align: center;
}

.page-cockfighting__dark-section {
  background-color: #0a0a0a; /* Ensure dark background as per body */
  color: #ffffff;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
  color: #ffffff;
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-cockfighting__dark-section .page-cockfighting__sub-title {
  color: #ffffff;
}

.page-cockfighting__section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-cockfighting__info-section .page-cockfighting__section-text {
  color: #f0f0f0;
}

.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting__feature-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-cockfighting__feature-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-cockfighting__dark-section .page-cockfighting__feature-title {
  color: #ffffff;
}

.page-cockfighting__feature-list,
.page-cockfighting__type-list,
.page-cockfighting__step-list,
.page-cockfighting__promo-list,
.page-cockfighting__card-list,
.page-cockfighting__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-cockfighting__feature-list li,
.page-cockfighting__type-list li,
.page-cockfighting__step-list li,
.page-cockfighting__promo-list li,
.page-cockfighting__card-list li,
.page-cockfighting__security-list li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.page-cockfighting__feature-list li::before,
.page-cockfighting__type-list li::before,
.page-cockfighting__step-list li::before,
.page-cockfighting__promo-list li::before,
.page-cockfighting__card-list li::before,
.page-cockfighting__security-list li::before {
  content: '✓';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-cockfighting__highlight {
  color: #26A9E0;
}

.page-cockfighting__dark-section .page-cockfighting__highlight {
  color: #ffffff;
}

.page-cockfighting__feature-image,
.page-cockfighting__step-image,
.page-cockfighting__promo-image,
.page-cockfighting__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto;
}

.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting__steps-grid--reverse .page-cockfighting__step-item:first-child {
  order: 2;
}

.page-cockfighting__steps-grid--reverse .page-cockfighting__step-item:last-child {
  order: 1;
}

.page-cockfighting__step-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-cockfighting__step-item p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

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

.page-cockfighting__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible background for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  color: #ffffff;
}

.page-cockfighting__card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-cockfighting__card-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-cockfighting__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2); /* Slightly transparent primary color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-cockfighting__faq-qtext {
  flex-grow: 1;
}

.page-cockfighting__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-cockfighting__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-cockfighting__faq-answer .page-cockfighting__cta-button {
  margin-top: 10px;
  margin-left: 0;
}

.page-cockfighting__text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: 600;
}

.page-cockfighting__text-link:hover {
  color: #1e87c0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-cockfighting__hero-description {
    font-size: 1rem;
  }
  .page-cockfighting__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-cockfighting__sub-title {
    font-size: clamp(1.3rem, 3vw, 2rem);
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding: 10px 15px 40px;
    min-height: 400px;
  }

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

  .page-cockfighting__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-cockfighting__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__cta-button {
    padding: 12px 20px;
    font-size: 0.95rem;
    margin: 0 5px 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__cta-button:first-of-type {
    margin-top: 10px;
  }

  .page-cockfighting__container {
    padding: 0 15px;
  }

  .page-cockfighting__info-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promo-section,
  .page-cockfighting__features-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section {
    padding: 40px 0;
  }

  .page-cockfighting__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

  .page-cockfighting__sub-title {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-cockfighting__section-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-cockfighting__features-grid,
  .page-cockfighting__steps-grid,
  .page-cockfighting__promo-grid,
  .page-cockfighting__security-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-cockfighting__steps-grid--reverse .page-cockfighting__step-item:first-child {
    order: 1;
  }
  
  .page-cockfighting__steps-grid--reverse .page-cockfighting__step-item:last-child {
    order: 2;
  }

  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-item,
  .page-cockfighting__security-item {
    text-align: center;
  }

  .page-cockfighting__feature-list li,
  .page-cockfighting__type-list li,
  .page-cockfighting__step-list li,
  .page-cockfighting__promo-list li,
  .page-cockfighting__card-list li,
  .page-cockfighting__security-list li {
    text-align: left;
    padding-left: 25px;
    font-size: 0.95rem;
  }

  .page-cockfighting__feature-image,
  .page-cockfighting__step-image,
  .page-cockfighting__promo-image,
  .page-cockfighting__security-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin-bottom: 20px;
  }

  .page-cockfighting__feature-title,
  .page-cockfighting__step-title,
  .page-cockfighting__card-title {
    font-size: 1.4rem;
  }

  .page-cockfighting__card {
    padding: 25px;
  }

  .page-cockfighting__card-text {
    font-size: 1rem;
  }

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

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

  /* Ensure all images are responsive */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure all video elements are responsive */
  .page-cockfighting video,
  .page-cockfighting__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Ensure all containers with images/videos/buttons are responsive */
  .page-cockfighting__hero-section,
  .page-cockfighting__info-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__promo-section,
  .page-cockfighting__features-section,
  .page-cockfighting__security-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__conclusion-section,
  .page-cockfighting__container,
  .page-cockfighting__card,
  .page-cockfighting__feature-item,
  .page-cockfighting__step-item,
  .page-cockfighting__promo-item,
  .page-cockfighting__security-item,
  .page-cockfighting__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Add horizontal padding to main content sections for mobile */
  .page-cockfighting__info-section .page-cockfighting__container,
  .page-cockfighting__guide-section .page-cockfighting__container,
  .page-cockfighting__promo-section .page-cockfighting__container,
  .page-cockfighting__features-section .page-cockfighting__container,
  .page-cockfighting__security-section .page-cockfighting__container,
  .page-cockfighting__faq-section .page-cockfighting__container,
  .page-cockfighting__conclusion-section .page-cockfighting__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile button group formatting */
  .page-cockfighting__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-cockfighting__cta-button {
    margin: 5px 0 !important;
  }
}

/* Ensure color contrast for dark background */
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting__section-text,
.page-cockfighting__card-text,
.page-cockfighting__faq-answer p {
  color: #f0f0f0; /* Use light grey for general text on dark background */
}

.page-cockfighting__hero-description {
  color: #ffffff;
}

.page-cockfighting__faq-question {
  color: #ffffff;
}

.page-cockfighting__text-link {
  color: #26A9E0;
}

.page-cockfighting__text-link:hover {
  color: #1e87c0;
}

/* Login button specific color */
.page-cockfighting__login-button {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cockfighting__login-button:hover {
  background-color: #c46405;
  border-color: #c46405;
}