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

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

.page-live-baccarat__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-live-baccarat__hero-content {
  max-width: 800px;
}

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

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

.page-live-baccarat__hero-buttons {
  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: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.page-live-baccarat__button--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #0056B3; /* Primary color */
  border: 2px solid #FFD700;
}

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

.page-live-baccarat__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-live-baccarat__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
}

.page-live-baccarat__hero-image {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

.page-live-baccarat__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

.page-live-baccarat__section-title {
  font-size: 2.5em;
  color: #0056B3; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-live-baccarat__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary color */
  border-radius: 2px;
}

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

.page-live-baccarat__about-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__strategy-section,
.page-live-baccarat__variants-section,
.page-live-baccarat__promo-section,
.page-live-baccarat__mobile-section,
.page-live-baccarat__faq-section,
.page-live-baccarat__cta-final-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-live-baccarat__about-section:nth-of-type(even),
.page-live-baccarat__strategy-section,
.page-live-baccarat__mobile-section,
.page-live-baccarat__cta-final-section {
  background-color: #ffffff;
}

.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-radius: 10px;
  box-shadow: 0 5px 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 {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

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

.page-live-baccarat__step-card {
  background-color: #ffffff;
  border-left: 5px solid #0056B3;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  transition: transform 0.3s ease;
}

.page-live-baccarat__step-card:hover {
  transform: translateY(-5px);
}

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

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

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

.page-live-baccarat__strategy-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.page-live-baccarat__strategy-text {
  line-height: 1.7;
  color: #444444;
}

.page-live-baccarat__strategy-text h3 {
  font-size: 1.8em;
  color: #0056B3;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-live-baccarat__strategy-text p {
  margin-bottom: 15px;
}

.page-live-baccarat__strategy-text ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-live-baccarat__strategy-text li {
  margin-bottom: 8px;
}

.page-live-baccarat__strategy-image {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-live-baccarat__strategy-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

.page-live-baccarat__variant-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-baccarat__variant-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__variant-card img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-live-baccarat__variant-title {
  font-size: 1.6em;
  color: #0056B3;
  padding: 20px 25px 10px;
}

.page-live-baccarat__variant-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  padding: 0 25px 25px;
}

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

.page-live-baccarat__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-baccarat__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__promo-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

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

.page-live-baccarat__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-live-baccarat__mobile-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-live-baccarat__mobile-text {
  line-height: 1.7;
  color: #444444;
  max-width: 700px;
  text-align: center;
}

.page-live-baccarat__mobile-text p {
  margin-bottom: 20px;
}

.page-live-baccarat__mobile-image {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__mobile-image img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-live-baccarat__faq-list {
  margin-top: 40px;
}

.page-live-baccarat__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-live-baccarat__faq-question {
  font-size: 1.2em;
  color: #0056B3;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #f0f5fa; /* Light blue background for question */
  transition: background-color 0.3s ease;
}

.page-live-baccarat__faq-question:hover {
  background-color: #e6edf5;
}

.page-live-baccarat__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

/* .page-live-baccarat__faq-item.active .page-live-baccarat__faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(45deg);
} */

.page-live-baccarat__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  padding: 0 25px 20px;
  /* max-height: 0; */
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-live-baccarat__faq-item.active .page-live-baccarat__faq-answer {
  max-height: 200px; /* Adjust based on content */
  padding-top: 15px;
}

.page-live-baccarat__faq-answer a {
  color: #0056B3;
  text-decoration: none;
}

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

.page-live-baccarat__cta-final-section {
  text-align: center;
  background-color: #0056B3; /* Primary color background */
  color: #ffffff;
  padding: 100px 20px;
}

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

.page-live-baccarat__cta-final-section .page-live-baccarat__section-title::after {
  background-color: #ffffff;
}

.page-live-baccarat__cta-final-section .page-live-baccarat__section-intro {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-live-baccarat__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-live-baccarat__hero-container {
    flex-direction: row;
    text-align: left;
  }

  .page-live-baccarat__hero-content {
    flex: 1;
    padding-right: 30px;
  }

  .page-live-baccarat__hero-image {
    flex: 1;
    margin-top: 0;
  }

  .page-live-baccarat__hero-title {
    font-size: 4em;
  }

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

  .page-live-baccarat__strategy-text {
    flex: 2;
    padding-right: 40px;
    text-align: left;
  }

  .page-live-baccarat__strategy-image {
    flex: 1;
    max-width: none;
  }

  .page-live-baccarat__mobile-content {
    flex-direction: row;
    text-align: left;
  }

  .page-live-baccarat__mobile-text {
    flex: 1;
    padding-right: 40px;
    text-align: left;
  }

  .page-live-baccarat__mobile-image {
    flex: 1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-live-baccarat__hero-section {
    padding-top: var(--header-offset, 80px);
    padding: 40px 15px;
  }

  .page-live-baccarat__hero-title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-live-baccarat__about-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__strategy-section,
  .page-live-baccarat__variants-section,
  .page-live-baccarat__promo-section,
  .page-live-baccarat__mobile-section,
  .page-live-baccarat__faq-section,
  .page-live-baccarat__cta-final-section {
    padding: 60px 0;
  }

  .page-live-baccarat__feature-card,
  .page-live-baccarat__step-card,
  .page-live-baccarat__variant-card,
  .page-live-baccarat__promo-card {
    padding: 20px;
  }

  .page-live-baccarat__feature-title,
  .page-live-baccarat__variant-title {
    font-size: 1.3em;
  }

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

  .page-live-baccarat__strategy-text h3 {
    font-size: 1.5em;
  }

  .page-live-baccarat__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-live-baccarat__faq-question::after {
    right: 20px;
  }

  .page-live-baccarat__faq-answer {
    padding: 0 20px 15px;
  }

  .page-live-baccarat__cta-final-section {
    padding: 80px 15px;
  }

  .page-live-baccarat__button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  /* Ensure all images within content area are responsive and not smaller than 200px */
  .page-live-baccarat img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size even on mobile */
    min-height: 200px;
  }

  .page-live-baccarat__hero-image img,
  .page-live-baccarat__feature-card img,
  .page-live-baccarat__strategy-image img,
  .page-live-baccarat__variant-card img,
  .page-live-baccarat__promo-card img,
  .page-live-baccarat__mobile-image img {
    width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}