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

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a decent height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Dark background for hero to contrast with image */
}

.page-live__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
  color: #ffffff;
}

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

.page-live__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-live__button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text for register */
  border: 2px solid #FFFFFF;
}

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

.page-live__button--login {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black text for login */
  border: 2px solid #FCBC45;
}

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

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

.page-live__section-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  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__text-content {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

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

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

.page-live__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-live__feature-description {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

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

.page-live__game-category {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live__game-title {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 20px;
}

.page-live__game-image {
  width: 100%;
  max-width: 600px; /* Ensure images don't get too wide */
  height: auto;
  min-height: 250px; /* Minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-live__game-description {
  font-size: 1.05rem;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 800px;
  text-align: justify;
}

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

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

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

.page-live__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  min-height: 300px; /* Minimum height for promo image */
  object-fit: cover;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

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

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

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

.page-live__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

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

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

.page-live__cta-section .page-live__section-title {
  color: #ffffff;
}

.page-live__cta-section .page-live__section-title::after {
  background-color: #FCBC45;
}

.page-live__cta-section .page-live__text-content {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__cta-buttons .page-live__button--register {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-live__cta-buttons .page-live__button--register:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8rem;
  }

  .page-live__hero-description {
    font-size: 1.1rem;
  }

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

  .page-live__feature-title {
    font-size: 1.3rem;
  }

  .page-live__game-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }

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

  .page-live__hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .page-live__hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-live__hero-buttons,
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__button {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100%;
  }

  .page-live__container {
    padding: 30px 15px;
  }

  .page-live__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-live__text-content {
    font-size: 0.95rem;
  }

  .page-live__features-grid {
    grid-template-columns: 1fr;
  }

  .page-live__feature-card {
    padding: 20px;
  }

  .page-live__feature-image,
  .page-live__game-image,
  .page-live__promo-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive and do not overflow */
    min-height: 200px; /* Enforce min-height for content images */
  }

  .page-live__game-title {
    font-size: 1.5rem;
  }

  .page-live__game-description {
    font-size: 0.95rem;
  }

  .page-live__cta-section {
    padding: 60px 0;
  }
  .page-live__hero-section .page-live__hero-image {
    filter: brightness(0.6); /* Darken hero image more for better text contrast on small screens */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8rem;
  }

  .page-live__hero-description {
    font-size: 0.9rem;
  }

  .page-live__section-title {
    font-size: 1.5rem;
  }

  .page-live__button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

/* Ensure all content area images are at least 200px wide */
.page-live img {
  min-width: 200px;
  min-height: 200px;
}

/* Override specific image styles that might be smaller than 200px */
.page-live__feature-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure it's not too wide for its card */
  margin-left: auto;
  margin-right: auto;
}

.page-live__game-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}