.page-live {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-live__hero-section {
  position: relative;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
  overflow: hidden;
  background-color: #007bff; /* Fallback for image */
}

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

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

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

.page-live__hero-description {
  font-size: 1.5em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.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: #ffc107; /* Auxiliary color */
  color: #000000; /* Dark text for light background */
  border: 2px solid #ffc107;
}

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

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

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

.page-live__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

.page-live__intro-section,
.page-live__games-section,
.page-live__features-section,
.page-live__how-to-play-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 60px 0;
}

.page-live__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

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

.page-live__games-section .page-live__section-text {
  margin-bottom: 40px;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-live__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  padding: 0 20px;
}

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

.page-live__features-section--alt-bg {
  background-color: #f8f9fa; /* Light background for contrast */
}

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

.page-live__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  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.12);
}

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

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

.page-live__how-to-play-section {
  background-color: #e9ecef; /* Slightly darker light background */
}

.page-live__step-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #007bff;
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #ffc107;
}

.page-live__step-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

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

.page-live__cta-section {
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

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

.page-live__cta-section .page-live__section-text {
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

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

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

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #ffc107;
}

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

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
}

.page-live__faq-question.active + .page-live__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 0;
  }
  .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__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-live__section-text {
    font-size: 1em;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__step-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-image, .page-live__game-card img, .page-live__feature-item img, .page-live__step-item img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  .page-live__game-card, .page-live__feature-item, .page-live__step-item {
    margin-left: 20px;
    margin-right: 20px;
  }
  .page-live__game-image {
    height: 200px; /* Adjust for smaller screens */
  }
  /* Content area images must not be smaller than 200px */
  .page-live img {
    min-width: 200px; /* Enforce minimum width for all content area images */
    min-height: 200px; /* Enforce minimum height for all content area images */
  }
  .page-live__hero-image {
    filter: brightness(0.5); /* Slightly darker on mobile for better contrast */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 0.95em;
  }
  .page-live__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__game-card,
  .page-live__feature-item,
  .page-live__step-item {
    padding: 20px;
  }
  .page-live__game-image {
    height: 180px;
  }
  .page-live__game-card img {
    min-width: 200px;
    min-height: 200px;
  }
}