/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --accent: #38bdf8;
  --bg: #020617;
  --card: #0f172a;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #1e293b;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
}

/* =========================================================
   RESET
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================================================
   BASE LAYOUT
   ========================================================= */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 2rem 1rem;
}

.container {
  max-width: 520px;
  margin: auto;
  text-align: center;
}

/* =========================================================
   PROFILE
   ========================================================= */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
}

.profile-bio {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.5rem 0 1.25rem;
}

.profile-bio a {
  color: var(--accent);
  text-decoration: none;
}

.social-mini-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.social-mini-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}

/* =========================================================
   LINK CARDS
   ========================================================= */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.featured {
  border-color: var(--accent);
}

.title {
  font-weight: 600;
}

.subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* =========================================================
   THEME TOGGLE
   ========================================================= */
#theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  display: grid;
  place-items: center;
}

#theme-toggle .icon::before {
  content: "☀";
  font-size: 1.2rem;
}

[data-theme="dark"] #theme-toggle .icon::before {
  content: "🌙";
}
