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

.page-casino-table-games__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px);
}

.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;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-casino-table-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF; /* Light text over hero image */
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
}

.page-casino-table-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

.page-casino-table-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

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

.page-casino-table-games__hero-button--register:hover {
  background-color: #e0e0e0;
}

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

.page-casino-table-games__hero-button--login:hover {
  background-color: #e0a334;
}

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

.page-casino-table-games__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
  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;
  line-height: 1.7;
  color: #333333;
  text-align: justify;
  margin-bottom: 30px;
}

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

.page-casino-table-games__game-card,
.page-casino-table-games__strategy-card,
.page-casino-table-games__step-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-casino-table-games__card-title {
  font-size: 1.5em;
  color: #000000;
  margin: 20px 15px 10px;
  flex-grow: 1;
}

.page-casino-table-games__card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  line-height: 1.6;
}

.page-casino-table-games__card-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__card-button:hover {
  background-color: #e0a334;
}

.page-casino-table-games__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background-color: #000000; /* Main color as background */
  border-radius: 10px;
}

.page-casino-table-games__cta-text {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 25px;
}

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

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

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

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

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

.page-casino-table-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-casino-table-games__feature-description {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
}

.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__responsible-gaming-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f0f0f0;
}

.page-casino-table-games__responsible-gaming-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-casino-table-games__responsible-gaming-button:hover {
  background-color: #333333;
}

.page-casino-table-games__conclusion-section {
  text-align: center;
  padding: 60px 20px;
}

.page-casino-table-games__conclusion-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 20px 40px;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 30px;
}

.page-casino-table-games__conclusion-button:hover {
  background-color: #e0a334;
}

/* 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;
  }
  .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-content {
    padding: 30px;
    max-width: 90%;
  }
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-casino-table-games__container {
    padding: 30px 15px;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__text-content {
    font-size: 1em;
  }
  .page-casino-table-games__game-grid,
  .page-casino-table-games__strategy-grid,
  .page-casino-table-games__feature-list,
  .page-casino-table-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-casino-table-games__card-image,
  .page-casino-table-games__feature-icon {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px;
    min-height: 200px;
  }
  .page-casino-table-games__cta-section {
    padding: 30px 20px;
  }
  .page-casino-table-games__cta-text {
    font-size: 1.2em;
  }
  .page-casino-table-games__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-casino-table-games__conclusion-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all content area images are responsive and not smaller than 200px */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@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__hero-button {
    display: block;
    margin: 10px auto;
    width: fit-content;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__cta-text {
    font-size: 1em;
  }
  .page-casino-table-games__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-casino-table-games__conclusion-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}