.page-card-games {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text, high contrast with #0F1A2B */
  background-color: #0F1A2B; /* Dark blue background */
  line-height: 1.6;
}

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

.page-card-games .highlight {
  color: #FFD700; /* Gold for highlights, high contrast with #0F1A2B */
}

.page-card-games__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0F1A2B 0%, #203550 100%); /* Gradient background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-card-games__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:card_games_pattern,abstract,subtle]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-card-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-card-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700; /* Gold title, high contrast with dark background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-card-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #D0D0D0; /* Light grey, high contrast */
}

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

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

.page-card-games__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #0F1A2B; /* Dark text on gold, high contrast */
}

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

.page-card-games__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary, high contrast with dark background */
  border: 2px solid #FFD700;
}

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

.page-card-games__hero-image-wrapper {
  margin-top: 50px;
  max-width: 800px;
  width: 100%;
}

.page-card-games__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-card-games__introduction,
.page-card-games__game-list,
.page-card-games__deep-content {
  padding: 60px 0;
  text-align: center;
}

.page-card-games__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #FFD700; /* Gold title, high contrast */
  font-weight: bold;
}

.page-card-games__sub-title {
  font-size: 2.2em;
  margin-top: 50px;
  margin-bottom: 25px;
  color: #FFD700; /* Gold sub-title, high contrast */
  font-weight: bold;
}

.page-card-games__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #E0E0E0; /* Light grey text, high contrast */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

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

.page-card-games__feature-item {
  background-color: #1A2B40; /* Slightly lighter dark blue, high contrast with text */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-card-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-card-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-card-games__feature-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold title, high contrast */
  margin-bottom: 10px;
}

.page-card-games__feature-description {
  font-size: 0.95em;
  color: #B0B0B0; /* Lighter grey, high contrast */
}

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

.page-card-games__game-card {
  background-color: #1A2B40; /* Slightly lighter dark blue, high contrast with text */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-card-games__game-card:hover {
  transform: translateY(-5px);
}

.page-card-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
}

.page-card-games__game-card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold title, high contrast */
  margin: 20px 15px 10px;
}

.page-card-games__game-card-description {
  font-size: 1em;
  color: #B0B0B0; /* Lighter grey, high contrast */
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-card-games__btn--link {
  background-color: #FFD700;
  color: #0F1A2B;
  padding: 10px 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  align-self: center;
}

.page-card-games__btn--link:hover {
  background-color: #e6c200;
}

.page-card-games__deep-content .page-card-games__text-content,
.page-card-games__deep-content .page-card-games__list {
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-card-games__list {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 20px;
  color: #E0E0E0; /* Light grey text, high contrast */
}

.page-card-games__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-card-games__list li strong {
  color: #FFD700; /* Gold for strong text, high contrast */
}

.page-card-games__content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-card-games__app-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.page-card-games__qr-code {
  width: 150px;
  height: 150px;
  border: 5px solid #FFD700;
  border-radius: 10px;
}

.page-card-games__call-to-action {
  background-color: #1A2B40;
  padding: 50px 20px;
  border-radius: 15px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-card-games__cta-text {
  font-size: 1.8em;
  color: #FFFFFF; /* White text, high contrast */
  margin-bottom: 30px;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-card-games__hero-title {
    font-size: 2.8em;
  }
  .page-card-games__hero-description {
    font-size: 1.1em;
  }
  .page-card-games__section-title {
    font-size: 2.2em;
  }
  .page-card-games__sub-title {
    font-size: 1.8em;
  }
  .page-card-games__features,
  .page-card-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-card-games__hero {
    padding: 60px 15px;
  }
  .page-card-games__hero-title {
    font-size: 2.2em;
  }
  .page-card-games__hero-description {
    font-size: 1em;
  }
  .page-card-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-card-games__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-card-games__section-title {
    font-size: 1.8em;
  }
  .page-card-games__sub-title {
    font-size: 1.5em;
  }
  .page-card-games__introduction,
  .page-card-games__game-list,
  .page-card-games__deep-content {
    padding: 40px 0;
  }
  .page-card-games__cta-text {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-card-games__hero-title {
    font-size: 1.8em;
  }
  .page-card-games__hero-description {
    font-size: 0.9em;
  }
  .page-card-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-card-games__section-title {
    font-size: 1.5em;
  }
  .page-card-games__sub-title {
    font-size: 1.3em;
  }
  .page-card-games__list {
    padding-left: 20px;
  }
  .page-card-games__list li {
    font-size: 1em;
  }
  .page-card-games__features,
  .page-card-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-card-games__feature-item,
  .page-card-games__game-card {
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-card-games__cta-text {
    font-size: 1.2em;
  }
}