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

.page-live-baccarat__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Main color as background for hero */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 600px; /* Minimum height for hero section */
  padding-bottom: 60px;
}

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

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

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

.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;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  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--download {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-live-baccarat__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slightly dim the image to make text readable */
}

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

.page-live-baccarat__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -30px auto 60px auto;
  line-height: 1.6;
  color: #555555;
}

.page-live-baccarat__features-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__variations-section,
.page-live-baccarat__strategy-section,
.page-live-baccarat__download-section,
.page-live-baccarat__promotions-section,
.page-live-baccarat__faq-section,
.page-live-baccarat__cta-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.page-live-baccarat__feature-card {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-live-baccarat__feature-icon {
  width: 200px; /* Minimum 200px */
  height: 150px; /* Adjusted height for aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-live-baccarat__how-to-play-section {
  background-color: #F8F8F8;
  padding: 60px 20px;
  border-radius: 15px;
}

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

.page-live-baccarat__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.page-live-baccarat__step-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

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

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

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

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

.page-live-baccarat__variation-card {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-live-baccarat__variation-card:hover {
  transform: translateY(-8px);
}

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

.page-live-baccarat__variation-title {
  font-size: 1.5em;
  color: #000000;
  margin: 20px 20px 10px 20px;
}

.page-live-baccarat__variation-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  padding: 0 20px 20px 20px;
}

.page-live-baccarat__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-live-baccarat__strategy-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-live-baccarat__strategy-text-content {
  flex: 1;
  min-width: 300px;
}

.page-live-baccarat__strategy-subtitle {
  font-size: 1.6em;
  color: #000000;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-live-baccarat__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-live-baccarat__strategy-list li {
  font-size: 1.05em;
  color: #444444;
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
}

.page-live-baccarat__strategy-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #FCBC45;
}

.page-live-baccarat__download-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
  border-radius: 15px;
}

.page-live-baccarat__download-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-live-baccarat__download-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-live-baccarat__button--app-store,
.page-live-baccarat__button--google-play {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-live-baccarat__button--app-store:hover,
.page-live-baccarat__button--google-play:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-live-baccarat__download-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

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

.page-live-baccarat__promo-card {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

.page-live-baccarat__promo-card:hover {
  transform: translateY(-8px);
}

.page-live-baccarat__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}

.page-live-baccarat__promo-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-live-baccarat__promo-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
}

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

.page-live-baccarat__button--claim:hover,
.page-live-baccarat__button--view:hover {
  background-color: #e0a73b;
  transform: translateY(-2px);
}

.page-live-baccarat__button--all-promos {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

.page-live-baccarat__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.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;
  color: #FCBC45;
  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;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding-top: 0;
}

.page-live-baccarat__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

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

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

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

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

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

/* 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 {
    min-height: 500px;
    padding: 40px 15px;
  }

  .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%;
    max-width: 300px;
  }

  .page-live-baccarat__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

  .page-live-baccarat__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-live-baccarat__features-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__variations-section,
  .page-live-baccarat__strategy-section,
  .page-live-baccarat__download-section,
  .page-live-baccarat__promotions-section,
  .page-live-baccarat__faq-section,
  .page-live-baccarat__cta-section {
    margin: 60px auto;
    padding: 0 15px;
  }

  .page-live-baccarat__strategy-content {
    flex-direction: column;
  }

  .page-live-baccarat__strategy-image {
    max-width: 100%;
  }

  .page-live-baccarat__download-image {
    max-width: 100%;
  }

  /* Ensure all images within .page-live-baccarat are responsive and don't overflow */
  .page-live-baccarat img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-live-baccarat__hero-title {
    font-size: 2em;
  }

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

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

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

  .page-live-baccarat__feature-icon {
    width: 200px;
    height: 150px;
  }

  .page-live-baccarat__feature-title,
  .page-live-baccarat__step-title,
  .page-live-baccarat__variation-title,
  .page-live-baccarat__promo-title,
  .page-live-baccarat__faq-question {
    font-size: 1.2em;
  }

  .page-live-baccarat__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-live-baccarat__download-description,
  .page-live-baccarat__cta-description {
    font-size: 1em;
  }
}