.page-live {
  color: #333333; /* Dark text on light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
}

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

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

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 150px; /* Ensure buttons are not too small */
  font-size: 1em;
}

.page-live__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-live__button--secondary {
  background-color: #000000; /* Main color for secondary action */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-live__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-live__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

/* Hero Section */
.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-live__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-live__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

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

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

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

/* Introduction Section */
.page-live__introduction-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-live__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-live__game-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-live__game-card-title a:hover {
  color: #FCBC45;
}

.page-live__game-card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-live__why-choose-us-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-live__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

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

.page-live__feature-text {
  font-size: 0.95em;
  color: #555555;
}

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

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

.page-live__promo-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live__promo-card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live__promo-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-live__promo-card-title a:hover {
  color: #FCBC45;
}

.page-live__promo-card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Play Section */
.page-live__how-to-play-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-live__step-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
}

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

.page-live__step-text {
  font-size: 0.95em;
  color: #555555;
}

.page-live__how-to-play-cta {
  text-align: center;
}

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

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

.page-live__security-item {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__security-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-live__security-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__security-text {
  font-size: 0.95em;
  color: #555555;
}

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

.page-live__faq-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-live__faq-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
}

.page-live__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
  cursor: pointer;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
}

.page-live__faq-item.active .page-live__faq-answer {
  display: block;
}

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

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

.page-live__cta-section .page-live__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-live__cta-section .page-live__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 40px 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: 100%;
  }

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

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

  .page-live__container {
    padding: 0 15px;
  }

  /* Mobile image overflow prevention */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content area images are not tiny */
  .page-live__game-card-image,
  .page-live__feature-icon,
  .page-live__promo-card-image,
  .page-live__security-icon {
    min-width: 200px;
    min-height: 150px; /* Adjusted for smaller screens but still large enough */
    width: 100%; /* Ensure they scale down */
    height: auto;
  }

  .page-live__hero-image {
    min-height: 250px; /* Hero image can be taller */
  }

}

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

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

  .page-live__game-card,
  .page-live__feature-item,
  .page-live__promo-card,
  .page-live__step-item,
  .page-live__security-item {
    padding: 20px;
  }

  .page-live__game-card-title,
  .page-live__feature-title,
  .page-live__promo-card-title,
  .page-live__step-title,
  .page-live__security-title {
    font-size: 1.5em;
  }

  .page-live__hero-image {
    min-height: 200px;
  }
}