.page-live {
  color: #FFFFFF; /* Default text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content isn't hidden by fixed header */
}

.page-live__hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); /* Dark overlay for text readability */
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-live__hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 1;
  color: #FFFFFF;
}

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

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

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

.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;
  white-space: nowrap;
}

.page-live__button--register {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #FCBC45; /* Login button color for border contrast */
}

.page-live__button--register:hover {
  background-color: #FCBC45; /* Login button color on hover */
  transform: translateY(-3px);
  color: #000000;
}

.page-live__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Main color as text color */
  border: 2px solid #FCBC45;
}

.page-live__button--login:hover {
  background-color: #FFFFFF;
  transform: translateY(-3px);
  color: #000000;
}

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

.page-live__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: bold;
}

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-live__about-section,
.page-live__how-to-play-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__cta-bottom-section {
  background-color: #0d0d0d; /* Slightly lighter black for section background */
  padding: 80px 0;
  margin-bottom: 20px;
}

.page-live__about-section .page-live__section-title,
.page-live__about-section .page-live__section-description,
.page-live__how-to-play-section .page-live__section-title,
.page-live__how-to-play-section .page-live__section-description,
.page-live__responsible-gaming-section .page-live__section-title,
.page-live__responsible-gaming-section .page-live__section-description,
.page-live__faq-section .page-live__section-title,
.page-live__faq-section .page-live__section-description,
.page-live__cta-bottom-section .page-live__section-title,
.page-live__cta-bottom-section .page-live__section-description {
  color: #FFFFFF;
}

.page-live__games-section {
  background-color: #000000;
  padding: 80px 0;
  margin-bottom: 20px;
}

.page-live__games-section .page-live__section-title,
.page-live__games-section .page-live__section-description {
  color: #FFFFFF;
}

.page-live__features-grid,
.page-live__games-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__step-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__step-card:hover {
  transform: translateY(-10px);
}

.page-live__feature-icon,
.page-live__game-image {
  width: 100%; /* Ensure images take full width of card */
  max-width: 400px; /* Max width for feature icons */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

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

.page-live__game-card .page-live__button--play {
  margin-top: 20px;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  border: none;
}

.page-live__game-card .page-live__button--play:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-live__step-number {
  font-size: 2.5em;
  color: #FFFFFF;
  background-color: #FCBC45;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-live__step-card a {
  color: #FCBC45;
  text-decoration: underline;
}

.page-live__step-card a:hover {
  color: #FFFFFF;
}

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

.page-live__button--cta,
.page-live__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border: none;
  margin-top: 20px;
}

.page-live__button--cta:hover,
.page-live__button--join-now:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-live__button--learn-more {
  display: inline-block;
  margin-top: 30px;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
  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;
}

.page-live__button--learn-more:hover {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-live__faq-question {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

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

.page-live__faq-answer a:hover {
  color: #FFFFFF;
}

/* 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;
    padding: 60px 15px;
  }

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

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

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

  .page-live__button {
    width: 80%;
    max-width: 300px;
  }

  .page-live__content-wrapper {
    padding: 40px 15px;
  }

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

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

  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure all images within .page-live are responsive and don't cause overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }
}

/* Global image size constraint for content area (desktop) */
.page-live img {
  min-width: 200px;
  min-height: 200px;
}

/* Re-applying minimums for images that are not naturally constrained by max-width:100% on mobile */
@media (max-width: 768px) {
  .page-live__feature-icon, .page-live__game-image {
    min-width: 200px;
    min-height: 200px;
  }
}