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

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

.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-live__video-container {
  width: 100%;
  max-width: 1920px; /* Max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  order: 1; /* Video above content */
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-live__hero-content {
  order: 2; /* Content below video */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any potential background elements */
}

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

.page-live__hero-description {
  font-size: 1.15rem;
  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: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  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%); /* Button color */
  color: #111111; /* Ensure contrast on button */
  border: 2px solid transparent;
}

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

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

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

.page-live__btn-download {
  background: #FFD36B; /* Glow color for download */
  color: #111111;
  border: 2px solid #FFD36B;
}

.page-live__btn-download:hover {
  background: #F2C14E;
}

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

.page-live__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

.page-live__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
  padding: 80px 0;
}

.page-live__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  padding: 80px 0;
}

.page-live__text-contrast-fix {
  color: #FFF6D6; /* Ensure light text on darker background */
}

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

.page-live__feature-card,
.page-live__game-card,
.page-live__promo-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-image,
.page-live__game-image,
.page-live__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-live__feature-card p,
.page-live__game-card p,
.page-live__promo-card p {
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  text-align: left;
  width: 100%;
  color: #FFF6D6;
}

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

.page-live__feature-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FFD36B;
}

.page-live__how-to-start-section {
  padding: 80px 0;
}

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

.page-live__step-item {
  text-align: center;
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-live__step-item p {
  color: #FFF6D6;
}

.page-live__cta-center {
  text-align: center;
  margin-top: 60px;
}

.page-live__mobile-app-section {
  padding: 80px 0;
}

.page-live__mobile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-live__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-live__mobile-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 15px;
  margin-top: 30px;
}

.page-live__mobile-text p {
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__responsible-gaming-section {
  padding: 80px 0;
}

.page-live__responsible-content {
  display: flex;
  flex-direction: row-reverse; /* Image on right */
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-live__responsible-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-live__responsible-text {
  flex: 1;
}

.page-live__responsible-subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  color: #F2C14E;
  margin-bottom: 15px;
  margin-top: 30px;
}

.page-live__responsible-text p {
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-live__faq-section {
  padding: 80px 0;
}

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

.page-live__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

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

.page-live__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: #FFD36B;
  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 30px;
  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 all content */
  padding: 15px 30px 30px;
}

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

.page-live__call-to-action-section {
  padding: 80px 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-live__mobile-content,
  .page-live__responsible-content {
    flex-direction: column;
    text-align: center;
  }

  .page-live__mobile-image,
  .page-live__responsible-image {
    max-width: 80%;
    margin: 0 auto 30px;
  }

  .page-live__mobile-text,
  .page-live__responsible-text {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-live__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

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

  .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,
  .page-live__btn-download,
  .page-live a[class*="button"],
  .page-live a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-live__section-intro {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-live__dark-bg,
  .page-live__light-bg,
  .page-live__how-to-start-section,
  .page-live__mobile-app-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__call-to-action-section {
    padding: 60px 0;
  }

  .page-live__container,
  .page-live__section,
  .page-live__card,
  .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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-live__video-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

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

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

  .page-live__card-title,
  .page-live__step-title {
    font-size: 1.3rem;
  }

  .page-live__mobile-subtitle,
  .page-live__responsible-subtitle {
    font-size: 1.4rem;
  }

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

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

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