:root {
  --bg: #09090b;
  --surface: rgba(24, 24, 27, 0.72);
  --surface-hover: rgba(39, 39, 42, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(250, 204, 21, 0.45);
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --accent: #facc15;
  --accent-text: #09090b;
  --radius: 16px;
}

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

body {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(250, 204, 21, 0.14), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 40%);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Profile */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.avatar-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent), #f97316, #3b82f6);
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.2);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--bg);
}

.profile-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-text);
  padding: 3px 10px;
  border-radius: 999px;
}

.profile-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profile-handle {
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: -6px;
}

.profile-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 440px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: var(--surface-hover);
  color: var(--accent);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

/* Links */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  background: var(--surface-hover);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.link-card.featured {
  border-color: rgba(250, 204, 21, 0.28);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), var(--surface));
}

.link-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.link-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.22);
  color: var(--accent);
}

.link-content {
  flex: 1;
  min-width: 0;
}

.link-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.link-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.link-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
}

.link-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-card:hover .link-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/* Footer */
.footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.footer span {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 480px) {
  .container {
    padding: 36px 16px 28px;
  }

  .link-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .link-thumb,
  .link-icon-box {
    width: 48px;
    height: 48px;
  }
}
