/* style/casino-baccarat-deep-dive.css */

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

/* Base styles for the page content, ensuring contrast with shared body background */
.page-casino-baccarat-deep-dive {
  background-color: var(--vando88-bg-dark); /* Using custom background color */
  color: var(--vando88-text-main); /* Ensuring text is light on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Section styling */
.page-casino-baccarat-deep-dive__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Prevent content overflow */
}

/* Specific background for sections for visual separation */
.page-casino-baccarat-deep-dive__section:nth-child(even) {
  background-color: var(--vando88-card-bg); /* Alternate background for sections */
}

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

/* Hero Section */
.page-casino-baccarat-deep-dive__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  background-color: var(--vando88-deep-green); /* Darker green background for hero */
}

.page-casino-baccarat-deep-dive__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino-baccarat-deep-dive__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-casino-baccarat-deep-dive__hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--vando88-text-main);
}

.page-casino-baccarat-deep-dive__main-title {
  font-size: 2.8em; /* Adjusted for larger screens, will be responsive */
  font-weight: 700;
  line-height: 1.2;
  color: var(--vando88-gold); /* Gold color for main title */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-casino-baccarat-deep-dive__description {
  font-size: 1.2em;
  color: var(--vando88-text-secondary);
  margin-bottom: 30px;
}

/* Titles and Subtitles */
.page-casino-baccarat-deep-dive__section-title {
  font-size: 2.2em;
  font-weight: 600;
  color: var(--vando88-primary);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}

.page-casino-baccarat-deep-dive__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--vando88-gold);
  border-radius: 2px;
}

.page-casino-baccarat-deep-dive__subtitle {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--vando88-secondary);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Paragraphs */
.page-casino-baccarat-deep-dive p {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: var(--vando88-text-main);
}

/* Lists */
.page-casino-baccarat-deep-dive__list,
.page-casino-baccarat-deep-dive__promotion-list,
.page-casino-baccarat-deep-dive__steps-list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 20px auto;
  padding-left: 40px;
  color: var(--vando88-text-secondary);
}

.page-casino-baccarat-deep-dive__steps-list {
  list-style-type: decimal;
}

.page-casino-baccarat-deep-dive__list li,
.page-casino-baccarat-deep-dive__promotion-list li,
.page-casino-baccarat-deep-dive__steps-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.5;
}

/* Buttons */
.page-casino-baccarat-deep-dive__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-casino-baccarat-deep-dive__cta-center {
  margin-top: 40px;
  text-align: center;
}

.page-casino-baccarat-deep-dive__btn-primary,
.page-casino-baccarat-deep-dive__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-casino-baccarat-deep-dive__btn-primary {
  background: var(--vando88-btn-gradient);
  color: #ffffff; /* White text on dark button */
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-casino-baccarat-deep-dive__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  filter: brightness(1.1);
}

.page-casino-baccarat-deep-dive__btn-secondary {
  background-color: transparent;
  color: var(--vando88-primary);
  border: 2px solid var(--vando88-primary);
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.2);
}

.page-casino-baccarat-deep-dive__btn-secondary:hover {
  background-color: var(--vando88-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(17, 168, 78, 0.4);
}

/* Feature Grid */
.page-casino-baccarat-deep-dive__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-casino-baccarat-deep-dive__feature-card {
  background-color: var(--vando88-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-baccarat-deep-dive__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-casino-baccarat-deep-dive__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-casino-baccarat-deep-dive__card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--vando88-primary);
  margin: 0 15px 10px;
}

.page-casino-baccarat-deep-dive__feature-card p {
  font-size: 0.95em;
  color: var(--vando88-text-secondary);
  margin: 0 15px;
}

/* FAQ Section */
.page-casino-baccarat-deep-dive__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-casino-baccarat-deep-dive__faq-item {
  background-color: var(--vando88-card-bg);
  border: 1px solid var(--vando88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino-baccarat-deep-dive__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-casino-baccarat-deep-dive__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-casino-baccarat-deep-dive__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--vando88-text-main);
  cursor: pointer;
  background-color: var(--vando88-card-bg);
  transition: background-color 0.3s ease;
}

.page-casino-baccarat-deep-dive__faq-question:hover {
  background-color: var(--vando88-deep-green);
}

.page-casino-baccarat-deep-dive__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: var(--vando88-primary);
  line-height: 1;
  margin-left: 15px;
}

.page-casino-baccarat-deep-dive__faq-item[open] .page-casino-baccarat-deep-dive__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-casino-baccarat-deep-dive__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: var(--vando88-text-secondary);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-baccarat-deep-dive__main-title {
    font-size: 2.2em;
  }
  .page-casino-baccarat-deep-dive__section-title {
    font-size: 1.8em;
  }
  .page-casino-baccarat-deep-dive__subtitle {
    font-size: 1.4em;
  }
  .page-casino-baccarat-deep-dive__section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  /* Global mobile adjustments */
  .page-casino-baccarat-deep-dive {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Ensure content containers have padding for mobile */
  .page-casino-baccarat-deep-dive__container,
  .page-casino-baccarat-deep-dive__hero-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Hero section */
  .page-casino-baccarat-deep-dive__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual space */
    padding-bottom: 40px !important;
  }

  .page-casino-baccarat-deep-dive__main-title {
    font-size: 1.8em; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }
  .page-casino-baccarat-deep-dive__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* Images responsive */
  .page-casino-baccarat-deep-dive img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Feature cards */
  .page-casino-baccarat-deep-dive__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino-baccarat-deep-dive__feature-image {
    height: 180px; /* Adjust height for mobile */
  }

  /* Buttons responsive */
  .page-casino-baccarat-deep-dive__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-casino-baccarat-deep-dive__btn-primary,
  .page-casino-baccarat-deep-dive__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ */
  .page-casino-baccarat-deep-dive__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-casino-baccarat-deep-dive__faq-answer {
    padding: 0 15px 15px;
    font-size: 1em;
  }
  .page-casino-baccarat-deep-dive__list,
  .page-casino-baccarat-deep-dive__promotion-list,
  .page-casino-baccarat-deep-dive__steps-list {
    padding-left: 20px;
  }
}