.page-live {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  padding-top: var(--header-offset, 120px);
}

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

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

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

.page-live__hero-btn {
  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;
}

.page-live__hero-btn--primary {
  background-color: #FFD700;
  color: #1A202C;
}

.page-live__hero-btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-live__hero-btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__hero-btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-live__about-section,
.page-live__games-showcase,
.page-live__features-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 80px 0;
  background-color: rgba(26, 32, 44, 0.8);
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-live__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-live__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #e0e0e0;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.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: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-live__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #FFD700;
}

.page-live__game-card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin: 25px 15px 15px 15px;
}

.page-live__game-card-description {
  font-size: 1em;
  color: #c0c0c0;
  padding: 0 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.page-live__game-card-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin: 25px 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-live__game-card-btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-live__feature-item {
  background-color: #1A202C;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-live__feature-icon {
  width: 200px; /* Ensure minimum size */
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Make icons slightly brighter against dark background */
  border-radius: 5px;
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #c0c0c0;
  line-height: 1.7;
}

.page-live__cta-section {
  text-align: center;
  background-image: linear-gradient(rgba(26, 32, 44, 0.9), rgba(26, 32, 44, 0.9)), url('[GALLERY:cta_background:1920x600:live_casino_background,blurred_lights,golden_glow,abstract_luxury]');
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  border-radius: 10px;
}

.page-live__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.page-live__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-live__cta-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-live__cta-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-live__faq-item {
  background-color: #1A202C;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

  .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;
    padding: 40px 15px;
  }

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

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

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

  .page-live__hero-btn {
    width: 100%;
    max-width: 300px; /* Constrain button width */
  }

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

  .page-live__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .page-live__game-grid,
  .page-live__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

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

  .page-live__feature-title {
    font-size: 1.4em;
  }

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

  .page-live__cta-btn {
    padding: 15px 30px;
    font-size: 1.1em;
  }

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

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

  .page-live__container {
    padding: 0 15px;
  }
}

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

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

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

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

  .page-live__hero-btn,
  .page-live__cta-btn {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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