/* style/live-baccarat.css */
/* Colors */
:root {
  --fb777-primary: #F2C14E;
  --fb777-secondary: #FFD36B;
  --fb777-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --fb777-card-bg: #111111;
  --fb777-background: #0A0A0A;
  --fb777-text-main: #FFF6D6;
  --fb777-border: #3A2A12;
  --fb777-glow: #FFD36B;
}

.page-live-baccarat {
  color: var(--fb777-text-main); /* Light text on dark body background */
  background-color: var(--fb777-background);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-live-baccarat__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--fb777-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-live-baccarat__section-title--light {
  color: var(--fb777-text-main);
}

/* Hero Section */
.page-live-baccarat__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  background-color: var(--fb777-background);
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-live-baccarat__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-live-baccarat__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure minimum size */
}

.page-live-baccarat__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-live-baccarat__main-title {
  color: var(--fb777-primary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

.page-live-baccarat__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--fb777-text-main);
}

/* Buttons */
.page-live-baccarat__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-live-baccarat__btn-primary,
.page-live-baccarat__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-live-baccarat__btn-primary {
  background: var(--fb777-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-live-baccarat__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

.page-live-baccarat__btn-secondary {
  background: transparent;
  color: var(--fb777-primary);
  border: 2px solid var(--fb777-primary);
}

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

.page-live-baccarat__btn-primary--small,
.page-live-baccarat__btn-secondary--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* General Content Sections */
.page-live-baccarat__introduction-section,
.page-live-baccarat__how-to-play-section,
.page-live-baccarat__vip-section,
.page-live-baccarat__call-to-action-section {
  padding: 60px 0;
  background-color: var(--fb777-background);
  color: var(--fb777-text-main);
}

.page-live-baccarat__features-section,
.page-live-baccarat__more-games-section,
.page-live-baccarat__faq-section {
  padding: 60px 0;
  background-color: var(--fb777-card-bg);
  color: var(--fb777-text-main);
}

.page-live-baccarat__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fb777-text-main);
}

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

.page-live-baccarat__feature-card,
.page-live-baccarat__step-card,
.page-live-baccarat__game-card {
  background-color: var(--fb777-card-bg);
  border: 1px solid var(--fb777-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--fb777-text-main);
}

.page-live-baccarat__feature-card:hover,
.page-live-baccarat__step-card:hover,
.page-live-baccarat__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(242, 193, 78, 0.3);
}

.page-live-baccarat__feature-image,
.page-live-baccarat__step-image,
.page-live-baccarat__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card layout */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-live-baccarat__card-title {
  font-size: 1.4rem;
  color: var(--fb777-primary);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-live-baccarat__feature-card p,
.page-live-baccarat__step-card p,
.page-live-baccarat__game-card p {
  font-size: 0.95rem;
  color: var(--fb777-text-main);
  flex-grow: 1;
}

/* How-to-Play Steps */
.page-live-baccarat__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-baccarat__step-card .page-live-baccarat__btn-primary,
.page-live-baccarat__step-card .page-live-baccarat__btn-secondary {
  margin-top: 20px;
  width: auto; /* Allow buttons to size to content */
  align-self: center;
}

/* More Games Grid */
.page-live-baccarat__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-baccarat__game-card {
  text-decoration: none;
  text-align: center;
}

.page-live-baccarat__game-card .page-live-baccarat__card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* VIP Section */
.page-live-baccarat__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-live-baccarat__vip-image {
  flex: 1 1 45%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-live-baccarat__vip-text {
  flex: 1 1 50%;
  color: var(--fb777-text-main);
}

.page-live-baccarat__vip-text p {
  margin-bottom: 20px;
}

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

.page-live-baccarat__vip-benefits li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--fb777-text-main);
  font-size: 1.05rem;
}

.page-live-baccarat__vip-benefits li strong {
  color: var(--fb777-primary);
}

/* FAQ Section */
.page-live-baccarat__faq-list {
  margin-top: 40px;
}

.page-live-baccarat__faq-item {
  background-color: var(--fb777-background);
  border: 1px solid var(--fb777-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--fb777-text-main);
}

.page-live-baccarat__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: var(--fb777-card-bg);
  transition: background-color 0.3s ease;
}

.page-live-baccarat__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-live-baccarat__faq-title {
  font-size: 1.2rem;
  color: var(--fb777-primary);
  margin: 0;
  font-weight: bold;
}

.page-live-baccarat__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--fb777-primary);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-live-baccarat__faq-item.active .page-live-baccarat__faq-toggle {
  transform: rotate(45deg);
}

.page-live-baccarat__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--fb777-text-main);
  font-size: 1.05rem;
}

.page-live-baccarat__faq-item.active .page-live-baccarat__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-live-baccarat__faq-answer p {
  margin: 0 0 15px 0;
  color: var(--fb777-text-main);
}

/* Call to Action Section */
.page-live-baccarat__call-to-action-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-live-baccarat__cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--fb777-text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live-baccarat__vip-content {
    flex-direction: column;
  }
  .page-live-baccarat__vip-image,
  .page-live-baccarat__vip-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-live-baccarat__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .page-live-baccarat__hero-description,
  .page-live-baccarat__cta-description {
    font-size: 1rem;
  }

  .page-live-baccarat__btn-primary,
  .page-live-baccarat__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-live-baccarat__container {
    padding: 0 15px;
  }

  .page-live-baccarat img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-live-baccarat__hero-image-wrapper,
  .page-live-baccarat__feature-card,
  .page-live-baccarat__step-card,
  .page-live-baccarat__game-card,
  .page-live-baccarat__vip-content,
  .page-live-baccarat__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live-baccarat__hero-section,
  .page-live-baccarat__introduction-section,
  .page-live-baccarat__features-section,
  .page-live-baccarat__how-to-play-section,
  .page-live-baccarat__more-games-section,
  .page-live-baccarat__vip-section,
  .page-live-baccarat__faq-section,
  .page-live-baccarat__call-to-action-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-live-baccarat__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-live-baccarat__faq-question,
  .page-live-baccarat__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-live-baccarat__feature-image,
  .page-live-baccarat__step-image,
  .page-live-baccarat__game-image {
    height: auto; /* Allow height to adjust naturally on mobile */
  }
}

@media (max-width: 480px) {
  .page-live-baccarat__section-title {
    font-size: 1.6rem;
  }

  .page-live-baccarat__card-title {
    font-size: 1.2rem;
  }
}