.page-live {
  color: #333333; /* Default text color for light body background */
}

.page-live__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
  padding-bottom: 60px;
  overflow: hidden; /* Ensure content doesn't spill out */
}

.page-live__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Constrain hero content width */
  margin: 0 auto;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

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

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

.page-live__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;
  white-space: nowrap;
}

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

.page-live__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

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

.page-live__button--explore:hover {
  background-color: #E0A73C;
  transform: translateY(-2px);
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-live__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #333333;
}

.page-live__about-section {
  background-color: #F8F8F8;
  padding: 60px 0;
}

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

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

.page-live__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-live__game-card-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-live__game-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-live__game-card-description {
  font-size: 0.95em;
  line-height: 1.7;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__button--play-now {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  margin-top: auto; /* Push button to the bottom */
}

.page-live__button--play-now:hover {
  background-color: #E0A73C;
}

.page-live__why-choose-section {
  background-color: #000000;
  padding: 80px 0;
  color: #FFFFFF;
}

.page-live__why-choose-section .page-live__section-title {
  color: #FFFFFF;
}

.page-live__why-choose-section .page-live__section-text {
  color: #E0E0E0;
}

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

.page-live__feature-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.page-live__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-live__feature-icon {
  width: 250px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 25px;
  filter: brightness(1.2); /* Slightly brighten images against dark background */
}

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

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

.page-live__cta-section {
  text-align: center;
  margin-top: 60px;
}

.page-live__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-live__button--join-now:hover {
  background-color: #E0A73C;
}

.page-live__getting-started-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

.page-live__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__button--register-small, 
.page-live__button--deposit-small, 
.page-live__button--promo-small, 
.page-live__button--play-small {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: auto;
}

.page-live__button--register-small:hover, 
.page-live__button--deposit-small:hover, 
.page-live__button--promo-small:hover, 
.page-live__button--play-small:hover {
  background-color: #333333;
}

.page-live__responsible-gaming-section {
  padding: 60px 0;
  background-color: #F0F0F0;
}

.page-live__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  margin-top: 30px;
}

.page-live__button--learn-more:hover {
  background-color: #333333;
}

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

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

.page-live__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

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

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

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

.page-live__conclusion-section .page-live__section-title {
  color: #FFFFFF;
}

.page-live__conclusion-section .page-live__section-text {
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-live__button--final-cta {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 20px 45px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-live__button--final-cta:hover {
  background-color: #E0A73C;
}

/* 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.2em;
  }
  .page-live__game-card-image, .page-live__feature-icon {
    width: 100%;
    height: auto;
    max-height: 250px;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-text {
    font-size: 0.95em;
  }
  .page-live__game-cards,
  .page-live__features,
  .page-live__steps-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-card-image, .page-live__feature-icon {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not too small */
    object-fit: cover;
  }
  .page-live__why-choose-section .page-live__feature-icon {
    filter: brightness(1.2); /* Maintain brightness on mobile */
  }
  .page-live__container {
    padding: 30px 15px;
  }
  .page-live__button--join-now,
  .page-live__button--final-cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within .page-live are responsive and do not cause 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.9em;
  }
  .page-live__button {
    width: 95%;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__game-card-image {
    height: 200px;
  }
  .page-live__feature-icon {
    height: 150px;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
  .page-live__button--join-now,
  .page-live__button--final-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
}