.page-casino-table-games {
  color: #333333; /* Dark text on light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.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 for hero section background */
  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;
  margin-bottom: 40px;
}

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

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

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

.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, color 0.3s 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: #E0E0E0;
  color: #000000;
}

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

.page-casino-table-games__button--explore:hover {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-casino-table-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
  filter: brightness(0.7); /* Adjust brightness for text readability */
}

.page-casino-table-games__introduction-section,
.page-casino-table-games__game-guide-section,
.page-casino-table-games__strategy-section,
.page-casino-table-games__why-okplayph-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-casino-table-games__section-paragraph {
  font-size: 1.1em;
  color: #333333;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: justify;
}

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

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

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

.page-casino-table-games__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #E0E0E0;
}

.page-casino-table-games__game-card-title {
  font-size: 1.8em;
  color: #000000;
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-casino-table-games__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino-table-games__game-card-title a:hover {
  text-decoration: underline;
}

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

.page-casino-table-games__game-card-list {
  list-style: none;
  padding: 0 20px 15px;
  margin: 0;
}

.page-casino-table-games__game-card-list li {
  margin-bottom: 8px;
  color: #444444;
  font-size: 0.95em;
}

.page-casino-table-games__button--play-now {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  text-align: center;
}

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

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

.page-casino-table-games__strategy-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  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__strategy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-casino-table-games__strategy-item-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-casino-table-games__strategy-item-description a {
  color: #000000;
  text-decoration: underline;
}

.page-casino-table-games__strategy-item-description a:hover {
  color: #FCBC45;
}

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

.page-casino-table-games__feature-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

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

.page-casino-table-games__feature-item-description a {
  color: #000000;
  text-decoration: underline;
}

.page-casino-table-games__feature-item-description a:hover {
  color: #FCBC45;
}

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

.page-casino-table-games__button--join {
  background-color: #FCBC45;
  color: #000000;
  border: none;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__button--join:hover {
  background-color: #E6A73D;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 3em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1.2em;
  }
  .page-casino-table-games__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }
  .page-casino-table-games__hero-section {
    padding: 60px 20px;
  }
  .page-casino-table-games__hero-title {
    font-size: 2.5em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__section-paragraph {
    font-size: 0.95em;
  }
  .page-casino-table-games__game-grid,
  .page-casino-table-games__strategy-points,
  .page-casino-table-games__feature-list {
    grid-template-columns: 1fr;
  }
  .page-casino-table-games__game-card-image,
  .page-casino-table-games__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-casino-table-games__button {
    width: 100%;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
  }
  .page-casino-table-games__button--play-now {
    width: calc(100% - 40px);
  }
}

@media (max-width: 480px) {
  .page-casino-table-games__hero-title {
    font-size: 2em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__hero-section {
    padding: 40px 15px;
  }
  .page-casino-table-games__container {
    padding: 0 15px;
  }
  .page-casino-table-games__game-card-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__strategy-item-title,
  .page-casino-table-games__feature-item-title {
    font-size: 1.3em;
  }
}