.page-live {
  color: #ffffff; /* Light text for dark body background */
  background-color: #000000; /* Ensure section backgrounds are dark as well */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(50, 0, 0, 0.7));
  position: relative;
  overflow: hidden;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-live__button--register {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-live__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-live__hero-image {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  z-index: 1;
}

.page-live__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-live__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-live__section-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__about-section,
.page-live__games-section,
.page-live__features-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Slightly lighter dark for contrast */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-live__games-section {
  background-color: #000000;
}

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

.page-live__game-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-live__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-live__card-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin: 20px 0 10px;
}

.page-live__card-title a {
  color: #FCBC45;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__card-title a:hover {
  color: #e0a53b;
}

.page-live__card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 20px;
}

.page-live__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-live__card-button:hover {
  background-color: #e0a53b;
}

.page-live__section-text--cta {
  margin-top: 40px;
  font-size: 1.2em;
  font-weight: bold;
}

.page-live__button--primary {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
  padding: 15px 40px;
  font-size: 1.2em;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

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

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

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

.page-live__feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #cccccc;
}

.page-live__cta-section {
  text-align: center;
  background: linear-gradient(45deg, #FCBC45, #FCBC45);
  padding: 80px 20px;
}

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

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

.page-live__cta-section .page-live__section-text {
  color: #333333;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-live__cta-section .page-live__button--register {
  background-color: #000000;
  color: #FCBC45;
  padding: 18px 45px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-live__cta-section .page-live__button--register:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-live__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

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

/* 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: 60px 15px 30px;
  }

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

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

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

  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }

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

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

  .page-live__game-card img,
  .page-live__feature-item img {
    max-width: 100%;
    height: auto;
    max-height: none; /* Remove fixed height constraint for mobile */
  }

  .page-live__game-grid,
  .page-live__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-live__content-wrapper {
    padding: 30px 15px;
  }

  .page-live__button--primary {
    width: 90%;
  }

  .page-live__hero-image img,
  .page-live__game-card img,
  .page-live__feature-item img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-live__hero-image,
  .page-live__game-card,
  .page-live__feature-item,
  .page-live__faq-item {
    width: 100%;
    box-sizing: border-box; /* Ensure padding/border is included in width */
  }
}