.page-live {
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Ensures a consistent background */
  padding-top: var(--header-offset, 120px); /* Space for fixed header */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-live__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding: 80px 0;
  overflow: hidden;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  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__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

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

.page-live__btn--primary:hover {
  background-color: #E0A83A;
  border-color: #E0A83A;
}

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

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

.page-live__intro-section, .page-live__games-section, .page-live__why-choose-section, .page-live__how-to-play-section, .page-live__promo-section, .page-live__detail-list-section, .page-live__responsible-gaming-section, .page-live__final-cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-live__intro-heading, .page-live__games-heading, .page-live__why-choose-heading, .page-live__how-to-play-heading, .page-live__promo-heading, .page-live__detail-list-heading, .page-live__responsible-gaming-heading, .page-live__final-cta-heading {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-live__intro-text, .page-live__responsible-gaming-text, .page-live__final-cta-text, .page-live__promo-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

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

.page-live__game-card, .page-live__feature-item, .page-live__promo-card, .page-live__detail-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
  min-width: 200px; /* Overriding for content area images */
  min-height: 200px;
}

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

.page-live__game-title a, .page-live__detail-title a {
  color: #000000;
  text-decoration: none;
}

.page-live__game-title a:hover, .page-live__detail-title a:hover {
  color: #FCBC45;
}

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

.page-live__btn--play, .page-live__btn--claim, .page-live__btn--details {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.95em;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-live__btn--play:hover, .page-live__btn--claim:hover, .page-live__btn--details:hover {
  background-color: #E0A83A;
}

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

.page-live__step-item {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-live__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

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

.page-live__step-description {
  font-size: 0.95em;
  color: #555555;
}

.page-live__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-live__responsible-gaming-section {
  background-color: #F0F0F0;
  text-align: center;
}

.page-live__final-cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-live__final-cta-heading {
  color: #FFFFFF;
}

.page-live__final-cta-text {
  color: #F0F0F0;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }

  .page-live__hero-section {
    padding: 60px 0;
  }

  .page-live__hero-content {
    padding: 30px;
  }

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

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

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

  .page-live__btn {
    min-width: unset;
    width: 100%;
  }

  .page-live__intro-heading, .page-live__games-heading, .page-live__why-choose-heading, .page-live__how-to-play-heading, .page-live__promo-heading, .page-live__detail-list-heading, .page-live__responsible-gaming-heading, .page-live__final-cta-heading {
    font-size: 2em;
  }

  .page-live__game-grid, .page-live__feature-grid, .page-live__promo-cards, .page-live__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-live__game-image, .page-live__feature-icon, .page-live__promo-image {
    height: auto; /* Allow height to adjust with max-width */
    max-width: 100%;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }

  .page-live__feature-icon {
    width: 100%; /* Adjust for mobile, but min-width still applies */
    height: auto;
  }

  .page-live__final-cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__intro-heading, .page-live__games-heading, .page-live__why-choose-heading, .page-live__how-to-play-heading, .page-live__promo-heading, .page-live__detail-list-heading, .page-live__responsible-gaming-heading, .page-live__final-cta-heading {
    font-size: 1.8em;
  }
  .page-live__intro-text, .page-live__responsible-gaming-text, .page-live__final-cta-text, .page-live__promo-text {
    font-size: 0.9em;
  }
  .page-live__game-card, .page-live__feature-item, .page-live__promo-card, .page-live__detail-card {
    padding: 20px;
  }
  .page-live__game-title, .page-live__feature-title, .page-live__promo-title, .page-live__detail-title {
    font-size: 1.3em;
  }
  .page-live__step-item {
    padding-top: 50px;
  }
  .page-live__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
}