/* style/live.css */

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

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

.page-live__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: bold;
}

.page-live__subsection-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

/* Card Background Color */
.page-live__card-bg {
  background-color: #111111; /* Card BG */
}

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  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%); /* Button */
  color: #111111;
  border: none;
}

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

.page-live__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

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

.page-live__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-live__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-live__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.page-live__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-live__play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4em;
  color: #FFD36B;
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-live__video-link:hover .page-live__play-overlay {
  opacity: 1;
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
  border-radius: 10px;
  margin-top: 80px; /* Push content down over video */
  margin-bottom: 80px;
}

.page-live__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-live__description {
  font-size: 1.2em;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

/* Introduction Section */
.page-live__introduction-section {
  padding: 80px 0;
  text-align: center;
}

/* Features Section */
.page-live__features-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-live__feature-card {
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

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

.page-live__feature-description {
  color: #FFF6D6;
}

/* Games Showcase Section */
.page-live__games-showcase-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-live__game-card {
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-live__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-live__game-title {
  font-size: 1.4em;
  color: #F2C14E;
  padding: 20px 20px 10px;
}

.page-live__game-description {
  color: #FFF6D6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-live__game-card .page-live__btn-primary {
  margin: 0 20px 20px;
}

/* Promotions Section */
.page-live__promotions-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-live__promo-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

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

.page-live__promo-description {
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-live__get-started-section {
  padding: 80px 0;
  text-align: center;
}

.page-live__steps-grid {
  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 */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__step-number {
  font-size: 2.5em;
  color: #FFD36B; /* Glow */
  font-weight: bold;
  margin-bottom: 15px;
  background: rgba(255, 211, 107, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-live__step-description {
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-live__security-section {
  padding: 80px 0;
  text-align: center;
}

/* Mobile Section */
.page-live__mobile-section {
  padding: 80px 0;
  text-align: center;
}

.page-live__mobile-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.page-live__mobile-text {
  text-align: left;
}

.page-live__mobile-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-live__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Payment & Support Section */
.page-live__payment-support-section {
  padding: 80px 0;
  text-align: center;
}

.page-live__payment-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-live__payment-info,
.page-live__support-info {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-live__support-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-live__support-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-live__faq-section {
  padding: 80px 0;
}

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

.page-live__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  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; /* Card BG */
  color: #F2C14E;
  font-weight: bold;
  font-size: 1.2em;
}

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

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

.page-live__faq-item.active .page-live__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px !important;
}

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

/* Bottom CTA Section */
.page-live__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #111111; /* Card BG */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__section-title {
    font-size: 2em;
  }

  .page-live__description {
    font-size: 1.1em;
  }

  .page-live__hero-content {
    padding: 30px;
  }
}

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

  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-live__hero-content {
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .page-live__main-title {
    font-size: 2.2em;
  }

  .page-live__description {
    font-size: 1em;
  }

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

  .page-live__btn-primary,
  .page-live__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__promos-grid,
  .page-live__steps-grid,
  .page-live__payment-support-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-live__mobile-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }

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

  .page-live__mobile-image-wrapper {
    order: 1;
  }

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

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

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

  .page-live__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-live__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__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-live__faq-item.active .page-live__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: 1.8em;
  }
}