.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__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent dark background for hero */
  border-bottom: 2px solid #FFD700;
}

.page-live__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-live__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

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

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

.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.2s ease;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
}

.page-live__button--primary {
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Black text on gold */
  border: 2px solid #FFD700;
}

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

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

.page-live__button--secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-2px);
}

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

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

.page-live__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.page-live__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 50px;
  color: #cccccc;
}

.page-live__games-overview-section,
.page-live__why-choose-section,
.page-live__get-started-section,
.page-live__promotions-section,
.page-live__responsible-gaming-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

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

.page-live__game-card,
.page-live__feature-item,
.page-live__step-item,
.page-live__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-live__game-card-image,
.page-live__promo-card-image {
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover; /* Ensure images fill their space without distortion */
}

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

.page-live__game-card-text,
.page-live__feature-description,
.page-live__step-text,
.page-live__promo-card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  min-width: unset;
  width: fit-content;
  margin: 0 auto; /* Center small buttons */
}

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

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

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

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

/* Responsible Gaming specific styling */
.page-live__responsible-gaming-section {
  background-color: rgba(220, 20, 60, 0.15); /* Deep red background for emphasis */
  border-left: 5px solid #DC143C;
  padding: 40px;
  margin-top: 80px;
  border-radius: 10px;
}

.page-live__responsible-gaming-section .page-live__section-title {
  color: #DC143C;
  text-shadow: none;
  margin-top: 0;
  margin-bottom: 20px;
}

.page-live__responsible-gaming-section .page-live__section-description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 40px 15px;
  }
  .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__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-live__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-live__game-cards-grid,
  .page-live__features-grid,
  .page-live__steps-grid,
  .page-live__promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-card,
  .page-live__feature-item,
  .page-live__step-item,
  .page-live__promo-card {
    padding: 20px;
  }
  .page-live__game-card-image,
  .page-live__promo-card-image {
    max-width: 100%;
    height: auto;
  }
  /* Enforce max-width for all images within .page-live to prevent overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__button--small {
    width: 80%;
    max-width: 200px;
  }
  .page-live__responsible-gaming-section {
    padding: 30px 20px;
  }
}

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