/* style/live.css */

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

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

.page-live__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-live__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__image-full-width {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

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

.page-live__hero-video-wrapper {
  width: 100%;
  max-height: 700px; /* Limit video height */
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.page-live__hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-live__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size */
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

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

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

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

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-live__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-3px);
}

/* Card styles */
.page-live__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main color */
}

.page-live__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.3);
}

.page-live__card-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
}

.page-live__card-link:hover {
  text-decoration: underline;
  color: #FFD36B;
}

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

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

.page-live__game-card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-live__game-card-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: #CCC;
}

.page-live__game-card-button {
  width: auto;
  padding: 10px 20px;
  font-size: 1em;
}

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

.page-live__provider-logo {
  max-width: 100%;
  height: auto;
  width: 167px; /* Fixed width for partner logos */
  height: 127px; /* Fixed height for partner logos */
  object-fit: contain;
  filter: brightness(0.8) grayscale(0.2); /* Slightly dim for dark theme, no color change */
  transition: filter 0.3s ease;
}

.page-live__provider-logo:hover {
  filter: brightness(1) grayscale(0); /* Brighten on hover */
}

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

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

.page-live__promo-card-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-live__promo-card-description {
  font-size: 1em;
  margin-bottom: 20px;
  color: #CCC;
}

.page-live__promo-card-button {
  width: auto;
  padding: 12px 25px;
  font-size: 1.05em;
}

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

/* Get Started Section */
.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__steps-list li {
  display: flex;
  align-items: flex-start;
  text-align: left;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-live__step-number {
  background-color: #F2C14E;
  color: #0A0A0A;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-live__step-text strong {
  color: #F2C14E;
}

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

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

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

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

.page-live__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #F2C14E;
  flex-grow: 1;
  text-align: left;
}

.page-live__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B;
  margin-left: 15px;
  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;
  background-color: #111111; /* Card BG */
  border-left: 1px solid #3A2A12;
  border-right: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
}

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

.page-live__faq-answer p {
  margin: 0;
  color: #FFF6D6;
  font-size: 1em;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__hero-title {
    font-size: clamp(2em, 7vw, 3em);
  }
  .page-live__providers-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns for tablet */
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-live__container {
    padding: 0 15px;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-live__hero-section {
    padding-top: 10px !important; /* Small decorative top padding, body handles --header-offset */
    padding-bottom: 40px;
  }
  .page-live__hero-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__cta-button,
  .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__hero-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__game-grid,
  .page-live__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__providers-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
    gap: 15px;
  }
  .page-live__provider-logo {
    width: 120px;
    height: 90px;
  }
  .page-live__steps-list {
    gap: 20px;
  }
  .page-live__steps-list li {
    font-size: 1em;
  }
  .page-live__faq-question h3 {
    font-size: 1.1em;
  }
  .page-live__faq-question,
  .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* All images must be responsive */
  .page-live img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* No padding-left/right here to avoid double padding if container already has it */
  }
  .page-live__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__hero-title {
    font-size: clamp(1.5em, 9vw, 2em);
  }
  .page-live__hero-buttons {
    gap: 10px;
  }
  .page-live__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live__providers-grid {
    grid-template-columns: 1fr; /* 1 column for very small mobile */
  }
}