.page-live {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF; /* Explicitly setting page background for consistency */
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 20px 60px; /* Adjusted padding, header offset is handled by .page-live */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text on dark background */
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure hero section has a decent height */
}

.page-live__hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight H1 with brand accent color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
  color: #FFFFFF;
}

.page-live__hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  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;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* General Section Styling */
.page-live__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__section--dark {
  background-color: #000000;
  color: #FFFFFF;
}

.page-live__section--light {
  background-color: #F8F8F8;
  color: #333333;
}

.page-live__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000; /* Default for light sections */
}

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

.page-live__text-content {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: justify;
}

/* Games Grid */
.page-live__games-grid {
  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;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-live__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-live__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-live__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__game-card .page-live__button {
  width: 100%;
  background-color: #FCBC45;
  color: #000000;
}

.page-live__game-card .page-live__button:hover {
  background-color: #e0a53b;
}

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

.page-live__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-item-image {
  width: 300px; /* Min size 200px, so 300px is safe */
  height: 200px; /* Min size 200px */
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-live__feature-item-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
}

/* Guide Section */
.page-live__guide-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-live__guide-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-live__guide-step {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 20px;
}

.page-live__guide-step-number {
  font-size: 2em;
  font-weight: bold;
  color: #FCBC45;
  background-color: #000000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-live__guide-step-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333333;
}

.page-live__guide-step-text a {
  color: #000000; /* Default link color */
  font-weight: bold;
  text-decoration: underline;
}

.page-live__guide-step-text a:hover {
  color: #FCBC45;
}

.page-live__guide-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-link {
  display: inline-block;
  margin-top: 20px;
  color: #000000;
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.1em;
}

.page-live__responsible-gaming-link:hover {
  color: #FCBC45;
}

/* CTA Section */
.page-live__cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

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

.page-live__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Subtle background image */
  min-width: 200px;
  min-height: 200px;
}

.page-live__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-content h1 {
    font-size: 2.8em;
  }
  .page-live__hero-content p {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__game-card-title,
  .page-live__feature-item-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__hero-section {
    padding: 60px 20px 40px;
  }
  .page-live__hero-content h1 {
    font-size: 2.2em;
  }
  .page-live__hero-content p {
    font-size: 1em;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 150px;
  }
  .page-live__section {
    padding: 40px 15px;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-live__games-grid,
  .page-live__features-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-card-image {
    height: 200px;
  }
  .page-live__guide-step {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .page-live__guide-step-number {
    margin-bottom: 10px;
  }
  .page-live__cta-section {
    padding: 60px 20px;
  }
}