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

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

.page-live__hero-section {
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-live__hero-content {
  max-width: 800px;
  margin-bottom: 20px;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

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

.page-live__hero-buttons {
  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, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.page-live__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 1000px; /* Limit hero image width */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

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

.page-live__introduction-section,
.page-live__game-selection-section,
.page-live__why-choose-lodi291-section,
.page-live__how-to-join-section,
.page-live__faq-section,
.page-live__responsible-gaming-section {
  padding: 60px 0;
}

.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 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-card-image {
  width: 100%;
  height: 260px; /* Consistent height for card images */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-live__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-live__game-card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  padding: 0 15px;
}

.page-live__button--play {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
}

.page-live__button--play:hover {
  background-color: #E0A030;
}

.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: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

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

.page-live__step-item {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-live__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

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

.page-live__cta-buttons {
  text-align: center;
  margin-top: 50px;
}

.page-live__faq-accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__faq-item {
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  background-color: #F8F8F8;
  padding: 20px 25px;
  font-size: 1.2em;
  color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #F0F0F0;
}

.page-live__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-live__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

.page-live__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live__faq-answer p {
  padding-bottom: 20px;
  color: #555555;
}

.page-live__faq-answer.open {
  max-height: 500px; /* Adjust as needed for content */
  padding-top: 20px;
}

.page-live__responsible-gaming-section {
  background-color: #F8F8F8;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
  border-top: 1px solid #EEEEEE;
}

.page-live__link {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-live__link:hover {
  color: #FCBC45;
}

/* Media Queries for Responsiveness */
@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;
  }
  .page-live__game-card-image {
    height: 220px;
  }
  .page-live__feature-item {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 120px);
  }
  .page-live__hero-section {
    padding: 60px 20px 30px;
    flex-direction: column;
    gap: 30px;
  }
  .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: 300px; /* Constrain button width on mobile */
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-live__section-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__steps-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__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-live__faq-answer p {
    font-size: 0.95em;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__hero-image-wrapper {
    width: 100%;
  }
  .page-live__hero-image {
    width: 100%;
    height: auto;
  }
  .page-live__game-card-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__game-card-title {
    font-size: 1.3em;
  }
  .page-live__feature-title {
    font-size: 1.2em;
  }
  .page-live__step-title {
    font-size: 1.3em;
  }
}