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

.page-live__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero content overlay */
  padding: 0;
  overflow: hidden;
}

.page-live__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* Slightly dim the background image for text readability */
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  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.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-live__button--primary {
  background-color: #FCBC45; /* Login button 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;
  border: 2px solid #FFFFFF;
}

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

.page-live__button--small {
  padding: 10px 20px;
  font-size: 1em;
  min-width: 150px;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

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

.page-live__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-live__feature-item, .page-live__game-card, .page-live__promo-card, .page-live__guide-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__feature-image, .page-live__game-image, .page-live__promo-image, .page-live__guide-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__feature-title, .page-live__game-title, .page-live__promo-title, .page-live__guide-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  min-height: 2em; /* Ensure consistent height for titles */
}

.page-live__game-title a, .page-live__promo-title a, .page-live__guide-title a {
  color: #000000;
  text-decoration: none;
}

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

.page-live__feature-text, .page-live__game-text, .page-live__promo-text, .page-live__guide-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-live__cta-section .page-live__section-description {
  color: #e0e0e0;
}

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

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

.page-live__faq-list {
  margin-top: 40px;
}

.page-live__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  text-align: left;
}

.page-live__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #FCBC45;
}

.page-live__faq-item.active .page-live__faq-question::after {
  content: '-';
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, shown by JS */
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  margin-top: 10px;
}

.page-live__faq-item.active .page-live__faq-answer {
  display: block;
}

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

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

.page-live__faq-more {
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-live__hero-content {
    max-width: 90%;
  }
  .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: 100%;
    min-width: unset;
  }
  .page-live__content-area {
    padding: 40px 15px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-description {
    font-size: 0.95em;
  }
  .page-live__feature-grid, .page-live__game-grid, .page-live__promo-cards, .page-live__guide-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile content area image constraint */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__feature-image, .page-live__game-image, .page-live__promo-image, .page-live__guide-image {
    height: auto; /* Allow height to adjust for smaller screens */
    max-height: 300px; /* Cap max height to prevent overly tall images */
  }
  .page-live__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
    object-fit: cover;
    object-position: center;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__section-description {
    font-size: 0.9em;
  }
}