:root {
  --bg-color: #0f172a;
  --text-color: #f8fafc;
  --accent-color: #38bdf8;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --hover-bg: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 20%);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 1;
}

/* Profile Section */
.profile {
  text-align: center;
  animation: fadeInDown 0.8s ease-out;
}

.profile-img-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-color), #a855f7);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-color);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.profile-bio {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Links Section */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-color);
  text-decoration: none;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.link-card:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--hover-bg);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.link-card:hover::before {
  transform: translateX(100%);
}

.link-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-color);
}

.link-text {
  font-weight: 500;
  font-size: 1rem;
}

.share-icon {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-card:hover .share-icon {
  opacity: 1;
}

/* Footer structure */
.footer {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.social-icon {
  color: #94a3b8;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: var(--text-color);
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 640px) {
  body {
    padding: 1.5rem;
  }
  
  .profile-name {
    font-size: 1.25rem;
  }
  
  .link-card {
    padding: 0.875rem 1.25rem;
  }
}
