:root {
  --bg: hsla(240, 52%, 4%, 0.05);
  --white: #f7f7ff;
  --cyan: #e1ff00;
  --pink: #ff983d;
}

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at top, #1a1240 0%, var(--bg) 55%, #020207 100%);
  font-family: system-ui, sans-serif;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#canvas { z-index: 1; }   /* 雨滴背景 */
#fx { z-index: 2; }       /* 粒子在上層 */

.card {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.panel {
  max-width: 980px;
  padding: 34px 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(10,10,20,.48);
  box-shadow: 0 0 40px rgba(0,245,255,.18), 0 0 80px rgba(255,61,242,.12);
  backdrop-filter: blur(10px);
}

/* 其餘樣式不變 */
h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  letter-spacing: .04em;
  text-shadow: 0 0 10px rgba(0,245,255,.7), 0 0 24px rgba(255,61,242,.7);
  font-family: 'Shojumaru';
}

p {
  margin: 18px 0 0;
  color: #e8e8ff;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  line-height: 1.6;
}

.sub {
  margin-top: 18px;
  color: var(--cyan);
  font-size: .95rem;
  opacity: .9;
  text-transform: uppercase;
  letter-spacing: .35em;
}