/* style/live.css */
.page-live {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-live__section-padding {
  padding: 80px 20px;
}

.page-live__section--dark {
  background-color: #000000; /* Dark background for sections */
  color: #ffffff; /* Light text for dark background */
}

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

.page-live__section-title {
  font-size: 2.8em;
  color: inherit; /* Inherit color from parent section */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit; /* Inherit color from parent section */
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
  padding: 0;
}

.page-live__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image to make text stand out */
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  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;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

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

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

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

.page-live__button--explore:hover {
  background-color: #e0a83a;
  color: #000000;
}

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

.page-live__feature-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-live__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live__card-description {
  color: #555555;
  font-size: 1em;
}

.page-live__image-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-live__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* 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: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-live__game-card:hover {
  transform: translateY(-5px);
}

.page-live__game-card .page-live__card-title {
  color: #ffffff;
}

.page-live__game-card .page-live__card-description {
  color: #e0e0e0;
}

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

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

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

.page-live__promo-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-live__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-live__button--claim:hover {
  background-color: #e0a83a;
}

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

.page-live__step-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-live__step-card:hover {
  transform: translateY(-5px);
}

.page-live__step-number {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-live__step-card .page-live__card-title {
  color: #ffffff;
}

.page-live__step-card .page-live__card-description {
  color: #e0e0e0;
}

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

.page-live__button--action:hover {
  background-color: #e0a83a;
}

/* Responsible Gaming Section */
.page-live__button--info {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
  margin-top: 40px;
}

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

/* FAQ Section */
.page-live__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

/* CTA Section */
.page-live__cta-content {
  text-align: center;
}

.page-live__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }

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

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

@media (max-width: 768px) {
  .page-live__section-padding {
    padding: 60px 15px;
  }

  .page-live__hero-section {
    min-height: 500px;
  }

  .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: 100%;
    max-width: 300px;
  }

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

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

  /* Ensure all content images are responsive and do not overflow */
  .page-live__image-wrapper img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min width is respected */
    min-height: 200px; /* Ensure min height is respected */
  }
  
  /* IMPORTANT: All images within .page-live must be responsive on mobile */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box; /* Include padding/border in width calculation */
  }

  .page-live__features-grid, .page-live__games-grid, .page-live__promo-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-live__step-card {
    padding-top: 40px;
  }

  .page-live__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }

  .page-live__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

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

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

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