.game-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  min-width: 0;
}

.game-card .game-card-header {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  z-index: 0;
  border-radius: 12px;
  cursor: pointer;
}

.game-card-header .game-card-header-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  cursor: pointer;
}

.game-card-header .game-card-tag {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  text-align: center;
  line-height: 20px;
  height: 20px;
  z-index: 10;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

.game-card-tag-vip {
  color: #663800;
  font-weight: 500;
  font-size: 12px;
  background: linear-gradient(258deg, #fab157 -7495.68%, #fff3cc 1132.99%);
}

.game-card-tag-free {
  color: #05331c;
  font-weight: 500;
  font-size: 12px;
  background: radial-gradient(28189% 17279.27% at 109.93% 4923.15%, #baf5d2 0%, #5ce6a1 100%);
}

.game-card-versionRate {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  padding: 8px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.game-card-version {
  flex: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow: hidden;
}

.game-card-version .version-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-version-line {
  height: 12px;
  width: 1px;
  background-color: #d9d9d9;
}

.game-card-versionRate .rate {
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-card-name {
  margin-top: 8px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.9);
}

.game-card-name .name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.game-card-name .name-icon {
  height: 22px;
  width: 22px;
}

.game-card-price {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-card-price .price-free {
  color: #27c4a4;
  font-size: 16px;
  font-weight: 600;
}

.game-card-price .price-disconut {
  display: flex;
  align-items: center;
  gap: 4px;
}

.discount-price-proportion {
  width: 40px;
  height: 20px;
  padding: 2px 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  border-radius: 15px;
  background: #27c4a4;
}

.game-card-price .price-final {
  color: rgba(0, 0, 0, 0.9);
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: baseline;
}

.game-card-price .price-final .price-symbol {
  font-size: 12px;
}

.game-card-price .price-original {
  color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  text-decoration-line: line-through;
  line-height: 20px;
}

.game-card-overlay,
.game-card-visible,
.game-card-hide {
  position: absolute;
  width: 432px;
  max-width: 432px;
  min-height: 300px;
  color: #fff;
  z-index: 20;
  opacity: 0;
  display: none;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  height: fit-content;
  cursor: pointer;
}

.game-card-overlay.game-card-visible {
  display: block;
  pointer-events: auto;
  animation: previewIn_bdweo 0.305s forwards !important;
}

.game-card-overlay.game-card-hide {
  animation: previewOut_bdweo 0.305s forwards !important;
}

@keyframes previewIn_bdweo {
  0% {
    opacity: 0;
    transform: scale(0.6667);
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes previewOut_bdweo {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    display: none;
    transform: scale(0.6667);
  }
}
.game-card-overlay .game-card-overlay-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: fill;
}

.game-overlay-content {
  padding: 12px 20px;
  color: #000;
}

.game-card-overlay .overlay-version {
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-card-overlay .overlay-version .version-item {
  display: flex;
  gap: 4px;
  font-size: 12px;
}

.overlay-game-name-rate {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  margin-top: 16px;
}

.overlay-game-name-rate .name-icon {
  height: 20px;
  width: 20px;
  cursor: pointer;
}

.overlay-game-name-rate .name-text {
  flex: 1;
  color: var(---, var(---, rgba(0, 0, 0, 0.9)));
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay-game-name-rate .rate {
  display: flex;
  gap: 4px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

.overlay-game-types,
.overlay-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 16px;
  align-items: center;
}

.overlay-game-short_description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 16px;
}

.overlay-game-types .type-name {
  display: flex;
  height: 32px;
  padding: 2px 12px;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: #e9e9e9;
  color: #757575;
  font-size: 12px;
}

.game-card-overlay-video {
  position: relative;
}

.game-card-list .card-list-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.card-list-header .card-list-title {
  flex: 1;
  width: 100%;
  font-size: 28px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.9);
}

.card-list-header a {
  text-decoration: none;
}

.card-list-header .card-list-more {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.game-card-list .card-list-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.game-card-list .loading {
  cursor: not-allowed;
}
body {
  background-color: #f5f5f5;
}

.page-index {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.page-index .page-index-content {
  flex: 1;
  margin: auto;
  max-width: 1270px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 88px;
}