.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.page-live__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

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

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

.page-live__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

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

.page-live__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text on bright button for contrast */
  transform: translateY(-2px);
}

.page-live__btn-tertiary {
  background-color: #3A2A12; /* Border color for subtle buttons */
  color: #FFF6D6;
  border: none;
  font-size: 0.9em;
  padding: 8px 15px;
}

.page-live__btn-tertiary:hover {
  background-color: #F2C14E; /* Main color on hover */
  color: #111111;
}

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

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

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

/* Hero Section */
.page-live__hero-section {
  background-color: #0A0A0A; /* Use background color from palette */
  padding-top: var(--header-offset, 120px); /* Desktop padding-top */
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-live__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Default to column for mobile-first, then row for desktop */
  align-items: center;
  text-align: center;
  gap: 40px;
}

.page-live__hero-image-wrapper {
  width: 100%;
  max-width: 800px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-live__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

/* Features Section */
.page-live__features-section,
.page-live__games-section,
.page-live__promo-section,
.page-live__app-section,
.page-live__security-section,
.page-live__support-section,
.page-live__faq-section,
.page-live__cta-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Consistent background */
}

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

.page-live__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-live__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-live__feature-icon {
  width: 200px; /* Min size */
  height: 200px; /* Min size */
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page-live__feature-title,
.page-live__game-title,
.page-live__promo-title,
.page-live__security-title,
.page-live__support-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E;
}

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

/* Games Section */
.page-live__game-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.page-live__category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 25px;
  padding: 10px 20px;
  color: #FFF6D6;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-live__category-item:hover {
  background-color: #F2C14E;
  color: #111111;
}

.page-live__category-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

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

.page-live__game-image {
  width: 100%;
  height: 267px; /* Maintain aspect ratio for 400x267 display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

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

.page-live__promo-image {
  width: 100%;
  height: 225px; /* Maintain aspect ratio for 400x225 display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-live__promo-text {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* App Section */
.page-live__app-content-wrapper {
  display: flex;
  flex-direction: column; /* Default to column */
  align-items: center;
  gap: 40px;
}

.page-live__app-text-block {
  text-align: center;
}

.page-live__app-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-live__app-download-note {
  font-size: 0.9em;
  color: #FFD36B;
  margin-top: 20px;
}

.page-live__app-image-wrapper {
  width: 100%;
  max-width: 400px;
}

.page-live__app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-live__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__security-item {
  text-align: left;
}

/* Support Section */
.page-live__support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-live__support-item {
  text-align: left;
}

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

.page-live__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #111111;
  color: #F2C14E; /* Main color for question */
  font-weight: bold;
  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: inherit;
}

.page-live__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Auxiliary color for toggle */
}

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg); /* Or change to '-' */
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #111111;
}

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

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

/* Media Queries */
@media (min-width: 769px) {
  .page-live__hero-content-wrapper {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .page-live__hero-text-block {
    flex: 1;
    padding-right: 30px;
  }

  .page-live__hero-image-wrapper {
    flex: 1;
  }

  .page-live__app-content-wrapper {
    flex-direction: row-reverse;
    text-align: left;
    justify-content: space-between;
  }

  .page-live__app-text-block {
    flex: 1;
    padding-right: 30px;
    text-align: left;
  }

  .page-live__app-image-wrapper {
    flex: 1;
  }

  .page-live__cta-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .page-live__section-title {
    font-size: 2em;
  }

  .page-live__section-description {
    font-size: 1em;
  }

  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

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

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

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