.page-live {
  font-family: Arial, sans-serif;
  color: var(--text-main, #FFF6D6); /* Default text color for dark background */
  background-color: var(--page-bg, #0A0A0A);
  line-height: 1.6;
}

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

.page-live__container--center-text {
  text-align: center;
}

.page-live__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Ensure content does not overflow */
}

.page-live__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #0A0A0A; /* Dark text for light gradient background */
}

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

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

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

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

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

.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  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%);
  color: #111111; /* Dark text for light button */
  border: 2px solid transparent;
}

.page-live__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-live__btn-secondary {
  background: transparent;
  color: #0A0A0A; /* Dark text for transparent button on light background */
  border: 2px solid #DDA11D;
}

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

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

.page-live__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-live__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-live__grid-two-columns--reversed {
  grid-template-areas: "image text";
}

.page-live__grid-two-columns--reversed .page-live__text-block {
  grid-area: text;
}

.page-live__grid-two-columns--reversed .page-live__image-block {
  grid-area: image;
}

.page-live__text-block p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

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

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

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

.page-live__game-card {
  background: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #FFF6D6);
}

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow, #FFD36B);
}

.page-live__game-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #FFD36B);
}

.page-live__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD36B;
}

.page-live__game-text {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-live__cta-buttons--center {
  margin-top: 40px;
  text-align: center;
}

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

.page-live__step-card {
  background: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #FFF6D6);
}

.page-live__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow, #FFD36B);
}

.page-live__step-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-live__step-text {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-live__faq-item {
  background: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #FFF6D6);
}

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

.page-live__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-live__faq-item.active .page-live__faq-toggle {
  transform: rotate(45deg);
}

.page-live__faq-answer {
  max-height: 0; /* Initial collapsed state */
  overflow: hidden;
  padding: 0 20px; /* Consistent padding */
  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 20px 20px; /* Padding when active */
}

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

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  margin-top: 40px;
}

.page-live__partner-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--card-bg, #111111);
  border: 1px solid var(--border, #3A2A12);
  border-radius: 8px;
  padding: 15px;
  height: 127px; /* Fixed height for partner logos */
  width: 167px; /* Fixed width for partner logos */
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__partner-logo-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow, #FFD36B);
}

.page-live__partner-logo {
  max-width: 100%;
  max-height: 90px; /* Allow logos to scale within wrapper */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(150%); /* Make logos adapt to dark theme */
  transition: filter 0.3s ease;
}

.page-live__partner-logo-wrapper:hover .page-live__partner-logo {
  filter: grayscale(0%) brightness(100%); /* Full color on hover */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-live__grid-two-columns {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .page-live__grid-two-columns--reversed .page-live__text-block,
  .page-live__grid-two-columns--reversed .page-live__image-block {
    grid-area: unset;
  }

  .page-live__image-block {
    order: -1; /* Image appears first on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
    padding-bottom: 40px;
  }

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

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

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

  .page-live__btn-primary,
  .page-live__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-live__section {
    padding: 40px 0;
  }

  .page-live__section-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .page-live__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-live__sub-title {
    font-size: 1.5rem;
  }

  .page-live__text-block p {
    font-size: 0.95rem;
  }

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

  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-image-wrapper,
  .page-live__hero-content,
  .page-live__game-card,
  .page-live__step-card,
  .page-live__partner-logo-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-live__game-grid,
  .page-live__steps-grid,
  .page-live__partners-grid {
    gap: 20px;
  }

  .page-live__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

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

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