.page-live {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
}

.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: 60px 20px;
  background-color: #000000; /* Main dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-live__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

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

.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;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

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

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

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

.page-live__button--login:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.page-live__button--view-details, .page-live__button--play-now {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
  min-width: unset;
}

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

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

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #333333;
}

/* About Section */
.page-live__about-section, .page-live__games-section, .page-live__advantages-section, .page-live__cta-section, .page-live__faq-section {
  padding: 80px 0;
}

.page-live__about-section {
  background-color: #F8F8F8;
}

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

.page-live__about-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-live__about-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-live__item-text {
  color: #555555;
  font-size: 1em;
}

/* Games Section */
.page-live__games-section {
  background-color: #FFFFFF;
}

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

.page-live__game-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-live__card-title {
  font-size: 1.6em;
  margin: 20px 15px 10px 15px;
  color: #000000;
}

.page-live__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-live__card-title a:hover {
  color: #FCBC45;
}

.page-live__card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Advantages Section */
.page-live__advantages-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-live__advantages-section .page-live__section-title, .page-live__advantages-section .page-live__section-description {
  color: #FFFFFF;
}

.page-live__advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 50px;
}

.page-live__advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live__advantage-item:nth-child(even) {
  flex-direction: column-reverse; /* Image above text for even items */
}

.page-live__advantage-item:nth-child(even) .page-live__advantage-image {
  margin-bottom: 20px;
  margin-top: 0;
}

.page-live__advantage-item .page-live__item-title {
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-live__advantage-item .page-live__item-text {
  color: #E0E0E0;
  font-size: 1.05em;
  max-width: 800px;
  margin-bottom: 20px;
}

.page-live__advantage-image {
  width: 100%;
  max-width: 600px;
  height: 450px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
}

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

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

/* FAQ Section */
.page-live__faq-section {
  background-color: #FFFFFF;
}

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

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

.page-live__faq-answer {
  color: #555555;
  font-size: 1em;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-live__advantage-item {
    flex-direction: row;
    gap: 40px;
    text-align: left;
  }

  .page-live__advantage-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-live__advantage-item .page-live__item-text {
    margin-bottom: 0;
  }

  .page-live__advantage-image {
    flex-shrink: 0;
  }

  .page-live__advantage-item:nth-child(even) .page-live__advantage-image {
    margin-left: 40px;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .page-live__advantage-item:nth-child(odd) .page-live__advantage-image {
    margin-right: 40px;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.5em;
  }

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

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

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

  .page-live__button {
    width: 100%;
    min-width: unset;
  }

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

  .page-live__about-section, .page-live__games-section, .page-live__advantages-section, .page-live__cta-section, .page-live__faq-section {
    padding: 40px 0;
  }

  .page-live__hero-section {
    padding: 40px 15px;
  }

  .page-live__container {
    padding: 0 15px;
  }

  .page-live__about-grid, .page-live__games-grid {
    grid-template-columns: 1fr;
  }

  .page-live__about-image, .page-live__game-image, .page-live__advantage-image {
    height: 200px; /* Adjust height for mobile */
    max-width: 100%;
  }

  /* Ensure all images within .page-live are responsive and don't overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__advantage-item:nth-child(even) {
    flex-direction: column; /* Reset to default column for mobile */
  }
}

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

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

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

  .page-live__item-title {
    font-size: 1.5em;
  }

  .page-live__faq-question {
    font-size: 1.2em;
  }
}