.page-live {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0A192F; /* Inherited from shared, but for clarity */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-live__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 40px 20px;
  text-align: center;
}

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

.page-live__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-live__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.page-live__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  white-space: nowrap;
}

.page-live__button--primary {
  background-color: #FFD700; /* Gold main color */
  color: #1E90FF; /* Deep blue text for contrast */
}

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

.page-live__button--secondary {
  background-color: #1E90FF; /* Deep blue auxiliary color */
  color: #FFD700; /* Gold text for contrast */
  border: 2px solid #FFD700;
}

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

.page-live__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold main color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
}

.page-live__section-intro {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-live__games-showcase,
.page-live__gcash-integration,
.page-live__promotions,
.page-live__why-choose,
.page-live__cta-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

.page-live__game-card {
  background-color: rgba(30, 144, 255, 0.15); /* Semi-transparent blue */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-live__game-card:hover {
  transform: translateY(-8px);
  background-color: rgba(30, 144, 255, 0.3);
}

.page-live__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #FFD700;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-live__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-live__game-description {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-live__gcash-integration {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: rgba(255, 215, 0, 0.1); /* Semi-transparent gold */
  border-radius: 15px;
  padding: 50px;
  margin-top: 80px;
}

.page-live__gcash-content {
  flex: 1;
}

.page-live__gcash-content .page-live__section-title,
.page-live__gcash-content .page-live__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-live__gcash-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-live__gcash-features li {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-live__feature-icon {
  font-size: 1.5em;
  color: #FFD700;
}

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

.page-live__gcash-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  border: 3px solid #1E90FF;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-live__promotions {
  margin-top: 80px;
}

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

.page-live__promo-card {
  background-color: rgba(255, 215, 0, 0.15); /* Semi-transparent gold */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live__promo-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 215, 0, 0.3);
}

.page-live__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #1E90FF;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-live__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-live__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-live__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

.page-live__why-choose {
  margin-top: 80px;
  padding-bottom: 80px;
}

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

.page-live__feature-item {
  background-color: rgba(30, 144, 255, 0.1); /* Semi-transparent blue */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.page-live__feature-item:hover {
  background-color: rgba(30, 144, 255, 0.25);
}

.page-live__feature-item .page-live__feature-icon {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-live__feature-heading {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-live__feature-text {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.5;
}

.page-live__cta-bottom {
  text-align: center;
  padding: 80px 20px;
  background-color: #1E90FF; /* Deep blue auxiliary color */
  border-radius: 15px;
  margin-top: 80px;
  margin-bottom: 80px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-live__cta-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
}

.page-live__cta-description {
  font-size: 1.2em;
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__section-title {
    font-size: 2.4em;
  }
  .page-live__gcash-integration {
    flex-direction: column;
    text-align: center;
  }
  .page-live__gcash-content .page-live__section-title,
  .page-live__gcash-content .page-live__section-intro {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }
  .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 {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-live__section-title {
    font-size: 2em;
    padding-top: 40px;
  }
  .page-live__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-live__game-grid,
  .page-live__promo-grid,
  .page-live__features-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-live__gcash-integration {
    padding: 30px;
    gap: 30px;
  }
  .page-live__gcash-features li {
    font-size: 1em;
  }
  .page-live__cta-title {
    font-size: 2em;
  }
  .page-live__cta-description {
    font-size: 1em;
  }
  .page-live__hero-image img,
  .page-live__game-image,
  .page-live__gcash-image,
  .page-live__promo-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }
  /* Ensure all content images do not cause horizontal overflow */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  .page-live__hero-image {
    filter: brightness(0.5); /* Slightly darker for mobile readability */
  }
  .page-live__gcash-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__section-title {
    font-size: 1.6em;
  }
  .page-live__game-image,
  .page-live__promo-image {
    height: 200px;
  }
  .page-live__cta-title {
    font-size: 1.8em;
  }
}