.page-live-baccarat {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-live-baccarat__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Main dark background */
  padding: 0;
}

.page-live-baccarat__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability, not changing color */
}

.page-live-baccarat__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  z-index: 10;
  padding: 20px;
  box-sizing: border-box;
}

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

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

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

.page-live-baccarat__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, color 0.3s ease;
  white-space: nowrap;
}

.page-live-baccarat__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #000000; /* Black text for gold button */
}

.page-live-baccarat__button--primary:hover {
  background-color: #e6c200;
}

.page-live-baccarat__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary button */
  border: 2px solid #FFD700;
}

.page-live-baccarat__button--secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-live-baccarat__introduction-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__strategy-section,
.page-live-baccarat__ph33-login-advantage-section,
.page-live-baccarat__cta-section,
.page-live-baccarat__responsible-gaming-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  margin-bottom: 20px;
}

.page-live-baccarat__introduction-section {
  background-color: #000000;
}

.page-live-baccarat__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold title */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-live-baccarat__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-live-baccarat__text-content {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: left;
}

.page-live-baccarat__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-live-baccarat__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 45%; /* Adjusted for better content flow */
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-live-baccarat__how-to-play-section .page-live-baccarat__text-content,
.page-live-baccarat__strategy-section .page-live-baccarat__text-content {
  text-align: justify;
}

.page-live-baccarat__steps-list,
.page-live-baccarat__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-live-baccarat__list-item {
  background-color: rgba(255, 215, 0, 0.1); /* Semi-transparent gold background */
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-live-baccarat__list-item strong {
  color: #FFD700;
}

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

.page-live-baccarat__feature-card {
  background-color: #000000; /* Darker card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-live-baccarat__feature-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-live-baccarat__feature-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
}

.page-live-baccarat__feature-description {
  font-size: 1em;
  color: #cccccc;
}

.page-live-baccarat__cta-section {
  background: linear-gradient(135deg, #000000, #333333); /* Gradient background */
  text-align: center;
}

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

.page-live-baccarat__responsible-gaming-section {
  background-color: #000000;
  text-align: center;
}

.page-live-baccarat__responsible-gaming-section .page-live-baccarat__text-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Clearfix for floated image */
.page-live-baccarat__strategy-section::after {
  content: "";
  display: table;
  clear: both;
}

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

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

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

  .page-live-baccarat__image-right {
    float: none;
    margin: 40px auto;
    width: 80%;
  }

  .page-live-baccarat__text-content {
    text-align: left;
  }
}

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

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

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

  .page-live-baccarat__button {
    width: 100%;
    padding: 12px 20px;
  }

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

  .page-live-baccarat__text-content {
    font-size: 0.95em;
  }

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

  .page-live-baccarat__image-full-width, .page-live-baccarat__image-right, .page-live-baccarat__feature-icon {
    max-width: 100%; /* Ensure images do not overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }

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

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

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

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

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

  .page-live-baccarat__introduction-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__strategy-section,
  .page-live-baccarat__ph33-login-advantage-section,
  .page-live-baccarat__cta-section,
  .page-live-baccarat__responsible-gaming-section {
    padding: 50px 0;
  }
}