/* ---------------- 门户首页 ---------------- */
* { box-sizing: border-box; }
:root { --line: rgba(120, 180, 255, .18); --dim: #7d93b8; }
body {
  margin: 0; min-height: 100vh; color: #eaf2ff;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    linear-gradient(rgba(120, 180, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, .04) 1px, transparent 1px),
    radial-gradient(ellipse 90% 60% at 50% -10%, #16294c, #070b16 75%);
  background-size: 26px 26px, 26px 26px, 100% 100%;
  display: flex; align-items: center; justify-content: center;
}
.home {
  position: relative; width: min(430px, 100%); min-height: 100vh;
  padding: 34px 18px 26px;
  display: flex; flex-direction: column; justify-content: center;
}
/* 漂浮光斑 */
.home::before, .home::after {
  content: ""; position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(36px);
}
.home::before {
  width: 170px; height: 170px; left: -46px; top: 4%;
  background: rgba(80, 180, 255, .15);
  animation: blob 9s ease-in-out infinite;
}
.home::after {
  width: 140px; height: 140px; right: -40px; bottom: 8%;
  background: rgba(160, 120, 255, .13);
  animation: blob 11s ease-in-out infinite reverse;
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(26px, -32px) scale(1.15); }
}

.home-head { text-align: center; margin-bottom: 26px; position: relative; z-index: 1; }
.home-guide {
  width: 110px; height: 110px; object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(80, 190, 255, .35));
  animation: guideFloat 4s ease-in-out infinite;
}
@keyframes guideFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.home-title {
  margin: 4px 0 0; font-size: 40px; letter-spacing: .2em; font-weight: 800;
  background: linear-gradient(180deg, #fff, #6fd8ff 60%, #3a8fe0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: glow 3.2s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(75, 227, 255, .35)); }
  50% { filter: drop-shadow(0 0 26px rgba(75, 227, 255, .6)); }
}
.home-sub { margin: 4px 0 0; font-size: 10px; letter-spacing: .34em; color: rgba(140, 170, 220, .6); }
.home-best { margin: 10px 0 0; font-size: 12px; color: #ffd166; min-height: 1em; }

.home-cards { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.home-label {
  margin: 14px 0 -2px; font-size: 11px; letter-spacing: .2em;
  color: var(--dim); text-align: center;
}
.home-card {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 15px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, .07), rgba(10, 16, 30, .9));
  border: 1px solid var(--line);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  animation: cardIn .4s cubic-bezier(.2, 1.2, .4, 1) backwards;
}
.home-card:nth-child(2) { animation-delay: .05s; }
.home-card:nth-child(4) { animation-delay: .1s; }
.home-card:nth-child(5) { animation-delay: .15s; }
.home-card:nth-child(6) { animation-delay: .2s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 224, 255, .55);
  box-shadow: 0 10px 28px rgba(60, 150, 255, .2);
}
.home-card .hc-icon { font-size: 26px; flex: 0 0 auto; }
.home-card .hc-body { flex: 1; min-width: 0; }
.home-card .hc-body b { display: block; font-size: 15px; letter-spacing: .04em; color: #fff; }
.home-card .hc-body i { font-style: normal; font-size: 11px; color: #a9bdd9; }
.home-card .hc-arrow { color: #6fd8ff; opacity: .65; transition: transform .16s, opacity .16s; }
.home-card:hover .hc-arrow { transform: translateX(4px); opacity: 1; }

/* 游戏入口：深底 + 亮边，醒目但不吃字 */
.home-card.game {
  padding: 18px 16px;
  background: linear-gradient(100deg, rgba(30, 55, 100, .95), rgba(16, 22, 44, .95));
  border-color: rgba(102, 224, 255, .6);
  box-shadow: 0 0 26px rgba(70, 160, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.home-card.game .hc-body b { font-size: 17px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.home-card.game .hc-body i { color: #b7d2ee; }
.home-card.game .hc-icon { font-size: 30px; animation: guideFloat 3.4s ease-in-out infinite; }

.home-foot {
  margin-top: 24px; text-align: center; font-size: 10.5px;
  color: rgba(125, 147, 184, .7); position: relative; z-index: 1;
}

@media (max-width: 380px) {
  .home { padding: 26px 14px 22px; }
  .home-title { font-size: 32px; }
}
