/* style/live.css */

/* Base styles for the page */
.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 to ensure content is not directly under fixed header, now handled by hero-section */
}

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

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

.page-live__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  color: #F2C14E; /* Main color for titles */
  letter-spacing: 1px;
  line-height: 1.2;
}

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

.page-live__link {
  color: #FFD36B; /* Accent color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__link:hover {
  color: #F2C14E; /* Main color on hover */
  text-decoration: underline;
}

.page-live__mt-40 {
  margin-top: 40px;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Adjust as needed */
  background: #0A0A0A; /* Fallback for background */
}

.page-live__hero-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: 675px; /* Fixed height for carousel for consistent display */
}

.page-live__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: translateX(100%); /* Initial position off-screen to the right */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-live__hero-slide.active {
  opacity: 1;
  transform: translateX(0); /* Active slide is visible */
}

.page-live__hero-slide.prev {
  transform: translateX(-100%); /* Previous slide slides out to the left */
  opacity: 0;
}

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-live__hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.page-live__hero-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-live__hero-dot.active {
  background-color: #F2C14E; /* Main color for active dot */
}

.page-live__hero-content {
  position: relative;
  z-index: 5;
  padding: 40px 20px;
  text-align: center;
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly with the carousel for visual effect */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-live__main-title {
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Main color for H1 */
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  /* No fixed font-size, rely on clamp for responsiveness if needed */
}

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

.page-live__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-live__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color for text */
  border: 2px solid #F2C14E; /* Main color for border */
}

.page-live__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

/* Grid Layouts */
.page-live__grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

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

/* Cards */
.page-live__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFF6D6;
}

.page-live__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live__card-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Main color for card titles */
  line-height: 1.3;
}

.page-live__card-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-live__feature-item {
  text-align: center;
  align-items: center;
}

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

.page-live__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD36B; /* Accent color for feature titles */
}

/* FAQ Section */
.page-live__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-live__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

.page-live__faq-title {
  margin: 0;
  color: #F2C14E; /* Main color for FAQ questions */
}

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD36B; /* Accent color for toggle */
  transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to X or dash */
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  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 to show content */
  padding: 15px 25px 25px;
}

.page-live__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Call to Action Section */
.page-live__cta-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-carousel {
    height: 500px;
  }

  .page-live__hero-content {
    margin-top: -80px;
    max-width: 700px;
  }

  .page-live__main-title {
    font-size: 2.2em;
  }

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

  .page-live__grid-2-col {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
    /* padding-top: var(--header-offset, 120px) !important; */ /* Mobile: controlled by shared's media, this is for body. Hero section handles it. */
  }

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

  .page-live__hero-carousel {
    height: 400px;
  }

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

  .page-live__main-title {
    font-size: clamp(1.8em, 5vw, 2.5em); /* Responsive H1 font size */
    margin-bottom: 15px;
  }

  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

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

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

  .page-live__card {
    padding: 20px;
    align-items: center; /* Center content in cards for mobile */
    text-align: center;
  }

  .page-live__card-image {
    height: 200px;
  }

  .page-live__card-title {
    font-size: 1.4em;
  }

  .page-live__feature-icon {
    width: 150px;
    height: 150px;
  }

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

  .page-live__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Mobile image responsiveness */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-live__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-live__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-carousel {
    height: 300px;
  }
  .page-live__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }
  .page-live__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__card-title {
    font-size: 1.2em;
  }
  .page-live__feature-icon {
    width: 100px;
    height: 100px;
  }
}