.page-live {
  color: #ffffff; /* Text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  text-align: center;
}

.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 dim the background image for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text */
  border-radius: 10px;
  color: #ffffff;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.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, color 0.3s ease;
  white-space: nowrap;
}

.page-live__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-live__button--play,
.page-live__button--explore,
.page-live__button--claim-bonus,
.page-live__button--signup,
.page-live__button--download,
.page-live__button--learn-more,
.page-live__button--view-all-faq,
.page-live__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--play:hover,
.page-live__button--explore:hover,
.page-live__button--claim-bonus:hover,
.page-live__button--signup:hover,
.page-live__button--download:hover,
.page-live__button--learn-more:hover,
.page-live__button--view-all-faq:hover,
.page-live__button--join-now:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-live__section {
  padding: 80px 0;
  text-align: center;
}

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

.page-live__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45;
  line-height: 1.3;
}

.page-live__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-live__features-grid,
.page-live__game-cards-grid,
.page-live__experience-grid,
.page-live__bonus-grid,
.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__feature-card,
.page-live__game-card,
.page-live__bonus-card,
.page-live__step-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly visible card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__bonus-card:hover,
.page-live__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.page-live__feature-icon,
.page-live__game-image,
.page-live__bonus-image,
.page-live__step-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-live__game-image,
.page-live__bonus-image {
  max-width: 600px;
}

.page-live__feature-title,
.page-live__game-title,
.page-live__bonus-title,
.page-live__step-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-live__feature-description,
.page-live__game-description,
.page-live__bonus-description,
.page-live__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-live__experience-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-live__experience-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-live__experience-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 10px;
}

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

.page-live__cta-center {
  margin-top: 60px;
}

.page-live__faq-items {
  margin-top: 40px;
  text-align: left;
}

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

.page-live__faq-question {
  font-size: 1.4em;
  color: #FCBC45;
  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;
  transition: transform 0.3s ease;
}

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

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

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

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

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 500px;
  }
  .page-live__hero-content {
    padding: 30px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-live__section {
    padding: 60px 0;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-live__features-grid,
  .page-live__game-cards-grid,
  .page-live__experience-grid,
  .page-live__bonus-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-live__feature-icon,
  .page-live__game-image,
  .page-live__bonus-image,
  .page-live__step-icon,
  .page-live__experience-icon {
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }

  /* Critical for mobile overflow prevention */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-section {
    min-height: 400px;
  }
  .page-live__hero-content {
    padding: 20px;
  }
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__feature-title,
  .page-live__game-title,
  .page-live__bonus-title,
  .page-live__step-title {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
}