/* style/live.css */

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

.page-live__section-title {
  font-size: clamp(2.2em, 4vw, 3em); /* Responsive H2 font size */
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

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

.page-live__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

.page-live__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.page-live__main-description {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto;
}

.page-live__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  background-color: #000; /* Fallback for video area */
}

.page-live__video-link-wrapper {
  display: block;
  line-height: 0;
  cursor: pointer;
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.page-live__features-section,
.page-live__games-section,
.page-live__promotions-section,
.page-live__how-to-start-section,
.page-live__mobile-section,
.page-live__partners-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__final-cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

.page-live__feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-icon {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(255, 211, 107, 0.2);
}

.page-live__feature-title {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Games Section */
.page-live__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-live__game-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live__game-link {
  color: #FFD36B;
  text-decoration: none;
}

.page-live__game-link:hover {
  text-decoration: underline;
}

.page-live__game-text {
  font-size: 0.95em;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-live__btn-play {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-live__btn-play:hover {
  transform: translateY(-1px);
}

/* Promotions Section */
.page-live__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-live__promo-item {
  text-align: center;
}

.page-live__promo-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

/* How to Start Section */
.page-live__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-live__step-card {
  text-align: center;
}

.page-live__step-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Mobile Section */
.page-live__mobile-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background: rgba(255, 211, 107, 0.05); /* Subtle background */
  border-radius: 15px;
  padding: 40px;
}

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

.page-live__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-live__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

/* Partners Section */
.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjusted for specific image size */
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-item {
  padding: 10px;
  background-color: #111111;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px; /* Adjust height to fit 167x127px images */
  width: 100%;
  max-width: 167px; /* Max width for partner item */
  box-sizing: border-box;
}

.page-live__partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(80%) brightness(120%); /* Subtle effect */
  transition: filter 0.3s ease;
}

.page-live__partner-logo:hover {
  filter: grayscale(0%) brightness(100%);
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  text-align: center;
}

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

.page-live__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #3A2A12; /* Border color for question background */
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFF6D6;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-question h3 {
  margin: 0;
  color: #FFF6D6;
  font-size: 1.1em;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95em;
}

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

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

/* Final CTA Section */
.page-live__final-cta-section {
  text-align: center;
  padding-bottom: 80px;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-video-section {
    padding: 40px 20px;
    padding-top: 10px;
  }

  .page-live__features-section,
  .page-live__games-section,
  .page-live__promotions-section,
  .page-live__how-to-start-section,
  .page-live__mobile-section,
  .page-live__partners-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__final-cta-section {
    margin: 40px auto;
  }

  .page-live__mobile-section {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-live__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-live__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }

  .page-live__main-description,
  .page-live__section-description {
    font-size: 1em;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary,
  .page-live a[class*="button"],
  .page-live a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-live__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__video-container,
  .page-live__features-section,
  .page-live__games-section,
  .page-live__promotions-section,
  .page-live__how-to-start-section,
  .page-live__mobile-section,
  .page-live__partners-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__final-cta-section,
  .page-live__card,
  .page-live__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__video-section {
    padding-top: 10px !important;
  }

  .page-live__partner-item {
    width: calc(50% - 10px); /* 2 items per row on mobile */
    max-width: unset;
  }

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