.page-live {
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* Ensures a consistent background if shared.css doesn't fully cover */
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-live__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-live__text-content {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
}

.page-live__button--register {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 15px;
}

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

.page-live__button--register:hover,
.page-live__button--download:hover,
.page-live__button--claim-bonus:hover,
.page-live__button--register-bottom:hover,
.page-live__button--join-today:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.page-live__button--login:hover,
.page-live__button--play:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero text */
  color: #FFFFFF;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Slightly dim the image for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__hero-buttons {
  margin-top: 30px;
}

/* About Section */
.page-live__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-live__image--centered {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

/* Games Section */
.page-live__games-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

.page-live__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

/* Mobile Section */
.page-live__mobile-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__mobile-content {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-live__button--download {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-live__image--mobile {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Promotions Section */
.page-live__promo-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-live__button--claim-bonus {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

.page-live__image--promo {
  display: block;
  margin: 50px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Getting Started Section */
.page-live__getting-started-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-live__step-card {
  background-color: #FDFDFD;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-live__step-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
}

.page-live__button--register-bottom {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 50px;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

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

.page-live__faq-question {
  background-color: #FFFFFF;
  color: #000000;
  font-size: 1.2em;
  font-weight: bold;
  width: 100%;
  padding: 20px 25px;
  text-align: left;
  border: none;
  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(180deg);
}

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

.page-live__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 20px 25px;
}

.page-live__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  text-align: left;
}

/* Call to Action Section */
.page-live__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

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

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

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

.page-live__button--join-today {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

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

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

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

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-live__hero-section {
    min-height: 550px;
    padding: 60px 15px;
  }

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

  .page-live__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

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

  .page-live__button {
    width: 100%;
    margin-right: 0;
  }

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

  .page-live__text-content {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-live__game-card {
    padding-bottom: 20px;
  }

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

  .page-live__image--mobile,
  .page-live__image--promo,
  .page-live__image--centered {
    max-width: 100%;
    height: auto;
  }

  .page-live__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-live__faq-answer.active {
    padding: 15px 20px;
  }

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

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

  /* Override any specific image widths that might cause overflow */
  .page-live__image--mobile,
  .page-live__image--promo,
  .page-live__image--centered,
  .page-live__game-image,
  .page-live__hero-image {
    width: 100%;
  }
}

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

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

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

  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }

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