.page-casino-table-games {
  color: #ffffff; /* Light text on dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-casino-table-games__hero-section {
  background-color: #1A1A1A; /* Dark background for hero */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

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

.page-casino-table-games__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.page-casino-table-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  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__btn {
  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, transform 0.2s ease;
  cursor: pointer;
  border: none;
}

.page-casino-table-games__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #1A1A1A;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-casino-table-games__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino-table-games__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-casino-table-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-2px);
}

.page-casino-table-games__btn--hero {
    background-color: #FFD700;
    color: #1A1A1A;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-casino-table-games__btn--hero:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-casino-table-games__btn--text {
    background: none;
    border: none;
    color: #FFD700;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
    text-align: left;
}

.page-casino-table-games__btn--text:hover {
    color: #e6c200;
    text-decoration: none;
    transform: none;
}

.page-casino-table-games__hero-image {
  width: 100%;
  max-width: 1000px; /* Adjust max-width for aesthetic */
  margin-top: 40px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-casino-table-games__introduction-section,
.page-casino-table-games__strategy-section,
.page-casino-table-games__poker-tips-section,
.page-casino-table-games__advanced-section,
.page-casino-table-games__cta-section {
  padding: 60px 20px;
  text-align: center;
}

.page-casino-table-games__strategy-section--dark {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-casino-table-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-casino-table-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-casino-table-games__paragraph {
  font-size: 1.1em;
  color: #e0e0e0;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: left;
}

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

.page-casino-table-games__strategy-card,
.page-casino-table-games__poker-card,
.page-casino-table-games__advanced-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-casino-table-games__strategy-card:hover,
.page-casino-table-games__poker-card:hover,
.page-casino-table-games__advanced-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-casino-table-games__strategy-card img,
.page-casino-table-games__poker-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-table-games__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-casino-table-games__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-casino-table-games__cta-section {
  background-color: #1A1A1A;
  padding: 80px 20px;
}

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

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

/* 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 {
    padding: 60px 20px;
  }

  .page-casino-table-games__hero-title {
    font-size: 2.5em;
  }

  .page-casino-table-games__hero-description {
    font-size: 1.1em;
  }

  .page-casino-table-games__hero-actions {
    flex-direction: column;
  }

  .page-casino-table-games__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-casino-table-games__strategy-grid,
  .page-casino-table-games__poker-grid,
  .page-casino-table-games__advanced-grid {
    grid-template-columns: 1fr;
  }

  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }

  .page-casino-table-games__paragraph {
    font-size: 0.95em;
  }

  /* Ensure content images are responsive and not too small */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
  }
  .page-casino-table-games__strategy-card img,
  .page-casino-table-games__poker-card img {
    height: auto; /* Allow height to adjust for responsiveness */
    max-height: 250px;
  }
}

@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-image {
    margin-top: 20px;
  }
  .page-casino-table-games__hero-section {
      gap: 20px;
  }
}