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

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

.page-casino-table-games__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0056b3; /* Darker blue for background if image doesn't cover fully */
  color: #ffffff;
  padding: 0;
}

.page-casino-table-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-casino-table-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-casino-table-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-casino-table-games__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-casino-table-games__button--primary {
  background-color: #FFC107; /* Auxiliary gold */
  color: #007BFF; /* Primary blue */
}

.page-casino-table-games__button--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-casino-table-games__button--secondary {
  background-color: #007BFF; /* Primary blue */
  color: #ffffff;
  border: 2px solid #FFC107;
}

.page-casino-table-games__button--secondary:hover {
  background-color: #0056b3;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-casino-table-games__button--tertiary {
  background-color: #f0f0f0; /* Light background for card buttons */
  color: #007BFF;
  border: 1px solid #007BFF;
  padding: 10px 20px;
  font-size: 1em;
}

.page-casino-table-games__button--tertiary:hover {
  background-color: #e0e0e0;
  border-color: #0056b3;
}

.page-casino-table-games__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Primary blue */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-casino-table-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-casino-table-games__why-choose-us, .page-casino-table-games__game-spotlight, .page-casino-table-games__getting-started, .page-casino-table-games__strategy-guide, .page-casino-table-games__faq, .page-casino-table-games__call-to-action {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-casino-table-games__why-choose-us {
  background-color: #f8f8f8;
}

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

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

.page-casino-table-games__feature-title, .page-casino-table-games__game-title, .page-casino-table-games__step-title {
  font-size: 1.8em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-casino-table-games__feature-description, .page-casino-table-games__game-description, .page-casino-table-games__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino-table-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-casino-table-games__strategy-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-casino-table-games__strategy-item {
  background-color: #f8f8f8;
  border-left: 5px solid #007BFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino-table-games__strategy-subtitle {
  font-size: 1.5em;
  color: #007BFF;
  margin-bottom: 10px;
}

.page-casino-table-games__strategy-text {
  font-size: 1em;
  color: #555555;
}

.page-casino-table-games__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-casino-table-games__faq-question {
  font-size: 1.3em;
  color: #007BFF;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-casino-table-games__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino-table-games__faq-item.active .page-casino-table-games__faq-question::after {
  transform: rotate(45deg);
}

.page-casino-table-games__faq-answer {
  font-size: 1em;
  color: #555555;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
  margin-top: 10px;
  display: none; /* Hidden by default */
}

.page-casino-table-games__faq-item.active .page-casino-table-games__faq-answer {
  display: block;
}

.page-casino-table-games__faq-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-casino-table-games__call-to-action {
  background-color: #007BFF; /* Primary blue background */
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

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

.page-casino-table-games__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* 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-title {
    font-size: 2.5em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__section-intro {
    font-size: 0.95em;
  }
  .page-casino-table-games__feature-card, .page-casino-table-games__game-card, .page-casino-table-games__step-card {
    padding: 25px;
  }
  .page-casino-table-games__game-image, .page-casino-table-games__faq-image {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
  }
  .page-casino-table-games__cta-title {
    font-size: 2em;
  }
  .page-casino-table-games__cta-description {
    font-size: 1em;
  }
  /* Ensure no horizontal scroll for main content */
  .page-casino-table-games {
    overflow-x: hidden;
  }
  .page-casino-table-games__container {
    padding: 0 15px;
  }
  .page-casino-table-games__hero-content {
    width: 90%;
  }
  .page-casino-table-games img {
    max-width: 100% !important;
    height: auto !important;
  }
}

@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 {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__feature-title, .page-casino-table-games__game-title, .page-casino-table-games__step-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__cta-title {
    font-size: 1.8em;
  }
}