.page-live {
  color: #333333; /* Default text color for light body background */
}

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

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-live__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-live__button {
  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, transform 0.2s ease;
  white-space: nowrap;
}

.page-live__button--primary {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-live__button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-live__button--secondary {
  background-color: #ffc107; /* Auxiliary brand color */
  color: #333333;
  border: 2px solid #ffc107;
}

.page-live__button--secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-live__section-title {
  font-size: 2.8em;
  color: #007bff; /* Primary brand color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-live__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live__introduction-section,
.page-live__why-choose-section,
.page-live__games-section,
.page-live__get-started-section,
.page-live__promotions-section,
.page-live__detail-pages-section,
.page-live__faq-section,
.page-live__cta-section {
  padding: 80px 0;
}

.page-live__introduction-section {
  background-color: #f8f9fa;
}

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

.page-live__feature-card,
.page-live__game-card,
.page-live__step-card,
.page-live__detail-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-live__feature-image,
.page-live__game-image,
.page-live__promo-image {
  width: 100%;
  height: auto;
  max-width: 100%; /* Ensure images are not too small */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce minimum image height */
  min-width: 200px; /* Enforce minimum image width */
}

.page-live__feature-title,
.page-live__game-title,
.page-live__step-title,
.page-live__detail-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-live__game-title a,
.page-live__detail-title a {
  color: #007bff;
  text-decoration: none;
}

.page-live__game-title a:hover,
.page-live__detail-title a:hover {
  text-decoration: underline;
}

.page-live__feature-description,
.page-live__game-description,
.page-live__step-description,
.page-live__detail-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-live__button--inline {
  background-color: #ffc107;
  color: #333333;
  padding: 8px 18px;
  font-size: 0.9em;
  margin-top: 15px;
  border: none;
}

.page-live__button--inline:hover {
  background-color: #e0a800;
}

.page-live__promotions-section {
  background-color: #f8f9fa;
  text-align: center;
}

.page-live__promo-image {
  margin-bottom: 30px;
  width: 100%;
  max-width: 900px;
  min-width: 200px;
  height: auto;
  object-fit: cover;
}

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

.page-live__detail-item {
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
}

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

.page-live__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  font-size: 1.3em;
  color: #007bff;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-live__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #ffc107;
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding: 0 20px 20px;
}

.page-live__cta-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
}

.page-live__cta-section .page-live__section-title {
  color: #ffffff;
}

.page-live__cta-section .page-live__section-title::after {
  background-color: #ffc107;
}

.page-live__cta-section .page-live__text-content {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__introduction-section,
  .page-live__why-choose-section,
  .page-live__games-section,
  .page-live__get-started-section,
  .page-live__promotions-section,
  .page-live__detail-pages-section,
  .page-live__faq-section,
  .page-live__cta-section {
    padding: 60px 0;
  }
  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__hero-image,
  .page-live__feature-image,
  .page-live__game-image,
  .page-live__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-live__text-content {
    font-size: 1em;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
  .page-live__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__feature-title,
  .page-live__game-title,
  .page-live__step-title,
  .page-live__detail-title {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1em;
  }
}