.page-live {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Hero Section */
.page-live__hero-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 40px;
}

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

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

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

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

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

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

.page-live__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* About Section */
.page-live__about-section {
  padding: 60px 0;
  background-color: #ffffff;
}

/* Games Section */
.page-live__games-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-live__game-grid {
  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 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__game-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide */
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-live__game-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-live__why-choose-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-live__feature-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-live__feature-icon {
  width: 100%;
  height: auto;
  max-width: 300px; /* Ensure images are not too wide */
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-live__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Call to Action Section */
.page-live__cta-section {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-live__cta-section .page-live__section-description {
  color: #f0f0f0;
}

.page-live__button--register-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-right: 15px;
}

.page-live__button--register-cta:hover {
  background-color: #e6a735;
}

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

.page-live__button--promotions:hover {
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button--register-cta, .page-live__button--promotions {
    margin-right: 0;
  }
  .page-live__game-grid, .page-live__features-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure all images within .page-live are responsive and do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__game-image, .page-live__feature-icon {
    max-width: 100%; /* Override specific max-width for mobile */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__hero-section, .page-live__about-section, .page-live__games-section, .page-live__why-choose-section, .page-live__cta-section {
    padding: 40px 15px;
  }
  .page-live__container {
    padding: 0 15px;
  }
}