.page-live {
  color: #333333; /* Dark text for light body background */
}

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure header offset for PC */
  background-color: #000000; /* Dark background for hero content */
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

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

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-live__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-live__hero-description {
  font-size: 1.25rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #ffffff;
}

.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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1rem;
  text-align: center;
}

.page-live__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

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

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

.page-live__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

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

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

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

.page-live__button--large {
  padding: 20px 40px;
  font-size: 1.3rem;
}

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

.page-live__section-title {
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 10px auto 0;
}

.page-live__section-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-live__about-section, .page-live__games-section, .page-live__get-started-section, .page-live__promotions-section, .page-live__responsible-gaming-section, .page-live__faq-section, .page-live__cta-section {
  padding: 60px 0;
}

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

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

.page-live__feature-card, .page-live__game-card, .page-live__step-card, .page-live__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__feature-card:hover, .page-live__game-card:hover, .page-live__step-card:hover, .page-live__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live__feature-image, .page-live__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-live__feature-title, .page-live__game-title, .page-live__step-title, .page-live__promo-title {
  font-size: 1.75rem;
  color: #000000;
  margin-bottom: 15px;
}

.page-live__feature-text, .page-live__game-text, .page-live__step-text, .page-live__promo-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-live__get-started-section {
  background-color: #f8f8f8;
}

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

.page-live__promotions-section .page-live__section-title, .page-live__promotions-section .page-live__section-intro {
  color: #ffffff;
}

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

.page-live__promo-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-live__promo-card {
  flex: 1 1 calc(50% - 30px);
  max-width: calc(50% - 30px);
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 40px;
}

.page-live__promo-card .page-live__button--small {
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-live__promo-card .page-live__button--small:hover {
  background-color: #e0a53a;
}

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

.page-live__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px;
  max-width: 700px;
  text-align: left;
}

.page-live__responsible-gaming-item {
  background-color: #ffffff;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}

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

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

.page-live__faq-question {
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: #FCBC45;
}

.page-live__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

.page-live__cta-section {
  background: linear-gradient(135deg, #000000, #333333);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-live__cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #FCBC45;
}

.page-live__cta-text {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 3rem;
  }
  .page-live__hero-description {
    font-size: 1.1rem;
  }
  .page-live__section-title {
    font-size: 2rem;
  }
  .page-live__cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-live__hero-content {
    padding: 30px 15px;
  }
  .page-live__hero-title {
    font-size: 2.2rem;
  }
  .page-live__hero-description {
    font-size: 1rem;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__container {
    padding: 30px 15px;
  }
  .page-live__section-title {
    font-size: 1.8rem;
  }
  .page-live__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-live__features-grid, .page-live__games-grid, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__promo-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 30px;
  }
  .page-live__cta-title {
    font-size: 2rem;
  }
  .page-live__cta-text {
    font-size: 1.1rem;
  }
  .page-live__hero-image, .page-live__feature-image, .page-live__game-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
  }
  /* Ensure content area images don't overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8rem;
  }
  .page-live__hero-description {
    font-size: 0.9rem;
  }
  .page-live__section-title {
    font-size: 1.5rem;
  }
  .page-live__faq-question {
    font-size: 1.2rem;
  }
  .page-live__cta-title {
    font-size: 1.8rem;
  }
}