
/* StellarControl Pro - 高级感核心样式表 */

:root {
  --bg-dark: #010413;
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --cyan-glow: rgba(6, 182, 212, 0.3);
  --accent-cyan: #22d3ee;
}

body {
  background-color: var(--bg-dark);
  color: #f8fafc;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 基础布局补丁 (防止 Tailwind 失败) */
header, footer { width: 100%; box-sizing: border-box; }
main { width: 100%; box-sizing: border-box; }

/* 玻璃拟态面板 */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* 自定义滚动条 */
.custom-scrollbar::-webkit-scrollbar { width: 3px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: var(--cyan-glow); }

/* 星空背景装饰 */
.star-field-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.2) 0%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

/* 扫描线动效 */
.scanline { position: relative; }
.scanline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(34, 211, 238, 0.03) 50%, transparent 100%);
  background-size: 100% 4px;
  animation: scan 10s linear infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes scan {
  from { background-position: 0 0; }
  to { background-position: 0 100%; }
}

@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 15px rgba(6, 182, 212, 0.2); }
  50% { box-shadow: 0 0 25px rgba(6, 182, 212, 0.4); }
}

.glow-active { animation: pulse-cyan 2s infinite ease-in-out; }
