/* ─── Page Layout ─────────────────────────────── */
body { padding-top: 52px; }

/* ─── Featured Hero Card ─────────────────────────────── */
.featured-wrap {
  margin: 10px 12px 0;
  background: linear-gradient(140deg, rgba(12,36,68,0.92) 0%, rgba(33,120,168,0.88) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  border: 1px solid rgba(126,204,232,0.2);
  box-shadow: 0 5px 22px rgba(12,36,68,0.22);
  transition: transform 0.2s;
  min-height: 108px;
}
.featured-wrap:active { transform: scale(0.98); }
.featured-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.18);
}
.featured-info { flex: 1; min-width: 0; }
.featured-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 5px;
}
.featured-name {
  font-size: 19px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.38);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  letter-spacing: 0.3px;
}

/* ─── Hot Strip (Horizontal Scroll) ─────────────────────────────── */
.strip-scroll {
  display: flex;
  gap: 10px;
  padding: 0 12px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.strip-scroll::-webkit-scrollbar { display: none; }
.strip-card {
  flex-shrink: 0;
  width: 78px;
  cursor: pointer;
  transition: transform 0.18s;
}
.strip-card:active { transform: scale(0.94); }
.strip-img {
  width: 78px;
  height: 78px;
  border-radius: 15px;
  overflow: hidden;
  background: #c8dde8;
  margin-bottom: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.strip-img img { width: 100%; height: 100%; object-fit: cover; }
.strip-name {
  font-size: 11px;
  font-weight: 500;
  color: #1a3a52;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* ─── New Games 2-column ─────────────────────────────── */
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 0 12px 14px;
}
.duo-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  background: rgba(42,143,191,0.06);
  border-radius: 13px;
  cursor: pointer;
  border: 1px solid rgba(42,143,191,0.11);
  transition: background 0.18s;
}
.duo-card:active { background: rgba(42,143,191,0.14); }
.duo-img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  overflow: hidden;
  flex-shrink: 0;
  background: #c8dde8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.duo-img img { width: 100%; height: 100%; object-fit: cover; }
.duo-info { flex: 1; min-width: 0; }
.duo-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a3a52;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 3px;
  line-height: 1.3;
}
.duo-genre {
  font-size: 10px;
  color: #2178A8;
  font-weight: 500;
}
.new-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  background: linear-gradient(135deg, #2178A8, #47B4D6);
  color: white;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 3px;
}

/* ─── Main 3-column Game Grid ─────────────────────────────── */
.grid-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 9px;
}
.grid-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a3a52;
  display: flex;
  align-items: center;
  gap: 6px;
}
.grid-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 14px;
  background: linear-gradient(to bottom, #2178A8, #47B4D6);
  border-radius: 2px;
  flex-shrink: 0;
}
.grid-count {
  font-size: 11px;
  color: #2178A8;
  background: rgba(42,143,191,0.1);
  padding: 2px 8px;
  border-radius: 10px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 12px 14px;
}
/* 卡片本身承担 overflow/圆角/阴影，与 youxi--1--2 保持一致 */
.gcard {
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(42,143,191,0.12);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.18s, box-shadow 0.18s;
}
.gcard:active { transform: scale(0.95); box-shadow: none; }
.gcard:hover { transform: translateY(-2px); }
/* 图片容器只做尺寸约束 */
.gcard-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #c8dde8;
  position: relative;
}
.gcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33,120,168,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 22px;
  color: white;
}
.gcard:hover .gcard-overlay { opacity: 1; }
.gcard-name {
  padding: 5px 7px 7px;
  font-size: 11px;
  font-weight: 600;
  color: #1a3a52;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

.empty-msg {
  text-align: center;
  padding: 36px 20px;
  color: #4A7A92;
  font-size: 13px;
}

.loadmore-wrap {
  padding: 12px;
  text-align: center;
}
.loadmore-btn {
  background: linear-gradient(135deg, #2178A8 0%, #47B4D6 100%);
  color: white;
  border: none;
  border-radius: 22px;
  padding: 11px 34px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(33,120,168,0.32);
  transition: transform 0.2s;
}
.loadmore-btn:active { transform: scale(0.97); }
