.page-live {
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Assuming shared.css sets this to a light color */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-live__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-live__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

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

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

.page-live__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

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

.page-live__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

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

.page-live__button--primary:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

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

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

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

.page-live__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-live__button--centered {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-live__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  padding-top: 60px;
}

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

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

.page-live__introduction-section,
.page-live__games-showcase-section,
.page-live__why-choose-section,
.page-live__getting-started-section,
.page-live__promotions-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__call-to-action-section {
  padding: 60px 0;
}

.page-live__games-showcase-section {
  background-color: #f8f8f8;
}

.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-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

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

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

.page-live__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

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

.page-live__feature-description {
  font-size: 0.9em;
  line-height: 1.6;
  color: #666666;
  padding: 0 20px;
}

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

.page-live__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-live__promotions-section {
  background-color: #000000;
  color: #ffffff;
}

.page-live__promotions-section .page-live__section-title {
  color: #FCBC45;
}

.page-live__promotions-section .page-live__text-content {
  color: #f0f0f0;
}

.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: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

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

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

.page-live__responsible-gaming-section {
  background-color: #f0f0f0;
}

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

.page-live__accordion-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__accordion-header {
  font-size: 1.2em;
  color: #000000;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eee;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-live__accordion-item.active .page-live__accordion-header::after {
  content: '-';
  transform: rotate(180deg);
}

.page-live__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live__accordion-item.active .page-live__accordion-content {
  max-height: 300px; /* Adjust based on expected content height */
  padding: 20px 25px;
}

.page-live__accordion-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #555;
}

.page-live__call-to-action-section {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  padding: 80px 20px;
}

.page-live__call-to-action-section .page-live__section-title {
  color: #000000;
  padding-top: 0;
}

.page-live__call-to-action-section .page-live__text-content {
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

  .page-live__section-title {
    font-size: 2.2em;
  }

  .page-live__game-image,
  .page-live__promo-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding: 60px 15px;
  }

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

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

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

  .page-live__button {
    width: 80%;
    max-width: 300px;
  }

  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-live__text-content {
    font-size: 1em;
  }

  .page-live__introduction-section,
  .page-live__games-showcase-section,
  .page-live__why-choose-section,
  .page-live__getting-started-section,
  .page-live__promotions-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__call-to-action-section {
    padding: 40px 0;
  }

  .page-live__game-grid,
  .page-live__feature-grid,
  .page-live__steps-list,
  .page-live__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Ensure content area images do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  .page-live__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-live__accordion-content {
    padding: 15px 20px;
  }
}

@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.5em;
  }

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

  .page-live__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}