.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 {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-casino-table-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-casino-table-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Accent color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

.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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-casino-table-games__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

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

.page-casino-table-games__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-casino-table-games__button--primary {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-casino-table-games__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

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

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

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

.page-casino-table-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-casino-table-games__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 25px;
  margin-top: 60px;
}

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

.page-casino-table-games__why-choose-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

.page-casino-table-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-casino-table-games__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

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

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

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

.page-casino-table-games__popular-games-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-casino-table-games__game-card {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-table-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

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

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

.page-casino-table-games__fairness-security-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-casino-table-games__fairness-security-section .page-casino-table-games__section-title {
  color: #FCBC45;
}

.page-casino-table-games__fairness-security-section .page-casino-table-games__section-intro {
  color: #CCCCCC;
}

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

.page-casino-table-games__info-block {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__info-block:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-casino-table-games__info-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-casino-table-games__info-title {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

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

.page-casino-table-games__bonuses-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-casino-table-games__promo-card {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-table-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino-table-games__promo-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

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

.page-casino-table-games__promo-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-casino-table-games__getting-started-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-casino-table-games__step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

.page-casino-table-games__mobile-app-section {
  padding: 60px 0;
  background-color: #000000;
  color: #FFFFFF;
}

.page-casino-table-games__mobile-app-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-casino-table-games__mobile-app-flex .page-casino-table-games__section-title {
  color: #FCBC45;
  text-align: left;
}

.page-casino-table-games__mobile-app-flex .page-casino-table-games__section-intro {
  color: #CCCCCC;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-casino-table-games__mobile-app-content {
  flex: 1;
}

.page-casino-table-games__mobile-app-image {
  flex: 1;
  text-align: center;
}

.page-casino-table-games__mobile-app-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-casino-table-games__customer-support-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-casino-table-games__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

.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: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

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

.page-casino-table-games__faq-answer {
  font-size: 1em;
  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 */
  padding-top: 10px;
}

.page-casino-table-games__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-casino-table-games__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 45px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.page-casino-table-games__floating-button:hover {
  transform: translateY(-3px);
}

.page-casino-table-games__floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-casino-table-games__floating-button--login {
  background-color: #FCBC45;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 2.8em;
  }
  .page-casino-table-games__section-title {
    font-size: 2.2em;
  }
  .page-casino-table-games__mobile-app-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-casino-table-games__mobile-app-flex .page-casino-table-games__section-title,
  .page-casino-table-games__mobile-app-flex .page-casino-table-games__section-intro {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-casino-table-games__hero-section {
    padding: 60px 15px;
  }
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-casino-table-games__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__features-grid,
  .page-casino-table-games__game-cards-grid,
  .page-casino-table-games__info-blocks,
  .page-casino-table-games__promo-grid,
  .page-casino-table-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-casino-table-games__feature-title,
  .page-casino-table-games__game-title,
  .page-casino-table-games__info-title,
  .page-casino-table-games__promo-title,
  .page-casino-table-games__step-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__feature-item img,
  .page-casino-table-games__game-card img,
  .page-casino-table-games__info-block img,
  .page-casino-table-games__promo-card img,
  .page-casino-table-games__mobile-app-image img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
  }
  /* Ensure no horizontal overflow */
  .page-casino-table-games {
    overflow-x: hidden;
  }
  .page-casino-table-games__container {
    padding: 0 15px;
  }
  .page-casino-table-games__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    right: 20px;
    bottom: 15px;
    justify-content: space-around;
  }
  .page-casino-table-games__floating-button {
    width: 48%;
    height: 40px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-casino-table-games__hero-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__floating-buttons {
    bottom: 10px;
    right: 10px;
    width: calc(100% - 20px);
  }
  .page-casino-table-games__floating-button {
    width: 47%;
  }
}