.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__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero section */
  background-color: #000000; /* Fallback background for hero */
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  opacity: 0.6; /* Slightly dim the image to make text pop */
}

.page-live__hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-live__hero-content {
  text-align: center;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-live__hero-actions {
  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;
  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: transparent;
  color: #FFFFFF;
}

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

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

.page-live__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

.page-live__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

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

.page-live__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Ensure images are large enough */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-live__game-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 15px 10px;
  font-weight: bold;
}

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

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

.page-live__button--play:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-live__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-live__promo-card {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__promo-image {
  width: 100%;
  height: 200px; /* Ensure images are large enough */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #333;
}

.page-live__promo-title {
  font-size: 2em;
  color: #FCBC45;
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-live__promo-description {
  font-size: 1em;
  color: #CCCCCC;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__button--claim {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 20px;
  font-size: 1em;
}

.page-live__button--claim:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-live__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-live__cta-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__button--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-live__button--join:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

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

.page-live__feature-item {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  line-height: 1.4;
}

.page-live__feature-item strong {
  color: #000000;
}

/* Responsive Design */
@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__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 400px;
  }
  .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: 80%;
    margin: 0 auto;
  }
  .page-live__content-area {
    padding: 40px 15px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__paragraph {
    font-size: 1em;
  }
  .page-live__game-grid, .page-live__promo-cards, .page-live__feature-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-image, .page-live__promo-image {
    height: 200px;
  }
  .page-live__content-image {
    max-width: 100%;
    height: auto;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }
  .page-live__button--join {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Critical: Ensure content images are responsive and don't 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: 90%;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
}