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

.page-live__hero-section {
  padding-top: var(--header-offset, 120px); /* For desktop to avoid header overlap */
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px; /* Add some padding below the image */
}

.page-live__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
  position: relative;
  background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.page-live__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width for larger screens */
  margin-top: 30px;
}

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

.page-live__cta-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; /* Prevent text wrapping */
}

.page-live__cta-button--register {
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* White text for contrast */
  border: 2px solid #000000;
}

.page-live__cta-button--register:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-live__cta-button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__cta-button--login:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

.page-live__content-area,
.page-live__features-section,
.page-live__games-section,
.page-live__promotions-section,
.page-live__testimonials-section,
.page-live__cta-section,
.page-live__more-info-section,
.page-live__about-us-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-live__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-live__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-live__feature-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 400px; /* Max width for feature images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
}

.page-live__game-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.page-live__tab-button {
  background-color: #f0f0f0;
  color: #000000;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live__tab-button:hover {
  background-color: #e0e0e0;
}

.page-live__tab-button--active {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-live__game-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
}

.page-live__game-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-live__game-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-live__play-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-live__play-button:hover {
  background-color: #FFD700;
}

.page-live__view-more-action {
  text-align: center;
  margin-top: 40px;
}

.page-live__cta-button--view-all {
  background-color: #000000;
  color: #FFFFFF;
}

.page-live__cta-button--view-all:hover {
  background-color: #333333;
}

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

.page-live__promo-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live__promo-card:hover {
  transform: translateY(-5px);
}

.page-live__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-live__promo-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-live__promo-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-live__claim-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-live__claim-button:hover {
  background-color: #333333;
}

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

.page-live__testimonial-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  font-style: italic;
}

.page-live__testimonial-text {
  font-size: 1.05em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-live__testimonial-author {
  font-size: 0.95em;
  color: #000000;
  font-weight: 600;
  text-align: right;
}

.page-live__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
}

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

.page-live__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-live__cta-button--download {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live__cta-button--download:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.page-live__faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-live__faq-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-live__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  display: none; /* Hidden by default, toggled by JS */
}

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

.page-live__more-faq-text {
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
  color: #555555;
}

.page-live__more-faq-text a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

.page-live__more-faq-text a:hover {
  text-decoration: underline;
}

.page-live__about-us-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

.page-live__cta-button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.page-live__cta-button--learn-more:hover {
  background-color: #FFD700;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 40px 15px;
  }

  .page-live__hero-container {
    padding: 15px;
  }

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

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

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

  .page-live__cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-live__features-grid,
  .page-live__game-grid,
  .page-live__promotions-grid,
  .page-live__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-live__game-tabs {
    flex-direction: column;
    align-items: center;
  }

  .page-live__tab-button {
    width: 100%;
    max-width: 250px;
  }

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

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

  .page-live__cta-buttons {
    flex-direction: column;
  }

  .page-live__content-area,
  .page-live__features-section,
  .page-live__games-section,
  .page-live__promotions-section,
  .page-live__testimonials-section,
  .page-live__cta-section,
  .page-live__more-info-section,
  .page-live__about-us-section {
    margin: 30px auto;
    padding: 15px;
  }
  
  /* Critical: Ensure images are responsive and do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__feature-icon,
  .page-live__game-image,
  .page-live__promo-image {
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
    object-fit: cover; /* Maintain aspect ratio */
  }
}