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

.page-live-baccarat__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

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

.page-live-baccarat__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

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

.page-live-baccarat__hero-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

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

.page-live-baccarat__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

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

.page-live-baccarat__features-section,
.page-live-baccarat__how-to-start-section,
.page-live-baccarat__promotions-section,
.page-live-baccarat__mobile-section,
.page-live-baccarat__security-section,
.page-live-baccarat__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-live-baccarat__features-grid,
.page-live-baccarat__steps-grid,
.page-live-baccarat__promo-cards {
  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__promo-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.page-live-baccarat__feature-icon,
.page-live-baccarat__promo-image {
  width: 100%; /* Ensure images fill card width */
  max-width: 400px; /* Max width for consistency */
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-live-baccarat__feature-text,
.page-live-baccarat__step-text,
.page-live-baccarat__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-live-baccarat__step-button:hover,
.page-live-baccarat__promo-button:hover {
  background-color: #333333;
}

.page-live-baccarat__mobile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-live-baccarat__mobile-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-live-baccarat__mobile-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

.page-live-baccarat__mobile-button:hover {
  background-color: #e0a538;
  transform: translateY(-3px);
}

.page-live-baccarat__mobile-image {
  width: 100%;
  max-width: 500px;
}

.page-live-baccarat__mobile-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-live-baccarat__security-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1em;
  color: #444444;
}

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

.page-live-baccarat__cta-section {
  text-align: center;
  background-color: #000000;
  color: #ffffff;
  padding: 60px 20px;
}

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

.page-live-baccarat__cta-section .page-live-baccarat__section-description {
  color: #f0f0f0;
}

.page-live-baccarat__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

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

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

@media (max-width: 768px) {
  .page-live-baccarat__hero-section {
    padding: 60px 15px;
    flex-direction: column-reverse; /* Image above content on mobile */
  }
  .page-live-baccarat__hero-image {
    margin-bottom: 30px;
    margin-top: 0;
  }
  .page-live-baccarat__hero-title {
    font-size: 2.2em;
    margin-top: 20px;
  }
  .page-live-baccarat__hero-description {
    font-size: 1em;
  }
  .page-live-baccarat__hero-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-live-baccarat__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-live-baccarat__section-description {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-live-baccarat__features-section,
  .page-live-baccarat__how-to-start-section,
  .page-live-baccarat__promotions-section,
  .page-live-baccarat__mobile-section,
  .page-live-baccarat__security-section,
  .page-live-baccarat__cta-section {
    margin: 40px auto;
    padding: 30px 15px;
  }
  .page-live-baccarat__features-grid,
  .page-live-baccarat__steps-grid,
  .page-live-baccarat__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-live-baccarat__feature-card,
  .page-live-baccarat__step-card,
  .page-live-baccarat__promo-card {
    padding: 25px;
  }
  .page-live-baccarat__feature-title,
  .page-live-baccarat__step-title,
  .page-live-baccarat__promo-title {
    font-size: 1.5em;
  }
  .page-live-baccarat__feature-text,
  .page-live-baccarat__step-text,
  .page-live-baccarat__promo-text {
    font-size: 0.9em;
  }
  .page-live-baccarat__mobile-content {
    margin-bottom: 30px;
  }
  .page-live-baccarat__mobile-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-live-baccarat__security-content {
    font-size: 1em;
  }
  .page-live-baccarat__cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* Ensure all images within .page-live-baccarat are responsive */
  .page-live-baccarat img {
    max-width: 100%;
    height: auto;
  }
}

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