/* 动态.git 风格参考：
- 深色背景
- 霓虹色渐变线条/边框
- 卡片悬浮、发光、圆角
- 主要色彩：#0fffc1, #38bdf8, #ff61d2, #fe9090, #fff
- 动画渐变、发光阴影
*/

body {
  background: #18181b !important;
  color: #e3e9f3;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

#particles-js {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.main-container, .card, .profile-card {
  background: rgba(36, 39, 48, 0.92) !important;
  color: #e3e9f3 !important;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 0 12px 2px #38bdf8;
  border: 1.5px solid;
  border-image: linear-gradient(90deg, #0fffc1, #38bdf8, #ff61d2, #fe9090, #0fffc1) 1;
  animation: borderMove 4s linear infinite;
}

@keyframes borderMove {
  0% { border-image-source: linear-gradient(90deg, #0fffc1, #38bdf8, #ff61d2, #fe9090, #0fffc1); }
  100% { border-image-source: linear-gradient(450deg, #0fffc1, #38bdf8, #ff61d2, #fe9090, #0fffc1); }
}

.navbar {
  background: rgba(24,24,27,0.85) !important;
  color: #e3e9f3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid #38bdf8;
}

.navbar a {
  color: #e3e9f3;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border-radius: 6px;
  padding: 8px 16px;
}

.navbar a:hover, .navbar a:focus {
  background: linear-gradient(90deg, #38bdf8 0%, #0fffc1 100%);
  color: #18181b;
  box-shadow: 0 0 8px #38bdf8, 0 0 16px #0fffc1;
}

a { color: #7dd3fc; }
a:hover { color: #0fffc1; }
h1, h2 { color: #fff; text-shadow: 0 2px 8px #38bdf8; }

.profile-card img.avatar {
  border: 2.5px solid #38bdf8;
  box-shadow: 0 0 16px #0fffc1, 0 0 8px #38bdf8;
}

.section.card, .profile-card.card {
  margin-bottom: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.section.card:hover, .profile-card.card:hover {
  box-shadow: 0 8px 32px 0 #38bdf8, 0 0 24px #0fffc1;
  transform: translateY(-4px) scale(1.01);
}

.footer {
  color: #7dd3fc;
  text-shadow: 0 1px 4px #38bdf8;
}

::-webkit-scrollbar {
  width: 8px;
  background: #23272f;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #38bdf8, #0fffc1);
  border-radius: 8px;
}
