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

.page-live__hero-section {
  background-color: #007bff; /* Primary color background */
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  padding-bottom: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.page-live__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-live__button--primary {
  background-color: #ffc107;
  color: #007bff;
}

.page-live__button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-live__button--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-live__button--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
  transform: translateY(-3px);
}

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

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  display: block;
}

.page-live__section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-live__section:nth-of-type(even) {
  background-color: #f8f9fa;
}

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

.page-live__heading {
  font-size: 2.8em;
  color: #007bff;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

.page-live__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #495057;
}

.page-live__paragraph a {
  color: #007bff;
  text-decoration: underline;
}

.page-live__paragraph a:hover {
  color: #0056b3;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-live__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-live__game-card-title {
  font-size: 1.6em;
  color: #007bff;
  margin: 25px 20px 15px;
  font-weight: bold;
}

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

.page-live__game-card-link:hover {
  text-decoration: underline;
}

.page-live__game-card-description {
  font-size: 1em;
  color: #6c757d;
  padding: 0 20px 25px;
  flex-grow: 1;
}

.page-live__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-live__feature-item {
  background-color: #e9f5ff; /* Light primary background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
  text-align: center;
}

.page-live__feature-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-live__guide-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  counter-increment: guide-counter;
  position: relative;
  padding-left: 60px;
}

.page-live__guide-item::before {
  content: counter(guide-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  background-color: #ffc107;
  color: #007bff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
}

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

.page-live__promo-image-wrapper {
  margin: 40px auto;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-live__promo-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-live__faq-item {
  background-color: #f0f8ff;
  border: 1px solid #d0e9ff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

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

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

.page-live__container--cta {
  text-align: center;
  background-color: #007bff;
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-live__heading--cta {
  color: #ffc107;
  margin-bottom: 25px;
}

.page-live__paragraph--cta {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__hero-description {
    font-size: 1.2em;
  }
  .page-live__heading {
    font-size: 2.2em;
  }
  .page-live__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    padding-bottom: 40px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__heading {
    font-size: 1.8em;
  }
  .page-live__section {
    padding: 60px 15px;
  }
  .page-live__game-grid, .page-live__feature-list, .page-live__guide-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-card-image {
    height: 200px;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__hero-actions, .page-live__promo-actions, .page-live__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  /* CRITICAL: Ensure all content images are responsive and meet minimum size */
  .page-live img {
    max-width: 100%;
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
    height: auto;
    display: block;
  }
  .page-live__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-live__promo-image {
    max-width: 100%;
    height: auto;
  }
  .page-live__game-card-image {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the area */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__heading {
    font-size: 1.6em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }
  .page-live__guide-item {
    padding-left: 50px;
  }
  .page-live__guide-item::before {
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    left: 15px;
  }
}