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

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #000000; /* Dark background for hero content */
}

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

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  max-width: 90%;
  z-index: 2;
}

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

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

.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;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

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

.page-live__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

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

.page-live__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-live__button--play, .page-live__button--bet-now, .page-live__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 12px 25px;
  font-size: 1em;
}

.page-live__button--play:hover, .page-live__button--bet-now:hover, .page-live__button--join-now:hover {
  background-color: #000000;
  color: #FCBC45;
}

.page-live__button--view-promo {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-live__button--view-promo:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

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

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

.page-live__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__features-section, .page-live__games-showcase, .page-live__sports-betting-section, .page-live__bonuses-section, .page-live__why-us-section, .page-live__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-live__features-grid, .page-live__games-grid, .page-live__bonuses-grid, .page-live__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live__feature-card, .page-live__game-card, .page-live__bonus-card, .page-live__faq-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-icon, .page-live__game-image, .page-live__bonus-image {
  width: 100%; /* Ensure images take full width of card */
  max-width: 400px; /* Limit max width for smaller cards */
  height: auto;
  min-height: 200px; /* Enforce minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-live__feature-text, .page-live__game-description, .page-live__bonus-description, .page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
}

.page-live__game-card .page-live__button {
  margin-top: 20px;
}

.page-live__sports-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live__sports-image {
  width: 50%;
  height: auto;
  min-height: 300px; /* Ensure minimum height */
  object-fit: cover;
  border-radius: 12px;
}

.page-live__sports-text {
  width: 50%;
}

.page-live__sports-heading {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-live__sports-description {
  font-size: 1.1em;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-live__sports-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-live__sports-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
}

.page-live__list-icon {
  color: #FCBC45;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

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

.page-live__why-us-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-live__why-us-heading {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live__why-us-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-live__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 30px;
  border-radius: 12px;
  margin-top: 60px;
}

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

.page-live__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__faq-item {
  text-align: left;
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__sports-content {
    flex-direction: column;
  }
  .page-live__sports-image, .page-live__sports-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 40px 15px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-subtitle {
    font-size: 1em;
  }
  .page-live__features-grid, .page-live__games-grid, .page-live__bonuses-grid, .page-live__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-live__sports-content {
    gap: 30px;
  }
  .page-live__sports-image, .page-live__sports-text {
    width: 100%;
  }
  .page-live__why-us-grid {
    grid-template-columns: 1fr;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-text {
    font-size: 1em;
  }

  /* Mobile content area images must not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__hero-image {
    min-height: 250px;
  }
  .page-live__feature-icon, .page-live__game-image, .page-live__bonus-image, .page-live__sports-image {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__feature-title, .page-live__game-title, .page-live__bonus-title {
    font-size: 1.3em;
  }
  .page-live__why-us-heading, .page-live__faq-question {
    font-size: 1.2em;
  }
}