* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0d1117;
  color: #f0f6fc;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.container {
  max-width: 800px;
  width: 100%;
  background: #161b22;
  border-radius: 12px;
  border: 1px solid #30363d;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 16px 32px rgba(1, 4, 9, 0.85);
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  text-align: left;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #30363d;
  box-shadow: 0 8px 20px rgba(1, 4, 9, 0.6);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.avatar:hover {
  transform: scale(1.05);
}

.user-info {
  animation: slideInRight 0.8s ease-out 0.4s both;
}

.name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #58a6ff, #1f6feb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title {
  font-size: 1.2rem;
  color: #8b949e;
  margin-bottom: 0;
  font-weight: 300;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.nav-link:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.nav-link:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.nav-link:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 1.0s both;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: #f0f6fc;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link-arrow {
  width: 16px;
  height: 16px;
  fill: #7d8590;
  transition: all 0.3s ease;
}

.nav-link:hover .nav-link-arrow {
  fill: #58a6ff;
  transform: translateX(4px);
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover {
  background: #2d333b;
  border-color: #58a6ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 166, 255, 0.15);
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:active {
  transform: translateY(0);
}

.nav-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer {
  border-top: 1px solid #21262d;
  padding-top: 30px;
  font-size: 0.9rem;
  color: #7d8590;
  animation: fadeIn 0.8s ease-out 0.8s both;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7d8590;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #58a6ff;
}

.footer-beian {
  margin: 15px 0;
  font-size: 0.8rem;
  color: #6e7681;
  line-height: 1.4;
}

.footer-beian p {
  margin: 5px 0;
}

.footer-beian a {
  color: #6e7681;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-beian a:hover {
  color: #58a6ff;
  text-decoration: underline;
}

.footer-link img {
  width: 16px;
  object-fit: cover;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .container {
    padding: 40px 20px;
  }

  .header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .name {
    font-size: 2rem;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-link {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}