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

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

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  color: #FFFFFF;
  padding: 60px 20px;
  background-color: #000000; /* Use black background as hero image may not cover full area */
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-live__button {
  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;
  white-space: nowrap;
  font-size: 1.1em;
}

.page-live__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-live__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* Register color for secondary action */
  border: 2px solid #FFFFFF;
}

.page-live__button--secondary:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-live__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 25px;
  color: #000000;
  font-weight: bold;
}

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #444444;
}

.page-live__about-section,
.page-live__games-section,
.page-live__promotions-section,
.page-live__mobile-section,
.page-live__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-live__feature-card,
.page-live__game-card,
.page-live__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__promo-card:hover {
  transform: translateY(-10px);
}

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

.page-live__feature-title,
.page-live__game-title,
.page-live__promo-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: bold;
}

.page-live__feature-description,
.page-live__game-description,
.page-live__promo-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1; /* Ensures text content fills space */
  margin-bottom: 20px;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Pushes button to bottom of card */
}

.page-live__more-games-text,
.page-live__promo-footer-text,
.page-live__faq-footer-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 60px auto 0 auto;
  color: #444444;
}

.page-live__more-games-text a,
.page-live__promo-footer-text a,
.page-live__faq-footer-text a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-live__more-games-text a:hover,
.page-live__promo-footer-text a:hover,
.page-live__faq-footer-text a:hover {
  text-decoration: underline;
}

.page-live__mobile-section {
  background-color: #000000; /* Black background for contrast */
  color: #FFFFFF;
}

.page-live__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-live__mobile-text-content {
  flex: 1;
}

.page-live__mobile-text-content .page-live__section-title {
  color: #FFFFFF;
}

.page-live__mobile-text-content .page-live__section-intro {
  color: #F0F0F0;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-live__mobile-text-content .page-live__button {
  margin-right: 15px;
  margin-top: 20px;
}

.page-live__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

.page-live__faq-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-live__faq-question {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-live__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-live__faq-answer a:hover {
  text-decoration: underline;
}

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

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

  .page-live__mobile-content {
    flex-direction: column;
    text-align: center;
  }

  .page-live__mobile-text-content .page-live__section-intro {
    text-align: center;
  }

  .page-live__mobile-text-content .page-live__button {
    margin-right: 0;
  }
}

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

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

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

  .page-live__button {
    width: 100%;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__section-intro {
    font-size: 1em;
  }

  .page-live__about-section,
  .page-live__games-section,
  .page-live__promotions-section,
  .page-live__mobile-section,
  .page-live__faq-section {
    padding: 60px 0;
  }

  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-live__feature-image,
  .page-live__game-image,
  .page-live__promo-image,
  .page-live__mobile-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  
  /* Force content images to be responsive and not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-live__section-title {
    font-size: 1.5em;
  }

  .page-live__section-intro {
    font-size: 0.9em;
  }

  .page-live__faq-question {
    font-size: 1.2em;
  }
}