.page-live-baccarat {
  color: #333333; /* Dark text for light body background */
}

.page-live-baccarat__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-live-baccarat__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.page-live-baccarat__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-live-baccarat__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Golden color for title */
}

.page-live-baccarat__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-live-baccarat__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-baccarat__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-live-baccarat__button--play,
.page-live-baccarat__button--login,
.page-live-baccarat__button--start {
  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--start:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

.page-live-baccarat__intro-section,
.page-live-baccarat__features-section,
.page-live-baccarat__why-choose-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__promotions-section,
.page-live-baccarat__responsible-gaming-section,
.page-live-baccarat__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-live-baccarat__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
}

.page-live-baccarat__section-description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-live-baccarat__section-description--bold {
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
}

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

.page-live-baccarat__intro-card,
.page-live-baccarat__feature-item,
.page-live-baccarat__benefit-card,
.page-live-baccarat__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-live-baccarat__intro-card:hover,
.page-live-baccarat__feature-item:hover,
.page-live-baccarat__benefit-card:hover,
.page-live-baccarat__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__intro-card img,
.page-live-baccarat__feature-item img,
.page-live-baccarat__promo-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px; /* Enforce minimum size for content images */
}

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

.page-live-baccarat__card-text,
.page-live-baccarat__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  flex-grow: 1;
}

.page-live-baccarat__how-to-play-section {
  background-color: #f8f8f8;
}

.page-live-baccarat__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 800px;
}

.page-live-baccarat__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-live-baccarat__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

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

.page-live-baccarat__step-text a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-live-baccarat__step-text a:hover {
  text-decoration: underline;
}

.page-live-baccarat__rules-list {
  list-style: disc;
  padding-left: 20px;
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: left;
  color: #666666;
}

.page-live-baccarat__rule-item {
  margin-bottom: 10px;
  line-height: 1.7;
}

.page-live-baccarat__rule-item strong {
  color: #000000;
}

.page-live-baccarat__button--view-promo,
.page-live-baccarat__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: auto;
  align-self: center;
}

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

.page-live-baccarat__cta-section {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

.page-live-baccarat__cta-section .page-live-baccarat__section-title {
  color: #FCBC45;
}

.page-live-baccarat__cta-section .page-live-baccarat__section-description {
  color: #f0f0f0;
}

.page-live-baccarat__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-live-baccarat__hero-title {
    font-size: 3em;
  }
  .page-live-baccarat__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-live-baccarat__hero-section {
    padding: 60px 15px 30px;
  }
  .page-live-baccarat__hero-title {
    font-size: 2.5em;
  }
  .page-live-baccarat__hero-description {
    font-size: 1.1em;
  }
  .page-live-baccarat__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-baccarat__button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-live-baccarat__container {
    padding: 30px 15px;
  }
  .page-live-baccarat__section-title {
    font-size: 1.8em;
  }
  .page-live-baccarat__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-live-baccarat__intro-grid,
  .page-live-baccarat__features-grid,
  .page-live-baccarat__benefits-grid,
  .page-live-baccarat__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-live-baccarat__intro-card img,
  .page-live-baccarat__feature-item img,
  .page-live-baccarat__promo-card img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
  }
  .page-live-baccarat__steps-list {
    padding: 0;
  }
  .page-live-baccarat__step-item {
    padding: 20px;
  }
  .page-live-baccarat__step-title {
    font-size: 1.2em;
  }
  .page-live-baccarat__rules-list {
    padding-left: 15px;
  }
  .page-live-baccarat__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

/* Ensure content images within .page-live-baccarat are at least 200px wide */
.page-live-baccarat img:not([class*="shared-"]) {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile specific image handling to prevent overflow */
@media (max-width: 768px) {
  .page-live-baccarat img {
    max-width: 100%;
    height: auto;
  }
}