html, body { padding: 0; margin: 0; font-family: 'Orbitron', 'Roboto Mono', 'Fira Mono', 'Consolas', monospace, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; background: radial-gradient(ellipse at 10% 10%, #1b0036 0%, transparent 25%), linear-gradient(135deg, #0f1724 0%, #081220 40%, #120022 100%); color: #f8f8f2; min-height: 100vh; letter-spacing: 0.02em; } a { color: inherit; text-decoration: none; } /* 霓虹链接 */ a { color: #00fff7; text-shadow: 0 0 3px rgba(0,255,247,0.9), 0 0 6px rgba(255,0,234,0.35); transition: color 0.18s ease, text-shadow 0.18s ease; } a:hover { color: #ff00ea; text-shadow: 0 0 6px rgba(255,0,234,0.9), 0 0 10px rgba(0,255,247,0.25); } * { box-sizing: border-box; } .container { padding: 0 2rem; } .main { /* 保持居中:水平与垂直;移除最外层框和动画 */ display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem 0; min-height: 100vh; /* 确保垂直居中 */ background: transparent; border-radius: 0; box-shadow: none; backdrop-filter: none; animation: none; } .title { line-height: 1.15; font-size: 2rem; } .title { font-family: 'Orbitron', sans-serif; color: #ff00ea; text-shadow: 0 0 4px rgba(255,0,234,0.9), 0 0 8px rgba(0,255,247,0.28); letter-spacing: 0.04em; } /* 渐变文字(用于主标题) */ .title.gradient { background: linear-gradient(90deg, #00fff7 0%, #ff00ea 50%, #ffd400 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; /* 去掉发光以显示纯渐变 */ } .title, .description { text-align: center; } .description { margin: 4rem 0; line-height: 1.5; font-size: 1.5rem; } .description { color: #00fff7; text-shadow: 0 0 3px rgba(0,255,247,0.10), 0 0 6px rgba(255,0,234,0.04); } .grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 800px; } .grid { gap: 1rem; max-width: 960px; } .card { width: 100%; margin: 1rem; padding: 1.5rem; text-align: left; color: inherit; text-decoration: none; border: 1px solid #eaeaea; border-radius: 10px; transition: color 0.15s ease, border-color 0.15s ease; max-width: 300px; } /* 赛博朋克卡片 */ .card { color: #f8f8f2; border: 1px solid rgba(0,255,247,0.12); background: linear-gradient(180deg, rgba(20,0,40,0.48), rgba(5,0,20,0.52)); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.55), 0 0 12px rgba(255,0,234,0.03); max-width: 340px; backdrop-filter: blur(3px); } .card.pin { background: linear-gradient(180deg, rgba(30,0,60,0.68), rgba(10,0,30,0.72)); border-color: rgba(255,0,234,0.9); } .card:hover, .card:focus, .card:active { color: #e6ffff; border-color: rgba(255,0,234,0.85); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.6), 0 0 18px 4px rgba(255,0,234,0.06); } .card h2 { margin: 0; font-size: 1.5rem; } .card h2 { color: #00fff7; text-shadow: 0 0 3px rgba(0,255,247,0.9), 0 0 6px rgba(255,0,234,0.25); } .card p { margin: 0; font-size: 1.25rem; line-height: 1.5; } .card p { color: #dfeffd; } .card .single { text-overflow: ellipsis; overflow: hidden; word-break: break-all; white-space: nowrap; } .title-icon { display: flex; align-items: center; margin-bottom: 1rem; } .title-icon .icon { width: 32px; height: 32px; margin-right: 12px; } .title-icon .icon { filter: drop-shadow(0 0 3px rgba(0,255,247,0.9)) drop-shadow(0 0 6px rgba(255,0,234,0.35)); } .beian { margin-bottom: 20px; text-align: center; } .beian img { width: 14px; height: 14px; margin: 0 4px; } .beian a { text-decoration: none; font-size: 14px; } .beian { color: #00fff7; text-shadow: 0 0 2px rgba(0,255,247,0.9); } .beian a { color: #ff00ea; } @media (max-width: 600px) { .grid { width: 100%; flex-direction: column; } } @media (max-width: 600px) { .main { padding: 1.25rem; border-radius: 10px; } .card { max-width: 100%; margin: 0.5rem 0; } } @media (prefers-color-scheme: dark) { html { color-scheme: dark; } body { color: white; background: black; } .card { border-color: #222; } .pin.card { background-color: #222; } } /* 霓虹呼吸动画 */ @keyframes neonPulse { 0% { box-shadow: 0 0 4px rgba(0,255,247,0.08), 0 0 8px rgba(255,0,234,0.03); } 50% { box-shadow: 0 0 12px rgba(255,0,234,0.06), 0 0 24px rgba(0,255,247,0.05); } 100% { box-shadow: 0 0 4px rgba(0,255,247,0.08), 0 0 8px rgba(255,0,234,0.03); } }