/* style/live.css */

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

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

.page-live__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Main color from custom scheme */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.page-live__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-live__video-container {
  width: 100%; /* Desktop width: 100% */
  max-width: 1200px;
  margin: 0 auto 30px auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.page-live__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-live__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-live__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #FFD36B; /* Auxiliary color for emphasis */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-live__hero-description {
  font-size: 1.2rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
}

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

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

.page-live__btn-secondary:hover {
  transform: translateY(-3px);
  background: #3A2A12;
  color: #ffffff;
}

/* Introduction Section */
.page-live__introduction-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

/* Games Showcase Section */
.page-live__games-showcase {
  padding: 80px 0;
  background-color: #111111; /* Card BG as light bg for this section */
}

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

.page-live__game-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

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

.page-live__card-description {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Experience Section */
.page-live__experience-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-live__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-live__feature-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
}

.page-live__feature-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Promotions Section */
.page-live__promotions-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-live__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__promo-item {
  background-color: rgba(242, 193, 78, 0.1);
  border-left: 5px solid #F2C14E;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #FFF6D6;
  font-size: 1.1rem;
}

.page-live__promo-item strong {
  color: #FFD36B;
}

.page-live__promotions-section .page-live__btn-primary {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Getting Started Section */
.page-live__getting-started-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-live__step-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__step-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Security Section */
.page-live__security-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-live__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-live__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
  min-width: 200px; /* Enforce min size */
}

.page-live__security-text {
  flex-grow: 1;
}

/* App Section */
.page-live__app-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-live__app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  flex-direction: row-reverse; /* Image on right */
}

.page-live__app-text {
  flex-grow: 1;
}

.page-live__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
  min-width: 200px; /* Enforce min size */
}

.page-live__app-section .page-live__btn-primary {
  margin-top: 20px;
  display: inline-block;
}

/* Support Section */
.page-live__support-section {
  padding: 80px 0;
  background-color: #111111;
  text-align: center;
}

.page-live__support-channels {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

.page-live__faq-list {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-live__faq-item {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
  background-color: #3A2A12;
}

.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-question {
  background-color: #3A2A12;
}

.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: 1rem;
}

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

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

.page-live__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  min-width: 200px;
}

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

.page-live__cta-final-section .page-live__btn-primary {
  margin-top: 30px;
  display: inline-block;
}

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

  .page-live__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

  .page-live__security-content,
  .page-live__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-live__security-image,
  .page-live__app-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-live__app-content {
    flex-direction: column-reverse; /* App image on top */
  }

  .page-live__app-image {
    order: 0;
  }
}

@media (max-width: 768px) {
  .page-live__container {
    padding: 0 15px;
  }

  .page-live__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Still decorative top padding */
  }

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

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

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

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

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

  .page-live__text-block,
  .page-live__card-description,
  .page-live__feature-description,
  .page-live__promo-item,
  .page-live__step-description,
  .page-live__faq-answer {
    font-size: 0.95rem;
  }

  .page-live__game-card,
  .page-live__feature-item,
  .page-live__step-card {
    padding: 20px;
  }

  .page-live__game-image,
  .page-live__security-image,
  .page-live__app-image,
  .page-live__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-live__security-content,
  .page-live__app-content {
    gap: 20px;
  }

  .page-live__promo-list,
  .page-live__faq-list {
    margin-left: 0;
    margin-right: 0;
  }

  .page-live__promo-item,
  .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;
  }

  .page-live__support-channels {
    flex-direction: column;
  }

  /* Video specific mobile styles */
  .page-live__video-container {
    margin-bottom: 20px;
  }

  .page-live__video {
    border-radius: 5px;
  }
}

/* Global image reset for content area */
.page-live img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure content area images are not too small */
.page-live__game-image,
.page-live__security-image,
.page-live__app-image,
.page-live__faq-image {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Specific overrides for min-width for larger screens if flex-shrink: 0 is not enough */
@media (min-width: 769px) {
  .page-live__security-image {
    width: 400px; /* fixed width for desktop */
    height: 300px;
  }
  .page-live__app-image {
    width: 800px; /* fixed width for desktop */
    height: 600px;
  }
}