.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 {
  background-color: #000000; /* Dark background for hero */
  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.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  font-weight: bold;
}

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

.page-casino-table-games__hero-buttons {
  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;
  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: #f0f0f0;
  color: #000000;
}

.page-casino-table-games__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino-table-games__button--login:hover {
  background-color: #e0a53a;
  border-color: #e0a53a;
}

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

.page-casino-table-games__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  display: block;
}

.page-casino-table-games__introduction,
.page-casino-table-games__advantages-section,
.page-casino-table-games__strategies-section,
.page-casino-table-games__getting-started,
.page-casino-table-games__conclusion {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-casino-table-games__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  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: #FCBC45;
  border-radius: 2px;
}

.page-casino-table-games__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
  color: #333333;
}

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

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

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

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

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

.page-casino-table-games__game-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-casino-table-games__game-description {
  font-size: 1em;
  color: #555555;
  padding: 0 25px;
  margin-bottom: 25px;
}

.page-casino-table-games__advantages-section {
  background-color: #000000;
  color: #FFFFFF;
}

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

.page-casino-table-games__advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-casino-table-games__advantage-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-casino-table-games__advantage-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino-table-games__advantage-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

.page-casino-table-games__strategies-section {
  background-color: #FFFFFF;
}

.page-casino-table-games__strategy-card {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

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

.page-casino-table-games__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 20px;
}

.page-casino-table-games__button--learn-more:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-casino-table-games__getting-started {
  background-color: #f5f5f5;
}

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

.page-casino-table-games__step-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  padding-top: 80px;
}

.page-casino-table-games__step-item::before {
  content: attr(data-step-number);
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
}

.page-casino-table-games__step-item:nth-child(1)::before { content: '1'; }
.page-casino-table-games__step-item:nth-child(2)::before { content: '2'; }
.page-casino-table-games__step-item:nth-child(3)::before { content: '3'; }
.page-casino-table-games__step-item:nth-child(4)::before { content: '4'; }

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

.page-casino-table-games__step-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-casino-table-games__cta-banner {
  background-color: #000000;
  border-radius: 15px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-casino-table-games__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  z-index: 0;
}

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

.page-casino-table-games__cta-title {
  font-size: 2.5em;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

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

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

.page-casino-table-games__conclusion {
  text-align: center;
  padding: 80px 0;
}

.page-casino-table-games__button--final-cta {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
  margin-top: 40px;
}

.page-casino-table-games__button--final-cta:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-casino-table-games__hero-title {
    font-size: 2.8em;
  }
  .page-casino-table-games__hero-description {
    font-size: 1.2em;
  }
  .page-casino-table-games__section-title {
    font-size: 2em;
  }
  .page-casino-table-games__game-title {
    font-size: 1.6em;
  }
  .page-casino-table-games__advantage-title {
    font-size: 1.3em;
  }
  .page-casino-table-games__strategy-title {
    font-size: 1.6em;
  }
  .page-casino-table-games__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-casino-table-games {
    padding-top: var(--header-offset, 80px);
  }
  .page-casino-table-games__hero-section {
    padding: 60px 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-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino-table-games__button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
    max-width: 250px;
  }
  .page-casino-table-games__section-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__game-grid,
  .page-casino-table-games__advantages-list,
  .page-casino-table-games__steps-list {
    grid-template-columns: 1fr;
  }
  .page-casino-table-games__game-image {
    height: 200px;
  }
  .page-casino-table-games__introduction,
  .page-casino-table-games__advantages-section,
  .page-casino-table-games__strategies-section,
  .page-casino-table-games__getting-started,
  .page-casino-table-games__conclusion {
    padding: 40px 0;
  }
  .page-casino-table-games__paragraph {
    font-size: 0.95em;
  }
  .page-casino-table-games__advantage-icon {
    width: 50px;
    height: 50px;
  }
  .page-casino-table-games__cta-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__cta-description {
    font-size: 1em;
  }
  .page-casino-table-games__container img {
    max-width: 100%;
    height: auto;
  }
  .page-casino-table-games__game-card img,
  .page-casino-table-games__advantage-item img,
  .page-casino-table-games__cta-banner img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-casino-table-games__hero-image img {
    min-width: 100%;
    min-height: 200px;
  }
  /* Ensure all content area images are at least 200px */
  .page-casino-table-games__game-image,
  .page-casino-table-games__advantage-icon,
  .page-casino-table-games__cta-image {
    min-width: 200px;
    min-height: 200px;
    width: auto;
    height: auto;
  }
  .page-casino-table-games__advantage-icon {
    width: 60px; /* Specific icons can be smaller if part of shared, but content images must be >200px */
    height: 60px;
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-casino-table-games__hero-title {
    font-size: 1.8em;
  }
  .page-casino-table-games__section-title {
    font-size: 1.5em;
  }
  .page-casino-table-games__game-title {
    font-size: 1.4em;
  }
  .page-casino-table-games__button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
  .page-casino-table-games__cta-title {
    font-size: 1.6em;
  }
  .page-casino-table-games__cta-description {
    font-size: 0.9em;
  }
  .page-casino-table-games__hero-content {
    margin-bottom: 20px;
  }
  .page-casino-table-games__advantages-list {
    gap: 20px;
  }
  .page-casino-table-games__step-item {
    padding-top: 70px;
  }
  .page-casino-table-games__step-item::before {
    width: 45px;
    height: 45px;
    font-size: 1.6em;
  }
}