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

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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* For desktop, adjusted by shared.css body padding-top */
  padding-bottom: 50px;
  text-align: center;
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 10;
  margin-top: 30px;
  padding: 0 20px;
  max-width: 900px;
}

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

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

.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;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-live__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 2px solid #3A2A12; /* Border */
}

.page-live__btn-secondary:hover {
  background: #222222;
  border-color: #FFD36B;
}

.page-live__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 50px;
}

.page-live__info-section,
.page-live__games-showcase,
.page-live__promotions-section,
.page-live__mobile-app-section,
.page-live__faq-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-live__medium-bg {
  background-color: #FFD36B; /* Auxiliary color */
  color: #111111; /* Dark text for contrast */
}

.page-live__light-bg {
  background-color: #FFF6D6; /* Text Main as light background */
  color: #111111; /* Dark text for contrast */
}

.page-live__info-section p,
.page-live__security-section p,
.page-live__mobile-app-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__info-section a,
.page-live__security-section a,
.page-live__mobile-app-section a,
.page-live__faq-section a {
  color: #F2C14E; /* Primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__info-section a:hover,
.page-live__security-section a:hover,
.page-live__mobile-app-section a:hover,
.page-live__faq-section a:hover {
  color: #FFD36B;
  text-decoration: underline;
}

.page-live__expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-out;
}

.page-live__expandable-content.collapsed {
  max-height: 0;
}

.page-live__expandable-content:not(.collapsed) {
  max-height: 1000px; /* Sufficiently large to show all content */
}

.page-live__load-less-btn {
  background: none;
  border: 1px solid #3A2A12; /* Border */
  color: #FFF6D6; /* Text Main */
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-live__load-less-btn:hover {
  background-color: #F2C14E;
  color: #111111; /* Dark text on hover */
}

.page-live__game-cards,
.page-live__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__game-card,
.page-live__promo-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__game-card-image,
.page-live__promo-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-live__game-card-title,
.page-live__promo-card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-live__game-card-description,
.page-live__promo-card-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-live__btn-text {
  color: #FFD36B; /* Glow color for text links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-live__btn-text:hover {
  color: #F2C14E;
  text-decoration: underline;
}

.page-live__cta-full-width {
  margin-top: 40px;
}

.page-live__cta-full-width .page-live__btn-primary,
.page-live__cta-full-width .page-live__btn-secondary {
  width: auto;
  min-width: 250px;
}

.page-live__text-small {
  font-size: 0.9rem;
  color: #FFF6D6;
  margin-top: 20px;
}

.page-live__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__feature-item {
  background-color: #ffffff;
  color: #111111;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-live__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(242, 193, 78, 0.5)); /* Gold glow */
}

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

.page-live__feature-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333333;
}

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

.page-live__mobile-text {
  flex: 1;
  min-width: 300px;
}

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

.page-live__mobile-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-live__mobile-features-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #FFF6D6;
}

.page-live__mobile-features-list li::before {
  content: '✔';
  color: #F2C14E; /* Primary color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-live__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live__mobile-app-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px #FFD36B; /* Glow effect */
}

.page-live__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  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;
  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: #222222;
}

.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);
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1rem;
  line-height: 1.7;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-live__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

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

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

  .page-live__mobile-text {
    order: 2;
  }

  .page-live__mobile-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }

  .page-live__mobile-features-list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
  }
}

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

  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    padding-bottom: 30px;
  }

  .page-live__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-live__section-title {
    font-size: 1.8rem;
    padding-top: 30px;
  }

  .page-live__info-section,
  .page-live__games-showcase,
  .page-live__promotions-section,
  .page-live__mobile-app-section,
  .page-live__faq-section {
    padding: 40px 0;
  }

  .page-live__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__cta-buttons {
    flex-direction: column;
    gap: 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 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-live__hero-image-wrapper,
  .page-live__game-card,
  .page-live__promo-card,
  .page-live__feature-item,
  .page-live__mobile-image-wrapper,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-live__game-card-image,
  .page-live__promo-card-image {
    height: 180px;
  }

  .page-live__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-live__mobile-app-image {
    max-width: 300px;
  }
}