.page-live {
  color: #333333;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0d0d0d; /* Dark background for hero text contrast */
}

.page-live__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability, not changing color */
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #ffffff;
  max-width: 90%;
}

.page-live__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-live__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-live__btn--primary {
  background-color: #FFD700;
  color: #8B0000;
}

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

.page-live__btn--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__btn--secondary:hover {
  background-color: #6a0000;
}

.page-live__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

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

.page-live__features-section, .page-live__games-section, .page-live__getting-started-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
}

.page-live__experience-section, .page-live__community-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-live__experience-section .page-live__section-title,
.page-live__community-section .page-live__section-title {
  color: #FFD700;
}

.page-live__experience-section .page-live__section-intro,
.page-live__community-section .page-live__section-intro {
  color: #cccccc;
}

.page-live__features-container, .page-live__games-container, .page-live__experience-container, .page-live__getting-started-container, .page-live__community-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-live__feature-card, .page-live__game-card, .page-live__info-card, .page-live__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-live__experience-section .page-live__info-card,
.page-live__community-section .page-live__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.page-live__feature-card .page-live__card-title,
.page-live__game-card .page-live__card-title,
.page-live__info-card .page-live__card-title,
.page-live__step-card .page-live__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-live__feature-card .page-live__card-description,
.page-live__game-card .page-live__card-description,
.page-live__info-card .page-live__card-description,
.page-live__step-card .page-live__card-description {
  color: #888888;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__experience-section .page-live__info-card .page-live__card-description,
.page-live__community-section .page-live__step-card .page-live__card-description {
  color: #cccccc;
}

.page-live__game-image, .page-live__info-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-live__more-games-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-live__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-live__community-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  font-size: 1.1em;
  color: #cccccc;
}

@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__hero-description {
    font-size: 1.2em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px);
  }
  .page-live__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__feature-grid, .page-live__game-grid, .page-live__info-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-image, .page-live__info-image {
    max-height: 250px;
  }
  .page-live__hero-section img, .page-live__features-section img, .page-live__games-section img, .page-live__experience-section img, .page-live__getting-started-section img, .page-live__community-section img {
    max-width: 100%;
    height: auto;
  }
  .page-live__feature-card, .page-live__game-card, .page-live__info-card, .page-live__step-card {
    padding: 20px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-intro {
    font-size: 0.95em;
  }
  .page-live__card-title {
    font-size: 1.3em;
  }
  .page-live__card-description {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__btn {
    width: 90%;
  }
  .page-live__hero-image {
    height: 300px;
  }
}