.page-live {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0A2463; /* Dark blue background for contrast */
  color: #ffffff;
}

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

.page-live__hero-container {
  position: relative;
}

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

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-live__hero-button {
  display: inline-block;
  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;
}

.page-live__hero-button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-live__hero-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-live__hero-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__hero-button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-live__about-section, .page-live__games-section, .page-live__how-to-play-section, .page-live__mobile-section, .page-live__faq-section, .page-live__cta-section {
  padding: 80px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.page-live__about-section {
  background-color: #ffffff;
}

.page-live__section-title {
  font-size: 2.8em;
  color: #0A2463; /* Dark blue title */
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

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

.page-live__section-intro {
  font-size: 1.2em;
  max-width: 900px;
  margin: 20px auto 50px auto;
  color: #555555;
}

.page-live__about-container, .page-live__games-container, .page-live__how-to-play-container, .page-live__mobile-container, .page-live__faq-container, .page-live__cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__feature-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #eee;
}

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

.page-live__feature-icon {
  width: 100%; /* Must be >= 200px */
  max-width: 400px; /* Example max-width for image */
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-live__feature-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

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

.page-live__games-section {
  background-color: #f2f5fa;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency, ensures >= 200px */
  object-fit: cover;
  display: block;
}

.page-live__game-title {
  font-size: 1.6em;
  color: #0A2463;
  margin: 25px 0 10px;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #777777;
  padding: 0 20px 20px;
  min-height: 70px; /* Ensure consistent card height */
}

.page-live__game-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 25px;
  transition: background-color 0.3s ease;
}

.page-live__game-button:hover {
  background-color: #e6c200;
}

.page-live__how-to-play-section {
  background-color: #ffffff;
}

.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live__step-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-live__step-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-live__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-live__step-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__step-button:hover {
  background-color: #1a3a7a;
}

.page-live__mobile-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 20px;
}

.page-live__mobile-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-live__mobile-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-live__mobile-section .page-live__section-title {
  color: #FFD700;
}

.page-live__mobile-section .page-live__section-title::after {
  background-color: #ffffff;
}

.page-live__mobile-section .page-live__section-intro {
  color: #f0f0f0;
}

.page-live__mobile-features-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-live__mobile-feature {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-live__mobile-feature::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
}

.page-live__mobile-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-live__mobile-button:hover {
  background-color: #e6c200;
}

.page-live__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-live__faq-section {
  background-color: #f9f9f9;
}

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

.page-live__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

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

.page-live__faq-question {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none; /* Hidden by default, toggled by JS */
  margin-top: 15px;
}

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

.page-live__faq-answer a {
  color: #0A2463;
  text-decoration: underline;
}

.page-live__faq-answer a:hover {
  color: #FFD700;
}

.page-live__cta-section {
  background-color: #FFD700; /* Gold background for CTA */
  color: #0A2463;
  padding: 100px 20px;
}

.page-live__cta-title {
  font-size: 3em;
  margin-bottom: 25px;
  color: #0A2463;
}

.page-live__cta-description {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #0A2463;
}

.page-live__cta-button:hover {
  background-color: #1a3a7a;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-live__hero-content {
    width: 90%;
    padding: 15px;
  }
  .page-live__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__hero-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-live__about-section, .page-live__games-section, .page-live__how-to-play-section, .page-live__mobile-section, .page-live__faq-section, .page-live__cta-section {
    padding: 50px 15px;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-intro {
    font-size: 1em;
    margin-left: 0;
    margin-right: 0;
  }
  .page-live__feature-card, .page-live__game-card, .page-live__step-item, .page-live__faq-item {
    padding: 20px;
  }
  .page-live__game-image {
    height: 220px;
  }
  .page-live__mobile-container {
    flex-direction: column;
    text-align: center;
  }
  .page-live__mobile-content {
    order: 2;
  }
  .page-live__mobile-image {
    order: 1;
    margin-bottom: 30px;
  }
  .page-live__mobile-features-list {
    text-align: left;
    padding-left: 20px;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-description {
    font-size: 1.1em;
  }
  .page-live__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }

  /* Ensure content images do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__feature-icon, .page-live__game-image, .page-live__mobile-image {
    max-width: 100%;
    height: auto;
  }
}