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

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

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000; /* Fallback if image fails */
  padding: 0;
  margin-bottom: 40px;
}

.page-live__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  max-width: 900px;
}

.page-live__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-live__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.page-live__button--primary {
  background-color: #007bff;
  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;
  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: 5px;
}

.page-live__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-live__section-title {
  font-size: 2.8em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-live__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-live__about-section, .page-live__games-section, .page-live__promo-section, .page-live__mobile-section, .page-live__security-section, .page-live__cta-section, .page-live__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-live__about-section {
  background-color: #fcfcfc;
}

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

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

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

.page-live__feature-icon {
  width: 200px; /* Minimum display size */
  height: 150px; /* Minimum display size */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-live__card-description {
  font-size: 1em;
  color: #666666;
}

.page-live__games-section {
  background-color: #f4f7f6;
}

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

.page-live__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-live__game-image {
  width: 100%;
  height: 200px; /* Minimum display height */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-live__game-card .page-live__card-title {
  padding: 0 15px;
  margin-top: 0;
}

.page-live__game-card .page-live__card-description {
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-live__promo-section {
  background-color: #fcfcfc;
}

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

.page-live__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

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

.page-live__promo-image {
  width: 100%;
  height: 225px; /* Minimum display height */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-live__promo-card .page-live__card-title {
  padding: 0 15px;
  margin-top: 0;
}

.page-live__promo-card .page-live__card-description {
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-live__mobile-section {
  background-color: #e9f7ee; /* Light green tint */
}

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

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

.page-live__mobile-content .page-live__section-title {
  text-align: left;
  color: #28a745;
}

.page-live__mobile-content .page-live__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 30px;
}

.page-live__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-live__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 400px; /* Example display width */
  height: 300px; /* Example display height */
}

.page-live__security-section {
  background-color: #fcfcfc;
}

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

.page-live__security-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live__security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-live__security-icon {
  width: 200px; /* Minimum display size */
  height: 200px; /* Minimum display size */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-live__cta-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-live__cta-section .page-live__section-title {
  color: #ffffff;
  margin-bottom: 30px;
}

.page-live__cta-section .page-live__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-live__faq-section {
  background-color: #f4f7f6;
}

.page-live__faq-accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-live__faq-question {
  font-size: 1.3em;
  color: #007bff;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-live__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-live__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-live__faq-answer p {
  padding-bottom: 20px;
  margin: 0;
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
  }
  .page-live__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-live__section-title {
    font-size: 1.8em;
    padding-top: 20px;
  }
  .page-live__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-live__about-section, .page-live__games-section, .page-live__promo-section, .page-live__mobile-section, .page-live__security-section, .page-live__cta-section, .page-live__faq-section {
    padding: 40px 0;
    margin-bottom: 20px;
  }
  .page-live__mobile-layout {
    flex-direction: column;
    gap: 30px;
  }
  .page-live__mobile-content, .page-live__mobile-image-wrapper {
    text-align: center;
  }
  .page-live__mobile-content .page-live__section-title,
  .page-live__mobile-content .page-live__section-intro {
    text-align: center;
  }

  /* Critical: Mobile image overflow prevention */
  .page-live img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content area images are not too small for display */
  .page-live__feature-icon,
  .page-live__game-image,
  .page-live__promo-image,
  .page-live__mobile-image,
  .page-live__security-icon {
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 150px; /* Enforce minimum height for content images, adjusted for aspect ratio */
    height: auto; /* Allow height to adjust proportionally */
    width: auto; /* Allow width to adjust proportionally */
    max-width: 100%; /* Prevent overflow */
  }
  .page-live__security-icon {
    min-height: 200px; /* Maintain square aspect for icons */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__hero-buttons {
    width: 100%;
  }
  .page-live__button {
    width: 95%;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-live__faq-answer p {
    padding-bottom: 15px;
  }
}