.page-casino-table-games {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #FFFFFF; /* Page specific background for consistency */
}

@media (max-width: 768px) {
  .page-casino-table-games {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    overflow-x: hidden;
  }
}

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

.page-casino-table-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-casino-table-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtle background effect */
}

.page-casino-table-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.page-casino-table-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.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;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
  min-width: 180px;
  text-align: center;
}

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

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

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

.page-casino-table-games__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

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

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

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

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

.page-casino-table-games__feature-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
  text-align: left;
  border-left: 5px solid #FCBC45;
}

.page-casino-table-games__feature-item strong {
  color: #000000;
  font-size: 1.1em;
  display: block;
  margin-bottom: 10px;
}

.page-casino-table-games__game-showcase {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

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

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

.page-casino-table-games__game-card-image {
  width: 100%;
  height: 250px; /* Enforce min-height for content images */
  object-fit: cover;
  display: block;
}

.page-casino-table-games__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-casino-table-games__game-card-title {
  font-size: 1.7em;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.4;
}

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

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

.page-casino-table-games__game-card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

.page-casino-table-games__strategy-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid #FCBC45;
}

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

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

.page-casino-table-games__strategy-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 70px;
  padding: 40px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-casino-table-games__strategy-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size for images */
  min-height: 200px;
}

.page-casino-table-games__strategy-cta-text {
  font-size: 1.4em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

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

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

.page-casino-table-games__responsible-item {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  border-top: 3px solid #000000;
}

.page-casino-table-games__responsible-item strong {
  color: #000000;
}

.page-casino-table-games__responsible-text {
  font-size: 1.1em;
  text-align: center;
  margin-top: 40px;
  color: #666666;
}

.page-casino-table-games__cta-section {
  padding: 80px 0;
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
}

.page-casino-table-games__cta-section .page-casino-table-games__section-title {
  color: #000000;
}

.page-casino-table-games__cta-section .page-casino-table-games__section-intro {
  color: #333333;
  margin-bottom: 40px;
}

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

.page-casino-table-games__cta-actions .page-casino-table-games__button--primary {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

.page-casino-table-games__cta-actions .page-casino-table-games__button--primary:hover {
  background-color: #333333;
  border-color: #333333;
  color: #FFFFFF;
}

.page-casino-table-games__cta-actions .page-casino-table-games__button--secondary {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-casino-table-games__cta-actions .page-casino-table-games__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* 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: 2.2em;
  }
  .page-casino-table-games__subsection-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__game-card-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games__hero-section {
    padding: 60px 15px 30px;
  }
  .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 {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
    padding-top: 40px;
  }
  .page-casino-table-games__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-casino-table-games__subsection-title {
    font-size: 1.6em;
  }
  .page-casino-table-games__feature-item,
  .page-casino-table-games__strategy-item,
  .page-casino-table-games__responsible-item {
    padding: 20px;
    font-size: 1em;
  }
  .page-casino-table-games__game-card-image {
    height: 200px; /* Ensure images are not too small on mobile */
  }
  .page-casino-table-games__game-card-title {
    font-size: 1.3em;
  }
  .page-casino-table-games__game-card-description {
    font-size: 0.9em;
  }
  .page-casino-table-games__strategy-cta {
    padding: 30px 20px;
  }
  .page-casino-table-games__strategy-cta-text {
    font-size: 1.1em;
  }
  .page-casino-table-games__cta-section {
    padding: 60px 0;
  }
  .page-casino-table-games__cta-actions {
    flex-direction: column;
  }
  /* 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; /* Enforce minimum size */
    min-height: 200px;
  }
  .page-casino-table-games__game-card-image,
  .page-casino-table-games__strategy-image {
    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__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.6em;
  }
  .page-casino-table-games__section-intro {
    font-size: 0.85em;
  }
  .page-casino-table-games__subsection-title {
    font-size: 1.4em;
  }
  .page-casino-table-games__feature-item,
  .page-casino-table-games__strategy-item,
  .page-casino-table-games__responsible-item {
    font-size: 0.9em;
  }
  .page-casino-table-games__game-card-title {
    font-size: 1.2em;
  }
  .page-casino-table-games__game-card-description {
    font-size: 0.85em;
  }
  .page-casino-table-games__strategy-cta-text {
    font-size: 1em;
  }
}