/* style/game-guides-baccarat.css */

/* Body background is #000000 (dark), so main text should be light */
.page-game-guides-baccarat {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on shared.css for body background */
}

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

.page-game-guides-baccarat__section {
  padding: 60px 0;
  text-align: center;
}

/* Color contrast classes */
.page-game-guides-baccarat__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-game-guides-baccarat__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #ffffff;
}

.page-game-guides-baccarat__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  min-height: 500px;
  overflow: hidden;
}

.page-game-guides-baccarat__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-game-guides-baccarat__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-game-guides-baccarat__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
  text-align: center;
}

.page-game-guides-baccarat__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-guides-baccarat__lead-text {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides-baccarat__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-game-guides-baccarat__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-game-guides-baccarat__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-game-guides-baccarat__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides-baccarat__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-game-guides-baccarat__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0;
}

.page-game-guides-baccarat__dark-bg .page-game-guides-baccarat__section-title {
  color: #ffffff;
}

.page-game-guides-baccarat__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-game-guides-baccarat__dark-bg .page-game-guides-baccarat__sub-title {
  color: #ffffff;
}

.page-game-guides-baccarat p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-game-guides-baccarat a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides-baccarat a:hover {
  text-decoration: underline;
}

.page-game-guides-baccarat__list,
.page-game-guides-baccarat__ordered-list {
  list-style-position: inside;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 20px auto;
  padding-left: 20px;
  font-size: 1.1rem;
  color: inherit;
}

.page-game-guides-baccarat__list li,
.page-game-guides-baccarat__ordered-list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-game-guides-baccarat__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-game-guides-baccarat__faq-section {
  padding: 80px 0;
}

.page-game-guides-baccarat__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-game-guides-baccarat__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-game-guides-baccarat__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.15); /* Light brand color for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* Remove default marker for details/summary */
}

.page-game-guides-baccarat__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-guides-baccarat__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.25);
}

.page-game-guides-baccarat__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-game-guides-baccarat__faq-item[open] .page-game-guides-baccarat__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides-baccarat__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-game-guides-baccarat__faq-answer p {
  text-align: left;
  margin: 0;
  max-width: 100%;
}

.page-game-guides-baccarat__faq-answer a {
  color: #26A9E0;
}

.page-game-guides-baccarat__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-game-guides-baccarat {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides-baccarat__hero-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    min-height: 400px;
  }

  .page-game-guides-baccarat__main-title {
    font-size: 2.2rem; /* Adjusted for mobile readability */
  }

  .page-game-guides-baccarat__lead-text {
    font-size: 1rem;
  }

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

  .page-game-guides-baccarat__btn-primary,
  .page-game-guides-baccarat__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides-baccarat__section {
    padding: 40px 0;
  }

  .page-game-guides-baccarat__section-title {
    font-size: 2rem;
  }

  .page-game-guides-baccarat__sub-title {
    font-size: 1.5rem;
  }

  .page-game-guides-baccarat p,
  .page-game-guides-baccarat__list li,
  .page-game-guides-baccarat__ordered-list li {
    font-size: 1rem;
  }

  .page-game-guides-baccarat__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsive rules */
  .page-game-guides-baccarat img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides-baccarat__image-content {
    margin: 20px auto;
  }

  /* FAQ responsive */
  .page-game-guides-baccarat__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-game-guides-baccarat__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }
}