.page-live-baccarat {
  color: #333333; /* Default dark text for 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 */
}

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

.page-live-baccarat__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text for dark background */
  padding: 80px 20px 60px; /* Adjusted padding as padding-top is handled by main */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-live-baccarat__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-live-baccarat__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #F0F0F0;
}

.page-live-baccarat__hero-image {
  margin-bottom: 40px;
}

.page-live-baccarat__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
}

.page-live-baccarat__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.4);
}

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

.page-live-baccarat__section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-live-baccarat__section:nth-of-type(even) {
  background-color: #F8F8F8;
}

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

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

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

.page-live-baccarat__feature-card,
.page-live-baccarat__step-card,
.page-live-baccarat__bonus-card {
  background-color: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-live-baccarat__feature-card:hover,
.page-live-baccarat__step-card:hover,
.page-live-baccarat__bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-live-baccarat__feature-card img,
.page-live-baccarat__bonus-card img {
  width: 100%; /* Occupy full card width */
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  min-width: 200px; /* Minimum display size */
  min-height: 200px; /* Minimum display size */
  border-radius: 10px;
  margin-bottom: 25px;
  object-fit: cover;
}

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

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

.page-live-baccarat__section-button {
  display: inline-block;
  background-color: #000000; /* Main color for general buttons */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.page-live-baccarat__strategy-image {
  flex: 1 1 45%;
  max-width: 600px; /* HTML width is 600 */
  height: auto; /* HTML height is 450 */
  min-width: 200px; /* Minimum display size */
  min-height: 200px; /* Minimum display size */
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.page-live-baccarat__strategy-text {
  flex: 1 1 50%;
  color: #444444;
}

.page-live-baccarat__strategy-subtitle {
  font-size: 1.6em;
  color: #000000;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-live-baccarat__strategy-subtitle:first-of-type {
  margin-top: 0;
}

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

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

.page-live-baccarat__responsible-image {
  flex: 1 1 40%;
  max-width: 600px; /* HTML width is 600 */
  height: auto; /* HTML height is 400 */
  min-width: 200px; /* Minimum display size */
  min-height: 200px; /* Minimum display size */
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

.page-live-baccarat__responsible-list {
  flex: 1 1 55%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-live-baccarat__responsible-list li {
  background-color: #F0F0F0;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  font-size: 1.1em;
  color: #444444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-live-baccarat__responsible-list li:last-child {
  margin-bottom: 0;
}

.page-live-baccarat__responsible-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #555555;
}

.page-live-baccarat__text-link {
  color: #FCBC45; /* Highlight color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-live-baccarat__text-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-live-baccarat__call-to-action {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* Light text */
  text-align: center;
  padding: 80px 20px;
}

.page-live-baccarat__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(252, 188, 69, 0.4);
}

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

.page-live-baccarat__cta-subtext {
  margin-top: 25px;
  font-size: 1.1em;
  color: #F0F0F0;
}

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

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

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

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

  .page-live-baccarat__hero-button,
  .page-live-baccarat__section-button,
  .page-live-baccarat__cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }

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

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

  .page-live-baccarat__strategy-content,
  .page-live-baccarat__responsible-content {
    flex-direction: column;
    align-items: center;
  }

  .page-live-baccarat__strategy-image,
  .page-live-baccarat__responsible-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Minimum display size */
    min-height: 200px; /* Minimum display size */
  }

  .page-live-baccarat__feature-card img,
  .page-live-baccarat__bonus-card img {
    max-width: 100%;
    width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Minimum display size */
    min-height: 200px; /* Minimum display size */
  }

  .page-live-baccarat__responsible-list {
    width: 100%;
  }

  .page-live-baccarat__responsible-list li {
    font-size: 1em;
  }
  
  /* Ensure all content area images are responsive and do not cause horizontal scroll */
  .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.8em;
  }

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

  .page-live-baccarat__hero-button,
  .page-live-baccarat__section-button,
  .page-live-baccarat__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}