.page-live-baccarat {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

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

.page-live-baccarat__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 60px 20px;
}

.page-live-baccarat__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-live-baccarat__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-live-baccarat__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-live-baccarat__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live-baccarat__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-live-baccarat__hero-button {
  display: inline-block;
  background-color: #FFCC00; /* Auxiliary color for CTA */
  color: #003366; /* Main color for text on CTA */
  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: #e6b800;
  transform: translateY(-3px);
}

.page-live-baccarat__section-title {
  font-size: 2.8em;
  color: #003366; /* Main color for section titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-live-baccarat__features-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__promotions-section,
.page-live-baccarat__security-section,
.page-live-baccarat__faq-section,
.page-live-baccarat__cta-final-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

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

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

.page-live-baccarat__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 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 8px 25px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__feature-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

.page-live-baccarat__button {
  display: inline-block;
  background-color: #003366; /* Main color for buttons */
  color: #FFCC00; /* Auxiliary color for text on buttons */
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #003366;
}

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

.page-live-baccarat__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.page-live-baccarat__step-card {
  background-color: #ffffff;
  border-left: 5px solid #FFCC00; /* Auxiliary color for accent */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border-radius: 8px;
}

.page-live-baccarat__step-title {
  font-size: 2em;
  color: #003366;
  margin-bottom: 15px;
}

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

.page-live-baccarat__guide-conclusion {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #555555;
}

.page-live-baccarat__promotions-section {
  background-color: #f0f5fa; /* Lighter shade of blue for contrast */
}

.page-live-baccarat__promo-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 4px 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__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__promo-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-live-baccarat__card-button:hover {
  background-color: #e6b800;
}

.page-live-baccarat__promo-note {
  text-align: center;
  font-size: 0.9em;
  color: #777777;
  margin-top: 40px;
}

.page-live-baccarat__mobile-app-section {
  background-color: #003366; /* Main color for this section */
  color: #ffffff;
  padding: 80px 0;
}

.page-live-baccarat__mobile-app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.page-live-baccarat__mobile-text {
  flex: 1;
}

.page-live-baccarat__mobile-app-section .page-live-baccarat__section-title {
  color: #FFCC00;
  text-align: left;
}

.page-live-baccarat__mobile-app-section .page-live-baccarat__section-intro {
  color: #f0f0f0;
  text-align: left;
  margin-left: 0;
}

.page-live-baccarat__mobile-benefits {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-live-baccarat__mobile-benefits li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  font-size: 1.1em;
}

.page-live-baccarat__mobile-benefits li::before {
  content: '✔';
  color: #FFCC00;
  position: absolute;
  left: 0;
  top: 0;
}

.page-live-baccarat__button--download {
  background-color: #FFCC00;
  color: #003366;
  border-color: #FFCC00;
  margin-top: 40px;
}

.page-live-baccarat__button--download:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

.page-live-baccarat__mobile-image {
  flex: 1;
  text-align: center;
}

.page-live-baccarat__mobile-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-live-baccarat__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  gap: 20px;
}

.page-live-baccarat__security-list li {
  background-color: #f9f9f9;
  border-left: 4px solid #003366; /* Main color for accent */
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #444444;
}

.page-live-baccarat__security-list li strong {
  color: #003366;
}

.page-live-baccarat__security-conclusion {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  color: #555555;
}

.page-live-baccarat__link {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

.page-live-baccarat__link:hover {
  text-decoration: underline;
}

.page-live-baccarat__faq-section {
  background-color: #f0f5fa;
}

.page-live-baccarat__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.page-live-baccarat__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-live-baccarat__faq-question {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

.page-live-baccarat__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Initially hidden */
}

.page-live-baccarat__faq-item.active .page-live-baccarat__faq-answer {
  display: block;
}

.page-live-baccarat__cta-final-section {
  background-color: #002244; /* Darker main color for strong CTA */
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

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

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

.page-live-baccarat__button--large {
  padding: 18px 50px;
  font-size: 1.4em;
  border-width: 3px;
}

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

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

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

  .page-live-baccarat__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-live-baccarat__mobile-app-section .page-live-baccarat__section-title,
  .page-live-baccarat__mobile-app-section .page-live-baccarat__section-intro {
    text-align: center;
  }

  .page-live-baccarat__mobile-benefits {
    text-align: left;
    max-width: 400px;
    margin: 30px auto;
  }
}

@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__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-live-baccarat__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }

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

  .page-live-baccarat__feature-grid,
  .page-live-baccarat__promo-grid {
    grid-template-columns: 1fr;
  }

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

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

  .page-live-baccarat__security-list {
    grid-template-columns: 1fr;
  }

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

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

  /* Critical: prevent content overflow on mobile */
  .page-live-baccarat img {
    max-width: 100%;
    height: auto;
  }
  .page-live-baccarat__hero-section,
  .page-live-baccarat__features-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__promotions-section,
  .page-live-baccarat__security-section,
  .page-live-baccarat__faq-section,
  .page-live-baccarat__cta-final-section,
  .page-live-baccarat__mobile-app-section {
    padding: 40px 0;
  }
  .page-live-baccarat__container {
    padding: 0 15px;
  }
}

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

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

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

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