/* style/cockfighting-live-stream.css */
.page-cockfighting-live-stream {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-cockfighting-live-stream__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than pure black for contrast, but still dark */
  color: #ffffff;
}

.page-cockfighting-live-stream__light-bg {
  background-color: #1a1a1a; /* Dark gray for contrast with body black */
  color: #f0f0f0;
}

.page-cockfighting-live-stream__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust for header offset in JS */
  text-align: center;
  background-image: url('[GALLERY:hero_cockfighting:1920x1080:live_cockfighting,betting,arena,ae88,ae888]');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

.page-cockfighting-live-stream__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-cockfighting-live-stream__hero-section .page-cockfighting-live-stream__container {
  position: relative;
  z-index: 2;
}

.page-cockfighting-live-stream__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register and login font color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-cockfighting-live-stream__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-live-stream__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-cockfighting-live-stream__btn-primary,
.page-cockfighting-live-stream__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-cockfighting-live-stream__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting-live-stream__btn-primary:hover {
  background-color: #e02020;
  transform: translateY(-3px);
}

.page-cockfighting-live-stream__btn-secondary {
  background-color: transparent;
  color: #017439; /* Primary color */
  border: 2px solid #017439;
}

.page-cockfighting-live-stream__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-cockfighting-live-stream__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  text-align: center;
  color: #FFFF00; /* Register/Login font color */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-cockfighting-live-stream__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Video Section */
.page-cockfighting-live-stream__video-section {
  padding: 60px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-cockfighting-live-stream__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
}

.page-cockfighting-live-stream__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-cockfighting-live-stream__video-caption {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: #f0f0f0;
}

/* Features Section */
.page-cockfighting-live-stream__features-section,
.page-cockfighting-live-stream__guide-section,
.page-cockfighting-live-stream__tips-section,
.page-cockfighting-live-stream__promotions-section,
.page-cockfighting-live-stream__faq-section,
.page-cockfighting-live-stream__cta-bottom-section {
  padding: 80px 0;
}

.page-cockfighting-live-stream__feature-grid,
.page-cockfighting-live-stream__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting-live-stream__feature-card,
.page-cockfighting-live-stream__promotion-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-cockfighting-live-stream__feature-card:hover,
.page-cockfighting-live-stream__promotion-card:hover {
  transform: translateY(-10px);
}

.page-cockfighting-live-stream__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting-live-stream__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439; /* Primary color */
}

.page-cockfighting-live-stream__card-text {
  font-size: 1em;
  color: #cccccc;
}

/* Guide Section */
.page-cockfighting-live-stream__guide-section .page-cockfighting-live-stream__section-title,
.page-cockfighting-live-stream__guide-section .page-cockfighting-live-stream__section-description {
  color: #ffffff;
}

.page-cockfighting-live-stream__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting-live-stream__step-item {
  background-color: #1a1a1a;
  border-left: 5px solid #017439;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-cockfighting-live-stream__step-title {
  font-size: 1.6em;
  color: #FFFF00; /* Register/Login font color */
  margin-bottom: 10px;
}

.page-cockfighting-live-stream__step-text {
  font-size: 1em;
  color: #cccccc;
}

/* Tips Section */
.page-cockfighting-live-stream__tips-section .page-cockfighting-live-stream__section-title,
.page-cockfighting-live-stream__tips-section .page-cockfighting-live-stream__section-description {
  color: #f0f0f0;
}

.page-cockfighting-live-stream__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-cockfighting-live-stream__tip-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-live-stream__tip-title {
  font-size: 1.6em;
  color: #017439; /* Primary color */
  margin-bottom: 10px;
}

.page-cockfighting-live-stream__tip-text {
  font-size: 1em;
  color: #cccccc;
}

/* Promotions Section */
.page-cockfighting-live-stream__promotions-section .page-cockfighting-live-stream__section-title,
.page-cockfighting-live-stream__promotions-section .page-cockfighting-live-stream__section-description {
  color: #ffffff;
}

.page-cockfighting-live-stream__promotion-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-cockfighting-live-stream__promotion-card .page-cockfighting-live-stream__card-title {
  color: #FFFF00; /* Register/Login font color */
}

.page-cockfighting-live-stream__promotion-card .page-cockfighting-live-stream__btn-secondary {
  margin-top: 20px;
  align-self: center;
}

/* FAQ Section */
.page-cockfighting-live-stream__faq-section .page-cockfighting-live-stream__section-title,
.page-cockfighting-live-stream__faq-section .page-cockfighting-live-stream__section-description {
  color: #f0f0f0;
}

.page-cockfighting-live-stream__faq-list {
  margin-top: 40px;
}

.page-cockfighting-live-stream__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

.page-cockfighting-live-stream__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439; /* Primary color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-cockfighting-live-stream__faq-item[open] .page-cockfighting-live-stream__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting-live-stream__faq-question::-webkit-details-marker {
  display: none;
}

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

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

.page-cockfighting-live-stream__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #cccccc;
}

.page-cockfighting-live-stream__faq-answer p {
  margin: 0;
  color: #cccccc;
}

/* CTA Bottom Section */
.page-cockfighting-live-stream__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
}

.page-cockfighting-live-stream__cta-bottom-section .page-cockfighting-live-stream__section-title,
.page-cockfighting-live-stream__cta-bottom-section .page-cockfighting-live-stream__section-description {
  color: #ffffff;
}

/* Global image rules for content area - min 200x200px */
.page-cockfighting-live-stream img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting-live-stream__main-title {
    font-size: 2.8em;
  }
  .page-cockfighting-live-stream__section-title {
    font-size: 2.2em;
  }
}

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

  .page-cockfighting-live-stream__hero-section {
    padding: 80px 0 40px;
    min-height: 450px;
  }

  .page-cockfighting-live-stream__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting-live-stream__intro-text {
    font-size: 1em;
  }

  .page-cockfighting-live-stream__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-cockfighting-live-stream__btn-primary,
  .page-cockfighting-live-stream__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
  }

  .page-cockfighting-live-stream__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting-live-stream__section-description {
    font-size: 0.95em;
  }

  .page-cockfighting-live-stream__feature-grid,
  .page-cockfighting-live-stream__promotion-grid {
    grid-template-columns: 1fr;
  }

  .page-cockfighting-live-stream__feature-card,
  .page-cockfighting-live-stream__promotion-card,
  .page-cockfighting-live-stream__step-item,
  .page-cockfighting-live-stream__tip-item,
  .page-cockfighting-live-stream__faq-item {
    padding: 20px;
  }

  .page-cockfighting-live-stream__card-title,
  .page-cockfighting-live-stream__step-title,
  .page-cockfighting-live-stream__tip-title {
    font-size: 1.4em;
  }

  .page-cockfighting-live-stream__faq-question {
    font-size: 1.1em;
  }

  .page-cockfighting-live-stream__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section starts below header */
  }

  /* Force responsive images, videos, and containers */
  .page-cockfighting-live-stream img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-live-stream video,
  .page-cockfighting-live-stream__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cockfighting-live-stream__section,
  .page-cockfighting-live-stream__card,
  .page-cockfighting-live-stream__container,
  .page-cockfighting-live-stream__video-section,
  .page-cockfighting-live-stream__video-container,
  .page-cockfighting-live-stream__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-cockfighting-live-stream__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-live-stream__main-title {
    font-size: 1.8em;
  }
  .page-cockfighting-live-stream__section-title {
    font-size: 1.5em;
  }
  .page-cockfighting-live-stream__hero-section {
    min-height: 350px;
  }
}