.page-live {
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #1A1A1A; /* Consistent with body background */
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
}

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

.page-live__section-title,
.page-live__hero-title {
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-live__section-intro,
.page-live__hero-description {
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

.page-live__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 10px;
  font-size: 1em;
  border: none;
  cursor: pointer;
}

.page-live__button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-live__button--primary:hover {
  background-color: #e6c200;
}

.page-live__button--secondary {
  background-color: #DC143C;
  color: #ffffff;
}

.page-live__button--secondary:hover {
  background-color: #b31032;
}

.page-live__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
}

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

.page-live__hero-container {
  position: relative;
}

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

.page-live__hero-title {
  font-size: 3.8em;
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-live__hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.page-live__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-live__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-live__feature-text {
  color: #cccccc;
  font-size: 1em;
}

/* Games Section */
.page-live__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-live__game-title {
  color: #FFD700;
  font-size: 1.4em;
  margin: 20px 0 10px 0;
}

.page-live__game-description {
  color: #cccccc;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* Promo Section */
.page-live__promo-section {
  background-color: #1A1A1A;
  padding: 60px 0;
}

.page-live__promo-card {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-live__promo-card:nth-child(even) {
  flex-direction: column-reverse; /* Alternate layout */
}

.page-live__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-live__promo-content {
  padding: 30px;
  text-align: center;
}

.page-live__promo-title {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-live__promo-description {
  color: #cccccc;
  margin-bottom: 25px;
}

/* Mobile Section */
.page-live__mobile-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

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

.page-live__mobile-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-live__mobile-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  color: #f0f0f0;
}

.page-live__mobile-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
}

.page-live__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-color: #FFD700; /* Placeholder for icon background/color */
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  color: #1A1A1A;
  font-weight: bold;
}

.page-live__icon--mobile::before { content: '📱'; }
.page-live__icon--hd::before { content: '📺'; }
.page-live__icon--secure::before { content: '🔒'; }

/* CTA Section */
.page-live__cta-section {
  background-color: #DC143C;
  padding: 80px 20px;
  text-align: center;
}

.page-live__cta-title {
  color: #FFD700;
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-live__cta-description {
  color: #ffffff;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__cta-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;
  }
  .page-live__button {
    width: 80%;
    margin: 10px auto;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__section-intro {
    font-size: 0.95em;
  }
  .page-live__features-grid,
  .page-live__games-grid {
    grid-template-columns: 1fr;
  }
  .page-live__promo-card {
    flex-direction: column !important;
  }
  .page-live__promo-title {
    font-size: 1.5em;
  }
  .page-live__mobile-flex {
    flex-direction: column;
  }
  .page-live__mobile-image {
    order: -1; /* Image above text on mobile */
    max-width: 100%;
    height: auto;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }

  /* Enforce image sizing for mobile to prevent overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__game-image {
    height: 200px; /* Adjust height for mobile */
  }
  .page-live__promo-image {
    max-width: 100%;
    height: auto;
  }

  /* All content images must be >= 200px. These rules ensure they are not smaller than that. */
  .page-live__hero-image,
  .page-live__game-image,
  .page-live__promo-image,
  .page-live__mobile-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-description {
    font-size: 0.9em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__promo-title {
    font-size: 1.3em;
  }
  .page-live__cta-title {
    font-size: 1.6em;
  }
}