.page-casino-table-games {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-casino-table-games__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-casino-table-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-casino-table-games__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-casino-table-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-casino-table-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino-table-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-casino-table-games__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.page-casino-table-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-casino-table-games__button--primary {
  background-color: #FFD700; /* Gold accent */
  color: #0A2342; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-casino-table-games__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-casino-table-games__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold accent */
  border: 2px solid #FFD700;
}

.page-casino-table-games__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2342; /* Dark blue text */
}

.page-casino-table-games__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-casino-table-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-casino-table-games__intro-section,
.page-casino-table-games__games-showcase,
.page-casino-table-games__strategies-section,
.page-casino-table-games__why-jili80,
.page-casino-table-games__cta-section,
.page-casino-table-games__faq-section {
  padding: 60px 0;
}

.page-casino-table-games__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Dark blue */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-casino-table-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold accent */
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-casino-table-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-casino-table-games__paragraph a {
  color: #0A2342;
  text-decoration: underline;
}

.page-casino-table-games__paragraph a:hover {
  color: #FFD700;
}

.page-casino-table-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino-table-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino-table-games__game-image {
  width: 100%;
  height: 200px; /* Min height 200px */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino-table-games__game-title {
  font-size: 1.5em;
  color: #0A2342;
  margin: 10px 15px;
}

.page-casino-table-games__game-link {
  text-decoration: none;
  color: inherit;
}

.page-casino-table-games__game-link:hover {
  color: #FFD700;
}

.page-casino-table-games__game-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino-table-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-casino-table-games__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

.page-casino-table-games__list-item strong {
  color: #0A2342;
}

.page-casino-table-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-table-games__feature-card {
  background-color: #0A2342; /* Dark blue background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-casino-table-games__feature-icon {
  width: 200px; /* Min width 200px */
  height: 150px; /* Min height 200px, but adjusting for aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter is applied */
}

.page-casino-table-games__feature-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold accent */
  margin-bottom: 15px;
}

.page-casino-table-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-casino-table-games__cta-section {
  background-color: #0A2342; /* Dark blue background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-casino-table-games__cta-title {
  font-size: 3em;
  color: #FFD700; /* Gold accent */
  margin-bottom: 20px;
}

.page-casino-table-games__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-table-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-casino-table-games__faq-list {
  margin-top: 40px;
}

.page-casino-table-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games__faq-question {
  font-size: 1.25em;
  color: #0A2342;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-casino-table-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-casino-table-games__faq-question.active::after {
  content: '-';
}

.page-casino-table-games__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-casino-table-games__faq-answer a {
  color: #0A2342;
  text-decoration: underline;
}

.page-casino-table-games__faq-answer a:hover {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 3em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1.1em;
  }
  .page-casino-table-games__section-title {
    font-size: 2em;
  }
  .page-casino-table-games__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games__hero-section {
    height: 60vh;
    min-height: 350px;
  }
  .page-casino-table-games__hero-title {
    font-size: 2.5em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-casino-table-games__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino-table-games__content-area {
    padding: 30px 15px;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__paragraph {
    font-size: 1em;
  }
  .page-casino-table-games__game-grid,
  .page-casino-table-games__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-casino-table-games__game-image,
  .page-casino-table-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .page-casino-table-games__cta-title {
    font-size: 2em;
  }
  .page-casino-table-games__cta-description {
    font-size: 1.1em;
  }
  .page-casino-table-games__cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  /* Ensure content images do not overflow on mobile */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino-table-games__hero-title {
    font-size: 2em;
  }
  .page-casino-table-games__hero-description {
    font-size: 0.9em;
  }
  .page-casino-table-games__button {
    width: 90%;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__cta-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__cta-description {
    font-size: 1em;
  }
  .page-casino-table-games__faq-question {
    font-size: 1.1em;
  }
}