.page-live {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #1A202C; /* Dark background for hero */
  position: relative;
  overflow: hidden;
}

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

.page-live__hero-title {
  font-size: 3.2rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-live__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-live__button--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

.page-live__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

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

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

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

.page-live__section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-live__section-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-live__about-section,
.page-live__games-section,
.page-live__promotions-section,
.page-live__cta-section {
  padding: 60px 0;
  background-color: #1A202C;
}

.page-live__about-section {
  background-color: #12171E; /* Slightly different dark background */
}

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

.page-live__about-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-live__about-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 215, 0, 0.05);
}

.page-live__about-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__about-card-title {
  font-size: 1.6rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-live__about-card-text {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.5;
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  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(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-live__game-card-image {
  width: 100%;
  height: 220px; /* Fixed height for game cards */
  object-fit: cover;
}

.page-live__game-card-title {
  font-size: 1.8rem;
  color: #FFD700;
  margin: 20px 0 10px;
  flex-grow: 1;
}

.page-live__game-card-text {
  font-size: 0.95rem;
  color: #cccccc;
  padding: 0 20px 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.page-live__game-card .page-live__button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-live__full-games-cta {
  text-align: center;
  margin-top: 50px;
}

.page-live__promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 15px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-live__promo-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-live__promo-content {
  text-align: center;
}

.page-live__promo-title {
  font-size: 2.2rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-live__promo-text {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-live__cta-section {
  background-color: #12171E;
  text-align: center;
}

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

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

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-live__hero-section {
    padding: 40px 15px;
  }
  .page-live__hero-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .page-live__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 280px; /* Limit button width on small screens */
  }
  .page-live__section-title {
    font-size: 2rem;
    padding-top: 30px;
  }
  .page-live__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-live__about-grid,
  .page-live__games-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-live__about-card,
  .page-live__game-card {
    padding: 25px;
  }
  .page-live__about-card-image,
  .page-live__game-card-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }
  .page-live__promo-card {
    flex-direction: column;
    padding: 30px;
  }
  .page-live__promo-image {
    margin-bottom: 25px;
  }
  .page-live__promo-title {
    font-size: 1.8rem;
  }
  .page-live__promo-text {
    font-size: 1rem;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__container {
    padding: 0 15px;
  }

  /* Enforce min image size and responsive behavior for content images */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__about-card-image, .page-live__game-card-image, .page-live__promo-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8rem;
  }
  .page-live__section-title {
    font-size: 1.6rem;
  }
  .page-live__promo-title {
    font-size: 1.5rem;
  }
}