/* style/popular-games-baccarat-guide.css */

/* Variables for colors */
:root {
  --page-primary-color: #1A2E44; /* Dark Blue */
  --page-secondary-color: #FFD700; /* Gold */
  --page-text-light: #F8F8F8; /* Near white for dark backgrounds */
  --page-text-dark: #333333; /* Dark gray for light backgrounds */
  --page-background-light: #FFFFFF; /* White */
  --page-background-dark: #122130; /* Slightly lighter dark blue for contrast */
}

.page-popular-games-baccarat-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-text-dark);
  background-color: var(--page-background-light);
}

.page-popular-games-baccarat-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-popular-games-baccarat-guide__hero {
  background: linear-gradient(135deg, var(--page-primary-color) 0%, var(--page-background-dark) 100%);
  color: var(--page-text-light);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-popular-games-baccarat-guide__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-popular-games-baccarat-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--page-text-light);
}

.page-popular-games-baccarat-guide__hero-title .highlight {
  color: var(--page-secondary-color);
}

.page-popular-games-baccarat-guide__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-popular-games-baccarat-guide__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  max-width: 600px;
  height: auto;
  opacity: 0.3;
  z-index: 0;
}

.page-popular-games-baccarat-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* General Section Styling */
.page-popular-games-baccarat-guide__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-popular-games-baccarat-guide__section:last-of-type {
  border-bottom: none;
}

.page-popular-games-baccarat-guide__section-title {
  font-size: 2.5em;
  color: var(--page-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-popular-games-baccarat-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-secondary-color);
  border-radius: 2px;
}

.page-popular-games-baccarat-guide__subsection-title {
  font-size: 1.8em;
  color: var(--page-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid var(--page-secondary-color);
  padding-left: 15px;
}

.page-popular-games-baccarat-guide p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: var(--page-text-dark);
}

.page-popular-games-baccarat-guide strong {
  font-weight: bold;
  color: var(--page-primary-color);
}

.page-popular-games-baccarat-guide .highlight {
  color: var(--page-secondary-color);
}

/* Lists */
.page-popular-games-baccarat-guide__list,
.page-popular-games-baccarat-guide__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 1.5em;
  font-size: 1.1em;
}

.page-popular-games-baccarat-guide__ordered-list {
  list-style-type: decimal;
}

.page-popular-games-baccarat-guide__list li,
.page-popular-games-baccarat-guide__ordered-list li {
  margin-bottom: 0.8em;
  color: var(--page-text-dark);
}

/* Images within content */
.page-popular-games-baccarat-guide__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.page-popular-games-baccarat-guide__cta-button {
  display: inline-block;
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-popular-games-baccarat-guide__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-popular-games-baccarat-guide__cta-button--dark {
  background-color: var(--page-primary-color);
  color: var(--page-secondary-color);
}

.page-popular-games-baccarat-guide__cta-button--dark:hover {
  background-color: #122130;
  color: var(--page-secondary-color);
}

.page-popular-games-baccarat-guide__cta-button--gold-bg {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
}

.page-popular-games-baccarat-guide__cta-button--gold-bg:hover {
  background-color: #e6c200;
}

/* CTA Box */
.page-popular-games-baccarat-guide__cta-box {
  background-color: var(--page-primary-color);
  color: var(--page-text-light);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-popular-games-baccarat-guide__cta-box p {
  font-size: 1.3em;
  margin-bottom: 25px;
  color: var(--page-text-light);
}

.page-popular-games-baccarat-guide__cta-box--gold {
  background-color: var(--page-secondary-color);
  color: var(--page-primary-color);
}

.page-popular-games-baccarat-guide__cta-box--gold p {
  color: var(--page-primary-color);
}

.page-popular-games-baccarat-guide__cta-box--final {
  margin-bottom: 0;
}

/* Feature List (Why Choose Section) */
.page-popular-games-baccarat-guide__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-popular-games-baccarat-guide__feature-list li {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-popular-games-baccarat-guide__feature-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-popular-games-baccarat-guide__feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  object-fit: contain;
}

.page-popular-games-baccarat-guide__feature-text h3 {
  font-size: 1.4em;
  color: var(--page-primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-popular-games-baccarat-guide__feature-text p {
  font-size: 1em;
  margin-bottom: 0;
  color: var(--page-text-dark);
}

/* FAQ Section */
.page-popular-games-baccarat-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
}

.page-popular-games-baccarat-guide__faq-question {
  font-size: 1.25em;
  color: var(--page-primary-color);
  margin-top: 0;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-popular-games-baccarat-guide__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-secondary-color);
  transition: transform 0.3s ease;
}

.page-popular-games-baccarat-guide__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-popular-games-baccarat-guide__faq-answer {
  font-size: 1.1em;
  color: var(--page-text-dark);
  display: none;
  margin-top: 15px;
}

.page-popular-games-baccarat-guide__faq-answer.active {
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-popular-games-baccarat-guide__hero-title {
    font-size: 2.8em;
  }
  .page-popular-games-baccarat-guide__hero-subtitle {
    font-size: 1.3em;
  }
  .page-popular-games-baccarat-guide__section-title {
    font-size: 2em;
  }
  .page-popular-games-baccarat-guide__subsection-title {
    font-size: 1.5em;
  }
  .page-popular-games-baccarat-guide__hero-image-wrapper {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .page-popular-games-baccarat-guide__hero {
    padding: 60px 0;
  }
  .page-popular-games-baccarat-guide__hero-title {
    font-size: 2.2em;
  }
  .page-popular-games-baccarat-guide__hero-subtitle {
    font-size: 1.1em;
  }
  .page-popular-games-baccarat-guide__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-popular-games-baccarat-guide__section {
    padding: 40px 0;
  }
  .page-popular-games-baccarat-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-popular-games-baccarat-guide__subsection-title {
    font-size: 1.3em;
  }
  .page-popular-games-baccarat-guide__cta-box p {
    font-size: 1.1em;
  }
  .page-popular-games-baccarat-guide__feature-list {
    grid-template-columns: 1fr;
  }
  .page-popular-games-baccarat-guide__hero-image-wrapper {
    width: 90%;
    position: relative;
    opacity: 0.5;
  }
  .page-popular-games-baccarat-guide__hero {
    flex-direction: column;
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .page-popular-games-baccarat-guide__hero-title {
    font-size: 1.8em;
  }
  .page-popular-games-baccarat-guide__hero-subtitle {
    font-size: 1em;
  }
  .page-popular-games-baccarat-guide__cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-popular-games-baccarat-guide__section-title {
    font-size: 1.5em;
  }
  .page-popular-games-baccarat-guide__subsection-title {
    font-size: 1.2em;
  }
  .page-popular-games-baccarat-guide p,
  .page-popular-games-baccarat-guide__list li,
  .page-popular-games-baccarat-guide__ordered-list li,
  .page-popular-games-baccarat-guide__faq-answer {
    font-size: 0.95em;
  }
  .page-popular-games-baccarat-guide__faq-question {
    font-size: 1.1em;
  }
  .page-popular-games-baccarat-guide__cta-box {
    padding: 30px 20px;
  }
  .page-popular-games-baccarat-guide__feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}