/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-top: 10px; /* Small top padding for the first section */
}

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop: Ensure content is below fixed header */
}

.page-live__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.page-live__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-live__hero-text-content {
  max-width: 900px;
}

.page-live__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
  line-height: 1.2;
}

.page-live__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  border: none;
}

.page-live__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #F2C14E; /* Main color */
}

.page-live__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-link {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 1px solid #3A2A12; /* Border color */
  padding: 10px 20px;
}

.page-live__btn-link:hover {
  color: #FFF6D6; /* Text Main */
  border-color: #F2C14E; /* Main color */
}

.page-live__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-live__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #F2C14E; /* Main color */
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-live__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__introduction-section,
.page-live__advantage-section,
.page-live__getting-started-section,
.page-live__mobile-section,
.page-live__support-section,
.page-live__conclusion-section {
  background-color: #0A0A0A;
}

.page-live__popular-games-section,
.page-live__bonuses-section,
.page-live__faq-section,
.page-live__testimonials-section {
  background-color: #111111;
}

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

.page-live__card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.page-live__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-live__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-live__card-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__text-center-cta {
  margin-top: 40px;
}

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

.page-live__feature-item,
.page-live__step-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-live__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-live__feature-title,
.page-live__step-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-live__feature-description,
.page-live__step-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-live__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-live__mobile-content,
.page-live__support-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-live__mobile-content {
  flex-direction: row-reverse; /* Image on right */
}

.page-live__mobile-text,
.page-live__support-text {
  flex: 1;
}

.page-live__mobile-image-container,
.page-live__support-image-container {
  flex: 1;
  text-align: center;
}

.page-live__mobile-image,
.page-live__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-live__mobile-features,
.page-live__support-channels {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px 0;
}

.page-live__mobile-features li,
.page-live__support-channels li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-live__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-live__faq-item {
  background: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  cursor: pointer;
  background: #111111; /* Card BG */
  transition: background 0.3s ease;
}

.page-live__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

.page-live__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD36B; /* Glow */
  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: #FFF6D6;
}

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

.page-live__faq-answer p {
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-live__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-live__testimonial-card {
  text-align: left;
}

.page-live__testimonial-text {
  font-style: italic;
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 15px;
}

.page-live__testimonial-author {
  font-weight: 600;
  color: #FFD36B; /* Glow */
  font-size: 0.95em;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-live__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

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

  .page-live__mobile-content,
  .page-live__support-content {
    flex-direction: column;
    text-align: center;
  }

  .page-live__mobile-features,
  .page-live__support-channels {
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-live__mobile-image-container,
  .page-live__support-image-container {
    order: -1; /* Image above text on mobile for support section */
  }
  
  .page-live__mobile-content .page-live__mobile-image-container {
    order: 0; /* Image still on top for mobile section */
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 0; /* Handled by shared.css body padding */
  }
  
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: shared's media query controls this */
  }

  .page-live__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-live__description,
  .page-live__text-block,
  .page-live__card-description,
  .page-live__feature-description,
  .page-live__step-description {
    font-size: 1em;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-live__container,
  .page-live__game-cards,
  .page-live__promo-cards,
  .page-live__testimonial-cards,
  .page-live__features-grid,
  .page-live__steps-grid,
  .page-live__mobile-content,
  .page-live__support-content,
  .page-live__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__card,
  .page-live__feature-item,
  .page-live__step-item {
    padding: 20px;
  }

  .page-live__mobile-image-container,
  .page-live__support-image-container {
    margin-bottom: 20px;
  }

  .page-live__mobile-features li,
  .page-live__support-channels li {
    font-size: 0.95em;
  }
}