.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 {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

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

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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, transform 0.2s ease;
  border: none;
  cursor: pointer;
  min-width: 200px; /* Ensure buttons are large enough */
  text-align: center;
}

.page-live__button--register {
  background-color: #FFFFFF; /* Custom color for Register */
  color: #000000;
}

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

.page-live__button--login {
  background-color: #FCBC45; /* Custom color for Login */
  color: #000000;
}

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

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

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

.page-live__games-overview {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-live__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-live__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

.page-live__game-card-text {
  color: #666666;
  font-size: 1em;
  padding: 0 20px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__button--play {
  background-color: #FCBC45;
  color: #000000;
  margin-top: auto;
  align-self: center;
}

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

.page-live__why-choose {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-live__feature-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-live__feature-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-live__button--promo, .page-live__button--support {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: auto;
  align-self: flex-start;
  min-width: unset;
  padding: 10px 20px;
  font-size: 1em;
}

.page-live__button--promo:hover, .page-live__button--support:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-live__providers {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-live__provider-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-live__provider-name {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
}

.page-live__provider-description {
  color: #666666;
  font-size: 0.95em;
}

.page-live__responsible-gaming {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-live__responsible-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.page-live__button--info {
  background-color: #000000;
  color: #FFFFFF;
  min-width: 180px;
}

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

.page-live__cta-bottom {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-live__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-live__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

  .page-live__section-title {
    font-size: 2em;
  }

  .page-live__game-card-image, .page-live__game-card {
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 0;
  }

  .page-live__hero-title {
    font-size: 2.5em;
  }

  .page-live__hero-description {
    font-size: 1.1em;
  }

  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__button {
    width: 80%;
    max-width: 300px;
  }

  .page-live__section-title {
    font-size: 1.8em;
  }

  .page-live__section-description {
    font-size: 1em;
  }

  .page-live__game-cards, .page-live__features, .page-live__provider-list {
    grid-template-columns: 1fr;
  }

  .page-live__game-card-image, .page-live__game-card img, .page-live__hero-image {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-live__hero-image {
    min-height: 200px; /* Ensure hero image is not too small */
  }

  .page-live__feature-item img, .page-live__provider-item img {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-live__cta-title {
    font-size: 2.2em;
  }

  .page-live__cta-description {
    font-size: 1em;
  }

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__button--large {
    width: 80%;
    max-width: 300px;
  }

  /* Critical: Ensure content images do not overflow on mobile */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-live__hero-description {
    font-size: 0.9em;
  }

  .page-live__section-title {
    font-size: 1.5em;
  }

  .page-live__cta-title {
    font-size: 1.8em;
  }
}

/* Ensure all content area images are at least 200px wide/high */
.page-live__game-card-image, 
.page-live__feature-item img, 
.page-live__provider-item img {
  min-width: 200px;
  min-height: 200px;
}