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

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

/* Hero Section */
.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #f8f9fa; /* Light background for hero section */
  text-align: center;
  overflow: hidden;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-live__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-live__hero-title {
  font-size: 3.2em;
  color: #007bff; /* Primary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-live__button--primary {
  background-color: #007bff; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-live__button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-live__button--secondary {
  background-color: #28a745; /* Secondary brand color */
  color: #ffffff;
  border: 2px solid #28a745;
}

.page-live__button--secondary:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  transform: translateY(-2px);
}

.page-live__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
}

/* Section Titles and Descriptions */
.page-live__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-live__section-description {
  font-size: 1.1em;
  color: #666666;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

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

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

.page-live__feature-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__feature-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-live__feature-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-live__feature-text {
  font-size: 1em;
  color: #444444;
}

/* Games Section */
.page-live__games-section {
  padding: 80px 0;
  background-color: #e9f7ef; /* Light green tint from secondary color */
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__game-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-live__game-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-live__game-text {
  font-size: 1em;
  color: #444444;
  margin-bottom: 20px;
}

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

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

.page-live__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #007bff;
}

.page-live__step-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-live__step-text {
  font-size: 1em;
  color: #444444;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-live__promotions-section {
  padding: 80px 0;
  background-color: #f0f8ff; /* Light blue tint from primary color */
}

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

.page-live__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-live__promo-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-live__promo-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-live__promo-text {
  font-size: 1em;
  color: #444444;
  margin-bottom: 20px;
}

/* Security Section */
.page-live__security-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

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

.page-live__security-item {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-live__security-item::before {
  content: '&#x2713;'; /* Checkmark icon */
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-live__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-live__faq-question {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-live__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-live__faq-answer {
  font-size: 1em;
  color: #444444;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-live__faq-answer.show {
  max-height: 200px; /* Adjust as needed for content */
  margin-top: 15px;
}

/* Floating Buttons */
.page-live__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-live__floating-button {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.page-live__floating-button--register {
  background-color: #28a745; /* Secondary color for register */
}

.page-live__floating-button--register:hover {
  background-color: #1e7e34;
  transform: translateY(-3px);
}

.page-live__floating-button--login {
  background-color: #007bff; /* Primary color for login */
}

.page-live__floating-button--login:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

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

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

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

  .page-live__button {
    width: 80%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-live {
    padding-top: var(--header-offset, 120px); /* Ensure mobile content is not hidden by fixed header */
  }
  .page-live__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-live__button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-live__features-grid, .page-live__games-grid, .page-live__steps-grid, .page-live__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-live__feature-card, .page-live__game-card, .page-live__step-card, .page-live__promo-card, .page-live__faq-item {
    padding: 20px;
  }

  .page-live__feature-image, .page-live__game-image, .page-live__promo-image {
    max-width: 100%;
    height: auto; /* Ensures images are responsive and do not overflow */
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  .page-live__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 15px;
    gap: 10px;
  }
  .page-live__floating-button {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }

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

  .page-live__floating-buttons {
    flex-direction: column;
    width: calc(100% - 30px);
    left: 15px;
    right: 15px;
    gap: 8px;
  }
  .page-live__floating-button {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}