/* style/live.css */

/* Base styles for the page-live content */
.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

/* Sections */
.page-live__section {
  padding: 80px 0;
  text-align: center;
}

.page-live__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-live__light-bg {
  background-color: #111111; /* Card BG, used here for contrast */
  color: #FFF6D6;
}

.page-live__text-contrast-fix {
  color: #FFF6D6;
}

/* Container for content width */
.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;
  justify-content: center;
  overflow: hidden;
  min-height: 70vh;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #0A0A0A;
}

.page-live__hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-live__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

.page-live__video-container {
  position: relative;
  width: 100%; /* Important for desktop */
  max-width: 1200px; /* Max width for video */
  height: auto;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1;
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.4);
  cursor: pointer;
}

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

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

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

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

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

.page-live__btn-secondary:hover {
  transform: translateY(-3px);
  background: #F2C14E; /* Main Color */
  color: #111111;
}

.page-live__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Grid Layouts */
.page-live__grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  text-align: left;
}

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

.page-live__grid-three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

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

.page-live__light-card {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
}

.page-live__card-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-live__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

/* Lists */
.page-live__feature-list,
.page-live__game-list,
.page-live__sport-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-live__feature-list li,
.page-live__game-list li,
.page-live__sport-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-live__feature-list li:last-child,
.page-live__game-list li:last-child,
.page-live__sport-list li:last-child {
  margin-bottom: 0;
}

.page-live__feature-list li::before,
.page-live__game-list li::before,
.page-live__sport-list li::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: #FFD36B;
}

/* Step-by-Step Guide */
.page-live__step-by-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.page-live__step-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-live__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-live__step-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

.page-live__text-link:hover {
  color: #FFD36B;
}

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

.page-live__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  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;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.page-live__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
  color: #FFF6D6;
}

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

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

/* Partners Section */
.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns */
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: brightness(0.8) contrast(1.2);
  transition: filter 0.3s ease;
}

.page-live__partner-logo:hover {
  filter: brightness(1) contrast(1.5) drop-shadow(0 0 8px rgba(255, 211, 107, 0.6));
}

/* Join Us Section */
.page-live__join-us {
  padding: 100px 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__grid-two-col,
  .page-live__grid-reversed {
    grid-template-columns: 1fr;
  }
  .page-live__grid-reversed .page-live__card:first-child {
    order: 2;
  }
  .page-live__grid-reversed .page-live__card:last-child {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-live__section {
    padding: 40px 0;
  }
  
  .page-live__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .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;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .page-live__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* More flexible for smaller screens */
    gap: 10px;
  }

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

  /* Ensure all images are responsive */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__cta-buttons,
  .page-live__button-group,
  .page-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-live__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }
  
  .page-live__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

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

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

@media (max-width: 480px) {
  .page-live__step-by-step-grid {
    grid-template-columns: 1fr;
  }
}