.page-casino-table-games {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

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

.page-casino-table-games__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #FFFFFF; /* White text over dark hero image */
  min-height: 500px; /* Minimum height for hero section */
  display: flex;
  align-items: center;
  justify-content: 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-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
  border-radius: 10px;
}

.page-casino-table-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.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__btn {
  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, transform 0.3s ease;
  white-space: nowrap;
}

.page-casino-table-games__btn--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Text color for register button */
  border: 2px solid #FFFFFF;
}

.page-casino-table-games__btn--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-casino-table-games__btn--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Text color for login button */
  border: 2px solid #FCBC45;
}

.page-casino-table-games__btn--login:hover {
  background-color: #E0A83D;
  transform: translateY(-2px);
}

.page-casino-table-games__btn--play, .page-casino-table-games__btn--download, .page-casino-table-games__btn--learn {
  background-color: #000000; /* Default button color */
  color: #FFFFFF; /* Text color for default buttons */
  border: 2px solid #000000;
}

.page-casino-table-games__btn--play:hover, .page-casino-table-games__btn--download:hover, .page-casino-table-games__btn--learn:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

.page-casino-table-games__intro-title,
.page-casino-table-games__showcase-title,
.page-casino-table-games__why-choose-us-title,
.page-casino-table-games__strategies-tips-title,
.page-casino-table-games__cta-title,
.page-casino-table-games__faq-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.page-casino-table-games__intro-text,
.page-casino-table-games__why-choose-us-text,
.page-casino-table-games__strategies-tips-text,
.page-casino-table-games__cta-description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

.page-casino-table-games__game-card,
.page-casino-table-games__advantage-card,
.page-casino-table-games__strategy-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-table-games__game-card:hover,
.page-casino-table-games__advantage-card:hover,
.page-casino-table-games__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-casino-table-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino-table-games__game-title,
.page-casino-table-games__advantage-title,
.page-casino-table-games__strategy-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-casino-table-games__game-description,
.page-casino-table-games__advantage-description,
.page-casino-table-games__strategy-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  margin-bottom: 20px;
}

.page-casino-table-games__advantage-description a, .page-casino-table-games__faq-answer a {
  color: #000000; /* Link color */
  text-decoration: underline;
}

.page-casino-table-games__advantage-description a:hover, .page-casino-table-games__faq-answer a:hover {
  color: #FCBC45; /* Link hover color */
}

.page-casino-table-games__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-casino-table-games__cta-title {
  color: #FFFFFF;
  font-size: 3em;
  margin-bottom: 20px;
}

.page-casino-table-games__cta-description {
  color: #F0F0F0;
  margin-bottom: 40px;
}

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

.page-casino-table-games__cta-actions .page-casino-table-games__btn--register {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino-table-games__cta-actions .page-casino-table-games__btn--register:hover {
  background-color: #E0A83D;
}

.page-casino-table-games__cta-actions .page-casino-table-games__btn--login {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-casino-table-games__cta-actions .page-casino-table-games__btn--login:hover {
  background-color: #F0F0F0;
}

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

.page-casino-table-games__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-casino-table-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  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;
  line-height: 1.7;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-casino-table-games__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 3em;
  }
  .page-casino-table-games__intro-title,
  .page-casino-table-games__showcase-title,
  .page-casino-table-games__why-choose-us-title,
  .page-casino-table-games__strategies-tips-title,
  .page-casino-table-games__cta-title,
  .page-casino-table-games__faq-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-casino-table-games__hero-content {
    padding: 30px;
  }
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1.1em;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__btn {
    width: 100%;
    padding: 12px 20px;
  }
  .page-casino-table-games__intro-section,
  .page-casino-table-games__games-showcase,
  .page-casino-table-games__why-choose-us,
  .page-casino-table-games__strategies-tips,
  .page-casino-table-games__cta-section,
  .page-casino-table-games__faq-section {
    padding: 40px 0;
  }
  .page-casino-table-games__intro-title,
  .page-casino-table-games__showcase-title,
  .page-casino-table-games__why-choose-us-title,
  .page-casino-table-games__strategies-tips-title,
  .page-casino-table-games__cta-title,
  .page-casino-table-games__faq-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__intro-text,
  .page-casino-table-games__why-choose-us-text,
  .page-casino-table-games__strategies-tips-text,
  .page-casino-table-games__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__game-grid,
  .page-casino-table-games__advantages-grid,
  .page-casino-table-games__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-casino-table-games__game-image {
    height: 200px;
  }
  .page-casino-table-games__game-title,
  .page-casino-table-games__advantage-title,
  .page-casino-table-games__strategy-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__faq-question {
    font-size: 1.2em;
  }
  /* Content area images must not cause horizontal scroll */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino-table-games__hero-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__hero-description {
    font-size: 0.9em;
  }
  .page-casino-table-games__intro-title,
  .page-casino-table-games__showcase-title,
  .page-casino-table-games__why-choose-us-title,
  .page-casino-table-games__strategies-tips-title,
  .page-casino-table-games__cta-title,
  .page-casino-table-games__faq-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__btn {
    font-size: 1em;
    padding: 10px 15px;
  }
}