.page-live-baccarat {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

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

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

.page-live-baccarat__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: #f8f9fa;
  overflow: hidden;
}

.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;
  color: #007bff;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-live-baccarat__hero-description {
  font-size: 1.3em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-live-baccarat__hero-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.3s ease;
}

.page-live-baccarat__hero-button--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-live-baccarat__hero-button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-live-baccarat__hero-button--secondary {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
}

.page-live-baccarat__hero-button--secondary:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

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

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

.page-live-baccarat__features-section,
.page-live-baccarat__how-to-play,
.page-live-baccarat__promotions-section,
.page-live-baccarat__vip-section,
.page-live-baccarat__security-section,
.page-live-baccarat__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-live-baccarat__features-section {
  background-color: #f0f8ff;
}

.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: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  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 12px 25px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__feature-card img {
  width: 100%;
  max-width: 400px; /* Max width to ensure images are not too small */
  height: auto;
  min-height: 200px; /* Enforce minimum height for content images */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-live-baccarat__card-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-live-baccarat__card-description {
  font-size: 1em;
  color: #666666;
}

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

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

.page-live-baccarat__step-card {
  background-color: #f8f9fa;
  border-left: 5px solid #007bff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-live-baccarat__step-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-live-baccarat__step-description {
  font-size: 0.95em;
  color: #555555;
}

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

.page-live-baccarat__cta-text {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 20px;
}

.page-live-baccarat__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ffc107;
  color: #333333;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-live-baccarat__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-live-baccarat__promotions-section {
  background-color: #fffaf0;
}

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

.page-live-baccarat__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-live-baccarat__promo-card img {
  width: 100%;
  max-width: 600px; /* Max width to ensure images are not too small */
  height: auto;
  min-height: 200px; /* Enforce minimum height for content images */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-live-baccarat__promo-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-live-baccarat__promo-button:hover {
  background-color: #0056b3;
}

.page-live-baccarat__all-promos-cta {
  text-align: center;
  margin-top: 60px;
}

.page-live-baccarat__vip-section {
  background-color: #f8f9fa;
}

.page-live-baccarat__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

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

.page-live-baccarat__vip-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444444;
}

.page-live-baccarat__vip-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-live-baccarat__vip-image img {
  width: 100%;
  max-width: 600px; /* Max width to ensure images are not too small */
  height: auto;
  min-height: 200px; /* Enforce minimum height for content images */
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-live-baccarat__vip-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ffc107;
  color: #333333;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-live-baccarat__vip-button:hover {
  background-color: #e0a800;
}

.page-live-baccarat__security-section {
  background-color: #e6f7ff;
}

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

.page-live-baccarat__security-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-live-baccarat__security-item img {
  width: 100%;
  max-width: 300px; /* Max width to ensure images are not too small */
  height: auto;
  min-height: 200px; /* Enforce minimum height for content images */
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-live-baccarat__item-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-live-baccarat__item-description {
  font-size: 0.95em;
  color: #555555;
}

.page-live-baccarat__learn-more-security {
  text-align: center;
  margin-top: 60px;
}

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

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

.page-live-baccarat__cta-section .page-live-baccarat__intro-text {
  color: #e0f2ff;
  margin-bottom: 40px;
}

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

.page-live-baccarat__cta-buttons .page-live-baccarat__cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
}

.page-live-baccarat__cta-buttons .page-live-baccarat__cta-button--primary {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
}

.page-live-baccarat__cta-buttons .page-live-baccarat__cta-button--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-live-baccarat__cta-buttons .page-live-baccarat__cta-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-live-baccarat__cta-buttons .page-live-baccarat__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

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

  .page-live-baccarat__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-live-baccarat__hero-button {
    width: 80%;
    max-width: 300px;
  }

  .page-live-baccarat__features-grid,
  .page-live-baccarat__steps-grid,
  .page-live-baccarat__promo-grid,
  .page-live-baccarat__security-points {
    grid-template-columns: 1fr;
  }

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

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

  /* Ensure content images are responsive and not too small */
  .page-live-baccarat__hero-image img,
  .page-live-baccarat__features-grid img,
  .page-live-baccarat__promo-grid img,
  .page-live-baccarat__vip-image img,
  .page-live-baccarat__security-points img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure content images are at least 200px wide */
    min-height: 200px; /* Ensure content images are at least 200px high */
  }
}