.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__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f5f5f5; /* Light background for hero section */
  gap: 40px;
}

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

.page-live__hero-title {
  font-size: 2.8em;
  color: #000000; /* Main color for title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-live__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1.05em;
}

.page-live__btn--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-live__btn--primary:hover {
  background-color: #e0a73d;
  border-color: #e0a73d;
}

.page-live__btn--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #000000;
}

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

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

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-live__overview-section,
.page-live__games-section,
.page-live__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  text-align: center;
}

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

.page-live__section-description {
  font-size: 1.05em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-live__overview-img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-live__item-text {
  color: #666666;
  font-size: 0.95em;
}

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

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

.page-live__game-img {
  width: 100%;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-live__card-text {
  color: #666666;
  font-size: 0.9em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__btn--play {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Accent color */
  border: 2px solid #000000;
}

.page-live__btn--play:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-live__cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background-color: #f0f0f0;
  border-radius: 15px;
  padding: 60px 20px;
  margin: 80px auto;
}

.page-live__cta-content {
  max-width: 900px;
}

.page-live__cta-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-live__cta-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-live__cta-image-wrapper {
  width: 100%;
  max-width: 800px;
}

.page-live__cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.4em;
  }
  .page-live__section-title,
  .page-live__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__btn {
    width: 100%;
    max-width: 300px; /* Constrain button width */
  }
  .page-live__overview-section,
  .page-live__games-section,
  .page-live__cta-section {
    margin: 40px auto;
    padding: 30px 15px;
  }
  .page-live__section-title,
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__section-description,
  .page-live__cta-description {
    font-size: 0.95em;
  }
  .page-live__overview-grid,
  .page-live__games-grid {
    grid-template-columns: 1fr;
  }
  /* Ensure content images are responsive and don't overflow */
  .page-live__hero-image,
  .page-live__overview-img,
  .page-live__game-img,
  .page-live__cta-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__section-title,
  .page-live__cta-title {
    font-size: 1.6em;
  }
  .page-live__btn {
    padding: 12px 20px;
  }
}