.page-live {
  color: #ffffff; /* Text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the image to ensure text readability */
}

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

.page-live__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-live__hero-buttons {
  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.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-live__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-live__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-live__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #000000; /* Main content area dark background */
  color: #ffffff; /* Light text for dark background */
}

.page-live__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with accent color */
  font-weight: bold;
}

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

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

.page-live__feature-card,
.page-live__game-card,
.page-live__benefit-item,
.page-live__blog-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-live__feature-card:hover,
.page-live__game-card:hover,
.page-live__benefit-item:hover,
.page-live__blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.page-live__feature-icon,
.page-live__benefit-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-live__feature-title,
.page-live__game-title,
.page-live__benefit-title,
.page-live__blog-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-live__feature-title a,
.page-live__game-title a,
.page-live__blog-title a {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__feature-title a:hover,
.page-live__game-title a:hover,
.page-live__blog-title a:hover {
  color: #FFFFFF;
}

.page-live__feature-description,
.page-live__game-description,
.page-live__benefit-text,
.page-live__blog-excerpt {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-live__game-image,
.page-live__blog-image {
  width: 100%;
  height: 200px; /* Adjust height to maintain aspect ratio for cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Ensure card images are not too small */
}

.page-live__game-card .page-live__button--play,
.page-live__blog-card .page-live__button--read-more {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  min-width: unset;
}

.page-live__game-card .page-live__button--play:hover,
.page-live__blog-card .page-live__button--read-more:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-live__responsible-gaming {
  background-color: #1a1a1a; /* Slightly different dark background */
  padding: 60px 20px;
  text-align: center;
  color: #ffffff;
}

.page-live__responsible-gaming .page-live__section-title {
  color: #FCBC45;
}

.page-live__button--learn-more {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  margin-top: 30px;
}

.page-live__button--learn-more:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-live__cta-section {
  background-color: #000000;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

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

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

.page-live__button--register-cta {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live__button--register-cta:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-live__button--login-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live__button--login-cta:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-live__faq-section {
  background-color: #0d0d0d; /* Another dark shade for contrast */
  padding: 60px 20px;
  color: #ffffff;
}

.page-live__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-live__faq-question {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #cccccc;
}

.page-live__blog-preview {
  background-color: #000000;
  padding: 60px 20px;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-live__button {
    min-width: unset;
    width: 100%;
  }

  .page-live__content-area {
    padding: 40px 15px;
  }

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

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

  .page-live__features-grid,
  .page-live__game-grid,
  .page-live__benefits-grid,
  .page-live__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Ensure all images within .page-live are responsive and do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  .page-live__feature-icon,
  .page-live__benefit-icon {
    width: 100%; /* Make icons fill card width if needed */
    height: auto; /* Maintain aspect ratio */
    min-height: 200px; /* Ensure minimum height for content images */
    object-fit: cover;
  }

  .page-live__game-image,
  .page-live__blog-image {
    height: auto; /* Maintain aspect ratio */
    min-height: 200px; /* Ensure minimum height for content images */
  }

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

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

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

  .page-live__hero-buttons,
  .page-live__cta-buttons {
    flex-direction: column;
  }
}