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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-live__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px; /* Max width for content within hero */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the background image */
  z-index: 1;
}

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

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
}

.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.2s ease;
  cursor: pointer;
  text-align: center;
}

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

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

.page-live__button--secondary {
  background-color: transparent;
  color: #FFFFFF; /* Register color */
  border: 2px solid #FFFFFF;
}

.page-live__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-live__introduction-section,
.page-live__games-section,
.page-live__features-section,
.page-live__promo-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__introduction-container,
.page-live__games-container,
.page-live__features-container,
.page-live__promo-container,
.page-live__cta-container,
.page-live__faq-container {
  text-align: center;
}

.page-live__introduction-title,
.page-live__games-title,
.page-live__features-title,
.page-live__promo-title,
.page-live__cta-title,
.page-live__faq-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-live__introduction-text,
.page-live__games-subtitle,
.page-live__promo-description,
.page-live__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__game-card,
.page-live__feature-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-image,
.page-live__feature-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-live__game-card-description,
.page-live__feature-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-live__promo-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  margin-top: 60px;
}

.page-live__promo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-live__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-live__promo-content {
  text-align: center;
  max-width: 800px;
}

.page-live__promo-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-live__promo-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-live__cta-section {
  background-color: #f5f5f5;
  padding: 80px 20px;
}

.page-live__cta-title {
  color: #000000;
}

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

.page-live__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  text-align: left;
}

.page-live__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__introduction-title,
  .page-live__games-title,
  .page-live__features-title,
  .page-live__promo-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 2em;
  }
  .page-live__promo-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__hero-actions,
  .page-live__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__introduction-section,
  .page-live__games-section,
  .page-live__features-section,
  .page-live__promo-section,
  .page-live__cta-section,
  .page-live__faq-section {
    padding: 40px 15px;
  }
  .page-live__game-grid,
  .page-live__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-image,
  .page-live__feature-icon,
  .page-live__promo-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  .page-live__game-card-title,
  .page-live__feature-heading {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }
  /* Ensure images within .page-live do not 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: 1em;
  }
  .page-live__introduction-title,
  .page-live__games-title,
  .page-live__features-title,
  .page-live__promo-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 1.8em;
  }
}