/* style/live.css */
.page-live {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-live__hero-container {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF; /* Light text for hero overlay */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  padding: 40px;
  border-radius: 8px;
  max-width: 800px;
  margin: 20px;
}

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

.page-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-live__cta-button:hover {
  background-color: #e0a53b;
}

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

.page-live__section-title {
  font-size: 2.5em;
  color: #000000; /* Dark text for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
}

.page-live__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-live__games-section,
.page-live__why-choose-section,
.page-live__how-to-start-section,
.page-live__promotions-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__call-to-action-bottom {
  padding: 60px 0;
}

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

.page-live__game-card,
.page-live__feature-item,
.page-live__step-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__game-card:hover,
.page-live__feature-item:hover,
.page-live__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-live__game-card-image,
.page-live__feature-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-live__game-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-live__view-details-button {
  display: inline-block;
  background-color: #000000; /* Dark button for general actions */
  color: #FFFFFF; /* Light text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-live__view-details-button:hover {
  background-color: #333333;
}

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

.page-live__feature-description {
  font-size: 0.95em;
  color: #555555;
}

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

.page-live__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-live__step-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 180px;
  text-align: center;
}

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

.page-live__step-button--register:hover {
  background-color: #e0e0e0;
}

.page-live__step-button--deposit,
.page-live__step-button--play {
  background-color: #FCBC45; /* Login/CTA color */
  color: #000000;
}

.page-live__step-button--deposit:hover,
.page-live__step-button--play:hover {
  background-color: #e0a53b;
}

.page-live__promo-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-live__promo-button:hover {
  background-color: #333333;
}

.page-live__responsible-gaming-link {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  color: #FCBC45; /* Accent color for links */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

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

.page-live__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-live__faq-question {
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  padding-right: 30px;
  position: relative;
}

.page-live__faq-question::marker {
  content: ''; /* Hide default marker */
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5em;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
  color: #FCBC45;
}

.page-live__faq-item[open] .page-live__faq-question::after {
  content: '-';
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-top: 15px;
  border-top: 1px solid #eeeeee;
  margin-top: 15px;
}

.page-live__faq-link {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-live__faq-link:hover {
  background-color: #333333;
}

.page-live__call-to-action-bottom {
  position: relative;
  width: 100%;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

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

.page-live__cta-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6); /* Darker overlay for strong contrast */
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  color: #FFFFFF;
}

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

.page-live__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-live__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header offset */
  }
  .page-live__hero-content {
    padding: 30px 20px;
  }
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__cta-button {
    width: 100%;
    max-width: 280px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__game-grid,
  .page-live__features-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-card-image,
  .page-live__feature-icon,
  .page-live__image-full-width,
  .page-live__cta-image-background {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  /* Ensure all images within .page-live do not cause horizontal scrolling */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }
  .page-live__cta-overlay {
    padding: 40px 15px;
  }
  .page-live__step-button {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.6em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__paragraph {
    font-size: 0.9em;
  }
  .page-live__game-card-title {
    font-size: 1.3em;
  }
  .page-live__feature-title,
  .page-live__step-title {
    font-size: 1.2em;
  }
  .page-live__faq-question {
    font-size: 1.1em;
  }
  .page-live__cta-title {
    font-size: 1.6em;
  }
  .page-live__cta-description {
    font-size: 0.9em;
  }
}