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

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

.page-live__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Primary color gradient */
  color: #ffffff;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

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

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

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

.page-live__hero-image-container {
  width: 100%;
  max-width: 1000px; /* Adjust as needed for visual balance */
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Intro Section */
.page-live__intro-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.page-live__intro-title {
  font-size: 2.8em;
  color: #007bff;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-live__intro-text {
  font-size: 1.15em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  color: #555555;
}

/* Features Section */
.page-live__features-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-live__features-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

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

.page-live__feature-card {
  background-color: #f0f8ff; /* Light blue background */
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-live__feature-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-live__feature-heading {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-live__feature-description {
  font-size: 1.05em;
  line-height: 1.7;
  color: #666666;
}

/* Games Section */
.page-live__games-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-live__games-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-live__games-intro {
  font-size: 1.15em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
  text-align: center;
}

.page-live__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-live__game-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-live__game-card .page-live__game-heading {
  font-size: 1.8em;
  color: #007bff;
  margin: 20px 20px 10px 20px;
  font-weight: 600;
}

.page-live__game-card .page-live__game-description {
  font-size: 1.0em;
  line-height: 1.7;
  color: #666666;
  padding: 0 20px;
  flex-grow: 1;
}

.page-live__button--small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  background-color: #ffc107;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  margin: 20px;
  border: 2px solid #ffc107;
  transition: background-color 0.3s ease;
}

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

/* Detail Pages Section */
.page-live__detail-pages-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-live__detail-pages-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-live__detail-pages-intro {
  font-size: 1.15em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
  text-align: center;
}

.page-live__detail-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__detail-card {
  background-color: #f0f8ff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__detail-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-live__detail-card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  font-weight: 600;
}

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

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

.page-live__detail-card-description {
  font-size: 1.05em;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 20px;
}

/* CTA Section */
.page-live__cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: #ffffff;
  text-align: center;
}

.page-live__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffc107;
}

.page-live__cta-description {
  font-size: 1.2em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-live__button--cta {
  background-color: #ffc107;
  color: #007bff;
  border: 2px solid #ffc107;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

/* FAQ Section */
.page-live__faq-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.page-live__faq-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.page-live__faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.page-live__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.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 {
  font-size: 1.05em;
  line-height: 1.7;
  color: #666666;
  padding: 0 25px 20px 25px;
  display: none; /* Hidden by default */
}

.page-live__faq-item.active .page-live__faq-answer {
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }

  .page-live__hero-description {
    font-size: 1.1em;
  }

  .page-live__intro-title,
  .page-live__features-title,
  .page-live__games-title,
  .page-live__detail-pages-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    flex-direction: column;
    padding: 40px 20px;
  }

  .page-live__hero-title {
    font-size: 2.2em;
  }

  .page-live__hero-description {
    font-size: 1em;
  }

  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__button {
    width: 100%;
    max-width: 300px;
  }

  .page-live__hero-image-container {
    margin-top: 30px;
  }

  .page-live__hero-image,
  .page-live__feature-image,
  .page-live__game-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-live__intro-section,
  .page-live__features-section,
  .page-live__games-section,
  .page-live__detail-pages-section,
  .page-live__cta-section,
  .page-live__faq-section {
    padding: 50px 0;
  }

  .page-live__intro-title,
  .page-live__features-title,
  .page-live__games-title,
  .page-live__detail-pages-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 1.8em;
  }

  .page-live__feature-card,
  .page-live__game-card,
  .page-live__detail-card {
    padding: 20px;
  }

  .page-live__feature-heading,
  .page-live__game-heading,
  .page-live__detail-card-title {
    font-size: 1.5em;
  }

  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

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

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }

  .page-live__hero-description {
    font-size: 0.95em;
  }

  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-live__intro-title,
  .page-live__features-title,
  .page-live__games-title,
  .page-live__detail-pages-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 1.5em;
  }

  .page-live__cta-title {
    font-size: 2em;
  }

  .page-live__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}