:root {
  --bg: #070d18;
  --panel: rgba(18, 30, 49, 0.82);
  --panel-2: rgba(23, 39, 63, 0.92);
  --line: rgba(152, 178, 214, 0.18);
  --ink: #edf4ff;
  --sub: #a8bad3;
  --muted: #7085a2;
  --accent: #4f8cff;
  --accent-2: #8b5cff;
  --green: #36d399;
  --amber: #fbbf24;
  --red: #fb7185;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  padding: 28px 18px 34px;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(79, 140, 255, 0.22), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(139, 92, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #0a1220 0%, var(--bg) 65%);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 18% 12%, rgba(79, 140, 255, 0.14), transparent 70%),
    radial-gradient(360px 200px at 82% 24%, rgba(139, 92, 255, 0.12), transparent 70%);
  filter: blur(10px);
}

.hero,
.status-strip,
.grid,
.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0 26px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f8cff, #8b5cff);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 16px 40px rgba(79, 140, 255, 0.3);
}

.kicker {
  margin: 2px 0 7px;
  color: #7794bc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0 0 7px;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.6;
}

.status-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 21, 36, 0.62);
  color: var(--sub);
  font-size: 11.5px;
  backdrop-filter: blur(8px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
}

.dot.online {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(54, 211, 153, 0.12);
}

.strip-sep {
  width: 1px;
  height: 12px;
  margin: 0 3px;
  background: var(--line);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 120px at 15% 0%, rgba(79, 140, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(117, 163, 238, 0.46);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card.primary {
  border-color: rgba(79, 140, 255, 0.5);
  background: linear-gradient(150deg, rgba(52, 95, 180, 0.58), rgba(20, 37, 65, 0.94));
}

.card.muted {
  opacity: 0.78;
}

.card.disabled {
  cursor: not-allowed;
}

.card.disabled:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe9ff;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10.5px;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status.online {
  color: var(--green);
}

.status.setup {
  color: var(--amber);
}

.status.login {
  color: var(--amber);
}

.status.soon {
  color: #89a7d3;
}

.status.offline {
  color: var(--muted);
}

.card h2 {
  margin: 18px 0 3px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.card .sub {
  color: #9fb8d9;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.card p {
  margin: 11px 0 0;
  color: var(--sub);
  font-size: 12.5px;
  line-height: 1.6;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #a9bdda;
  background: rgba(255, 255, 255, 0.03);
  font-size: 10.5px;
}

.go {
  color: #bcd3f5;
  font-size: 12px;
  font-weight: 700;
}

.card.primary .go {
  color: #fff;
}

.footer {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  padding: 14px 2px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.footer b {
  color: #c9dbf7;
}

.error {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px solid rgba(251, 113, 133, 0.4);
  border-radius: 12px;
  background: rgba(251, 113, 133, 0.08);
  color: #ffd6dc;
  font-size: 13px;
}

@media (min-width: 720px) {
  body {
    padding: 46px 26px 40px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .card {
    min-height: 230px;
    padding: 22px;
  }

  .hero {
    padding-bottom: 32px;
  }
}

@media (min-width: 1080px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card {
    min-height: 250px;
  }
}
