.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #FFF6D6); /* Default text color for dark background */
  background-color: var(--bg, #0A0A0A); /* Main background color */
}

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

.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--bg, #0A0A0A);
  overflow: hidden;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 700px; /* Limit hero image height */
  display: block;
}

.page-live__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow, but not on text itself */
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-live__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-live__hero-description {
  font-size: 1.1rem;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 30px;
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #FFE680 0%, #EBB12A 100%);
  box-shadow: 0 0 15px var(--glow, #FFD36B);
}

.page-live__btn-secondary {
  background: transparent;
  color: var(--text-main, #FFF6D6);
  border: 2px solid var(--border, #3A2A12);
}

.page-live__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-main, #FFF6D6);
}

.page-live__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main, #FFF6D6);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-live__section-description {
  font-size: 1.1rem;
  color: var(--text-main, #FFF6D6);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-live__dark-section {
  background-color: var(--card-bg, #111111);
  padding: 60px 0;
}

.page-live__features-section,
.page-live__games-section,
.page-live__how-to-join-section,
.page-live__promotions-section,
.page-live__mobile-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__cta-bottom-section {
  padding: 60px 0;
}

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

.page-live__feature-card,
.page-live__game-card,
.page-live__promo-card,
.page-live__step-card,
.page-live__responsible-card,
.page-live__faq-item {
  background-color: var(--card-bg, #111111);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--border, #3A2A12);
  color: var(--text-main, #FFF6D6);
}

.page-live__feature-card-title,
.page-live__game-card-title,
.page-live__promo-card-title,
.page-live__step-title,
.page-live__responsible-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ffd36b, #FFD36B);
  margin-bottom: 15px;
}

.page-live__feature-card p,
.page-live__promo-card p,
.page-live__responsible-card p {
  font-size: 1rem;
  color: var(--text-main, #FFF6D6);
}

.page-live__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border, #3A2A12);
}

.page-live__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 20px;
}

.page-live__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ffd36b, #FFD36B);
  color: #111111;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-live__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
}

.page-live__mobile-text {
  flex: 1;
  text-align: left;
}

.page-live__mobile-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ffd36b, #FFD36B);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-live__mobile-text p {
  font-size: 1.1rem;
  color: var(--text-main, #FFF6D6);
  margin-bottom: 20px;
}

.page-live__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-live__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border, #3A2A12);
}

.page-live__responsible-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-live__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: left;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-live__faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main, #FFF6D6);
  margin: 0;
}

.page-live__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ffd36b, #FFD36B);
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-main, #FFF6D6);
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 20px;
}

.page-live__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main, #FFF6D6);
}

.page-live__cta-bottom-section {
  background-color: var(--card-bg, #111111);
  text-align: center;
}

.page-live__cta-bottom-section .page-live__cta-buttons {
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

  .page-live__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

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

  .page-live__mobile-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

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

  .page-live__hero-content {
    margin-top: -30px;
    padding: 20px 15px;
  }

  .page-live__main-title {
    font-size: 2rem;
  }

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

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-live__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

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

  .page-live__features-section,
  .page-live__games-section,
  .page-live__how-to-join-section,
  .page-live__promotions-section,
  .page-live__mobile-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__cta-bottom-section {
    padding: 40px 0;
  }

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

  /* Mobile image responsiveness */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-live__section,
  .page-live__card,
  .page-live__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__faq-question h3 {
    font-size: 1.1rem;
  }

  .page-live__faq-answer p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: 1.8rem;
  }

  .page-live__hero-description {
    font-size: 0.95rem;
  }

  .page-live__section-title {
    font-size: 1.6rem;
  }

  .page-live__mobile-subtitle {
    font-size: 1.5rem;
  }
}