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

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

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

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-live__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-live__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-live__video-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  margin-top: 200px; /* Push content down over video, but not overlay */
  color: #FFF6D6;
  text-align: center;
}

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

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

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

.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-live__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-live__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111;
}

.page-live__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #FFD36B; /* Glow */
  margin-bottom: 40px;
  font-weight: 600;
}

.page-live__what-is-live .page-live__container,
.page-live__popular-games .page-live__container,
.page-live__responsible-gaming .page-live__container,
.page-live__cta-final .page-live__container {
  background-color: #111111; /* Card BG */
  padding: 40px;
  border-radius: 10px;
  text-align: left;
}

.page-live__what-is-live p,
.page-live__popular-games p,
.page-live__responsible-gaming p {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-live__key-features .page-live__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-live__feature-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-live__feature-title {
  color: #FFD36B; /* Glow */
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-live__feature-item p {
  color: #FFF6D6; /* Text Main */
}

.page-live__get-started .page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-live__step-item {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-live__step-title {
  color: #FFD36B; /* Glow */
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.page-live__step-item p {
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__game-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-live__game-item {
  background-color: rgba(242, 193, 78, 0.1); /* Main color with transparency */
  padding: 10px 20px;
  border-radius: 5px;
  color: #FFF6D6;
  text-align: left;
  border-left: 3px solid #F2C14E;
}

.page-live__mobile-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-live__mobile-content {
  flex: 1;
}

.page-live__mobile-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-live__mobile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

.page-live__promotions .page-live__promo-banner {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
}

.page-live__responsible-gaming .page-live__btn-secondary {
  margin-top: 20px;
}

.page-live__faq-list {
  margin-top: 30px;
  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;
}

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

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

.page-live__faq-toggle {
  font-size: 1.5rem;
  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; /* Text Main */
}

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

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

.page-live__cta-final .page-live__cta-box {
  background-color: #111111; /* Card BG */
  padding: 50px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

.page-live__cta-final .page-live__btn-primary {
  margin-top: 30px;
}

.page-live .highlight {
  color: #FFD36B; /* Highlight 'odds' keyword */
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-content {
    margin-top: 150px;
  }
  .page-live__mobile-flex {
    flex-direction: column;
  }
  .page-live__mobile-content, .page-live__mobile-image {
    flex: none;
    width: 100%;
  }
}

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

  .page-live__hero-section {
    padding-bottom: 40px;
    min-height: 500px;
  }

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

  .page-live__main-title {
    font-size: 2rem;
  }

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-live__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-live__what-is-live .page-live__container,
  .page-live__popular-games .page-live__container,
  .page-live__responsible-gaming .page-live__container,
  .page-live__cta-final .page-live__container {
    padding: 30px;
  }

  .page-live__feature-grid,
  .page-live__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  /* Mobile image responsiveness */
  .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__feature-item,
  .page-live__step-item,
  .page-live__mobile-content,
  .page-live__mobile-image,
  .page-live__promo-banner,
  .page-live__faq-item,
  .page-live__cta-box {
    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;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-live__video-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-live__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-live__cta-buttons {
    gap: 10px;
  }

  .page-live__video-container {
    width: 100%; /* Ensure desktop width is also 100% */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
  }
}