.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 content clears fixed header */
}

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

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #0A2463; /* Dark blue background for hero text */
  color: #ffffff;
  overflow: hidden;
}

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

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary gold color */
  color: #0A2463; /* Dark blue text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-live__about-live-section,
.page-live__games-section,
.page-live__bonuses-section,
.page-live__security-section,
.page-live__how-to-start-section,
.page-live__cta-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-live__about-live-section,
.page-live__how-to-start-section {
  background-color: #f0f0f0;
}

.page-live__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-live__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #555555;
}

.page-live__section-text a {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
}

.page-live__section-text a:hover {
  color: #FFD700;
}

.page-live__game-grid,
.page-live__bonus-cards,
.page-live__features-grid,
.page-live__steps-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-live__game-card,
.page-live__bonus-card,
.page-live__feature-item,
.page-live__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.page-live__game-card:hover,
.page-live__bonus-card:hover,
.page-live__feature-item:hover,
.page-live__step-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-live__game-image,
.page-live__bonus-image,
.page-live__feature-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-live__feature-icon {
    max-width: 200px; /* Icons can be smaller but still >= 200px */
    height: auto;
    margin-bottom: 15px;
}

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

.page-live__game-description,
.page-live__bonus-description,
.page-live__feature-description,
.page-live__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-live__game-button,
.page-live__bonus-button,
.page-live__step-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__game-button:hover,
.page-live__bonus-button:hover,
.page-live__step-button:hover {
  background-color: #FFD700;
  color: #0A2463;
}

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

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

.page-live__step-item {
  position: relative;
  padding-top: 60px;
}

.page-live__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #0A2463;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 3px solid #0A2463;
}

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

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

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

.page-live__cta-section .page-live__section-title::after {
  background-color: #ffffff;
}

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

.page-live__cta-section .page-live__section-text a {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
}

.page-live__cta-section .page-live__section-text a:hover {
  color: #ffffff;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2463;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-live__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

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

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

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

  .page-live__section-text {
    font-size: 0.95em;
  }

  .page-live__game-grid,
  .page-live__bonus-cards,
  .page-live__features-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-live__game-image,
  .page-live__bonus-image,
  .page-live__feature-icon {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Constrain height for better mobile layout */
    object-fit: contain; /* Use contain for better fit on mobile */
  }

  .page-live__cta-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }

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

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

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

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

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