.page-resources-sao789-live-dealer {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0F0923; /* Darker background based on main color */
}

.page-resources-sao789-live-dealer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-sao789-live-dealer__hero {
  background: linear-gradient(135deg, #1A0D3B 0%, #3a2e5c 100%); /* Gradient based on primary color */
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-sao789-live-dealer__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,sao789,dark_pattern]') no-repeat center center/cover;
  opacity: 0.15;
  z-index: 0;
}

.page-resources-sao789-live-dealer__hero > div {
  position: relative;
  z-index: 1;
}

.page-resources-sao789-live-dealer__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-sao789-live-dealer__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-resources-sao789-live-dealer__section {
  padding: 60px 0;
}

.page-resources-sao789-live-dealer__section:nth-of-type(even) {
  background-color: #1A0D3B; /* Primary color for alternating sections */
}

.page-resources-sao789-live-dealer__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-sao789-live-dealer__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #CCCCCC;
}

.page-resources-sao789-live-dealer__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-resources-sao789-live-dealer__btn--primary {
  background-color: #FFD700; /* Gold for primary actions */
  color: #1A0D3B; /* Dark text on gold */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-sao789-live-dealer__btn--primary:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-sao789-live-dealer__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary actions */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-resources-sao789-live-dealer__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A0D3B;
  transform: translateY(-2px);
}

.page-resources-sao789-live-dealer__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
  margin-top: 15px;
}

.page-resources-sao789-live-dealer__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-resources-sao789-live-dealer__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-resources-sao789-live-dealer__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-resources-sao789-live-dealer__text-content {
  padding-right: 20px;
}

.page-resources-sao789-live-dealer__text-content h2 {
  text-align: left;
  font-size: 2em;
  margin-bottom: 25px;
}

.page-resources-sao789-live-dealer__text-content p {
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-resources-sao789-live-dealer__image-wrapper {
  text-align: center;
}

.page-resources-sao789-live-dealer__img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-sao789-live-dealer__feature-card,
.page-resources-sao789-live-dealer__game-card {
  background-color: #1A0D3B; /* Primary color for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.page-resources-sao789-live-dealer__feature-card:hover,
.page-resources-sao789-live-dealer__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-resources-sao789-live-dealer__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

.page-resources-sao789-live-dealer__card-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
}

.page-resources-sao789-live-dealer__feature-card p,
.page-resources-sao789-live-dealer__game-card p {
  color: #CCCCCC;
  flex-grow: 1;
}

.page-resources-sao789-live-dealer__game-img {
  max-width: 100%;
  height: 200px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-sao789-live-dealer__list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-sao789-live-dealer__list li {
  background-color: #1A0D3B; /* Primary color for list items */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 1.1em;
  color: #E0E0E0;
  border-left: 5px solid #FFD700; /* Gold accent */
}

.page-resources-sao789-live-dealer__list li strong {
  color: #FFD700;
}

.page-resources-sao789-live-dealer__cta {
  text-align: center;
  background-color: #0F0923; /* Darker background */
  padding: 80px 0;
}

.page-resources-sao789-live-dealer__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-sao789-live-dealer__faq-item {
  background-color: #1A0D3B; /* Primary color for FAQ items */
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-resources-sao789-live-dealer__faq-question {
  font-size: 1.3em;
  color: #FFD700; /* Gold for FAQ questions */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources-sao789-live-dealer__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-resources-sao789-live-dealer__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-resources-sao789-live-dealer__faq-answer {
  font-size: 1em;
  color: #CCCCCC;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  padding-top: 0;
}

.page-resources-sao789-live-dealer__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-sao789-live-dealer__hero-title {
    font-size: 2.8em;
  }
  .page-resources-sao789-live-dealer__hero-subtitle {
    font-size: 1.3em;
  }
  .page-resources-sao789-live-dealer__section-title {
    font-size: 2em;
  }
  .page-resources-sao789-live-dealer__grid--2-cols {
    grid-template-columns: 1fr;
  }
  .page-resources-sao789-live-dealer__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-resources-sao789-live-dealer__text-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .page-resources-sao789-live-dealer__grid {
    grid-template-columns: 1fr;
  }
  .page-resources-sao789-live-dealer__btn--secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-resources-sao789-live-dealer__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .page-resources-sao789-live-dealer__hero {
    padding: 80px 0;
  }
  .page-resources-sao789-live-dealer__hero-title {
    font-size: 2.2em;
  }
  .page-resources-sao789-live-dealer__hero-subtitle {
    font-size: 1.1em;
  }
  .page-resources-sao789-live-dealer__section {
    padding: 40px 0;
  }
  .page-resources-sao789-live-dealer__section-title {
    font-size: 1.8em;
  }
  .page-resources-sao789-live-dealer__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-sao789-live-dealer__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-resources-sao789-live-dealer__card-title {
    font-size: 1.4em;
  }
  .page-resources-sao789-live-dealer__list li {
    font-size: 1em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-sao789-live-dealer__hero-title {
    font-size: 1.8em;
  }
  .page-resources-sao789-live-dealer__hero-subtitle {
    font-size: 1em;
  }
  .page-resources-sao789-live-dealer__btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-resources-sao789-live-dealer__cta-buttons {
    gap: 10px;
  }
  .page-resources-sao789-live-dealer__grid--3-cols {
    grid-template-columns: 1fr;
  }
  .page-resources-sao789-live-dealer__text-content h2 {
    font-size: 1.8em;
  }
  .page-resources-sao789-live-dealer__faq-question {
    font-size: 1.1em;
  }
  .page-resources-sao789-live-dealer__faq-answer {
    font-size: 0.9em;
  }
}