.page-casino-table-games {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino-table-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px; /* Minimum height for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.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;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  border-radius: 10px;
  color: #FFFFFF;
}

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

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

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

.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;
  white-space: nowrap;
}

.page-casino-table-games__button--register {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* White text for register */
  border: 2px solid #FCBC45;
}

.page-casino-table-games__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-casino-table-games__button--explore, .page-casino-table-games__button--play, .page-casino-table-games__button--step, .page-casino-table-games__button--final-cta {
  background-color: #FCBC45; /* Gold background */
  color: #000000; /* Dark text */
  border: 2px solid #FCBC45;
}

.page-casino-table-games__button--explore:hover, .page-casino-table-games__button--play:hover, .page-casino-table-games__button--step:hover, .page-casino-table-games__button--final-cta:hover {
  background-color: #e0a830;
  transform: translateY(-3px);
}

.page-casino-table-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-casino-table-games__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-casino-table-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

.page-casino-table-games__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-casino-table-games__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

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

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

.page-casino-table-games__game-card {
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

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

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

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

.page-casino-table-games__game-card .page-casino-table-games__button {
  margin: 0 20px 20px;
  align-self: center;
  width: calc(100% - 40px);
}

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

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

.page-casino-table-games__step-title {
  font-size: 1.6em;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

.page-casino-table-games__step-card .page-casino-table-games__button {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  align-self: center;
  width: auto;
}

.page-casino-table-games__tips-list {
  list-style: none;
  padding: 0;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-table-games__tips-list li {
  background-color: #f8f8f8;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-casino-table-games__tips-list-title {
  font-size: 1.3em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-casino-table-games__responsible-gaming-note {
  font-size: 0.95em;
  text-align: center;
  color: #777777;
  margin-top: 30px;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 8px;
}

.page-casino-table-games__faq-container {
  max-width: 900px;
  margin: 0 auto 60px;
}

.page-casino-table-games__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino-table-games__faq-question {
  font-size: 1.4em;
  color: #000000;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  position: relative;
  background-color: #FCBC45;
  color: #000000;
}

.page-casino-table-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino-table-games__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-casino-table-games__faq-answer {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-casino-table-games__faq-answer.show {
  max-height: 200px; /* Adjust as needed */
  padding: 20px;
}

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

.page-casino-table-games__button--final-cta {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

@media (max-width: 768px) {
  .page-casino-table-games__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .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__button {
    width: 80%;
    padding: 12px 20px;
  }
  .page-casino-table-games__content-area {
    padding: 40px 15px;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__section-intro {
    font-size: 0.95em;
  }
  .page-casino-table-games__features-grid, .page-casino-table-games__game-grid, .page-casino-table-games__steps-container {
    grid-template-columns: 1fr;
  }
  .page-casino-table-games__game-image {
    height: 200px;
  }
  .page-casino-table-games__game-card .page-casino-table-games__button {
    width: calc(100% - 40px);
  }
  .page-casino-table-games__tips-list li {
    padding: 15px;
  }
  .page-casino-table-games__tips-list-title {
    font-size: 1.1em;
  }
  .page-casino-table-games__faq-question {
    font-size: 1.2em;
    padding: 15px;
  }
  .page-casino-table-games__faq-question::after {
    right: 15px;
  }
  .page-casino-table-games__faq-answer {
    padding: 0 15px 15px;
  }
  /* Ensure content area images are responsive and don't overflow */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
  }
}