/* style/live.css */
.page-live {
  color: #333333; /* Default text color for light body background */
}

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-live__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
}

.page-live__hero-title {
  font-size: 3.5rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.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;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.page-live__button--primary {
  background-color: #FFD700;
  color: #0A2463;
}

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

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

.page-live__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-live__button--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

.page-live__section-title {
  font-size: 2.5rem;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-live__section-intro {
  font-size: 1.1rem;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

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

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

.page-live__feature-icon,
.page-live__game-image,
.page-live__promo-image,
.page-live__step-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensures images behave as blocks for margin auto */
  margin-left: auto;
  margin-right: auto;
}

.page-live__feature-title,
.page-live__game-title,
.page-live__promo-title,
.page-live__step-title {
  font-size: 1.6rem;
  color: #0A2463;
  margin-bottom: 15px;
}

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

.page-live__app-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-live__app-section .page-live__section-title {
  color: #FFD700;
}

.page-live__app-section .page-live__section-intro {
  color: #f0f0f0;
}

.page-live__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.page-live__app-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-live__app-details {
  max-width: 500px;
  text-align: left;
}

.page-live__app-title {
  font-size: 2.2rem;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-live__app-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-live__promotions-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-live__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-live__responsible-gaming-section {
  background-color: #e9f0f7;
  padding: 60px 0;
  text-align: center;
}

.page-live__insights-section {
  padding: 60px 0;
}

.page-live__details-list {
  margin-top: 40px;
}

.page-live__details-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.page-live__details-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-live__details-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.page-live__details-title a {
  color: #0A2463;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__details-title a:hover {
  color: #FFD700;
}

.page-live__details-description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-live__cta-section {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-live__cta-title {
  font-size: 3rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-live__cta-description {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

  .page-live__hero-description {
    font-size: 1.1rem;
  }

  .page-live__app-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-live__app-details {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

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

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

  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

  .page-live__section-intro {
    font-size: 0.95rem;
  }

  .page-live__feature-title,
  .page-live__game-title,
  .page-live__promo-title,
  .page-live__step-title {
    font-size: 1.4rem;
  }

  .page-live__app-title {
    font-size: 1.8rem;
  }

  .page-live__app-description {
    font-size: 1rem;
  }

  .page-live__cta-title {
    font-size: 2.5rem;
  }

  .page-live__cta-description {
    font-size: 1rem;
  }

  .page-live__feature-icon,
  .page-live__game-image,
  .page-live__promo-image,
  .page-live__step-icon,
  .page-live__app-image {
    max-width: 100%;
    height: auto; /* Ensure mobile images do not overflow */
    min-width: 200px;
    min-height: 200px;
  }

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

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

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

  .page-live__cta-title {
    font-size: 2rem;
  }
}