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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #edeef0;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  flex: 1;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 48px;
}

.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeDown 0.6s ease-out both;
}

.avatar:hover svg {
  transform: rotate(5deg) scale(1.05);
}

.avatar svg {
  transition: transform 0.3s ease;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

h1 .char {
  display: inline-block;
  opacity: 0;
  animation: charPop 0.4s ease-out both;
  transition: color 0.5s ease;
}

@keyframes charPop {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
  }
  60% {
    opacity: 1;
    transform: translateY(5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tagline {
  font-size: 1.1rem;
  color: #666;
  animation: fadeDown 0.6s ease-out 0.3s both;
}

/* Sections */
section {
  margin-bottom: 40px;
}

.about {
  animation: fadeUp 0.6s ease-out 0.45s both;
}

.links {
  animation: fadeUp 0.6s ease-out 0.6s both;
}

h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
}

.about p {
  color: #555;
  font-size: 1rem;
}

/* Links */
.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.link-card:hover {
  border-color: #999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.link-card svg {
  flex-shrink: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  color: #aaa;
  font-size: 0.85rem;
  animation: fadeUp 0.6s ease-out 0.75s both;
}

/* Animations */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive */
@media (max-width: 480px) {
  .container {
    padding: 48px 16px 24px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .link-grid {
    flex-direction: column;
  }

  .link-card {
    width: 100%;
  }
}
