.page-card-table-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  background-color: #001a33; /* Darker variant of primary color */
}

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

.page-card-table-games__hero-section {
  background: linear-gradient(135deg, #003366 0%, #001a33 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-card-table-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-card-table-games__hero-subtitle {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-card-table-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-card-table-games__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-card-table-games__btn--primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Primary color for text */
}

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

.page-card-table-games__btn--secondary {
  background-color: #004d99; /* Slightly lighter primary color */
  color: #ffffff;
  border: 2px solid #FFCC00;
}

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

.page-card-table-games__hero-image {
  max-width: 90%;
  height: auto;
  margin-top: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-card-table-games__section {
  padding: 60px 0;
}

.page-card-table-games__section--about {
  background-color: #002244; /* Darker primary color */
}

.page-card-table-games__section--games {
  background-color: #001a33;
}

.page-card-table-games__section--guide {
  background-color: #002244;
}

.page-card-table-games__section--safety {
  background-color: #001a33;
}

.page-card-table-games__section--testimonials {
  background-color: #002244;
}

.page-card-table-games__section--faq {
  background-color: #001a33;
}

.page-card-table-games__section-title {
  font-size: 2.8em;
  color: #FFCC00;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.page-card-table-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFCC00;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-card-table-games__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-card-table-games__feature-item,
.page-card-table-games__game-item,
.page-card-table-games__safety-item,
.page-card-table-games__testimonial-item {
  background-color: #003366; /* Primary color */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-card-table-games__feature-item:hover,
.page-card-table-games__game-item:hover,
.page-card-table-games__safety-item:hover,
.page-card-table-games__testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.page-card-table-games__feature-icon,
.page-card-table-games__safety-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFCC00);
}

.page-card-table-games__feature-title,
.page-card-table-games__game-title,
.page-card-table-games__safety-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-card-table-games__feature-description,
.page-card-table-games__game-description,
.page-card-table-games__safety-description {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

.page-card-table-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-card-table-games__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-card-table-games__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-card-table-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-card-table-games__guide-list li {
  background-color: #003366;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-left: 80px;
}

.page-card-table-games__guide-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 30px;
  background-color: #FFCC00;
  color: #003366;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-card-table-games__guide-list {
  counter-reset: step-counter;
}

.page-card-table-games__guide-step-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-card-table-games__guide-list p {
  color: #c0c0c0;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-card-table-games__btn--inline {
    margin-top: 10px;
    padding: 10px 25px;
    font-size: 1em;
}

.page-card-table-games__testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-card-table-games__testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFCC00;
  margin-bottom: 20px;
}

.page-card-table-games__testimonial-quote {
  font-style: italic;
  font-size: 1.1em;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-card-table-games__testimonial-author {
  font-weight: bold;
  color: #FFCC00;
  font-size: 1.05em;
}

.page-card-table-games__faq-list {
  margin-top: 40px;
}

.page-card-table-games__faq-item {
  background-color: #003366;
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-card-table-games__faq-question {
  font-size: 1.4em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-card-table-games__faq-answer {
  font-size: 1em;
  color: #c0c0c0;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-card-table-games__hero-title {
    font-size: 2.8em;
  }
  .page-card-table-games__hero-subtitle {
    font-size: 1.2em;
  }
  .page-card-table-games__section-title {
    font-size: 2.2em;
  }
  .page-card-table-games__feature-title,
  .page-card-table-games__game-title,
  .page-card-table-games__safety-title {
    font-size: 1.4em;
  }
  .page-card-table-games__guide-list li {
    padding-left: 60px;
  }
  .page-card-table-games__guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
    left: 15px;
    top: 25px;
  }
}

@media (max-width: 768px) {
  .page-card-table-games__hero-section {
    padding: 80px 0;
  }
  .page-card-table-games__hero-title {
    font-size: 2.2em;
  }
  .page-card-table-games__hero-subtitle {
    font-size: 1em;
  }
  .page-card-table-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-card-table-games__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-card-table-games__section {
    padding: 40px 0;
  }
  .page-card-table-games__section-title {
    font-size: 1.8em;
  }
  .page-card-table-games__text-content {
    font-size: 0.95em;
  }
  .page-card-table-games__features-grid,
  .page-card-table-games__game-grid,
  .page-card-table-games__safety-grid,
  .page-card-table-games__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-card-table-games__feature-item,
  .page-card-table-games__game-item,
  .page-card-table-games__safety-item,
  .page-card-table-games__testimonial-item {
    padding: 20px;
  }
  .page-card-table-games__guide-list li {
    padding-left: 20px; /* Adjust for smaller screens */
    padding-top: 60px;
  }
  .page-card-table-games__guide-list li::before {
    left: 50%;
    transform: translateX(-50%);
    top: 15px;
  }
  .page-card-table-games__guide-step-title {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .page-card-table-games__hero-title {
    font-size: 1.8em;
  }
  .page-card-table-games__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-card-table-games__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .page-card-table-games__feature-title,
  .page-card-table-games__game-title,
  .page-card-table-games__safety-title {
    font-size: 1.2em;
  }
  .page-card-table-games__faq-question {
    font-size: 1.2em;
  }
  .page-card-table-games__guide-list li {
    padding-left: 20px; /* Ensure space for content */
  }
}