.page-live {
  color: #333333; /* Default text color for light background */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-live__hero-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-live__hero-content {
  max-width: 800px;
  padding: 20px;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for title */
  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: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

.page-live__button--primary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-live__button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-live__button--secondary {
  background-color: #ffc107; /* Auxiliary color */
  color: #333333;
  border: 2px solid #ffc107;
}

.page-live__button--secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

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

.page-live__button--tertiary {
  background-color: #f0f0f0;
  color: #333333;
  border: 1px solid #cccccc;
  margin-top: 30px;
}

.page-live__button--tertiary:hover {
  background-color: #e0e0e0;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
}

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-live__feature-grid, .page-live__game-grid, .page-live__promo-grid, .page-live__steps-grid, .page-live__security-grid {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

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

.page-live__feature-card, .page-live__game-card, .page-live__promo-card, .page-live__step-card, .page-live__security-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-image, .page-live__game-image, .page-live__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-live__feature-title, .page-live__game-title, .page-live__promo-title, .page-live__step-title, .page-live__security-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-live__feature-text, .page-live__game-text, .page-live__promo-text, .page-live__step-text, .page-live__security-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
}

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

.page-live__game-card .page-live__button {
  margin-top: 20px;
}

.page-live__how-to-play-section {
  background-color: #f8f9fa;
}

.page-live__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-live__step-icon {
  background-color: #ffc107; /* Auxiliary color */
  color: #333333;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-live__step-card .page-live__button {
  margin-top: 20px;
}

.page-live__promotions-section {
  background-color: #e9ecef;
}

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

.page-live__promo-card .page-live__button {
  margin-top: 20px;
}

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

.page-live__security-item {
  padding: 30px;
}

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

.page-live__security-outro {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-live__security-outro a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-live__security-outro a:hover {
  text-decoration: underline;
}

.page-live__cta-section {
  background: linear-gradient(45deg, #007bff, #0056b3); /* Gradient background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-live__cta-section .page-live__section-title {
  color: #ffc107; /* Auxiliary color for CTA title */
}

.page-live__cta-section .page-live__section-intro {
  color: #f0f0f0;
  margin-bottom: 50px;
}

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

.page-live__cta-buttons .page-live__button--primary {
  background-color: #ffc107;
  color: #333333;
  border-color: #ffc107;
}

.page-live__cta-buttons .page-live__button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-live__cta-buttons .page-live__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-live__cta-buttons .page-live__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffc107;
  border-color: #ffc107;
}

.page-live__faq-section {
  padding-bottom: 80px;
}

.page-live__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-live__faq-question {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

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

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

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has offset */
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 250px;
  }
  .page-live__content-area {
    padding: 40px 15px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__feature-grid, .page-live__game-grid, .page-live__promo-grid, .page-live__steps-grid, .page-live__security-grid {
    grid-template-columns: 1fr;
  }
  .page-live__hero-image, .page-live__feature-image, .page-live__game-image, .page-live__promo-image, .page-live__security-icon {
    max-width: 100%;
    height: auto;
  }
  /* Crucial: Ensure all images within .page-live do not cause horizontal scrolling */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-live {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-live__hero-section {
    min-height: 400px;
  }
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__feature-title, .page-live__game-title, .page-live__promo-title, .page-live__step-title, .page-live__security-title {
    font-size: 1.3em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }
}