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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #161616;
  --border: #1e1e1e;
  --border2: #2a2a2a;
  --text: #c8c8c8;
  --muted: #555;
  --accent: #5fa3ff;
  --accent-dark: #1a6cf6;
}

html, body {
  min-height: 100vh;
  background: var(--bg);
  font-family: Arial, sans-serif;
  color: var(--text);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 52px 24px 80px;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  z-index: 100;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
  width: 100%;
  max-width: 480px;
}

.avatar-wrap {
  position: relative;
  margin-bottom: 20px;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border2);
  background: var(--surface);
}

.avatar-fallback {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.profile-name {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.01em;
  margin-bottom: 5px;
}

.profile-handle {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.profile-bio {
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1.7;
  max-width: 320px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 480px;
}

.section-label {
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #333;
  margin: 14px 0 4px 4px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 58px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dark);
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: border-color 0.15s, background 0.15s;
  overflow: hidden;
}

.link-card:hover {
  background: var(--surface2);
  border-color: var(--border2);
  border-left-color: var(--accent);
}

.link-card:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.link-card.green  { border-left-color: #16a87a; }
.link-card.green:hover  { border-left-color: #4dd9a6; }
.link-card.orange { border-left-color: #e05a2b; }
.link-card.orange:hover { border-left-color: #f59a72; }
.link-card.purple { border-left-color: #7c4df4; }
.link-card.purple:hover { border-left-color: #b98fff; }
.link-card.yellow { border-left-color: #d4a00a; }
.link-card.yellow:hover { border-left-color: #f5cc50; }
.link-card.red    { border-left-color: #c0294e; }
.link-card.red:hover    { border-left-color: #f06080; }

.link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-size: 14px;
  font-weight: 500;
  color: #d0d0d0;
  letter-spacing: 0.01em;
}

.link-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.link-arrow {
  font-size: 14px;
  color: var(--muted);
  opacity: 0.4;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
}

.link-card .card-num {
  position: absolute;
  right: -6px;
  bottom: -12px;
  font-size: 72px;
  font-weight: bold;
  color: #161616;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  background: var(--border);
  margin: 24px 0 10px;
}

.footer {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #2a2a2a;
  letter-spacing: 0.08em;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-dark);
}
