.page-live-baccarat {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF; /* Explicitly set main content background */
}

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

.page-live-baccarat__hero-section {
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 80px 20px 0; /* Adjusted padding to prevent double offset with main padding-top */
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-live-baccarat__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

.page-live-baccarat__hero-description {
  font-size: 1.25em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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, color 0.3s ease, transform 0.3s 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: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

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

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

.page-live-baccarat__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.page-live-baccarat__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-live-baccarat__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-live-baccarat__section-text {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-live-baccarat__keyword {
  color: #FCBC45;
  font-weight: bold;
}

.page-live-baccarat__about-section,
.page-live-baccarat__features-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__game-types-section,
.page-live-baccarat__strategies-section,
.page-live-baccarat__bonuses-section,
.page-live-baccarat__faq-section,
.page-live-baccarat__cta-final-section {
  padding: 60px 0;
}

.page-live-baccarat__features-grid,
.page-live-baccarat__game-types-grid,
.page-live-baccarat__strategy-grid,
.page-live-baccarat__bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-baccarat__feature-card,
.page-live-baccarat__game-type-card,
.page-live-baccarat__strategy-card,
.page-live-baccarat__bonus-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-baccarat__feature-card:hover,
.page-live-baccarat__game-type-card:hover,
.page-live-baccarat__strategy-card:hover,
.page-live-baccarat__bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__feature-image,
.page-live-baccarat__game-type-image,
.page-live-baccarat__bonus-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  max-height: 300px; /* Ensure images are not too small */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-live-baccarat__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-live-baccarat__step-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FCBC45;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-live-baccarat__step-description {
  font-size: 1.1em;
  color: #444444;
}

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

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

.page-live-baccarat__button--play:hover,
.page-live-baccarat__button--promos:hover,
.page-live-baccarat__button--join:hover,
.page-live-baccarat__button--download:hover {
  background-color: #000000;
  color: #FFFFFF;
  border-color: #000000;
  transform: translateY(-3px);
}

.page-live-baccarat__responsible-gaming-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.page-live-baccarat__button--responsible {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-live-baccarat__button--responsible:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

.page-live-baccarat__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-baccarat__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.page-live-baccarat__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live-baccarat__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-live-baccarat__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-live-baccarat__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-live-baccarat__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  margin-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-live-baccarat__hero-title {
    font-size: 2.5em;
  }

  .page-live-baccarat__hero-description {
    font-size: 1em;
  }

  .page-live-baccarat__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-live-baccarat__section-title {
    font-size: 2em;
  }

  .page-live-baccarat__section-text {
    font-size: 0.95em;
  }

  .page-live-baccarat__features-grid,
  .page-live-baccarat__game-types-grid,
  .page-live-baccarat__strategy-grid,
  .page-live-baccarat__bonus-grid {
    grid-template-columns: 1fr;
  }

  .page-live-baccarat__feature-image,
  .page-live-baccarat__game-type-image,
  .page-live-baccarat__bonus-image,
  .page-live-baccarat__hero-image img {
    max-width: 100%;
    height: auto;
  }

  .page-live-baccarat__feature-card,
  .page-live-baccarat__game-type-card,
  .page-live-baccarat__strategy-card,
  .page-live-baccarat__bonus-card {
    padding: 20px;
  }

  .page-live-baccarat__step-title {
    font-size: 1.5em;
  }

  .page-live-baccarat__step-description {
    font-size: 1em;
  }

  .page-live-baccarat__faq-question {
    font-size: 1.1em;
  }

  .page-live-baccarat__faq-answer {
    font-size: 0.95em;
  }

  .page-live-baccarat__hero-section {
    padding: 60px 15px 0;
  }

  .page-live-baccarat__about-section,
  .page-live-baccarat__features-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__game-types-section,
  .page-live-baccarat__strategies-section,
  .page-live-baccarat__bonuses-section,
  .page-live-baccarat__faq-section,
  .page-live-baccarat__cta-final-section {
    padding: 40px 0;
  }

  /* Ensure content area does not cause horizontal scroll */
  .page-live-baccarat {
    overflow-x: hidden;
  }

  .page-live-baccarat__container {
    padding: 0 15px;
  }
}