/* style/live.css */
.page-live {
  color: #333333; /* Dark text for default white body background */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-live__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  filter: brightness(0.7); /* Darken image for better text contrast */
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  max-height: 700px;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 10px;
  max-width: 800px;
  margin-top: 50px;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

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

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

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

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

.page-live__introduction-section,
.page-live__games-section,
.page-live__features-section,
.page-live__bonuses-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-live__introduction-container,
.page-live__games-container,
.page-live__features-container,
.page-live__bonuses-container,
.page-live__cta-container,
.page-live__faq-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-live__introduction-title,
.page-live__games-title,
.page-live__features-title,
.page-live__bonuses-title,
.page-live__cta-title,
.page-live__faq-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
}

.page-live__introduction-text,
.page-live__games-subtitle,
.page-live__bonuses-description,
.page-live__cta-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555555;
}

.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: #F8F8F8;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-live__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.95em;
  align-self: flex-start;
}

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

.page-live__features-section {
  background-color: #F0F0F0;
}

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

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

.page-live__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-live__feature-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
}

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

.page-live__bonuses-title {
  color: #FCBC45;
}

.page-live__bonuses-description {
  color: #CCCCCC;
}

.page-live__bonus-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__bonus-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.6;
}

.page-live__bonus-item strong {
  color: #FCBC45;
}

.page-live__button--promo {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  margin-top: 30px;
}

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

.page-live__cta-section {
  background-color: #FCBC45;
  color: #000000;
  padding: 80px 20px;
}

.page-live__cta-title {
  color: #000000;
  margin-bottom: 25px;
}

.page-live__cta-text {
  color: #333333;
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

.page-live__button--register-large {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-live__button--register-large:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-live__button--login-large {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-live__button--login-large:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-live__faq-section {
  background-color: #FFFFFF;
}

.page-live__faq-item {
  text-align: left;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #EEEEEE;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__faq-answer {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

.page-live__faq-answer a {
  color: #FCBC45;
  text-decoration: underline;
}

.page-live__faq-answer a:hover {
  color: #e0a53b;
}

.page-live__button--faq {
  background-color: #000000;
  color: #FFFFFF;
  border: none;
  margin-top: 30px;
}

.page-live__button--faq:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.2em;
  }
  .page-live__introduction-title,
  .page-live__games-title,
  .page-live__features-title,
  .page-live__bonuses-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 40px 15px;
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__introduction-section,
  .page-live__games-section,
  .page-live__features-section,
  .page-live__bonuses-section,
  .page-live__cta-section,
  .page-live__faq-section {
    padding: 40px 15px;
  }
  .page-live__introduction-title,
  .page-live__games-title,
  .page-live__features-title,
  .page-live__bonuses-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 1.8em;
  }
  .page-live__game-grid,
  .page-live__feature-list {
    grid-template-columns: 1fr;
  }
  .page-live__game-image {
    height: 200px;
  }
  .page-live__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-live__game-card,
  .page-live__feature-item {
    padding: 20px;
  }
  .page-live__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button--register-large,
  .page-live__button--login-large {
    width: 100%;
    max-width: 300px;
  }
  /* Ensure content images do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__hero-image {
    position: static; /* Remove absolute positioning for better mobile flow */
    filter: brightness(0.5); /* Keep darkening */
    max-height: 400px;
  }
  .page-live__hero-container {
    padding: 20px 0;
  }
  .page-live__hero-content {
    margin-top: -150px; /* Pull content up over the image */
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__introduction-title,
  .page-live__games-title,
  .page-live__features-title,
  .page-live__bonuses-title,
  .page-live__cta-title,
  .page-live__faq-title {
    font-size: 1.5em;
  }
  .page-live__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-live__game-name {
    font-size: 1.5em;
  }
  .page-live__feature-heading {
    font-size: 1.3em;
  }
  .page-live__bonus-item {
    font-size: 1em;
  }
  .page-live__cta-text {
    font-size: 1em;
  }
  .page-live__button--register-large,
  .page-live__button--login-large {
    font-size: 1.05em;
    padding: 15px 30px;
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }
}