.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); /* Ensures content is not hidden by fixed header */
}

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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text contrast */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the image for text readability */
}

.page-live__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure sufficient height for hero content */
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  color: #F0F0F0;
}

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

.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, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-live__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-live__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-live__button--play, .page-live__button--claim, .page-live__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--play:hover, .page-live__button--claim:hover, .page-live__button--download:hover {
  background-color: transparent;
  color: #FCBC45;
}

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

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

.page-live__why-choose-us, .page-live__games-showcase, .page-live__getting-started, .page-live__promotions, .page-live__security-fairness, .page-live__faq, .page-live__cta-final {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-live__features-grid, .page-live__game-card-grid, .page-live__promo-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__promo-card, .page-live__step-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live__feature-image, .page-live__game-image, .page-live__promo-image {
  width: 100%;
  max-width: 400px; /* Ensures images are not too wide in cards */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Minimum height for content images */
  min-width: 200px; /* Minimum width for content images */
}

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

.page-live__feature-description, .page-live__game-description, .page-live__promo-description, .page-live__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__game-card .page-live__button--play {
  margin-top: auto; /* Push button to bottom */
}

.page-live__getting-started-actions {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-live__security-fairness {
  background-color: #F0F0F0;
}

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

.page-live__security-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-live__security-item-description {
  font-size: 0.95em;
  color: #666666;
}

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

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

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

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

.page-live__cta-final {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-live__cta-final .page-live__section-title {
  color: #FFFFFF;
}

.page-live__cta-final .page-live__section-intro {
  color: #F0F0F0;
}

.page-live__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 0;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    max-width: 300px;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-intro {
    font-size: 0.95em;
  }
  .page-live__features-grid, .page-live__game-card-grid, .page-live__promo-grid, .page-live__steps-grid, .page-live__security-points {
    grid-template-columns: 1fr;
  }
  .page-live__feature-card, .page-live__game-card, .page-live__promo-card, .page-live__step-card, .page-live__security-item {
    padding: 20px;
  }
  .page-live__feature-image, .page-live__game-image, .page-live__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
    min-width: 200px;
    min-height: 200px;
  }
  .page-live__why-choose-us, .page-live__games-showcase, .page-live__getting-started, .page-live__promotions, .page-live__security-fairness, .page-live__faq, .page-live__cta-final {
    padding: 40px 0;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
  .page-live__cta-actions {
    flex-direction: column;
  }

  /* Critical: Ensure all content images are responsive on mobile */
  .page-live img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__button {
    min-width: unset;
    width: 100%;
  }
}