/* ============================================================
   游戏区专属样式 — 虚拟的庇护
   ============================================================ */

.qwq-category-games {
  width: min(1000px, calc(100vw - 32px));
  margin: 0 auto 80px;
}

/* 装饰图标 */
.qwq-cat-icon-games {
  position: relative; width: 80px; height: 80px;
  margin: 0 auto 32px;
  animation: heroFloat 5s ease-in-out infinite;
}
.qwq-games-cross {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 45%, var(--qwq-lavender) 45%, var(--qwq-lavender) 55%, transparent 55%),
              linear-gradient(0deg, transparent 45%, var(--qwq-lavender) 45%, var(--qwq-lavender) 55%, transparent 55%);
  opacity: 0.25;
}
.qwq-games-ring {
  position: absolute; inset: 8px;
  border: 1px solid var(--qwq-lavender);
  border-radius: 50%;
  opacity: 0.15;
}

/* ---- 卡片网格 ---- */
.qwq-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* 单张卡片 */
.qwq-game-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out var(--card-delay, 0s) forwards;
}

.qwq-game-link {
  display: flex; flex-direction: column;
  background: rgba(8,13,28,0.32);
  border: 1px solid var(--qwq-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
}

.qwq-game-link:hover {
  transform: translateY(-4px);
  border-color: rgba(180,167,214,0.3);
  box-shadow: 0 16px 48px rgba(180,167,214,0.15);
}

/* 缩略图 */
.qwq-game-thumb {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
}
.qwq-game-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  opacity: 0.85;
}
.qwq-game-link:hover .qwq-game-img {
  transform: scale(1.05);
  opacity: 1;
}
.qwq-game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,13,28,0.6));
}

/* 正文 */
.qwq-game-body {
  padding: 20px 24px 24px;
}
.qwq-game-meta time {
  font-size: 0.75rem; color: var(--qwq-mist); opacity: 0.6;
}
.qwq-game-title {
  font-size: 1.1rem; font-weight: 700; color: #fff;
  margin: 8px 0 6px; line-height: 1.4;
}
.qwq-game-excerpt {
  font-size: 0.85rem; color: var(--qwq-muted);
  line-height: 1.7; margin: 0 0 14px;
}
.qwq-game-read {
  font-size: 0.82rem; color: var(--qwq-lavender); opacity: 0.5;
  transition: all 0.3s ease;
}
.qwq-game-link:hover .qwq-game-read {
  opacity: 0.8; transform: translateX(4px);
}

@media (max-width: 768px) {
  .qwq-games-grid { grid-template-columns: 1fr; }
  .qwq-cat-icon-games { width: 60px; height: 60px; }
}
