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

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

.page-live__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Align content to bottom */
  align-items: center;
}

.page-live__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-live__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-live__hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 0 80px;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-live__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 900px;
}

.page-live__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
}

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

.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.1rem;
  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%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

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

.page-live__btn-secondary {
  background: transparent;
  color: #FFF6D6; /* Text Main */
  border: 2px solid #F2C14E; /* Main color */
}

.page-live__btn-secondary:hover {
  background: #F2C14E; /* Main color */
  color: #111111; /* Dark text for bright button */
}

.page-live__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #FFF6D6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

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

.page-live__features-section,
.page-live__how-to-join-section,
.page-live__popular-games-section,
.page-live__mobile-section,
.page-live__responsible-gaming-section,
.page-live__faq-section,
.page-live__partners-section {
  padding: 80px 0;
}

.page-live__dark-section {
  background-color: #111111; /* Card BG */
}

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

.page-live__feature-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-live__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live__feature-text {
  font-size: 1rem;
  color: #f0f0f0;
}

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

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

.page-live__step-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-live__step-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  flex-grow: 1;
}

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

.page-live__game-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-live__game-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-live__game-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-live__game-text {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-live__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-live__mobile-subtitle {
  font-size: 1.8rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
}

.page-live__mobile-description {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-live__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

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

.page-live__responsible-text {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 40px;
}

.page-live__responsible-subtitle {
  font-size: 1.8rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 20px;
}

.page-live__responsible-description {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-live__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.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.2rem;
  color: #FFF6D6; /* Text Main */
  margin: 0;
}

.page-live__faq-toggle {
  font-size: 1.8rem;
  color: #F2C14E; /* Main color */
  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, padding 0.3s ease;
  color: #f0f0f0;
  font-size: 1rem;
}

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

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

.page-live__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr)); /* Fixed width for partner logos */
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.page-live__partner-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 167px; /* Fixed width */
  height: 127px; /* Fixed height */
  box-sizing: border-box;
}

.page-live__partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-live__hero-content-wrapper {
    padding: 40px 0 60px;
  }
  .page-live__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-live__hero-description {
    font-size: 1.1rem;
  }
  .page-live__features-section,
  .page-live__how-to-join-section,
  .page-live__popular-games-section,
  .page-live__mobile-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__partners-section {
    padding: 60px 0;
  }
  .page-live__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-live__mobile-content {
    flex-direction: column;
  }
  .page-live__mobile-text,
  .page-live__mobile-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }
  .page-live__main-title {
    font-size: clamp(2rem, 8vw, 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 {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-live__container {
    padding: 0 15px;
  }
  .page-live__features-section,
  .page-live__how-to-join-section,
  .page-live__popular-games-section,
  .page-live__mobile-section,
  .page-live__responsible-gaming-section,
  .page-live__faq-section,
  .page-live__partners-section {
    padding: 40px 0;
  }
  .page-live__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }
  .page-live__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }
  .page-live__feature-icon {
    width: 150px;
    height: 150px;
  }
  .page-live__game-image {
    height: 250px;
  }
  .page-live__faq-question {
    padding: 15px 20px;
  }
  .page-live__faq-title {
    font-size: 1.1rem;
  }
  .page-live__faq-answer {
    padding: 15px 20px;
  }
  /* Mobile image responsiveness */
  .page-live img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-live__section,
  .page-live__card,
  .page-live__container,
  .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;
  }
  .page-live__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  .page-live__partner-item {
    width: 100%;
    max-width: 140px;
    height: 100px;
    padding: 10px;
  }
  .page-live__game-card {
    flex-direction: column;
  }
}