.page-live {
  color: #333333;
}

.page-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0d0d0d; /* Dark background for hero to make gold/red pop */
  text-align: center;
  overflow: hidden;
}

.page-live__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3; /* Subtle overlay */
}

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

.page-live__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  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.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

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

.page-live__hero-button--primary {
  background-color: #FFD700;
  color: #8B0000;
}

.page-live__hero-button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-live__hero-button--secondary {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__hero-button--secondary:hover {
  background-color: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-live__about-section, .page-live__games-section, .page-live__promo-section, .page-live__baccarat-detail-section, .page-live__get-started-section, .page-live__faq-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-live__section-title {
  font-size: 2.8em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-live__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

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

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

.page-live__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-live__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

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

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

.page-live__game-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-live__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-live__game-card h3 {
  padding: 20px 25px 0;
  margin: 0;
}

.page-live__game-title a {
  font-size: 1.5em;
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-live__game-description {
  padding: 0 25px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
}

.page-live__play-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 12px 25px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-live__play-button:hover {
  background-color: #e6c200;
}

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

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

.page-live__promo-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-live__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-live__promo-title {
  font-size: 1.8em;
  color: #8B0000;
  margin: 25px 20px 15px;
}

.page-live__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  padding: 0 20px 25px;
  flex-grow: 1;
}

.page-live__promo-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-live__promo-button:hover {
  background-color: #a30000;
}

.page-live__view-all-promos-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__view-all-promos-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-live__baccarat-guide-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 15px 30px;
  background-color: #8B0000;
  color: #FFD700;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__baccarat-guide-button:hover {
  background-color: #a30000;
  transform: translateY(-2px);
}

.page-live__get-started-section {
  background-color: #f0f0f0;
}

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

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

.page-live__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-live__step-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-live__step-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-live__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

.page-live__step-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-live__step-button:hover {
  background-color: #e6c200;
}

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

.page-live__faq-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-live__faq-question {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

.page-live__faq-answer a {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
}

.page-live__faq-answer a:hover {
  text-decoration: underline;
}

.page-live__view-all-faq-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live__view-all-faq-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-live__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-live__floating-button {
  display: block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-live__floating-button--register {
  background-color: #FFD700;
  color: #8B0000;
}

.page-live__floating-button--register:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-live__floating-button--login {
  background-color: #8B0000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live__floating-button--login:hover {
  background-color: #a30000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live__hero-title {
    font-size: 2.8em;
  }
  .page-live__hero-description {
    font-size: 1.1em;
  }
  .page-live__section-title {
    font-size: 2.2em;
  }
  .page-live__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-live__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-live__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 60px 20px;
  }
  .page-live__hero-content {
    padding: 40px 15px;
  }
  .page-live__hero-title {
    font-size: 2.2em;
  }
  .page-live__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-live__about-section, .page-live__games-section, .page-live__promo-section, .page-live__baccarat-detail-section, .page-live__get-started-section, .page-live__faq-section {
    padding: 60px 0;
  }
  .page-live__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-live__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-live__feature-grid, .page-live__game-grid, .page-live__promo-cards, .page-live__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-live__game-image, .page-live__promo-image {
    height: 200px;
  }
  .page-live__feature-icon, .page-live__step-icon {
    width: 200px;
    height: 200px;
  }
  .page-live__floating-buttons {
    flex-direction: row;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    bottom: 15px;
    gap: 10px;
  }
  .page-live__floating-button {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9em;
  }
  /* Ensure content area images are responsive */
  .page-live img {
    max-width: 100%;
    height: auto;
  }
  /* Content area images must be at least 200px wide */
  .page-live__feature-icon, .page-live__step-icon {
    min-width: 200px;
    min-height: 200px;
  }
  .page-live__game-image, .page-live__promo-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-live__hero-title {
    font-size: 1.8em;
  }
  .page-live__section-title {
    font-size: 1.5em;
  }
  .page-live__faq-question {
    font-size: 1.2em;
  }
  .page-live__floating-buttons {
    bottom: 10px;
    gap: 8px;
  }
  .page-live__floating-button {
    padding: 8px 12px;
    font-size: 0.85em;
  }
}