/* style/live.css */

/* Base styles for the live page, using BEM naming and scoped to .page-live */
.page-live {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Dark background as per custom color */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on wider elements */
}

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

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

.page-live__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD36B; /* Auxiliary color for sub-titles */
}

.page-live__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-text-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

.page-live__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Primary color for border */
}

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

.page-live__btn-text-link {
  color: #FFD36B;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.page-live__btn-text-link:hover {
  color: #FFF6D6;
}

/* Hero Section */
.page-live__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for hero section */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-live__video-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.page-live__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.page-live__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-live__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  color: #FFF6D6;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

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

/* About Section */
.page-live__about-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__image-text-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live__image-text-grid--reverse {
  flex-direction: row-reverse;
}

.page-live__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-live__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-live__text-content {
  flex: 1;
  min-width: 300px;
}

/* Games Showcase Section */
.page-live__games-showcase-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

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

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

.page-live__game-card-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-live__game-card .page-live__btn-primary {
  margin: 0 15px;
  width: calc(100% - 30px);
}

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

/* Why Choose Section */
.page-live__why-choose-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__feature-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

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

/* Access Section */
.page-live__access-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-live__step-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Payments & Security Section */
.page-live__payments-security-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-live__payment-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-live__payment-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
  filter: brightness(1.2); /* Slightly brighten logos for visibility on dark bg, but no color change */
}

.page-live__payment-name {
  font-size: 1.1em;
  color: #FFF6D6;
  font-weight: bold;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-live__faq-list {
  margin-top: 40px;
}

.page-live__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #2a2a2a;
}

.page-live__faq-title {
  margin: 0;
  color: #F2C14E;
  font-size: 1.1em;
}

.page-live__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.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;
  color: #FFF6D6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

/* Final CTA Section */
.page-live__cta-final-section {
  padding: 60px 0;
  background-color: #0A0A0A;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__sub-title {
    font-size: 1.5em;
  }
  .page-live__image-text-grid {
    flex-direction: column;
    text-align: center;
  }
  .page-live__image-text-grid--reverse {
    flex-direction: column-reverse;
  }
  .page-live__image-wrapper,
  .page-live__text-content {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-live {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-live__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__sub-title {
    font-size: 1.3em;
  }
  .page-live__hero-section {
    padding-bottom: 40px;
  }
  .page-live__video-container {
    margin-bottom: 20px;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-live__cta-buttons .page-live__btn-primary,
  .page-live__cta-buttons .page-live__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__content-wrapper {
    padding: 15px;
  }
  .page-live__games-grid,
  .page-live__features-grid,
  .page-live__access-steps,
  .page-live__payment-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live__game-card-image {
    height: 180px;
  }
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__image-wrapper,
  .page-live__text-content,
  .page-live__game-card,
  .page-live__feature-card,
  .page-live__step-card,
  .page-live__payment-card,
  .page-live__faq-item {
    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__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__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;
    flex-direction: column;
  }
  .page-live__faq-question,
  .page-live__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px 15px 20px 15px;
  }
}

/* Glow effect for buttons and important elements */
.page-live__btn-primary {
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.5); /* Using Glow color */
}

.page-live__btn-primary:hover {
  box-shadow: 0 0 25px rgba(255, 211, 107, 0.7);
}

.page-live__game-card:hover,
.page-live__feature-card:hover,
.page-live__step-card:hover,
.page-live__payment-card:hover,
.page-live__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 211, 107, 0.2);
  transition: all 0.3s ease-in-out;
}

/* Ensure images don't have filter for color change */
.page-live img {
  filter: none; /* Explicitly disable any filter that might change colors */
}

.page-live__payment-logo {
  filter: brightness(1.2); /* Allowed for visibility, not color change */
}

/* Text contrast safety */
.page-live p, .page-live li {
  color: #FFF6D6;
}

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

.page-live__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-live__medium-bg {
  background: #FFD36B;
  color: #000000;
}