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

@media (max-width: 768px) {
  .page-live-baccarat {
    overflow-x: hidden;
  }
}

.page-live-baccarat__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-live-baccarat__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  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: 2;
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

.page-live-baccarat__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

.page-live-baccarat__btn--register:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

.page-live-baccarat__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live-baccarat__btn--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

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

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

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

.page-live-baccarat__features-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__strategy-section,
.page-live-baccarat__security-section,
.page-live-baccarat__testimonials-section,
.page-live-baccarat__cta-section {
  padding: 80px 0;
}

.page-live-baccarat__features-grid,
.page-live-baccarat__steps-grid,
.page-live-baccarat__strategy-grid,
.page-live-baccarat__security-grid,
.page-live-baccarat__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-live-baccarat__feature-card,
.page-live-baccarat__step-card,
.page-live-baccarat__strategy-item,
.page-live-baccarat__security-item,
.page-live-baccarat__testimonial-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-baccarat__feature-card:hover,
.page-live-baccarat__step-card:hover,
.page-live-baccarat__strategy-item:hover,
.page-live-baccarat__security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__feature-card img,
.page-live-baccarat__strategy-item img,
.page-live-baccarat__security-item img {
  width: 100%; /* Ensures image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block; /* Ensure no extra space below image */
}

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

.page-live-baccarat__card-description,
.page-live-baccarat__step-description,
.page-live-baccarat__item-description,
.page-live-baccarat__play-guide-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
}

.page-live-baccarat__play-guide-text {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
}

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

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

.page-live-baccarat__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 20px;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-live-baccarat__btn--small:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.page-live-baccarat__strategy-intro,
.page-live-baccarat__strategy-conclusion,
.page-live-baccarat__security-intro {
  font-size: 1.2em;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 40px;
  color: #333333;
}

.page-live-baccarat__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-live-baccarat__btn--play-now,
.page-live-baccarat__btn--learn-more {
  background-color: #000000;
  color: #FCBC45;
  border: 2px solid #000000;
}

.page-live-baccarat__btn--play-now:hover,
.page-live-baccarat__btn--learn-more:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-live-baccarat__testimonials-section {
  background-color: #F8F8F8;
}

.page-live-baccarat__testimonial-card {
  background-color: #FFFFFF;
  padding: 35px;
  border-left: 5px solid #FCBC45;
  text-align: left;
}

.page-live-baccarat__testimonial-text {
  font-style: italic;
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-live-baccarat__testimonial-author {
  font-weight: bold;
  color: #000000;
  font-size: 1.05em;
}

.page-live-baccarat__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 0;
}

.page-live-baccarat__cta-title {
  font-size: 3em;
  color: #FCBC45;
  margin-bottom: 25px;
}

.page-live-baccarat__cta-description {
  font-size: 1.4em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #F0F0F0;
}

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

.page-live-baccarat__btn--large {
  padding: 18px 40px;
  font-size: 1.25em;
  border-radius: 10px;
}

.page-live-baccarat__btn--large.page-live-baccarat__btn--register {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-live-baccarat__btn--large.page-live-baccarat__btn--register:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  border-color: #FCBC45;
}

.page-live-baccarat__btn--large.page-live-baccarat__btn--login {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-live-baccarat__btn--large.page-live-baccarat__btn--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

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

@media (max-width: 768px) {
  .page-live-baccarat__hero-section {
    padding: 40px 15px;
  }
  .page-live-baccarat__hero-title {
    font-size: 2.5em;
  }
  .page-live-baccarat__hero-description {
    font-size: 1em;
  }
  .page-live-baccarat__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-baccarat__btn {
    width: 100%;
  }
  .page-live-baccarat__features-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__strategy-section,
  .page-live-baccarat__security-section,
  .page-live-baccarat__testimonials-section,
  .page-live-baccarat__cta-section {
    padding: 60px 0;
  }
  .page-live-baccarat__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }
  .page-live-baccarat__features-grid,
  .page-live-baccarat__steps-grid,
  .page-live-baccarat__strategy-grid,
  .page-live-baccarat__security-grid,
  .page-live-baccarat__testimonials-grid {
    grid-template-columns: 1fr;
  }
  .page-live-baccarat__feature-card img,
  .page-live-baccarat__strategy-item img,
  .page-live-baccarat__security-item img {
    height: 200px; /* Maintain minimum height for content images */
    max-width: 100%; /* Prevent overflow */
  }
  .page-live-baccarat__card-title,
  .page-live-baccarat__step-number,
  .page-live-baccarat__item-title {
    font-size: 1.6em;
  }
  .page-live-baccarat__card-description,
  .page-live-baccarat__step-description,
  .page-live-baccarat__item-description,
  .page-live-baccarat__play-guide-text,
  .page-live-baccarat__strategy-intro,
  .page-live-baccarat__strategy-conclusion,
  .page-live-baccarat__security-intro,
  .page-live-baccarat__testimonial-text {
    font-size: 1em;
    text-align: left;
  }
  .page-live-baccarat__cta-title {
    font-size: 2em;
  }
  .page-live-baccarat__cta-description {
    font-size: 1em;
  }
  .page-live-baccarat__cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-live-baccarat__hero-title {
    font-size: 2em;
  }
  .page-live-baccarat__section-title {
    font-size: 1.8em;
  }
  .page-live-baccarat__cta-title {
    font-size: 1.8em;
  }
  .page-live-baccarat__btn--large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}