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

.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: #1A1A1A; /* Dark background for hero section */
  color: #ffffff;
  padding-bottom: 60px;
}

.page-casino-table-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken 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;
  width: 90%;
  z-index: 10;
  padding: 20px;
}

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

.page-casino-table-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

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

.page-casino-table-games__hero-button--primary {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-casino-table-games__hero-button--primary:hover {
  background-color: #e6c200;
}

.page-casino-table-games__hero-button--secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 2px solid #FFD700;
}

.page-casino-table-games__hero-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #FFD700;
}

.page-casino-table-games__overview-section,
.page-casino-table-games__why-choose-section,
.page-casino-table-games__promotions-section,
.page-casino-table-games__responsible-gaming-section,
.page-casino-table-games__faq-section,
.page-casino-table-games__final-cta-section {
  padding: 60px 0;
}

.page-casino-table-games__overview-section {
  background-color: #f8f8f8;
}

.page-casino-table-games__section-title {
  font-size: 2.8em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 20px;
}

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

.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 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-casino-table-games__game-card:hover {
  transform: translateY(-5px);
}

.page-casino-table-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino-table-games__game-title {
  font-size: 1.8em;
  color: #1A1A1A;
  margin: 20px 0 10px;
}

.page-casino-table-games__game-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-casino-table-games__game-button {
  display: inline-block;
  background-color: #1A1A1A;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__game-button:hover {
  background-color: #000000;
  color: #ffffff;
}

.page-casino-table-games__why-choose-section {
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-casino-table-games__why-choose-section .page-casino-table-games__section-title {
  color: #FFD700;
}

.page-casino-table-games__why-choose-section .page-casino-table-games__section-intro {
  color: #f0f0f0;
}

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

.page-casino-table-games__feature-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-casino-table-games__feature-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
}

.page-casino-table-games__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

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

.page-casino-table-games__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-casino-table-games__cta-button:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-casino-table-games__cta-button--outline {
  background-color: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

.page-casino-table-games__cta-button--outline:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-casino-table-games__promotions-section {
  background-color: #f0f0f0;
}

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

.page-casino-table-games__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-casino-table-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-casino-table-games__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino-table-games__promo-title {
  font-size: 1.6em;
  color: #1A1A1A;
  margin: 20px 0 10px;
}

.page-casino-table-games__promo-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-casino-table-games__promo-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__promo-button:hover {
  background-color: #e6c200;
}

.page-casino-table-games__responsible-gaming-section {
  background-color: #e6e6e6;
}

.page-casino-table-games__faq-section {
  background-color: #ffffff;
}

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

.page-casino-table-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-casino-table-games__faq-question {
  font-size: 1.2em;
  color: #1A1A1A;
  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; /* Hidden by default, shown by JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-casino-table-games__final-cta-section {
  background-color: #FFD700;
  color: #1A1A1A;
  text-align: center;
  padding: 80px 0;
}

.page-casino-table-games__final-cta-section .page-casino-table-games__section-title {
  color: #1A1A1A;
  font-size: 3em;
}

.page-casino-table-games__final-cta-section .page-casino-table-games__section-intro {
  color: #333333;
  font-size: 1.2em;
  margin-bottom: 50px;
}

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

.page-casino-table-games__cta-actions .page-casino-table-games__cta-button--primary {
  background-color: #1A1A1A;
  color: #FFD700;
}

.page-casino-table-games__cta-actions .page-casino-table-games__cta-button--primary:hover {
  background-color: #000000;
  color: #ffffff;
}

.page-casino-table-games__cta-actions .page-casino-table-games__cta-button--secondary {
  background-color: #ffffff;
  color: #1A1A1A;
  border: 2px solid #1A1A1A;
}

.page-casino-table-games__cta-actions .page-casino-table-games__cta-button--secondary:hover {
  background-color: #f0f0f0;
  color: #000000;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 2.8em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino-table-games__section-title {
    font-size: 2em;
  }
  .page-casino-table-games__game-grid,
  .page-casino-table-games__features-grid,
  .page-casino-table-games__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-casino-table-games__game-image,
  .page-casino-table-games__promo-image {
    height: auto; /* Allow image to scale */
  }
  .page-casino-table-games__feature-icon,
  .page-casino-table-games__game-image,
  .page-casino-table-games__promo-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-casino-table-games__final-cta-section .page-casino-table-games__section-title {
    font-size: 2.5em;
  }
  .page-casino-table-games__cta-actions {
    flex-direction: column;
  }
  .page-casino-table-games__cta-actions .page-casino-table-games__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino-table-games__faq-question {
    font-size: 1.1em;
  }
  .page-casino-table-games__faq-answer {
    font-size: 0.95em;
  }
}