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

.page-live__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero section */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 0; /* Image extends to bottom */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.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;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

.page-live__button--register {
  background-color: #FFFFFF;
  color: #000000; /* Dark text on white button */
  border: 2px solid #FFFFFF;
}

.page-live__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-live__button--login {
  background-color: #FCBC45;
  color: #000000; /* Dark text on orange button */
  border: 2px solid #FCBC45;
}

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

.page-live__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.4; /* Make image subtle behind text */
  display: block;
}

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

.page-live__about-section,
.page-live__games-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-live__about-section {
  background-color: #f8f8f8;
}

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

.page-live__section-subtitle {
  font-size: 1.4em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-live__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
  text-align: justify;
}

.page-live__game-list {
  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 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

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

.page-live__game-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-live__game-title a:hover {
  color: #FCBC45;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-live__button--view-details {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  font-size: 0.9em;
  border-radius: 6px;
  border: 2px solid #FCBC45;
}

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

.page-live__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

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

.page-live__cta-section .page-live__text-content {
  color: #E0E0E0;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

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

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

.page-live__faq-section {
  background-color: #f8f8f8;
}

.page-live__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

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

  .page-live__hero-description {
    font-size: 1.2em;
  }

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

@media (max-width: 768px) {
  .page-live__hero-section {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px;
  }

  .page-live__hero-content {
    padding: 30px 0;
  }

  .page-live__hero-title {
    font-size: 2.2em;
  }

  .page-live__hero-description {
    font-size: 1em;
  }

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

  .page-live__button {
    width: 100%;
    max-width: 280px;
  }

  .page-live__hero-image-wrapper {
    position: relative;
    height: 300px;
    margin-top: 30px;
  }

  .page-live__about-section,
  .page-live__games-section,
  .page-live__cta-section,
  .page-live__faq-section {
    padding: 60px 0;
  }

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

  .page-live__section-subtitle {
    font-size: 1.2em;
  }

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

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

  .page-live__game-image {
    height: 200px;
  }

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

  .page-live__faq-question {
    font-size: 1.2em;
  }

  .page-live__faq-answer {
    font-size: 0.9em;
  }

  /* Ensure content images do not overflow on mobile */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  .page-live__hero-image {
    max-width: 100%;
    height: auto;
  }

  .page-live__game-image {
    max-width: 100%;
    height: auto;
  }
}