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

.page-live__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-live__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 80px 20px;
  color: #FFFFFF;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-live__hero-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, transform 0.2s ease;
  margin: 10px;
}

.page-live__hero-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

.page-live__hero-button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-live__hero-button--secondary {
  background-color: #FFFFFF; /* Register color */
  color: #000000; /* Main color */
  border: 2px solid #FCBC45;
}

.page-live__hero-button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

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

.page-live__games-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.page-live__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-live__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-live__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-live__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 25px 15px 10px 15px;
  font-weight: bold;
}

.page-live__game-card-text {
  font-size: 1em;
  color: #666666;
  padding: 0 25px 20px 25px;
  flex-grow: 1;
}

.page-live__game-card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 25px;
  transition: background-color 0.3s ease;
}

.page-live__game-card-button:hover {
  background-color: #e0a53b;
}

.page-live__why-choose-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-live__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
}

.page-live__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-live__feature-item:hover {
  transform: translateY(-5px);
}

.page-live__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-live__cta-banner {
  background: linear-gradient(90deg, #000000, #333333);
  color: #FFFFFF;
  text-align: center;
  padding: 60px 30px;
  border-radius: 15px;
  max-width: 1000px;
  margin: 60px auto 0 auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-live__cta-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-live__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-live__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-live__how-to-play-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.page-live__step-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.page-live__step-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.page-live__step-number {
  font-size: 3em;
  color: #FCBC45;
  font-weight: bold;
  margin-bottom: 15px;
}

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

.page-live__step-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-live__step-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__step-button:hover {
  background-color: #333333;
}

.page-live__faq-section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-live__faq-accordion {
  max-width: 900px;
  margin: 50px auto;
}

.page-live__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-live__faq-question {
  font-size: 1.4em;
  color: #000000;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  margin: 0;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-live__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
  padding: 0 25px 20px 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-live__faq-answer.active {
  max-height: 200px; /* Adjust based on expected content length */
  padding-top: 10px;
}

.page-live__responsible-gaming-section {
  padding: 80px 20px;
  background-color: #f0f0f0;
  text-align: center;
}

.page-live__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-live__text-link:hover {
  text-decoration: underline;
}

.page-live__responsible-gaming-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-live__responsible-gaming-button:hover {
  background-color: #333333;
}

.page-live__cta-final-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-live__cta-final-section .page-live__section-title {
  color: #FFFFFF;
}

.page-live__cta-final-section .page-live__section-description {
  color: #F0F0F0;
  margin-bottom: 40px;
}

.page-live__cta-button--final {
  background-color: #FCBC45;
  color: #000000;
  margin: 10px;
}

.page-live__cta-button--final:hover {
  background-color: #e0a53b;
}

.page-live__cta-button--final-secondary {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
  margin: 10px;
}

.page-live__cta-button--final-secondary:hover {
  background-color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .page-live__hero-title {
    font-size: 3em;
  }
  .page-live__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 992px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__hero-container {
    padding: 60px 20px;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-live__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-live__game-grid, .page-live__features-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__game-card-image {
    height: 200px;
  }
  .page-live__game-card-title {
    font-size: 1.5em;
  }
  .page-live__feature-icon {
    width: 200px;
    height: 150px;
  }
  .page-live__feature-title {
    font-size: 1.4em;
  }
  .page-live__cta-banner {
    padding: 40px 20px;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-text {
    font-size: 1em;
  }
  .page-live__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-live__step-title {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-live__faq-question::after {
    right: 20px;
  }
  .page-live__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Critical: Prevent horizontal overflow for images */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live {
    overflow-x: hidden;
  }
}

@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__hero-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-live__cta-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-live__cta-button--final, .page-live__cta-button--final-secondary {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}