.page-cockfighting-live {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #1a1a1a; /* Inherited from body via shared.css */
}

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

.page-cockfighting-live__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Minimum height for hero section */
  overflow: hidden;
}

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

.page-cockfighting-live__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken video for text readability */
}

.page-cockfighting-live__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-cockfighting-live__hero-content {
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
  z-index: 2;
}

.page-cockfighting-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-cockfighting-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

.page-cockfighting-live__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-cockfighting-live__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting-live__btn-secondary:hover {
  background-color: #C30808;
  color: #ffffff;
}

.page-cockfighting-live__section {
  padding: 60px 0;
}

.page-cockfighting-live__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter dark background for sections */
  color: #ffffff;
}

.page-cockfighting-live__light-bg {
  background-color: #1a1a1a; /* Body background color for sections */
  color: #ffffff; /* White text for dark background */
}

.page-cockfighting-live__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-cockfighting-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-cockfighting-live__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-cockfighting-live__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-cockfighting-live__image-block {
  text-align: center;
}

.page-cockfighting-live__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

.page-cockfighting-live__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-cockfighting-live__feature-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting-live__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-cockfighting-live__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #017439;
}

.page-cockfighting-live__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-cockfighting-live__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-cockfighting-live__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-cockfighting-live__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-cockfighting-live__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-cockfighting-live__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-cockfighting-live__card-title a:hover {
  text-decoration: underline;
}

.page-cockfighting-live__card-text {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-cockfighting-live__btn-text {
  display: inline-block;
  color: #C30808;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

.page-cockfighting-live__btn-text:hover {
  text-decoration: underline;
}

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

.page-cockfighting-live__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-cockfighting-live__tip-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting-live__tip-text {
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-cockfighting-live__view-all-promotions {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-cockfighting-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-cockfighting-live__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-cockfighting-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting-live__faq-item.active .page-cockfighting-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
  color: #f0f0f0;
}

.page-cockfighting-live__cta-section {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-cockfighting-live__hero-title {
    font-size: 3em;
  }
  .page-cockfighting-live__section-title {
    font-size: 2em;
  }
  .page-cockfighting-live__content-grid {
    grid-template-columns: 1fr;
  }
  .page-cockfighting-live__image-block {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-cockfighting-live__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-cockfighting-live__hero-title {
    font-size: 2.5em;
  }
  .page-cockfighting-live__hero-description {
    font-size: 1em;
  }
  .page-cockfighting-live__section-title {
    font-size: 1.8em;
  }
  .page-cockfighting-live__section-description {
    font-size: 0.9em;
  }
  .page-cockfighting-live__content-grid {
    gap: 20px;
  }
  .page-cockfighting-live__features-grid,
  .page-cockfighting-live__match-cards-grid,
  .page-cockfighting-live__promotion-cards-grid,
  .page-cockfighting-live__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Mobile image responsiveness */
  .page-cockfighting-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset; /* Remove min-width constraint on mobile for flexibility */
    min-height: unset; /* Remove min-height constraint on mobile for flexibility */
  }
  
  /* Mobile video responsiveness */
  .page-cockfighting-live video,
  .page-cockfighting-live__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container responsiveness */
  .page-cockfighting-live__section,
  .page-cockfighting-live__container,
  .page-cockfighting-live__card,
  .page-cockfighting-live__feature-item,
  .page-cockfighting-live__tip-item,
  .page-cockfighting-live__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Mobile button responsiveness */
  .page-cockfighting-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-cockfighting-live__btn-primary,
  .page-cockfighting-live__btn-secondary {
    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-live__faq-question,
  .page-cockfighting-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-live__hero-title {
    font-size: 2em;
  }
  .page-cockfighting-live__hero-description {
    font-size: 0.9em;
  }
  .page-cockfighting-live__section-title {
    font-size: 1.5em;
  }
}