/* ===== 玻璃拟态核心 ===== */
.glass-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(99, 102, 241, 0.35);
}

/* ===== 粒子背景容器 ===== */
#glass-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, #1e1b4b 0%, #0b1120 50%, #020617 100%);
}

.gb-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.gb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 18s ease-in-out infinite;
}

.gb-orb-tl {
  width: 420px;
  height: 420px;
  background: #6366f1;
  top: -120px;
  left: -80px;
}

.gb-orb-tr {
  width: 360px;
  height: 360px;
  background: #8b5cf6;
  top: 10%;
  right: -100px;
  animation-delay: -6s;
}

.gb-orb-bl {
  width: 480px;
  height: 480px;
  background: #06b6d4;
  bottom: -160px;
  left: 20%;
  animation-delay: -12s;
  opacity: 0.25;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

#gb-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
