.page-live {
  color: #333333; /* Dark text for light 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 {
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with login color */
  line-height: 1.2;
}

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

.page-live__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  border: none;
  cursor: pointer;
}

.page-live__cta-button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-live__cta-button--primary:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-live__cta-button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__cta-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-live__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

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

.page-live__intro-section, .page-live__promo-section, .page-live__getting-started-section, .page-live__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-live__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-live__games-section {
  background-color: #f5f5f5;
  padding: 60px 0;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-live__game-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-live__advantages-section {
  padding: 60px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-live__advantages-section .page-live__section-title {
  color: #FCBC45;
}

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

.page-live__advantage-item {
  text-align: center;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent background */
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-live__advantage-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-live__advantage-icon {
  width: 100%;
  height: auto;
  max-width: 300px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-live__advantage-description {
  font-size: 1em;
  color: #e0e0e0;
}

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

.page-live__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 8px 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: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-live__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

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

/* Example for an active FAQ item, can be toggled by JS */
/* .page-live__faq-item.active .page-live__faq-question::after {
  content: '-';
  transform: rotate(180deg);
} */

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  display: block; /* Ensure it's visible by default, JS can toggle */
}

.page-live__cta-section--bottom {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-live__cta-section--bottom .page-live__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-live__game-grid, .page-live__advantages-grid, .page-live__steps-list {
    grid-template-columns: 1fr;
  }

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

  .page-live__cta-button {
    width: 100%;
    margin-bottom: 15px;
  }

  .page-live__hero-image,
  .page-live__image-content,
  .page-live__game-image,
  .page-live__advantage-icon {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
  }

  /* Critical: prevent content overflow on mobile */
  .page-live {
    overflow-x: hidden;
  }

  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-live__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}