.page-live-baccarat {
  color: #333333;
}

.page-live-baccarat__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-live-baccarat__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.page-live-baccarat__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
}

.page-live-baccarat__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  line-height: 1.2;
}

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

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

.page-live-baccarat__btn {
  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, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-live-baccarat__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
}

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

.page-live-baccarat__btn--secondary {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-live-baccarat__btn--secondary:hover {
  background-color: #6e0000;
  transform: translateY(-3px);
}

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

.page-live-baccarat__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Dark Red */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-live-baccarat__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  border-radius: 2px;
}

.page-live-baccarat__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-live-baccarat__introduction-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__strategy-section,
.page-live-baccarat__why-choose-section,
.page-live-baccarat__faq-section,
.page-live-baccarat__responsible-gaming-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-live-baccarat__how-to-play-section {
  background-color: #ffffff;
}

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

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

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

.page-live-baccarat__grid-title {
  font-size: 1.6em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 15px;
  text-align: center;
}

.page-live-baccarat__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 15px;
}

.page-live-baccarat__list-item {
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 8px;
}

.page-live-baccarat__strategy-section {
  background-color: #f8f8f8;
}

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

.page-live-baccarat__sub-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #8B0000;
  padding-bottom: 5px;
}

.page-live-baccarat__cta-area {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-live-baccarat__btn--register,
.page-live-baccarat__btn--join-now {
  background-color: #8B0000; /* Dark Red */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-live-baccarat__btn--register:hover,
.page-live-baccarat__btn--join-now:hover {
  background-color: #6e0000;
  transform: translateY(-3px);
}

.page-live-baccarat__btn--learn-more {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red */
}

.page-live-baccarat__btn--learn-more:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

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

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

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

.page-live-baccarat__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images in cards are substantial */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-live-baccarat__card-title {
  font-size: 1.5em;
  color: #8B0000; /* Dark Red */
  margin-bottom: 10px;
}

.page-live-baccarat__card-description {
  font-size: 1em;
  line-height: 1.7;
  text-align: center;
}

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

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

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

.page-live-baccarat__faq-question {
  font-size: 1.4em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-live-baccarat__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #8B0000;
}

.page-live-baccarat__faq-question.active::after {
  content: '-';
}

.page-live-baccarat__faq-answer {
  font-size: 1.05em;
  line-height: 1.7;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

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

.page-live-baccarat__faq-answer a {
  color: #8B0000;
  text-decoration: underline;
}

.page-live-baccarat__faq-answer a:hover {
  color: #FFD700;
}

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

.page-live-baccarat__responsible-gaming-section a {
  color: #8B0000;
  text-decoration: underline;
  font-weight: bold;
}

.page-live-baccarat__responsible-gaming-section a:hover {
  color: #FFD700;
}

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

@media (max-width: 768px) {
  .page-live-baccarat__hero-section {
    min-height: 450px;
  }
  .page-live-baccarat__hero-title {
    font-size: 2.5em;
  }
  .page-live-baccarat__hero-description {
    font-size: 1.1em;
  }
  .page-live-baccarat__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-live-baccarat__btn {
    width: 80%;
    padding: 12px 20px;
  }
  .page-live-baccarat__section-title {
    font-size: 1.8em;
  }
  .page-live-baccarat__text-content {
    font-size: 1em;
  }
  .page-live-baccarat__sub-title {
    font-size: 1.5em;
  }
  .page-live-baccarat__grid-item,
  .page-live-baccarat__feature-card {
    padding: 20px;
  }
  .page-live-baccarat__grid-title,
  .page-live-baccarat__card-title {
    font-size: 1.3em;
  }
  .page-live-baccarat__card-image,
  .page-live-baccarat__image-full-width {
    max-width: 100%;
    height: auto; /* Ensures images are responsive */
    min-width: 200px;
    min-height: 200px;
  }
  .page-live-baccarat__faq-question {
    font-size: 1.2em;
  }
  .page-live-baccarat__faq-answer {
    font-size: 0.95em;
  }

  /* Mobile content area images must be constrained */
  .page-live-baccarat img {
    max-width: 100%;
    height: auto;
  }
  .page-live-baccarat__container {
    padding: 20px 15px;
  }
  .page-live-baccarat__introduction-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__strategy-section,
  .page-live-baccarat__why-choose-section,
  .page-live-baccarat__faq-section,
  .page-live-baccarat__responsible-gaming-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-live-baccarat__hero-title {
    font-size: 2em;
  }
  .page-live-baccarat__hero-description {
    font-size: 0.95em;
  }
  .page-live-baccarat__btn {
    width: 90%;
    font-size: 1em;
  }
  .page-live-baccarat__section-title {
    font-size: 1.6em;
  }
  .page-live-baccarat__text-content {
    font-size: 0.9em;
  }
  .page-live-baccarat__sub-title {
    font-size: 1.3em;
  }
  .page-live-baccarat__grid-item,
  .page-live-baccarat__feature-card {
    padding: 15px;
  }
  .page-live-baccarat__grid-title,
  .page-live-baccarat__card-title {
    font-size: 1.2em;
  }
  .page-live-baccarat__faq-question {
    font-size: 1.1em;
  }
  .page-live-baccarat__faq-answer {
    font-size: 0.9em;
  }
}