/* ===== 全局 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  min-height: 100vh;
  background: #0a0a0f;
  font-family: 'Segoe UI', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #e0d0ff;
  overflow-x: hidden;
}

/* ===== 噪点背景 ===== */
.noise {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== 光晕 ===== */
.glow-orb {
  position: fixed; border-radius: 50%; z-index: 0;
  pointer-events: none; filter: blur(80px);
  animation: floatGlow 8s ease-in-out infinite alternate;
}
.glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(180, 60, 255, 0.25), transparent 70%);
  top: -10%; left: -10%;
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 50, 120, 0.2), transparent 70%);
  bottom: -5%; right: -5%;
  animation-delay: -3s;
}
.glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(100, 200, 255, 0.15), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation-delay: -5s;
}
@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.15); }
}

/* ===== 容器 ===== */
.container {
  position: relative; z-index: 1;
  max-width: 480px; margin: 0 auto;
  padding: 60px 24px 40px;
  display: flex; flex-direction: column; align-items: center;
  min-height: 100vh;
}

/* ===== 五芒星 ===== */
.logo-area {
  position: relative; margin-bottom: 24px;
}
.pentagram {
  font-size: 64px; line-height: 1;
  color: #b44cff;
  text-shadow: 0 0 30px rgba(180, 76, 255, 0.6), 0 0 60px rgba(180, 76, 255, 0.3);
  animation: pulseStar 3s ease-in-out infinite;
}
@keyframes pulseStar {
  0%, 100% { transform: scale(1); opacity: 0.9; text-shadow: 0 0 30px rgba(180,76,255,0.6); }
  50% { transform: scale(1.08); opacity: 1; text-shadow: 0 0 50px rgba(180,76,255,0.9), 0 0 100px rgba(180,76,255,0.4); }
}
.logo-glow {
  position: absolute; top: 50%; left: 50%;
  width: 100px; height: 100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(180,76,255,0.3), transparent 70%);
  animation: glowSpin 6s linear infinite;
}
@keyframes glowSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1.2); }
}

/* ===== 标题 ===== */
.title {
  font-size: 36px; font-weight: 700;
  letter-spacing: 2px; margin-bottom: 8px;
  background: linear-gradient(135deg, #e0d0ff 0%, #b44cff 50%, #ff66b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accent { color: #ff66b2; -webkit-text-fill-color: #ff66b2; }
.subtitle {
  font-size: 16px; color: #9988bb;
  margin-bottom: 32px; letter-spacing: 4px;
}

/* ===== 骚话盒 ===== */
.quote-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(180,76,255,0.2);
  border-radius: 16px;
  padding: 20px 24px; margin-bottom: 32px;
  width: 100%; text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-height: 60px;
  display: flex; align-items: center; justify-content: center;
}
.quote-box:hover {
  border-color: rgba(180,76,255,0.5);
  box-shadow: 0 0 30px rgba(180,76,255,0.15);
}
.quote-box span {
  font-size: 15px; line-height: 1.6;
  color: #d0c0ee;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ===== 链接卡片 ===== */
.links {
  width: 100%; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 40px;
}
.link-card {
  display: flex; align-items: center;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.link-card:hover {
  background: rgba(180,76,255,0.1);
  border-color: rgba(180,76,255,0.35);
  transform: translateX(6px);
  box-shadow: 0 0 25px rgba(180,76,255,0.1);
}
.link-icon { font-size: 24px; margin-right: 16px; flex-shrink: 0; }
.link-label { flex: 1; font-size: 16px; font-weight: 500; }
.link-arrow { font-size: 18px; color: #7766aa; transition: transform 0.3s; }
.link-card:hover .link-arrow { transform: translateX(6px); color: #b44cff; }

/* ===== 状态栏 ===== */
.status-bar {
  display: flex; gap: 40px; align-items: center;
  padding: 12px 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
  font-size: 14px; color: #9988bb;
}
.status-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: #66ff88;
  margin-right: 8px;
}
.pulse { animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(102,255,136,0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(102,255,136,0); }
}
.status-item { display: flex; align-items: center; gap: 6px; }

/* ===== 页脚 ===== */
.footer {
  margin-top: auto; padding-top: 20px;
  font-size: 13px; color: #554466;
}

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: rgba(30,20,50,0.95); color: #e0d0ff;
  padding: 14px 28px; border-radius: 40px;
  border: 1px solid rgba(180,76,255,0.3);
  backdrop-filter: blur(20px);
  font-size: 14px;
  opacity: 0; transition: all 0.4s ease;
  pointer-events: none; z-index: 100;
  white-space: nowrap;
}
.toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 400px) {
  .title { font-size: 28px; }
  .pentagram { font-size: 48px; }
  .container { padding: 40px 16px 30px; }
}
