*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-gradient-1: #667eea;
  --bg-gradient-2: #764ba2;
  --card-bg: rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.2);
  --card-hover: rgba(255, 255, 255, 0.22);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --radius: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100dvh;
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 50%, #f093fb 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  
}

.background::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  text-align: center;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.1);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin: 0 auto;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  animation: fadeUp 0.6s ease both;
}

.link-item:hover {
  background: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.link-item:active {
  transform: translateY(0);
}

.link-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.link-label {
  flex: 1;
  text-align: center;
  padding-right: 24px;
}

.link-arrow {
  flex-shrink: 0;
  opacity: 0.5;
  font-size: 0.85rem;
}

.footer {
  margin-top: 40px;
  text-align: center;
  animation: fadeUp 0.6s ease 0.5s both;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 36px 20px 24px;
  }

  .name {
    font-size: 1.5rem;
  }

  .link-item {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
}
