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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #0d0d1a;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 1rem;
}

/* Canvas 星空 */
#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(120,119,198,.15), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(65,105,225,.1), transparent 40%),
    #0d0d1a;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  letter-spacing: -0.5px;
  color: #f0f4ff;
  text-shadow: 0 2px 12px rgba(100, 120, 255, 0.2);
}

.logo {
  max-width: 120px;
  width: 40%;
  margin-bottom: 1.5rem;
  display: block;
  margin-inline: auto;
  filter: drop-shadow(0 4px 24px rgba(100, 120, 255, 0.35));
  border-radius: 24px;
}

.card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.stat:last-child { border-bottom: none; }

.label {
  color: #aab;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.value {
  font-weight: 600;
  font-size: 1.05rem;
  color: #7eb3ff;
  text-align: right;
}
.value--url {
  font-size: .75rem;
  font-weight: 500;
  word-break: break-all;
  margin-left: .75rem;
  max-width: 60%;
}

/* Interstellar 标识 */
.interstellar-badge {
  background: rgba(126, 179, 255, 0.08);
  border: 1px solid rgba(126, 179, 255, 0.25);
  border-radius: 40px;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem auto 1.5rem auto;
  display: inline-block;
  font-size: 0.85rem;
  color: #b8d6ff;
  line-height: 1.6;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: 0.3px;
}
.interstellar-badge strong {
  color: #8cbaff;
  font-weight: 700;
}

/* 按钮组 */
.links {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.5rem;
  border-radius: 40px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .2s;
  cursor: pointer;
}
.links a:active { transform: scale(.96); }

.btn-primary {
  background: #3b6fd4;
  color: #fff;
  border: 1px solid #3b6fd4;
  box-shadow: 0 4px 12px rgba(59, 111, 212, 0.3);
}
.btn-primary:hover {
  background: #4d80e8;
  border-color: #4d80e8;
  box-shadow: 0 6px 16px rgba(59, 111, 212, 0.45);
}

.btn-secondary {
  background: transparent;
  color: #7eb3ff;
  border: 1px solid rgba(126, 179, 255, .35);
}
.btn-secondary:hover {
  background: rgba(126, 179, 255, .1);
  border-color: rgba(126, 179, 255, .7);
}

/* ===== 移动端适配 ===== */
@media (max-width: 480px) {
  body {
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 2rem;
  }
  .container {
    padding: 0.5rem;
  }
  h1 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  .logo {
    max-width: 96px;
    margin-bottom: 1rem;
  }
  .card {
    padding: 1rem 1.2rem;
    border-radius: 14px;
  }
  .stat {
    flex-wrap: wrap;
    gap: 0.2rem;
    padding: 0.5rem 0;
  }
  .label {
    font-size: 0.8rem;
    width: 100%;
    text-align: left;
  }
  .value {
    font-size: 0.95rem;
    text-align: left;
    width: 100%;
  }
  .value--url {
    font-size: 0.7rem;
    max-width: 100%;
    margin-left: 0;
    word-break: break-all;
  }
  .interstellar-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    width: 100%;
    box-sizing: border-box;
  }
  .links {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }
  .links a {
    justify-content: center;
    padding: 0.7rem 1rem;
    width: 100%;
    font-size: 0.85rem;
  }
}