/* style/live.css */
/* Base styles for the live page */
.page-live {
  background-color: var(--background-color, #0A0A0A); /* Default to dark background */
  color: #FFF6D6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A; /* Ensure dark background for hero */
  text-align: center;
}

.page-live__video-container {
  width: 100%; /* Must be 100% for desktop and mobile */
  max-width: 1920px; /* Max width for the video container */
  margin-bottom: 30px;
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer; /* Indicate it's clickable */
}

.page-live__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: #FFF6D6;
}

.page-live__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E;
}

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

.page-live__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container takes full width for flex-wrap */
  max-width: 600px; /* Limit button group width */
  margin: 0 auto;
}

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to wrap */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  text-align: center;
}

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

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-live__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-live__section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Default section background */
}

.page-live__section--about {
  padding-top: 40px; /* Adjust if hero section has enough padding */
}

.page-live__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #F2C14E;
}

.page-live__section-title--light {
  color: #FFF6D6;
}

.page-live__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-live__text-block--center {
  text-align: center;
}

.page-live__text-block--light {
  color: #FFF6D6;
}

.page-live__btn-primary--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Grid Containers */
.page-live__grid-container {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.page-live__grid-container--2-col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

/* Card Styles */
.page-live__card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #3A2A12; /* Border color */
  color: #FFF6D6; /* Text color on card */
}

.page-live__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
  margin-left: auto;
  margin-right: auto;
}

.page-live__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-live__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow text to grow */
}

.page-live__card .page-live__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  width: auto;
  align-self: center;
}

/* Content Wrapper (for image/text side-by-side) */
.page-live__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-live__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-live__text-content,
.page-live__image-content {
  flex: 1;
  min-width: 300px; /* Ensure minimum width before wrapping */
}

.page-live__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block; /* Ensure it behaves as a block element */
}

/* Feature List */
.page-live__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-live__feature-list li {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F2C14E'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat left center / 20px 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-live__list-highlight {
  color: #F2C14E;
}

/* Dark Section Specifics */
.page-live__dark-section {
  background-color: #111111; /* Card BG as a dark section */
}

/* Step-by-Step Guide */
.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live__step-item {
  background-color: #111111;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  border: 1px solid #3A2A12;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #F2C14E;
  color: #111111;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E;
}

.page-live__step-description {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-live__step-item .page-live__btn-primary {
  margin-top: auto;
  width: auto;
  align-self: center;
}

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

.page-live__faq-item {
  background-color: #111111;
  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 25px;
  cursor: pointer;
  background-color: #111111;
  color: #FFF6D6;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #F2C14E;
}

.page-live__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

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

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

.page-live__faq-text {
  margin: 0;
  font-size: 1rem;
  color: #FFF6D6;
}

/* Partners Section */
.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for 167x127px images */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-logo {
  max-width: 167px; /* Max width for partner logos */
  height: 127px; /* Fixed height for partner logos */
  object-fit: contain; /* Ensure image fits without distortion */
  opacity: 0.8;
  transition: opacity 0.3s ease;
  display: block; /* Ensure block behavior */
}

.page-live__partner-logo:hover {
  opacity: 1;
}

/* Floating CTA Buttons */
.page-live__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-live__floating-btn {
  display: block;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap; /* Prevent text wrapping for floating buttons */
  color: #111111; /* Dark text for light button */
}

.page-live__floating-btn--register {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-live__floating-btn--login {
  background: #FFF6D6; /* Lighter background for login */
}

.page-live__floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-section {
    padding-bottom: 40px;
  }

  .page-live__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

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

  .page-live__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  .page-live__hero-section {
    padding-bottom: 30px;
  }

  .page-live__video-container {
    margin-bottom: 20px;
  }

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

  .page-live__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-live__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important; /* Force full width */
    max-width: 100% !important; /* Ensure it doesn't exceed container */
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important; /* Allow text wrapping */
  }

  .page-live__section {
    padding: 40px 0;
  }

  .page-live__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }

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