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

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.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;
  border: none;
  cursor: pointer;
}

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

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

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

.page-live__button--login:hover {
  background-color: #e0a53b;
  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: 20px;
  font-weight: bold;
}

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

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

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

.page-live__about-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-live__about-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__about-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live__about-text {
  font-size: 1em;
  line-height: 1.6;
}

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

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

.page-live__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-live__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

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

.page-live__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.95em;
}

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

.page-live__benefits-section {
  background-color: #000000;
  padding: 60px 0;
  color: #FFFFFF;
}

.page-live__benefits-section .page-live__section-title, .page-live__benefits-section .page-live__section-intro {
  color: #FFFFFF;
}

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

.page-live__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

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

.page-live__benefit-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-live__how-to-play-section {
  padding: 60px 0;
}

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

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

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

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

.page-live__button--register-small, .page-live__button--deposit, .page-live__button--browse, .page-live__button--play-final {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-live__button--register-small:hover, .page-live__button--deposit:hover, .page-live__button--browse:hover, .page-live__button--play-final:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-live__responsible-gaming-section {
  background-color: #f8f8f8;
  padding: 60px 0;
  text-align: center;
}

.page-live__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  font-size: 1em;
}

.page-live__button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-live__cta-section {
  background-color: #FCBC45;
  padding: 80px 20px;
  text-align: center;
  color: #000000;
}

.page-live__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__cta-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-live__button--large-register {
  background-color: #000000;
  color: #FFFFFF;
  padding: 20px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-live__button--large-register:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .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__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-intro {
    font-size: 0.95em;
  }
  .page-live__about-grid, .page-live__games-grid, .page-live__benefits-list, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__about-image, .page-live__game-image {
    height: 200px;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-text {
    font-size: 1em;
  }
  .page-live__button--large-register {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within .page-live are responsive and don't overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__button--large-register {
    padding: 12px 25px;
    font-size: 1em;
  }
}