.page-live {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-live__content-wrapper--reverse {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 30px;
}

@media (min-width: 768px) {
  .page-live__content-wrapper--reverse {
    flex-direction: row;
  }
}

.page-live__content-wrapper--alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

@media (min-width: 768px) {
  .page-live__content-wrapper--alt {
    flex-direction: row;
  }
}

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #1a0e35; /* Dark background for hero */
  color: #ffffff;
  padding: 0;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image to make text pop */
}

.page-live__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
  width: 100%;
}

.page-live__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #D72638; /* Auxiliary color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live__lead-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-live__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-live__btn--primary {
  background-color: #D72638; /* Auxiliary color */
  color: #ffffff;
  border: 2px solid #D72638;
}

.page-live__btn--primary:hover {
  background-color: #b31f2c;
  transform: translateY(-2px);
}

.page-live__btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-live__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-live__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-live__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-live__btn--center {
  margin: 20px auto 0;
  display: block;
  width: fit-content;
}

.page-live__section-title {
  font-size: 2.2em;
  color: #3A1C71; /* Main color */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-live__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #D72638; /* Auxiliary color for underline */
  border-radius: 2px;
}

.page-live__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

.page-live__feature-card, .page-live__game-card, .page-live__bonus-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__feature-card:hover, .page-live__game-card:hover, .page-live__bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-live__feature-icon, .page-live__game-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-live__card-title {
  font-size: 1.4em;
  color: #3A1C71; /* Main color */
  margin-bottom: 10px;
}

.page-live__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-live__mobile-experience-section .page-live__content-wrapper, 
.page-live__security-section .page-live__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-live__mobile-experience-section .page-live__content-wrapper {
    flex-direction: row;
  }
  .page-live__security-section .page-live__content-wrapper {
    flex-direction: row-reverse;
  }
}

.page-live__text-content {
  flex: 1;
  text-align: left;
}

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

.page-live__responsive-image {
  width: 100%;
  max-width: 600px; /* Ensure images are not too small */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-live__cta-section {
  background-color: #3A1C71; /* Main color background */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-live__cta-section .page-live__section-title {
  color: #ffffff;
}

.page-live__cta-section .page-live__section-title::after {
  background-color: #D72638;
}

.page-live__cta-section .page-live__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-live__main-title {
    font-size: 2.5em;
  }
  .page-live__section-title {
    font-size: 2em;
  }
  .page-live__lead-text {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-live__main-title {
    font-size: 2em;
  }
  .page-live__section-title {
    font-size: 1.8em;
  }
  .page-live__lead-text {
    font-size: 1.1em;
  }
  .page-live__hero-actions {
    flex-direction: column;
  }
  .page-live__content-wrapper--reverse, 
  .page-live__content-wrapper--alt {
    flex-direction: column;
  }
  .page-live__text-content, .page-live__image-content {
    text-align: center;
  }
  .page-live__paragraph {
    text-align: left; /* Keep paragraphs left-aligned for readability on mobile */
  }

  /* Mobile specific image sizing */
  .page-live img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
    object-fit: cover; /* Maintain aspect ratio and cover space */
  }
  .page-live__feature-icon, .page-live__game-image, .page-live__responsive-image {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-live__main-title {
    font-size: 1.8em;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__hero-content {
    padding: 15px;
  }
  .page-live__btn {
    padding: 10px 20px;
  }
}