.page-live {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure 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;
  background-color: #000000;
  padding: 80px 0;
  overflow: hidden;
}

.page-live__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  max-height: 600px; /* Limit height for aesthetic */
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  margin-top: -80px; /* Overlap with image slightly for visual interest */
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background for text */
  border-radius: 10px;
  max-width: 800px;
}

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

.page-live__hero-description {
  font-size: 1.2em;
  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: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

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

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

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

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

.page-live__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #FFFFFF;
  position: relative;
  padding-bottom: 15px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-live__info-section,
.page-live__games-section,
.page-live__promo-section,
.page-live__getting-started-section,
.page-live__responsible-gaming-section,
.page-live__cta-section {
  padding: 60px 0;
  background-color: #000000;
}

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

.page-live__grid-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-live__grid-text {
  color: #e0e0e0;
}

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

.page-live__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-live__game-title {
  font-size: 1.7em;
  margin: 20px 0 10px;
  color: #FCBC45;
}

.page-live__game-description {
  padding: 0 20px;
  margin-bottom: 20px;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #FCBC45;
  color: #000000;
  margin-bottom: 20px;
  border: 2px solid #FCBC45;
}

.page-live__button--small:hover {
  background-color: #e0a538;
  color: #000000;
}

.page-live__promo-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 40px;
  display: block;
}

.page-live__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.page-live__button--primary:hover {
  background-color: #e0a538;
  color: #000000;
}

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

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

.page-live__promo-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-live__promo-text {
  color: #e0e0e0;
}

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

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

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

.page-live__step-text {
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-live__responsible-text {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-live__cta-text {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .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: 100%;
    max-width: 300px;
  }

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

  .page-live__grid,
  .page-live__games-grid,
  .page-live__promo-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-live__game-image, .page-live__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  /* Ensure all images within .page-live are responsive and not smaller than 200px */
  .page-live img {
    max-width: 100%;
    height: auto; /* Required for mobile */
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
  }

  .page-live__game-image {
    height: 200px; /* Adjust fixed height for mobile, still > 200px */
  }

  .page-live__hero-content {
    margin-top: -40px; /* Adjust overlap for mobile */
    padding: 20px 15px;
  }

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

  .page-live__info-section,
  .page-live__games-section,
  .page-live__promo-section,
  .page-live__getting-started-section,
  .page-live__responsible-gaming-section,
  .page-live__cta-section {
    padding: 40px 0;
  }

  .page-live__hero-image {
    max-height: 300px;
  }
}