For proving that the sine function is well-defined, one uses two theorems from Euclidean geometry combined with a tiny bit of algebra. The two theorems are:
Theorem 1: In any triangle, the sum of the angles equals $\pi$.
I don't actually care about the numerical value of the sum, so perhaps one can state Theorem 1 more classically: the sum of the angles of any triangle is equal to the sum of two right angles. In any case, all that I'll use is that the sums of the angles of any two triangles are equal.
Theorem 2 (The "Angle-Angle-Angle" theorem): For any two triangles $\triangle ABC$ and $\triangle A'B'C'$, if $\angle ABC = \angle A'B'C'$ are congruent, and if $\angle BCA = \angle B'C'A'$ are congruent, and if $\angle CAB = \angle C'A'B'$ are congruent, then the triangles are similar. In more detail, this means that we have equality of ratios
$$\text{Length}(\overline{AB}) \bigm/ \text{Length}(\overline{A'B'}) = \text{Length}(\overline{BC}) \bigm/ \text{Length}(\overline{B'C'}) = \text{Length}(\overline{CA}) \bigm/ \text{Length}(\overline{C'A'})
$$
So now let's consider two right triangles $\triangle ABC$ and $\triangle A'B'C'$, such that the $\angle ABC$ and $\angle A'B'C'$ are right angles. It follows that $\angle ABC = \angle A'B'C'$.
Suppose also that $\angle CAB = \angle C'A'B'$. By applying Theorem 1, it follows that $\angle BCA = \angle B'C'A'$. The hypotheses of Theorem 2 have therefore been verified, so its conclusions are true. From the equation
$$\text{Length}(\overline{BC}) \bigm/ \text{Length}(\overline{B'C'}) = \text{Length}(\overline{CA}) \bigm/ \text{Length}(\overline{C'A'})
$$
we deduce, by a tiny bit of algebra, that
$$\text{Length}(\overline{BC}) \bigm/ \text{Length}(\overline{CA}) = \text{Length}(\overline{B'C'}) \bigm/ \text{Length}(\overline{C'A'})
$$
In words, this says that if in triangle $ABC$ we divide the length of the side opposite angle $A$ by the length of the hypotenuse, and in triangle $A'B'C'$ we divide the length of the side opposite angle $A$ by the length of the hypotenuse, we get the same number. That number is the sine of the angle $A$.
This proves that the sine of an angle is well-defined no matter what right triangle we use for its calculation.