.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); /* Ensures content is not hidden by fixed header */
}

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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000; /* Dark background for hero content overlay */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
  z-index: 1;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-live__hero-description {
  font-size: 1.4em;
  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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-live__button--primary {
  background-color: #FFD700; /* Primary color */
  color: #333333;
}

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

.page-live__button--secondary {
  background-color: #8B0000; /* Secondary color */
  color: #ffffff;
}

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

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px;
}

.page-live__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  min-width: 180px;
}

.page-live__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Secondary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-live__about-section, .page-live__games-section, .page-live__features-section, .page-live__getting-started-section, .page-live__promotions-section, .page-live__responsible-gambling-section, .page-live__cta-section {
  padding: 80px 0;
  background-color: #f4f4f4; /* Light background for sections */
}

.page-live__about-section .page-live__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live__image--centered {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  min-width: 400px; /* Minimum image width */
  min-height: 300px; /* Minimum image height */
}

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

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

.page-live__game-card:hover {
  transform: translateY(-5px);
}

.page-live__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 280px; /* Ensure card images are not too small */
  min-height: 200px;
}

.page-live__game-card-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-card-title a {
  color: #8B0000;
  text-decoration: none;
}

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

.page-live__game-card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-live__feature-item, .page-live__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live__feature-item:hover, .page-live__step-item:hover {
  transform: translateY(-5px);
}

.page-live__feature-icon, .page-live__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure feature icons are not too small */
  min-height: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__feature-description, .page-live__step-description {
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-live__promotions-section .page-live__text-content, .page-live__responsible-gambling-section .page-live__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live__promotions-section .page-live__button, .page-live__responsible-gambling-section .page-live__button {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-live__cta-section {
  background-color: #8B0000; /* Secondary color for CTA background */
  color: #ffffff;
  text-align: center;
}

.page-live__cta-section .page-live__section-title {
  color: #FFD700;
}

.page-live__cta-section .page-live__section-title::after {
  background-color: #FFD700;
}

.page-live__cta-section .page-live__text-content {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.2em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .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: 250px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__game-cards, .page-live__features-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__image--centered,
  .page-live__game-card-image,
  .page-live__feature-icon,
  .page-live__step-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images maintain minimum size */
    min-height: 200px;
  }
  .page-live__cta-actions {
    flex-direction: column;
  }
  .page-live__button--large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__hero-content {
    padding: 20px 15px;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__about-section, .page-live__games-section, .page-live__features-section, .page-live__getting-started-section, .page-live__promotions-section, .page-live__responsible-gambling-section, .page-live__cta-section {
    padding: 50px 0;
  }
  .page-live__container {
    padding: 0 15px;
  }
}