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

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

.page-live__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-live__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

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

.page-live__hero-container {
  position: relative;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
  margin-bottom: 30px;
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-live__hero-title {
  font-size: 3.5em;
  font-weight: 900;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow color for main title */
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-live__hero-description {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-live__btn-secondary:hover {
  background-color: #FFD36B;
  color: #0A0A0A;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 211, 107, 0.4);
}

/* Intro Section */
.page-live__intro-section {
  background-color: #0A0A0A;
}

/* Popular Games Section */
.page-live__popular-games-section {
  background-color: #0A0A0A;
  padding-top: 80px;
}

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

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

.page-live__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.2);
}

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

.page-live__game-content {
  padding: 25px;
}

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

.page-live__game-text {
  color: #FFF6D6;
  font-size: 0.95em;
}

/* Dealer Experience & Tech Security Sections */
.page-live__dealer-experience-section,
.page-live__tech-security-section {
  background-color: #0A0A0A;
  padding-top: 80px;
}

.page-live__content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-live__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-live__text-block {
  flex: 1;
  padding-right: 20px;
}

.page-live__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-live__text-block .page-live__section-title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-live__text-block .page-live__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

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

/* How to Play Section */
.page-live__how-to-play-section {
  background-color: #0A0A0A;
  padding-top: 80px;
}

.page-live__steps-list {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 800px;
  text-align: left;
}

.page-live__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  counter-increment: step-counter;
}

.page-live__step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #F2C14E;
  color: #111111;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-live__step-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
  padding-left: 40px;
}

.page-live__step-text {
  color: #FFF6D6;
  font-size: 1em;
  padding-left: 40px;
}

.page-live__text-link {
  color: #FFD36B;
  text-decoration: underline;
}

.page-live__text-link:hover {
  color: #F2C14E;
}

/* Providers Section */
.page-live__providers-section {
  background-color: #0A0A0A;
  padding-top: 80px;
}

.page-live__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 50px;
  justify-items: center;
  align-items: center;
}

.page-live__provider-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__provider-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

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

.page-live__faq-list {
  max-width: 900px;
  margin: 50px auto;
  text-align: left;
}

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

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

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

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

.page-live__faq-toggle {
  font-size: 1.8em;
  color: #FFD36B;
  font-weight: bold;
  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 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #FFF6D6;
  font-size: 0.95em;
}

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

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

/* Final CTA Section */
.page-live__final-cta-section {
  background-color: #0A0A0A;
  padding-top: 80px;
  padding-bottom: 100px;
}

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

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

  .page-live__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-live__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-live__text-block {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .page-live__text-block .page-live__section-title,
  .page-live__text-block .page-live__section-description {
    text-align: center;
  }
}

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

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

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

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

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

  .page-live__section-title {
    font-size: 2em;
  }

  .page-live__games-grid,
  .page-live__providers-grid {
    grid-template-columns: 1fr;
  }

  .page-live__game-image {
    height: 200px;
  }

  .page-live__step-item::before {
    left: 15px;
    transform: translateY(-50%);
  }

  .page-live__step-title,
  .page-live__step-text {
    padding-left: 60px;
  }

  /* Mobile image responsiveness */
  .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-container,
  .page-live__game-card,
  .page-live__content-wrapper,
  .page-live__text-block,
  .page-live__image-block,
  .page-live__providers-grid,
  .page-live__provider-logo,
  .page-live__faq-list,
  .page-live__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile button responsiveness */
  .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;
    margin-bottom: 10px; /* Add some space between stacked buttons */
  }

  .page-live__hero-cta-buttons,
  .page-live__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}