/* 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); /* Ensures content starts below fixed header */
}

.page-live__hero-section {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.8) 100%);
  color: #FFFFFF;
  overflow: hidden;
  display: flex; /* Use flexbox for image behind content */
  align-items: center;
  justify-content: center;
}

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

.page-live__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__btn {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-live__btn--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-live__btn--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-live__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-live__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-live__section-footer-text {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #555555;
}

.page-live__section-footer-text a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

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

.page-live__featured-games-section,
.page-live__why-choose-section,
.page-live__promotions-section,
.page-live__get-started-section,
.page-live__faq-section,
.page-live__contact-cta-section,
.page-live__responsible-gaming-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

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

.page-live__game-card,
.page-live__promo-card,
.page-live__step-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

.page-live__game-title a, .page-live__promo-title a {
  color: #000000;
  text-decoration: none;
}

.page-live__game-title a:hover, .page-live__promo-title a:hover {
  color: #FCBC45;
}

.page-live__game-description,
.page-live__promo-description,
.page-live__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__why-choose-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-live__why-choose-content {
  flex: 1;
  min-width: 300px;
}

.page-live__why-choose-image {
  flex: 1;
  min-width: 300px;
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-live__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-live__feature-item {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}

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

.page-live__feature-description {
  color: #555555;
}

.page-live__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-live__faq-answer {
  color: #555555;
  line-height: 1.7;
}

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

.page-live__faq-answer a:hover {
  text-decoration: underline;
}

.page-live__contact-cta-section {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  border-radius: 10px;
  margin-top: 60px;
}

.page-live__contact-cta-section .page-live__section-title {
  color: #FFFFFF;
}

.page-live__contact-cta-section .page-live__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-live__responsible-gaming-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  margin-top: 60px;
}

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

.page-live__responsible-gaming-section .page-live__section-intro,
.page-live__responsible-gaming-section .page-live__section-text {
  color: #555555;
}

.page-live__responsible-gaming-section a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-live__responsible-gaming-section a:hover {
  text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }

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

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

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

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

  .page-live__btn {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }

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

  .page-live__featured-games-section,
  .page-live__why-choose-section,
  .page-live__promotions-section,
  .page-live__get-started-section,
  .page-live__faq-section,
  .page-live__contact-cta-section,
  .page-live__responsible-gaming-section {
    padding: 40px 15px;
  }

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

  .page-live__why-choose-section {
    flex-direction: column;
  }

  .page-live__why-choose-image {
    max-width: 100%;
  }

  .page-live__game-image,
  .page-live__promo-image {
    height: auto; /* Allow height to adjust for mobile */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }

  /* Critical: Ensure all images within .page-live are responsive */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  .page-live__game-image,
  .page-live__promo-image,
  .page-live__why-choose-image {
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
  }
}

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

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

  .page-live__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

  .page-live__game-card,
  .page-live__promo-card,
  .page-live__step-card {
    padding: 20px;
  }

  .page-live__faq-question {
    font-size: 1.2em;
  }
}