/* style/cockfighting.css */

/* Base Styles & Typography */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-cockfighting__section {
  padding: 80px 0;
  text-align: center;
}

.page-cockfighting__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-cockfighting__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-cockfighting__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-cockfighting__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

.page-cockfighting p {
  margin-bottom: 1em;
}

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

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

.page-cockfighting__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-cockfighting__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-cockfighting__cta-area {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-cockfighting__list {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting__list-item {
  margin-bottom: 10px;
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0; /* Assumed shared.css body padding-top handles header offset */
}

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

.page-cockfighting__video-overlay-link {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  z-index: 1;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  max-width: 900px;
}

/* About Section */
.page-cockfighting__about-section .page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

/* Why Choose Section */
.page-cockfighting__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__feature-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px; /* Minimum size requirement */
  margin: 0 auto 20px auto;
  border-radius: 8px; /* Changed from 50% to 8px for larger images */
  object-fit: cover;
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__feature-description {
  font-size: 0.95em;
  line-height: 1.7;
}

/* Bet Types Section */
.page-cockfighting__bet-types-section .page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

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

/* How to Join Section */
.page-cockfighting__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__step-description a {
  color: #EA7C07; /* Login color for links */
  text-decoration: underline;
}

.page-cockfighting__step-description a:hover {
  color: #ff9933;
}

/* Tips Section */
.page-cockfighting__tips-section .page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

/* Promotions Section */
.page-cockfighting__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__promotion-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__promotion-image {
  width: 100%;
  height: 200px; /* Minimum size requirement for content images */
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.page-cockfighting__promotion-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-cockfighting__promotion-description {
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.1em;
}

.page-cockfighting__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.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: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 1000px !important;
  padding: 20px;
}

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

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__description {
  margin-bottom: 30px;
}

.page-cockfighting__conclusion-section .page-cockfighting__description a {
  color: #EA7C07; /* Login color for links */
  text-decoration: underline;
}

.page-cockfighting__conclusion-section .page-cockfighting__description a:hover {
  color: #ff9933;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting__section-title {
    font-size: 2.2em;
  }
  .page-cockfighting__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting__description {
    font-size: 1em;
  }
  .page-cockfighting__about-section .page-cockfighting__content-grid,
  .page-cockfighting__bet-types-section .page-cockfighting__content-grid,
  .page-cockfighting__tips-section .page-cockfighting__content-grid {
    flex-direction: column;
  }
  .page-cockfighting__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__section {
    padding: 50px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__main-title {
    font-size: 2.2em;
  }
  .page-cockfighting__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting__description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary,
  .page-cockfighting a[class*="button"],
  .page-cockfighting a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 5px 0;
    padding: 12px 20px;
    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__cta-area,
  .page-cockfighting__button-group,
  .page-cockfighting__btn-container {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-cockfighting__hero-content {
    padding: 15px;
  }
  
  /* Image and Video Responsive Rules for Mobile */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-cockfighting__image-wrapper,
  .page-cockfighting__hero-video-wrapper,
  .page-cockfighting__video-container,
  .page-cockfighting__video-wrapper,
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-video {
    filter: brightness(0.6); /* Slightly less dark for mobile */
  }
  
  /* Content sections padding adjustment for mobile */
  .page-cockfighting__section {
    padding: 40px 0;
  }
  .page-cockfighting__feature-card,
  .page-cockfighting__step-card,
  .page-cockfighting__promotion-card {
    padding: 20px;
  }

  /* FAQ specific mobile styles */
  .page-cockfighting__faq-question,
  .page-cockfighting__faq-answer {
    padding: 15px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 1em;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure no image filters */
.page-cockfighting img {
  filter: none !important;
}