/* style/live.css */
.page-live {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  padding-bottom: 60px;
  background-color: #000000; /* Dark background for hero text contrast */
  color: #FFFFFF;
  overflow: hidden; /* Hide overflowing image parts if any */
}

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

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire area */
  opacity: 0.3; /* Slightly dim the background image for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

.page-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  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;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

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

.page-live__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

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

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-live__button--small:hover {
  background-color: #e0a53b;
}

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

.page-live__introduction-section,
.page-live__games-showcase,
.page-live__features-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 60px 0;
  text-align: center;
}

.page-live__introduction-section {
  background-color: #FFFFFF;
}

.page-live__games-showcase {
  background-color: #f5f5f5;
}

.page-live__features-section {
  background-color: #FFFFFF;
}

.page-live__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

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

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

.page-live__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #000000;
}

.page-live__cta-section .page-live__text-content {
  color: #FFFFFF;
}

.page-live__text-content {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-live__card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-live__card:hover {
  transform: translateY(-5px);
}

.page-live__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-live__feature-item {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

.page-live__feature-description a {
  color: #FCBC45;
  text-decoration: none;
}

.page-live__feature-description a:hover {
  text-decoration: underline;
}

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

.page-live__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-live__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
}

.page-live__faq-answer a:hover {
  text-decoration: underline;
}

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

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-bottom: 40px;
    padding-top: var(--header-offset, 100px); /* Adjust for mobile header offset */
  }

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

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

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

  .page-live__button {
    width: 100%;
  }

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

  .page-live__introduction-section,
  .page-live__games-showcase,
  .page-live__features-section,
  .page-live__cta-section,
  .page-live__faq-section {
    padding: 40px 0;
  }

  .page-live__game-cards,
  .page-live__feature-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure all images within .page-live are responsive and don't overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  .page-live__card-image {
    height: 180px; /* Slightly smaller height for mobile cards */
  }
}

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

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

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

  .page-live__button {
    padding: 12px 25px;
  }

  .page-live__card-image {
    height: 150px;
  }
}