/* style/live.css */
.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Body background from shared.css */
}

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

.page-live__hero-section {
  padding-top: var(--header-offset, 120px); /* For desktop, adjusted by shared.css */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  color: #111111; /* Dark text for light gradient background */
  text-align: center;
  padding-bottom: 50px;
}

.page-live__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

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

.page-live__hero-text-block {
  max-width: 800px;
  padding: 0 20px;
}

.page-live__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #111111; 
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-live__hero-description {
  font-size: 1.1em;
  color: #333333; 
  margin-bottom: 30px;
}

.page-live__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 50px;
}

.page-live__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF6D6;
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  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; 
  border: 2px solid transparent;
}

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

.page-live__btn-secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #3A2A12;
}

.page-live__btn-secondary:hover {
  transform: translateY(-3px);
  background: #222222;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-live__btn-text-link {
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-live__btn-text-link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

/* Card Styles */
.page-live__game-category-grid,
.page-live__steps-grid,
.page-live__promo-grid,
.page-live__features-grid,
.page-live__partners-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-live__game-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

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

.page-live__promo-grid,
.page-live__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-live__partners-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-items: center;
  align-items: center;
}

.page-live__game-category-card,
.page-live__step-card,
.page-live__promo-card,
.page-live__feature-card {
  background: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-live__game-category-card:hover,
.page-live__step-card:hover,
.page-live__promo-card:hover,
.page-live__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.3);
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-live__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 10px;
}

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

.page-live__step-image,
.page-live__promo-image,
.page-live__feature-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #3A2A12;
}

.page-live__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-live__advantage-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-live__advantage-item strong {
  color: #FFD36B;
}

.page-live__partners-section {
  padding-bottom: 50px;
}

.page-live__partner-logo-wrapper {
  padding: 15px;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 127px; /* Fixed height for logos */
  width: 167px; /* Fixed width for logos */
  box-sizing: border-box;
}

.page-live__partner-logo {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 30px;
}

.page-live__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #FFF6D6;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFD36B;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #1a1a1a;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 for content */
  padding: 15px 20px;
}

.page-live__faq-answer p {
  margin-bottom: 0;
  padding-bottom: 5px;
  font-size: 0.95em;
}

.page-live__call-to-action-section {
  text-align: center;
  padding-bottom: 80px;
}

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

@media (max-width: 768px) {
  .page-live__container {
    padding: 15px;
  }

  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media queries */
    padding-bottom: 30px;
  }

  .page-live__hero-image {
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-live__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
    padding-top: 30px;
  }

  .page-live__text-block {
    font-size: 0.95em;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-live__game-category-card,
  .page-live__step-card,
  .page-live__promo-card,
  .page-live__feature-card {
    padding: 20px;
  }

  .page-live__partner-logo-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: auto; /* Allow height to adjust */
    padding: 10px;
  }

  .page-live__partner-logo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__advantage-item {
    padding: 12px 15px;
    font-size: 1em;
  }

  .page-live__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-live__faq-answer {
    padding: 0 15px;
  }

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 15px;
  }

  /* Ensure all images are responsive in mobile */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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;
  }
}

/* Ensure no filter is used on images */
.page-live img {
  filter: none;
}

/* Content area images CSS size lower bound */
.page-live__hero-image,
.page-live__step-image,
.page-live__promo-image,
.page-live__feature-image {
  min-width: 200px;
  min-height: 200px;
}

/* Specific exceptions for small icons */
.page-live__category-icon {
  min-width: unset;
  min-height: unset;
}
.page-live__partner-logo {
  min-width: unset;
  min-height: unset;
}