/* style/baccarat-strategy.css */

/* Custom Colors */
:root {
  --page-baccarat-strategy-bg-color: #08160F;
  --page-baccarat-strategy-card-bg: #11271B;
  --page-baccarat-strategy-text-main: #F2FFF6;
  --page-baccarat-strategy-text-secondary: #A7D9B8;
  --page-baccarat-strategy-border-color: #2E7A4E;
  --page-baccarat-strategy-glow-color: #57E38D;
  --page-baccarat-strategy-gold-color: #F2C14E;
  --page-baccarat-strategy-divider-color: #1E3A2A;
  --page-baccarat-strategy-deep-green: #0A4B2C;
  --page-baccarat-strategy-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-baccarat-strategy {
  background-color: var(--page-baccarat-strategy-bg-color);
  color: var(--page-baccarat-strategy-text-main); /* Dark background, so light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space for footer */
}

.page-baccarat-strategy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
}

.page-baccarat-strategy__hero-image-wrapper {
  width: 100%;
  position: relative;
  /* Maintain aspect ratio */
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.page-baccarat-strategy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-baccarat-strategy__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
  position: relative; /* Ensure it's above other elements if any, but not overlapping image */
}

.page-baccarat-strategy__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--page-baccarat-strategy-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.page-baccarat-strategy__description {
  font-size: 1.15rem;
  color: var(--page-baccarat-strategy-text-secondary);
  margin-bottom: 30px;
}

.page-baccarat-strategy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-baccarat-strategy-divider-color);
}

.page-baccarat-strategy__section:last-of-type {
  border-bottom: none;
}

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

.page-baccarat-strategy__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--page-baccarat-strategy-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-baccarat-strategy__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--page-baccarat-strategy-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-baccarat-strategy__content-wrapper p,
.page-baccarat-strategy__content-wrapper li {
  color: var(--page-baccarat-strategy-text-main);
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.page-baccarat-strategy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-baccarat-strategy__list li {
  margin-bottom: 8px;
  color: var(--page-baccarat-strategy-text-secondary);
}

.page-baccarat-strategy__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--page-baccarat-strategy-border-color);
}

/* Buttons */
.page-baccarat-strategy__btn-primary,
.page-baccarat-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 10px;
}

.page-baccarat-strategy__btn-primary {
  background: var(--page-baccarat-strategy-btn-gradient);
  color: var(--page-baccarat-strategy-text-main);
  border: 2px solid transparent;
}

.page-baccarat-strategy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.3);
  opacity: 0.9;
}

.page-baccarat-strategy__btn-secondary {
  background: var(--page-baccarat-strategy-card-bg);
  color: var(--page-baccarat-strategy-glow-color);
  border: 2px solid var(--page-baccarat-strategy-glow-color);
}

.page-baccarat-strategy__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.3);
  background: var(--page-baccarat-strategy-deep-green);
}

.page-baccarat-strategy__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* FAQ Section */
.page-baccarat-strategy__faq-list {
  margin-top: 30px;
}

.page-baccarat-strategy__faq-item {
  background-color: var(--page-baccarat-strategy-card-bg);
  border: 1px solid var(--page-baccarat-strategy-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-baccarat-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--page-baccarat-strategy-text-main);
  background-color: var(--page-baccarat-strategy-deep-green);
  transition: background-color 0.3s ease;
}

.page-baccarat-strategy__faq-question:hover {
  background-color: #13994A; /* Slightly darker green */
}

.page-baccarat-strategy__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--page-baccarat-strategy-glow-color);
  margin-left: 15px;
}

.page-baccarat-strategy__faq-item[open] .page-baccarat-strategy__faq-toggle {
  content: '−';
}

.page-baccarat-strategy__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-baccarat-strategy-text-secondary);
  border-top: 1px solid var(--page-baccarat-strategy-border-color);
}

/* Details element specific styles */
.page-baccarat-strategy__faq-item summary {
  list-style: none;
}

.page-baccarat-strategy__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-baccarat-strategy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-baccarat-strategy__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-baccarat-strategy__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-baccarat-strategy__main-title {
    font-size: 2rem;
  }

  .page-baccarat-strategy__description {
    font-size: 1rem;
  }

  .page-baccarat-strategy__section {
    padding: 40px 0;
  }

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

  .page-baccarat-strategy__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-baccarat-strategy__sub-title {
    font-size: 1.3rem;
  }

  .page-baccarat-strategy__content-wrapper p,
  .page-baccarat-strategy__content-wrapper li {
    font-size: 0.95rem;
  }

  .page-baccarat-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-baccarat-strategy__hero-image-wrapper,
  .page-baccarat-strategy__content-area,
  .page-baccarat-strategy__introduction,
  .page-baccarat-strategy__rules,
  .page-baccarat-strategy__strategies,
  .page-baccarat-strategy__expert-tips,
  .page-baccarat-strategy__responsible-gambling,
  .page-baccarat-strategy__faq,
  .page-baccarat-strategy__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-baccarat-strategy__btn-primary,
  .page-baccarat-strategy__btn-secondary,
  .page-baccarat-strategy a[class*="button"],
  .page-baccarat-strategy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-baccarat-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-baccarat-strategy__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-baccarat-strategy__faq-answer {
    padding: 15px 20px;
  }
}