.page-casino-table-games {
  padding-top: var(--header-offset, 120px);
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-casino-table-games__hero-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

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

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

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

.page-casino-table-games__hero-buttons {
  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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-casino-table-games__button--primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

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

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

.page-casino-table-games__button--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-casino-table-games__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino-table-games__button--large {
  padding: 18px 35px;
  font-size: 1.3em;
}

.page-casino-table-games__hero-image {
  max-width: 100%;
  margin-top: 40px;
}

.page-casino-table-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-casino-table-games__game-categories,
.page-casino-table-games__why-phplay,
.page-casino-table-games__promotions,
.page-casino-table-games__get-started {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-casino-table-games__section-title {
  font-size: 2.2em;
  color: #003366;
  margin-bottom: 20px;
}

.page-casino-table-games__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-casino-table-games__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino-table-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-casino-table-games__game-card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-casino-table-games__why-phplay {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  text-align: left;
  background-color: #f8f8f8;
  padding: 60px 40px;
  border-radius: 15px;
}

.page-casino-table-games__why-phplay-content {
  flex: 1;
}

.page-casino-table-games__why-phplay-image {
  flex: 1;
  text-align: center;
}

.page-casino-table-games__why-phplay-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-casino-table-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-casino-table-games__feature-item {
  font-size: 1.05em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-casino-table-games__feature-item::before {
  content: '✔';
  color: #FFCC00;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-casino-table-games__promotion-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-casino-table-games__step-card {
  background-color: #003366;
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-casino-table-games__step-card:hover {
  transform: translateY(-5px);
}

.page-casino-table-games__step-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-casino-table-games__step-description {
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-casino-table-games__final-cta {
  margin-top: 60px;
}

@media (max-width: 992px) {
  .page-casino-table-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-casino-table-games__why-phplay {
    flex-direction: column;
    text-align: center;
  }

  .page-casino-table-games__why-phplay-content {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games {
    padding-top: var(--header-offset, 120px);
  }

  .page-casino-table-games__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-casino-table-games__hero-buttons,
  .page-casino-table-games__promotion-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino-table-games__game-categories,
  .page-casino-table-games__why-phplay,
  .page-casino-table-games__promotions,
  .page-casino-table-games__get-started {
    margin: 40px auto;
    padding: 0 15px;
  }

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

  .page-casino-table-games__game-grid,
  .page-casino-table-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-casino-table-games__why-phplay {
    padding: 40px 20px;
  }

  /* Ensure content images are responsive and don't overflow */
  .page-casino-table-games img {
    max-width: 100%;
    height: auto;
  }

  .page-casino-table-games__game-card-image {
    height: 180px;
  }

  .page-casino-table-games__why-phplay-image img {
    height: auto;
  }
}