/* style/live.css */
.page-live {
  color: #ffffff; /* Text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  border-radius: 10px;
}

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

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  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.3s ease;
  white-space: nowrap;
}

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

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

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

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

.page-live__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
}

.page-live__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #f0f0f0;
}

.page-live__section-outro {
  font-size: 1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 50px auto 0;
  color: #cccccc;
}

.page-live__about-section, .page-live__games-section, .page-live__rules-section, .page-live__promotions-section, .page-live__get-started-section, .page-live__cta-section {
  padding: 60px 0;
}

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

.page-live__feature-card, .page-live__game-card, .page-live__promo-card, .page-live__rule-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent background for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-live__feature-card:hover, .page-live__game-card:hover, .page-live__promo-card:hover, .page-live__rule-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-live__rule-title a {
  color: #FCBC45;
  text-decoration: none;
}

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

.page-live__feature-description, .page-live__game-description, .page-live__promo-description, .page-live__rule-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(252, 188, 69, 0.3);
}

.page-live__button--play, .page-live__button--claim, .page-live__button--view, .page-live__button--details, .page-live__button--register-step, .page-live__button--deposit-step, .page-live__button--play-step {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 20px;
  border-radius: 5px;
}

.page-live__button--play:hover, .page-live__button--claim:hover, .page-live__button--view:hover, .page-live__button--details:hover, .page-live__button--register-step:hover, .page-live__button--deposit-step:hover, .page-live__button--play-step:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-live__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-live__cta-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for CTA */
  text-align: center;
  padding: 80px 20px;
  border-radius: 10px;
  margin: 60px auto;
  max-width: 1000px;
}

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

.page-live__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

.page-live__button--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-live__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-live__section-outro a {
  color: #FCBC45;
  text-decoration: none;
}

.page-live__section-outro a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 0;
    min-height: 60vh;
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__features-grid, .page-live__games-grid, .page-live__promo-grid, .page-live__steps-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-image {
    height: 200px;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button--primary, .page-live__button--secondary {
    width: 80%;
    margin: 0 auto;
    padding: 15px 25px;
    font-size: 1.1em;
  }

  /* Mobile content image overflow prevention */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__game-image {
    height: auto; /* Allow auto height for responsive images */
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-live__hero-section {
    padding: 40px 0;
    min-height: 50vh;
  }
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__feature-card, .page-live__game-card, .page-live__promo-card, .page-live__rule-card, .page-live__step-item {
    padding: 20px;
  }
  .page-live__feature-title, .page-live__game-title, .page-live__promo-title, .page-live__rule-title, .page-live__step-title {
    font-size: 1.4em;
  }
  .page-live__cta-title {
    font-size: 1.6em;
  }
  .page-live__button--primary, .page-live__button--secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
}