.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 below fixed header */
}

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

.page-casino-table-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
}

.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: 1;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  padding: 40px;
  border-radius: 10px;
}

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

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

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

.page-casino-table-games__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-casino-table-games__button--primary:hover {
  background-color: #e0a030;
}

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

.page-casino-table-games__button--secondary:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-casino-table-games__introduction-section,
.page-casino-table-games__game-categories,
.page-casino-table-games__why-nn77-section,
.page-casino-table-games__strategies-section,
.page-casino-table-games__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Background color */
}

.page-casino-table-games__introduction-section {
  background-color: #f8f8f8;
}

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

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

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

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

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

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

.page-casino-table-games__game-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-casino-table-games__game-title a:hover {
  color: #FCBC45;
}

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

.page-casino-table-games__card-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FCBC45; /* Login color for contrast */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-casino-table-games__why-nn77-section {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
}

.page-casino-table-games__why-nn77-section .page-casino-table-games__section-title {
  color: #FCBC45;
}

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

.page-casino-table-games__feature-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.page-casino-table-games__feature-item:hover {
  transform: translateY(-10px);
}

.page-casino-table-games__feature-icon {
  width: 200px; /* Minimum size for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-casino-table-games__cta-section {
  background-color: #f8f8f8;
  text-align: center;
}

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

.page-casino-table-games__cta-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

.page-casino-table-games__button--cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 8px;
}

.page-casino-table-games__button--cta:hover {
  background-color: #e0a030;
}

/* Responsive Design */
@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: 40px 15px;
  }
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1em;
  }
  .page-casino-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__introduction-section,
  .page-casino-table-games__game-categories,
  .page-casino-table-games__why-nn77-section,
  .page-casino-table-games__strategies-section,
  .page-casino-table-games__cta-section {
    padding: 40px 0;
  }
  .page-casino-table-games__game-card {
    min-height: unset;
  }
  .page-casino-table-games__game-image {
    height: 200px;
  }
  /* Content area images must not be smaller than 200px in display size */
  .page-casino-table-games__game-card img,
  .page-casino-table-games__feature-item img,
  .page-casino-table-games__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum display size */
    min- /* Enforce minimum display size (aspect ratio based) */
  }
  .page-casino-table-games__cta-title {
    font-size: 2em;
  }
  .page-casino-table-games__cta-description {
    font-size: 1.1em;
  }
  .page-casino-table-games__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@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-content {
    padding: 25px;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__cta-title {
    font-size: 1.8em;
  }
}