.page-live-baccarat {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-live-baccarat__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-live-baccarat__hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-live-baccarat__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.page-live-baccarat__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live-baccarat__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-live-baccarat__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-live-baccarat__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live-baccarat__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-live-baccarat__button--play,
.page-live-baccarat__button--login,
.page-live-baccarat__button--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live-baccarat__button--play:hover,
.page-live-baccarat__button--login:hover,
.page-live-baccarat__button--download:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

.page-live-baccarat__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
  padding-top: 60px;
}

.page-live-baccarat__features-section {
  background-color: #f5f5f5;
  padding: 60px 20px;
}

.page-live-baccarat__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live-baccarat__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live-baccarat__feature-card:hover {
  transform: translateY(-10px);
}

.page-live-baccarat__feature-card img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Min image height */
  min-width: 200px; /* Min image width */
}

.page-live-baccarat__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-live-baccarat__card-description {
  font-size: 1em;
  color: #555555;
}

.page-live-baccarat__how-to-play-section,
.page-live-baccarat__strategies-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-live-baccarat__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live-baccarat__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-live-baccarat__text-content {
  flex: 1;
}

.page-live-baccarat__image-container {
  flex: 1;
  min-width: 300px;
}

.page-live-baccarat__image-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 200px; /* Min image height */
  min-width: 200px; /* Min image width */
}

.page-live-baccarat__paragraph {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #444444;
}

.page-live-baccarat__sub-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-live-baccarat__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-live-baccarat__list-item {
  margin-bottom: 10px;
  color: #444444;
}

.page-live-baccarat__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  margin-top: 20px;
}

.page-live-baccarat__button--learn-more:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

.page-live-baccarat__cta-section {
  background-color: #FCBC45;
  color: #000000;
  padding: 80px 20px;
  text-align: center;
}

.page-live-baccarat__cta-section .page-live-baccarat__section-title {
  color: #000000;
  margin-bottom: 25px;
}

.page-live-baccarat__cta-section .page-live-baccarat__paragraph {
  color: #333333;
  font-size: 1.15em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-live-baccarat__hero-title {
    font-size: 2.5em;
  }
  .page-live-baccarat__section-title {
    font-size: 2em;
  }
  .page-live-baccarat__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-live-baccarat__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-live-baccarat__text-content,
  .page-live-baccarat__image-container {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live-baccarat__hero-title {
    font-size: 2em;
  }
  .page-live-baccarat__hero-description {
    font-size: 1em;
  }
  .page-live-baccarat__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-baccarat__button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .page-live-baccarat__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }
  .page-live-baccarat__features-grid {
    grid-template-columns: 1fr;
  }
  .page-live-baccarat__feature-card img,
  .page-live-baccarat__image-container img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }
  .page-live-baccarat__sub-title {
    font-size: 1.4em;
  }
  .page-live-baccarat__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure no horizontal scroll */
  .page-live-baccarat {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-live-baccarat__hero-content {
    padding: 60px 15px;
  }
  .page-live-baccarat__hero-title {
    font-size: 1.8em;
  }
  .page-live-baccarat__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-live-baccarat__section-title {
    font-size: 1.6em;
  }
  .page-live-baccarat__feature-card,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__strategies-section,
  .page-live-baccarat__cta-section {
    padding: 40px 15px;
  }
}