.page-live {
  color: #333333; /* Dark text for light body background (var(--secondary-color) is #FFFFFF) */
  background-color: var(--secondary-color); /* Inherits from shared.css, which is #FFFFFF */
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* White text for hero content over dark/rich image */
  text-align: center;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
}

.page-live__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Darken image for text readability, NO COLOR CHANGE */
}

.page-live__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-live__hero-content {
  position: relative;
  z-index: 3; /* Ensure content is above image */
}

.page-live__hero-title {
  font-size: 3.5em;
  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.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-live__hero-actions {
  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, transform 0.2s ease;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
}

.page-live__button--primary {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* Text color for register from config */
}

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

.page-live__button--secondary {
  background-color: transparent;
  color: #FCBC45; /* Text color for login from config */
  border: 2px solid #FCBC45;
}

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

.page-live__button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-live__button--center {
  display: block;
  margin: 30px auto 0;
  width: fit-content;
}

.page-live__section {
  padding: 60px 20px;
  border-bottom: 1px solid #eee;
}

.page-live__section:last-of-type {
  border-bottom: none;
}

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

.page-live__heading {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

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

.page-live__text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-live__text--center {
  text-align: center;
}

.page-live__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
}

.page-live__image--responsive {
  max-width: 100%;
  height: auto;
}

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

.page-live__game-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__game-card-image {
  width: 100%;
  height: 267px; /* Fixed height for consistency, 400x267 aspect ratio */
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-live__game-card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-live__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-live__feature-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

.page-live__provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-live__provider-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-live__provider-logo {
  max-width: 180px; /* Max width for provider logos, will be overridden by min-width on mobile if needed */
  height: auto;
  margin-bottom: 15px;
  filter: grayscale(80%); /* Allowed for style, not color change */
  transition: filter 0.3s ease;
}

.page-live__provider-logo:hover {
  filter: grayscale(0%);
}

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

.page-live__provider-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
}

.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-live__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

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

.page-live__promo-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 20px;
}

.page-live__promo-card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency, 800x450 aspect ratio */
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-live__promo-card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-live__detail-list {
  margin-top: 30px;
}

.page-live__detail-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-live__detail-title a {
  color: #000000;
  text-decoration: none;
}

.page-live__detail-title a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

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

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

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

.page-live__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-live__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-question::after {
  transform: rotate(45deg);
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
  margin-top: 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
  padding-top: 0;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-live__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 15px;
    min-height: 500px;
  }
  .page-live__hero-title {
    font-size: 2.5em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__section {
    padding: 40px 15px;
  }
  .page-live__heading {
    font-size: 1.8em;
  }
  .page-live__text {
    font-size: 0.95em;
  }
  .page-live__game-grid, .page-live__feature-list, .page-live__provider-grid, .page-live__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__game-card-image, .page-live__promo-card-image {
    height: auto; /* Allow auto height based on aspect ratio */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  /* Ensure all content area images are responsive and not too small */
  .page-live img {
    max-width: 100%;
    height: auto; /* IMPORTANT: Prevents horizontal scrolling */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-live__provider-logo {
    width: 200px; /* Enforce 200px width */
    height: 200px; /* Enforce 200px height */
    object-fit: contain; /* Ensure logo fits within the 200x200 bounds */
    margin: 0 auto 15px; /* Center logos */
  }
  .page-live__image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 2em;
  }
  .page-live__heading {
    font-size: 1.5em;
  }
  .page-live__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-live__hero-section {
    min-height: 400px;
  }
}