.page-live-baccarat {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-live-baccarat__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-color: #000000; /* Dark background for hero text */
  padding-bottom: 40px;
}

.page-live-baccarat__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-live-baccarat__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 90%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 8px;
}

.page-live-baccarat__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live-baccarat__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live-baccarat__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  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: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

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

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

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

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

.page-live-baccarat__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-live-baccarat__section-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live-baccarat__about-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-live-baccarat__how-to-play {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-live-baccarat__grid-item {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-live-baccarat__grid-item:hover {
  transform: translateY(-5px);
}

.page-live-baccarat__grid-item img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-live-baccarat__grid-description {
  font-size: 1em;
  color: #555555;
}

.page-live-baccarat__strategy-section {
  background-color: #f2f2f2;
  padding: 60px 0;
}

.page-live-baccarat__strategy-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-live-baccarat__strategy-item {
  background-color: #ffffff;
  padding: 25px;
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-live-baccarat__list-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

.page-live-baccarat__features-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.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: #fdfdfd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: all 0.3s ease;
}

.page-live-baccarat__feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-live-baccarat__feature-card img {
  width: 100%;
   /* Fixed height for feature images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-live-baccarat__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

.page-live-baccarat__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

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

.page-live-baccarat__cta-section .page-live-baccarat__section-paragraph {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-live-baccarat__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-live-baccarat__cta-button--register {
  background-color: #FFD700;
  color: #8B0000;
}

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

.page-live-baccarat__cta-button--login {
  background-color: transparent;
  color: #FFD700;
}

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

.page-live-baccarat__responsible-gambling {
  background-color: #f8f8f8;
  padding: 50px 0;
  text-align: center;
}

.page-live-baccarat__responsible-gambling .page-live-baccarat__section-paragraph {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-baccarat__text-link {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-live-baccarat__text-link:hover {
  color: #FFD700;
}

/* 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;
  }
}

@media (max-width: 768px) {
  .page-live-baccarat__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 20px;
  }

  .page-live-baccarat__hero-content {
    padding: 15px;
    top: 60%;
  }

  .page-live-baccarat__hero-title {
    font-size: 2.5em;
    margin-bottom: 10px;
  }

  .page-live-baccarat__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-live-baccarat__hero-button {
    width: 80%;
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-live-baccarat__section-paragraph {
    font-size: 0.95em;
  }

  .page-live-baccarat__content-grid,
  .page-live-baccarat__strategy-list,
  .page-live-baccarat__features-grid {
    grid-template-columns: 1fr;
  }

  .page-live-baccarat__grid-item img,
  .page-live-baccarat__feature-card img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-live-baccarat__cta-section {
    padding: 60px 0;
  }

  .page-live-baccarat__cta-section .page-live-baccarat__section-paragraph {
    font-size: 1em;
  }

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

  .page-live-baccarat__cta-button {
    width: 80%;
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure no horizontal scrolling */
  .page-live-baccarat {
    max-width: 100%;
    overflow-x: hidden;
  }
}