:root {
  --primary: #00FFD1;
  --accent: #FF6B35;
  --bg: #1A1A2E;
}

body {
  min-height: 100vh;
  background: linear-gradient(45deg, var(--bg) 50%, var(--primary) 150%);
  animation: gradientFlow 15s ease infinite;
  position: relative;
  overflow-x: hidden;
}

nav {
  background: rgba(26, 26, 46, 0.9);
  padding: 1.5rem;
  box-shadow: 0 0 15px var(--primary);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

nav::before,
nav::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 100%;
  top: 0;
  left: -20%;
  mix-blend-mode: multiply;
  animation: rotateAnimation 20s linear infinite;
}

nav::before {
  background: #FFEB3B;
  clip-path: polygon(0 20%, 100% 0, 60% 100%, 0 80%);
  transform: rotate(-5deg);
}

nav::after {
  background: #E91E63;
  clip-path: polygon(30% 0, 100% 30%, 70% 100%, 0 70%);
  transform: rotate(3deg);
  animation-delay: -7s;
}

nav::first-child {
  content: '';
  position: absolute;
  width: 120%;
  height: 80%;
  top: -10%;
  left: -15%;
  background: var(--primary);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  transform: rotate(8deg);
  mix-blend-mode: lighten;
  animation: colorShift 15s ease-in-out infinite;
}

@keyframes rotateAnimation {
  0% { transform: rotate(-5deg) translateX(-10%); }
  50% { transform: rotate(5deg) translateX(10%); }
  100% { transform: rotate(-5deg) translateX(-10%); }
}

@keyframes colorShift {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.4; transform: rotate(-8deg) translateY(5%); }
}

nav a {
  position: relative;
  z-index: 3;
}

nav a {
  margin: 0 1.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--accent);
  transform: scale(1.1);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.container::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  background: var(--accent);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 2rem;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.4);
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

body::before {
  content: '';
  position: fixed;
  width: 200vw;
  height: 200vh;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 15px,
    var(--accent) 15px,
    var(--accent) 30px
  );
  opacity: 0.1;
  animation: movePattern 20s linear infinite;
  z-index: 1;
}

@keyframes movePattern {
  from { transform: translateY(0); }
  to { transform: translateY(-300px); }
}

/* 求职页面专属样式 */
.jobs-container {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    var(--primary) 0%, 
    rgba(255,107,53,0.4) 50%, 
    var(--bg) 100%) !important;
}

.jobs-container::before,
.jobs-container::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 150%;
  mix-blend-mode: overlay;
  animation: triMove 25s linear infinite;
  opacity: 0.3;
}

.jobs-container::before {
  background: var(--accent);
  clip-path: polygon(20% 40%, 80% 20%, 60% 80%);
  transform: rotate(15deg);
  animation-delay: -8s;
}

.jobs-container::after {
  background: var(--primary);
  clip-path: polygon(30% 10%, 90% 30%, 70% 90%);
  transform: rotate(-10deg);
  animation-delay: -15s;
}

@keyframes triMove {
  0% {
    transform: rotate(0deg) translateX(-20%);
  }
  50% {
    transform: rotate(180deg) translateX(20%);
  }
  100% {
    transform: rotate(360deg) translateX(-20%);
  }
}

/* 卡片式文章列表 */
.card-list {
  display: grid;
  gap: 1.5rem;
  padding: 0;
}

.card-item {
  background: rgba(255,255,255,0.98);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-link {
  color: var(--bg);
  text-decoration: none;
  display: block;
}

.card-link:hover {
  color: var(--accent);
}

/* 新增日期样式 */
.article-date {
  display: block;
  color: #666;
  font-size: 0.9em;
  margin-top: 0.5rem;
}