body {
  background: #f7f7f7;
  color: #181818;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 900px;
  margin: 48px auto;
  background: #fff;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 48px 40px 40px 40px;
  position: relative;
  animation: fadeIn 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #181818;
  position: absolute;
  top: 24px;
  right: 40px;
  background: #fff;
}
header {
  border-bottom: 2px solid #222;
  padding-bottom: 18px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
header h1 {
  font-size: 2.7rem;
  margin: 0 0 4px 0;
  letter-spacing: 2px;
  font-weight: 800;
  color: #181818;
}
.contact {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact a {
  color: #181818;
  text-decoration: underline;
  font-weight: 500;
}
section {
  margin-bottom: 38px;
  animation: fadeUp 1s cubic-bezier(.4,0,.2,1);
  animation-fill-mode: both;
  animation-delay: 0.2s;
}
section h2 {
  font-size: 1.25rem;
  border-left: 5px solid #181818;
  padding-left: 12px;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.skills li {
  background: #181818;
  color: #fff;
  padding: 6px 18px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.edu > div {
  margin-bottom: 14px;
  padding: 14px 18px;
  background: #f2f2f2;
  border-radius: 10px;
  border-left: 4px solid #181818;
  animation: fadeUp 1s cubic-bezier(.4,0,.2,1);
  animation-fill-mode: both;
  animation-delay: 0.3s;
}
.project, .work {
  margin-bottom: 22px;
  padding: 18px 20px 14px 20px;
  background: #fafafa;
  border-radius: 10px;
  border-left: 4px solid #bbb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  animation: fadeUp 1s cubic-bezier(.4,0,.2,1);
  animation-fill-mode: both;
  animation-delay: 0.4s;
}
.project strong, .work strong {
  font-weight: 700;
  font-size: 1.08rem;
}
.project span, .work span {
  font-size: 0.98rem;
  color: #666;
  margin-left: 8px;
}
.work.important {
  border-left: 6px solid #181818;
  background: #f0f0f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: relative;
}
.work.important::before {
  content: "★";
  color: #181818;
  font-size: 1.2rem;
  position: absolute;
  left: -28px;
  top: 18px;
}
ul {
  margin: 8px 0 0 22px;
}
@media (max-width: 700px) {
  .container {
    padding: 18px 2vw 24px 2vw;
  }
  .avatar {
    right: 16px;
    width: 80px;
    height: 80px;
    top: 24px;
  }
  header h1 {
    font-size: 1.5rem;
  }
  section h2 {
    font-size: 1.08rem;
  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.navbar {
  width: 100%;
  background: #181818;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  border-radius: 0 0 18px 18px;
}
.nav-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
}
.nav-title {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: #fff;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 1px;
  border: 1.5px solid transparent;
}
.nav-link:hover, .nav-link.active {
  background: #fff;
  color: #181818;
  border: 1.5px solid #181818;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 24px;
}
.lang-switch button {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 16px;
  padding: 4px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
}
.lang-switch button:hover, .lang-switch button.active {
  background: #fff;
  color: #181818;
  border: 1.5px solid #181818;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
@media (max-width: 700px) {
  .nav-container {
    padding: 0 10px;
  }
  .nav-title {
    font-size: 1rem;
  }
  .nav-link {
    font-size: 0.95rem;
    padding: 4px 10px;
  }
  .lang-switch {
    margin-left: 8px;
  }
  .lang-switch button {
    font-size: 0.95rem;
    padding: 2px 8px;
  }
} 