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

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

.page-live__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-bottom: 60px; /* Added padding to ensure content is visible below hero content */
}

.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, not changing color */
}

.page-live__hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a decent height */
}

.page-live__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-live__button--primary {
  background-color: #FFCC00; /* Accent color */
  color: #003366; /* Main color as text */
}

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

.page-live__button--secondary {
  background-color: #003366; /* Main color */
  color: #FFCC00; /* Accent color as text */
  border: 2px solid #FFCC00;
}

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

.page-live__introduction-section,
.page-live__games-section,
.page-live__features-section,
.page-live__cta-section,
.page-live__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background for sections */
  margin-bottom: 20px;
}

.page-live__introduction-section {
  background-color: #ffffff;
}

.page-live__section-title {
  font-size: 2.5em;
  color: #003366; /* Main color */
  text-align: center;
  margin-bottom: 30px;
}

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

.page-live__image {
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  max-width: 100%; /* Ensure images are responsive */
  height: auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-live__game-list {
  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: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-live__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency in cards */
  object-fit: cover;
  border-bottom: 1px solid #eee;
  min-width: 200px; /* Minimum size for card images */
  min-height: 200px;
}

.page-live__game-title {
  font-size: 1.5em;
  color: #003366; /* Main color */
  margin: 20px 15px 10px;
  flex-grow: 1;
}

.page-live__game-title a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live__game-title a:hover {
  color: #FFCC00;
}

.page-live__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px 20px;
}

.page-live__button--details {
  background-color: #003366;
  color: #FFCC00;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 6px;
  margin-bottom: 20px;
  border: 1px solid #FFCC00;
}

.page-live__button--details:hover {
  background-color: #002244;
  color: #FFCC00;
}

.page-live__features-section {
  background-color: #eef4f8; /* Lighter blue-grey for features */
}

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

.page-live__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-live__feature-icon {
  width: 100%; /* Ensure the icon scales within its container */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 200px; /* Max width to prevent it from becoming too large */
  min-width: 200px; /* Minimum display width for the feature icon */
  min-height: 200px; /* Minimum display height for the feature icon */
  margin-left: auto;
  margin-right: auto;
}

.page-live__feature-title {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 15px;
}

.page-live__feature-description {
  font-size: 0.95em;
  color: #666666;
}

.page-live__cta-section {
  background-color: #003366; /* Main color for CTA */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-live__cta-title {
  font-size: 2.8em;
  color: #FFCC00; /* Accent color */
  margin-bottom: 20px;
}

.page-live__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

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

.page-live__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #FFCC00;
}

.page-live__faq-question {
  font-size: 1.2em;
  color: #003366;
  margin-bottom: 10px;
}

.page-live__faq-answer {
  font-size: 1em;
  color: #555555;
}

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

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

@media (max-width: 768px) {
  .page-live__hero-content {
    padding: 60px 20px;
    min-height: 400px;
  }

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

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

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

  .page-live__introduction-section,
  .page-live__games-section,
  .page-live__features-section,
  .page-live__cta-section,
  .page-live__faq-section {
    padding: 40px 0;
  }

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

  .page-live__section-text {
    font-size: 0.95em;
  }

  .page-live__game-list,
  .page-live__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-live__game-image,
  .page-live__image {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-live__feature-icon {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure feature icons are also responsive and meet min size */
    min-height: 200px !important;
  }

  .page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

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

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

  .page-live__button {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

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

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