/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: #0d0d14;
  color: #e0d6f0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  overflow-x: hidden;
}

/* ===== Background Atmosphere ===== */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(120, 60, 180, 0.08) 0%,
    transparent 50%
  ),
  radial-gradient(
    ellipse at 70% 80%,
    rgba(90, 40, 150, 0.06) 0%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 0;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 1;
}

/* ===== Profile ===== */
.profile {
  text-align: center;
  margin-bottom: 2.5rem;
}

.avatar {
  margin-bottom: 1.2rem;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a1a3e 0%, #1a1025 100%);
  border: 2px solid rgba(160, 120, 220, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto;
  transition: border-color 0.3s ease;
}

.avatar-placeholder:hover {
  border-color: rgba(160, 120, 220, 0.5);
}

.name {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
  color: #f0e8ff;
}

.bio {
  font-size: 0.85rem;
  color: #a090c0;
  margin-bottom: 0.2rem;
}

.sub-bio {
  font-size: 0.8rem;
  color: #706088;
}

/* ===== Links ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  background: rgba(30, 20, 50, 0.6);
  border: 1px solid rgba(120, 80, 180, 0.12);
  border-radius: 12px;
  text-decoration: none;
  color: #d0c4e8;
  transition: all 0.25s ease;
  cursor: pointer;
}

.link-item:hover {
  background: rgba(40, 28, 65, 0.8);
  border-color: rgba(140, 100, 200, 0.3);
  transform: translateY(-1px);
}

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

.link-emoji {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.link-text {
  font-size: 0.9rem;
  font-weight: 400;
}

/* ===== Footer ===== */
.footer {
  margin-top: 2.5rem;
  text-align: center;
}

.footer p {
  font-size: 0.65rem;
  color: #403458;
}

/* ===== Responsive ===== */
@media (max-width: 400px) {
  body {
    padding: 1.5rem 0.8rem;
  }

  .link-item {
    padding: 0.8rem 1rem;
  }
}

/* ===== Subtle pulse on avatar ===== */
@keyframes subtle-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(120, 60, 180, 0.05);
  }
  50% {
    box-shadow: 0 0 30px rgba(120, 60, 180, 0.12);
  }
}

.avatar-placeholder {
  animation: subtle-glow 4s ease-in-out infinite;
}
