This part of your proof is flawed:
Now I prove $A_n$ is bounded,
$A_{2n}-A_{n}=\frac{1}{(n+1)^2}+\frac{1}{(n+2)^2}+\dots+\frac{1}{(2n)^2}\leq
\frac{1}{n^2}+\frac{1}{n^2}+\dots+\frac{1}{n^2}=\frac{1}{n}$.
Supose it $\exists M$ so that $\forall n, A_n\leq M$. Then, when $A_n$
tends to $M$,
$M-M\leq 1/n \implies 0\leq \frac{1}{n}$, which is true, and therefore
$M$ exists.
First you assume that the sum is bounded, which means exactly that such $M$ exists. Using this assumaption, you deduce a true statement. However this does not allow you to conclude that the assumption is correct.
For example, if we assume that $\sqrt{2}$ is rational, then we can conclude that $\sqrt{2}*\sqrt{2}=2$ is also rational (which is true), but the assumption is still wrong.
You probably confused this with a proof by contradiction. A proof by contradiction would be of the following form:
Assume $M$ is not bounded. Using this assumption we deduce a statement which contradicts some facts from which you certainly know that they are true. As you showed before that the assumtion ($M$ not bounded) cannot hold simultaneously with the fact, but the fact is certainly true, the assumption must be false. But then the negation of the assumption has to hold (excluded middle), hence $M$ is bounded.
A possible proof could be this:
We want to show that the sequence
$(x_k)_{k\in \mathbb N}$ defined by $x_n=\sum_{k=1}^n \frac 1 {k^2}$
is bounded.
For any $k\in \mathbb N$ we have
$$\left \vert x_k\right \vert = \left \vert \sum_{n=1}^k \frac 1 {n^2} \right \vert = \sum_{n=1}^k \frac 1 {n^2}.$$
As for any $n \ge 2$, $$\frac 1 {n^2} < \frac 1 {n (n-1)}=\frac 1 {n-1} - \frac 1 n ,$$
$|x_k|$ can be estimated by
$$|x_k| =1+\sum_{n=2}^k \frac 1 {n^2} <1+\sum_{n=2}^k \frac 1 {n-1} -\sum_{n=2}^k \frac 1 {n}= 1+\sum_{n=1}^{k-1} \frac 1 {n} -\sum_{n=2}^k \frac 1 {n}= 2 - \frac 1 k<2. $$
Hence if we set $S=2$, then for any $k\in \mathbb N$ the member $x_k