.GameContainer {
  position: relative;
  width: 100%;
  background: rgba(71, 73, 103, 0.1);
  box-shadow: rgb(40, 41, 61) 0px 0px 0px 1px inset;
  padding: 10px;
}

.GameContainer .avtar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.GameContainer .avtar .avtar-right{
    flex:1;
}

.GameContainer .avtar .avtar-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 5px solid var(--warning-300);
  object-fit: cover;
}

.GameContainer .info {
}

.GameContainer .btnstyle {
  border-radius: 30px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 16px;
  box-sizing: border-box;
  padding: calc(var(--base-unit) * 1) calc(var(--base-unit) * 2);
  color: var(--white-100);
  background: var(--brand-100);
  min-width: 200px;
  height: 50px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.GameContainer .btnstyle:hover {
  background: var(--brand-130);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(104, 66, 255, 0.4);
}

.google-ads {
  position: relative;
  margin-top: calc(var(--base-unit) * 2);
  margin-bottom: calc(var(--base-unit) * 2);
  display: flex;
  justify-content: center;
  width: 100%;
  height: 110px;
  background: rgba(71, 73, 103, 0.1);
  box-shadow: rgb(40, 41, 61) 0px 0px 0px 1px inset;
}

.game-list-items {
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 4px 4px;
}

.game-list-items li {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  border: 2px solid #0000;
  box-sizing: border-box;
}

.game-list-items li:hover {
  cursor: pointer;
  box-shadow: 0 0 7px 1px rgba(0, 0, 0, 0.569);
  border-color: var(--brand-100);
  z-index: 10;
  overflow: visible;
}

.game-list-items li .game-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.game-list-items li .game-thumb-title {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  width: 100%;
  height: 20px;
  line-height: 20px;
  padding-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 响应式设计 - 游戏列表适配移动端和iPad */

/* 手机端 (< 768px) */
@media (max-width: 767px) {
  .game-list {
    padding: 10px;
  }

  .game-list-items {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
    padding: 0;
  }

  .game-list-items li {
    width: 100%;
  }
}

/* iPad端 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .game-list {
    padding: 15px;
  }

  .game-list-items {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 12px;
    padding: 0;
  }

  .game-list-items li {
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
  }

  .game-list-items li .game-thumb-title {
    font-size: 12px;
  }
}

/* 桌面端 (> 1024px) */
@media (min-width: 1025px) {
  .game-list {
    padding: 20px;
  }

  .game-list-items {
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 16px;
    padding: 0;
  }
}
