.page-live {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 40px; /* Ensure space above footer */
}

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

/* HERO Section */
.page-live__hero-section {
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-top: var(--header-offset, 120px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.page-live__hero-content-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: cover;
}

.page-live__hero-text-container {
  background: rgba(17, 17, 17, 0.9); /* Card B G with opacity */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-top: 20px;
  color: #FFF6D6;
}

.page-live__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF6D6;
  margin-bottom: 15px;
  max-width: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

/* General Section Styles */
.page-live__section-title {
  font-size: 2.5em;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-live__section-subtitle {
  font-size: 1.2em;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__dark-section {
  background-color: #111111; /* Card B G */
  padding: 60px 0;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

/* Card Styles */
.page-live__card {
  background-color: #111111; /* Card B G */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__card-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-live__card-text {
  font-size: 1em;
  line-height: 1.5;
  flex-grow: 1;
}

/* Buttons */
.page-live__btn-primary,
.page-live__btn-secondary,
.page-live__btn-tertiary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-live__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast */
  border: none;
  box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

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

.page-live__btn-secondary {
  background: #111111; /* Card B G */
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-live__btn-secondary:hover {
  background: #222222;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
}

.page-live__btn-tertiary {
  background: none;
  color: #F2C14E;
  border: 1px solid #F2C14E;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-live__btn-tertiary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
}

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

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

.page-live__feature-card .page-live__feature-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

/* Games Section */
.page-live__games-section {
  padding: 80px 0;
}

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

.page-live__game-card .page-live__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-live__game-card {
  text-align: center;
}

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

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

.page-live__promo-card .page-live__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-live__promo-card {
  text-align: center;
}

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

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

.page-live__step-card {
  text-align: center;
}

.page-live__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  background-color: #3A2A12;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid #F2C14E;
}

/* Responsible Gaming Section */
.page-live__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

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

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

.page-live__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for question */
  border-bottom: 1px solid #3A2A12;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-live__faq-toggle {
  font-size: 1.5em;
  color: #F2C14E;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #111111; /* Card B G */
}

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

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

/* Call to Action Section */
.page-live__cta-section {
  padding: 80px 0;
  text-align: center;
}

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

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

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

  .page-live__section-subtitle {
    font-size: 1.1em;
  }

  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__promotions-grid,
  .page-live__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

  .page-live__hero-content-wrapper {
    padding: 10px;
  }

  .page-live__hero-image {
    max-width: 100%;
    margin-bottom: 20px;
  }

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

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

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

  .page-live__btn-primary.page-live__hero-btn,
  .page-live__btn-secondary.page-live__hero-btn {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-live__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

  .page-live__section-subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-live__dark-section,
  .page-live__games-section,
  .page-live__promotions-section,
  .page-live__get-started-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__cta-section {
    padding: 40px 0;
  }

  .page-live__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* All content containers for mobile */
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .page-live__hero-content-wrapper,
  .page-live__features-grid,
  .page-live__games-grid,
  .page-live__promotions-grid,
  .page-live__steps-grid,
  .page-live__faq-list,
  .page-live__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-live__card {
    padding: 20px;
  }

  /* 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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live__cta-buttons,
  .page-live__button-group,
  .page-live__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
  
  .page-live__faq-question {
    padding: 15px;
  }
  
  .page-live__faq-answer {
    padding: 0 15px;
  }
  
  .page-live__faq-item.active .page-live__faq-answer {
    padding: 10px 15px;
  }
}

/* Ensure no filter on images */
.page-live img {
  filter: none !important;
}