:root {
  --bg: #f8f9fa;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --accent: #8B5CF6;
  --accent-hover: #7C3AED;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --card-hover-shadow: 0 8px 24px rgba(139,92,246,0.2);
  --border: #e5e7eb;
}

[data-theme="dark"] {
  --bg: #0f0f1a;
  --card-bg: #1a1a2e;
  --text: #f1f1f1;
  --text-secondary: #9ca3af;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --card-hover-shadow: 0 8px 24px rgba(139,92,246,0.3);
  --border: #2d2d44;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.container {
  width: 100%;
  max-width: 480px;
  padding: 3rem 1.5rem;
  position: relative;
}

.theme-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.profile {
  text-align: center;
  margin-bottom: 2rem;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  margin-bottom: 1rem;
  object-fit: cover;
}

.name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent);
}

.link-card i {
  font-size: 1.25rem;
  color: var(--accent);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.link-card span {
  font-weight: 500;
  font-size: 0.95rem;
}
