/* style/live.css */
.page-live {
  color: #ffffff; /* Text color for light body background */
  background-color: #000000; /* Main background color for the page */
}

.page-live__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

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

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

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

.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, color 0.3s ease, transform 0.2s ease;
}

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

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

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

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

.page-live__section-title {
  font-size: 2.8em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-live__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.page-live__about-section,
.page-live__featured-games-section,
.page-live__why-choose-section,
.page-live__how-to-start-section,
.page-live__promotions-cta-section,
.page-live__responsible-gaming-section,
.page-live__final-cta-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #ffffff;
}

.page-live__about-container,
.page-live__featured-games-container,
.page-live__why-choose-container,
.page-live__how-to-start-container,
.page-live__promotions-cta-container,
.page-live__responsible-gaming-container,
.page-live__final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__about-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-live__game-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-live__card-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-live__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-live__card-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-live__button--link {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  text-decoration: none;
}

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

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

.page-live__feature-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

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

.page-live__feature-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
}

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

.page-live__step-item {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-live__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

.page-live__button--inline {
  background-color: transparent;
  color: #FCBC45;
  border: 1px solid #FCBC45;
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
  text-decoration: none;
}

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

.page-live__promotions-cta-section {
  text-align: center;
}

.page-live__promotions-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-live__responsible-gaming-section {
  background-color: #1a1a1a;
  padding: 60px 20px;
}

.page-live__text-link {
  color: #FCBC45;
  text-decoration: underline;
}

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

.page-live__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-live__final-cta-container .page-live__button {
  margin: 0 10px;
}

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

@media (max-width: 768px) {
  .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__section-text {
    font-size: 0.95em;
  }
  .page-live__about-section,
  .page-live__featured-games-section,
  .page-live__why-choose-section,
  .page-live__how-to-start-section,
  .page-live__promotions-cta-section,
  .page-live__responsible-gaming-section,
  .page-live__final-cta-section {
    padding: 60px 15px;
  }
  .page-live__game-cards,
  .page-live__features-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Ensure images do not overflow on mobile */
  .page-live img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-live__hero-content {
    width: 95%;
  }
  .page-live__final-cta-container .page-live__button {
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__section-text {
    font-size: 0.9em;
  }
  .page-live__card-title {
    font-size: 1.5em;
  }
  .page-live__feature-title,
  .page-live__step-title {
    font-size: 1.3em;
  }
}