.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__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;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
  overflow: hidden;
}

.page-casino-table-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-casino-table-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

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

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

.page-casino-table-games__hero-buttons {
  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;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
  font-size: 1.1em;
}

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

.page-casino-table-games__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

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

.page-casino-table-games__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

.page-casino-table-games__introduction-section,
.page-casino-table-games__games-overview-section,
.page-casino-table-games__strategy-section,
.page-casino-table-games__bonuses-section,
.page-casino-table-games__security-section,
.page-casino-table-games__mobile-section,
.page-casino-table-games__getting-started-section {
  padding: 60px 0;
  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: 10px auto 0;
}

.page-casino-table-games__text-content {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 20px;
  text-align: justify;
}

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

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

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

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

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

.page-casino-table-games__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  margin-top: auto; /* Push button to bottom */
}

.page-casino-table-games__button--play:hover {
  background-color: #E0A030;
}

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

.page-casino-table-games__strategy-card {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

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

.page-casino-table-games__strategy-description {
  font-size: 0.9em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-casino-table-games__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push link to bottom */
}

.page-casino-table-games__link:hover {
  text-decoration: underline;
}

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

.page-casino-table-games__bonus-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-casino-table-games__bonus-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino-table-games__bonus-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

.page-casino-table-games__button--claim,
.page-casino-table-games__button--view-all {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1em;
  margin-top: auto;
}

.page-casino-table-games__button--claim:hover,
.page-casino-table-games__button--view-all:hover {
  background-color: #E0A030;
}

.page-casino-table-games__text-content--note {
  text-align: center;
  font-style: italic;
  color: #777777;
  margin-top: 30px;
}

.page-casino-table-games__centered-button {
  text-align: center;
  margin-top: 40px;
}

.page-casino-table-games__security-features {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.page-casino-table-games__feature-item {
  background-color: #F8F8F8;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #000000;
  position: relative;
  padding-left: 40px;
}

.page-casino-table-games__feature-item::before {
  content: '✓';
  color: #FCBC45;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.page-casino-table-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino-table-games__mobile-image {
  flex: 1 1 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino-table-games__mobile-text {
  flex: 2 1 400px;
}

.page-casino-table-games__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
}

.page-casino-table-games__button--download:hover {
  background-color: #333333;
  border-color: #333333;
}

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

.page-casino-table-games__step-card {
  background-color: #F8F8F8;
  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__step-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

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

.page-casino-table-games__button--register-small,
.page-casino-table-games__button--deposit,
.page-casino-table-games__button--play-now {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: auto;
}

.page-casino-table-games__button--register-small:hover,
.page-casino-table-games__button--deposit:hover,
.page-casino-table-games__button--play-now:hover {
  background-color: #E0A030;
}

.page-casino-table-games__text-content--final-cta {
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  color: #000000;
  margin-top: 40px;
}

.page-casino-table-games__button--join-big {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 18px 40px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.3em;
  margin-top: 20px;
}

.page-casino-table-games__button--join-big:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 3em;
  }
  .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, 80px); /* Adjust for mobile header offset */
  }
  .page-casino-table-games__hero-content {
    padding: 20px;
  }
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__button {
    width: 100%;
    max-width: 300px;
  }
  .page-casino-table-games__introduction-section,
  .page-casino-table-games__games-overview-section,
  .page-casino-table-games__strategy-section,
  .page-casino-table-games__bonuses-section,
  .page-casino-table-games__security-section,
  .page-casino-table-games__mobile-section,
  .page-casino-table-games__getting-started-section {
    padding: 40px 0;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__text-content {
    font-size: 1em;
  }
  .page-casino-table-games__game-cards,
  .page-casino-table-games__strategy-grid,
  .page-casino-table-games__bonus-cards,
  .page-casino-table-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino-table-games__mobile-content {
    flex-direction: column;
  }
  .page-casino-table-games__mobile-image {
    max-width: 100%;
  }

  /* Mobile content area image resizing */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
  }
  .page-casino-table-games__game-image,
  .page-casino-table-games__bonus-image,
  .page-casino-table-games__mobile-image {
    width: 100%;
    height: auto; /* Allow height to adjust automatically */
    min-height: 200px; /* Ensure images are not too small */
    object-fit: cover;
  }
}

@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__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__text-content {
    font-size: 0.95em;
  }
  .page-casino-table-games__button--download,
  .page-casino-table-games__button--join-big {
    padding: 12px 25px;
    font-size: 1.1em;
  }
}