:root {
  --bg-1: #e0f7f7;
  --bg-2: #7fd1d1;
  --text: #0d3d3d;
  --text-soft: #3d6e6e;
  --card: #ffffff;
  --card-hover: #ecfbfb;
  --border: #9adada;
  --accent: #0e9a9a;
  --shadow: 0 4px 14px rgba(13, 61, 61, 0.10);
  --shadow-hover: 0 8px 22px rgba(13, 61, 61, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  border: 3px solid var(--card);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.avatar:not([src]), .avatar[src=""] {
  display: none;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 6px;
  letter-spacing: 0.2px;
}

.tagline {
  margin: 0 0 32px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

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

.link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.link:hover, .link:focus-visible {
  transform: translateY(-2px);
  background: var(--card-hover);
  box-shadow: var(--shadow-hover);
  outline: none;
}

.link:active { transform: translateY(0); }

.link .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

.link .title {
  flex: 1;
  text-align: center;
}

.footer {
  margin-top: 40px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-1: #082a2a;
    --bg-2: #134a4a;
    --text: #e0f7f7;
    --text-soft: #8fc6c6;
    --card: #103a3a;
    --card-hover: #18504f;
    --border: #2a6e6e;
    --accent: #4fd1d1;
    --shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 8px 22px rgba(0, 0, 0, 0.5);
  }
  .avatar { border-color: var(--card); }
}
