* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #25282F;

    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}


.container {
    width: 100%;
    max-width: 504px; /* 420 * 1.2 */
    padding: 24px;    /* 20 * 1.2 */
}

.card {
    background: rgba(25, 25, 30, 0.96);
    border-radius: 19px; /* 16 * 1.2 */
    padding: 38px;        /* 32 * 1.2 */
    box-shadow: 0 0 1000px rgba(140, 0, 255, 0.5); /* 700 * 1.2 */
    overflow: hidden;
}

.step {
    display: none;
    animation: fade 0.4s ease;
}

.step.active {
    display: block;
}

h1 {
    margin-top: 0;
    font-size: 31px; /* 26 * 1.2 */
    text-align: center;
}

p {
    font-size: 17px; /* 14 * 1.2 */
    color: #aaa;
    text-align: center;
    margin-bottom: 29px; /* 24 * 1.2 */
}

input {
    width: 100%;
    padding: 17px; /* 14 * 1.2 */
    margin-bottom: 19px; /* 16 * 1.2 */
    border-radius: 12px; /* 10 * 1.2 */
    border: none;
    background: #121214;
    color: #fff;
    font-size: 18px; /* 15 * 1.2 */
    outline: none;
    box-shadow: inset 0 0 0 1px #2c2c33;
}

input:focus {
    box-shadow: inset 0 0 0 1px #9b5cff;
}

button {
    width: 100%;
    padding: 17px; /* 14 * 1.2 */
    border: none;
    border-radius: 12px; /* 10 * 1.2 */
    background: linear-gradient(135deg, #9b5cff, #6a00ff);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px; /* 15 * 1.2 */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 24px rgba(155, 92, 255, 0.45); /* 6*1.2, 20*1.2 */
}

.hint {
    margin-top: 17px; /* 14 * 1.2 */
    font-size: 14px;  /* 12 * 1.2 */
    color: #777;
    text-align: center;
}

.back {
    margin-top: 22px; /* 18 * 1.2 */
    text-align: center;
    font-size: 16px;  /* 13 * 1.2 */
    color: #9b5cff;
    cursor: pointer;
}

.back:hover {
    text-decoration: underline;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(10px); /* 8 * 1.2 */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px; /* 20 * 1.2 */
    margin-top: 48px;    /* 40 * 1.2 */
}

.avatar-container img {
    width: 96px;  /* 80 * 1.2 */
    height: 96px; /* 80 * 1.2 */
    border-radius: 50%;
    border: 2px solid #9b5cff;
    box-shadow: 0 0 18px rgba(155, 92, 255, 0.4); /* 15*1.2 */
    transition: transform 0.3s ease;
}

.avatar-container img:hover {
    transform: scale(1.1);
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(180deg, #1a1a20, #0f0f13);
    border-radius: 22px; /* 18 * 1.2 */
    padding: 34px;       /* 28 * 1.2 */
    width: 100%;
    max-width: 432px;    /* 360 * 1.2 */
    text-align: center;
    box-shadow: 0 24px 72px rgba(155, 92, 255, 0.35); /* 20*1.2, 60*1.2 */
    animation: pop 0.3s ease;
}

.modal-content h2 {
    margin-top: 0;
    color: #ff6251;
}

.modal-content p {
    font-size: 17px; /* 14 * 1.2 */
    color: #ccc;
    margin-bottom: 22px; /* 18 * 1.2 */
}

.server-box {
    background: #0d0d11;
    border-radius: 12px; /* 10*1.2 */
    padding: 14px;       /* 12*1.2 */
    margin-bottom: 22px; /* 18*1.2 */
    box-shadow: inset 0 0 0 1px #2a2a33;
}

.server-box span {
    display: block;
    font-size: 13px; /* 11*1.2 */
    color: #888;
}

.server-box strong {
    color: white;
    font-size: 17px; /* 14*1.2 */
}

@keyframes pop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ip-button {
    width: 100%;
    padding: 17px;       /* 14*1.2 */
    margin-bottom: 19px; /* 16*1.2 */
    border-radius: 12px; /* 10*1.2 */
    border: none;
    background: #121216;
    color: #fff;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px #343444;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ip-button:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px #9b5cff;
}

.ip-button .label {
    font-size: 13px; /* 11*1.2 */
    color: #888;
}

.ip-button .ip {
    font-size: 18px; /* 15*1.2 */
    color: white;
    margin-top: 2px;
    font-weight: bold;
}

.otp-container {
    display: flex;
    justify-content: space-between;
    gap: 6px;       /* 10*1.2 */
    margin-bottom: 24px; /* 20*1.2 */
}

.otp {
    width: 58px;   /* 48*1.2 */
    height: 67px;  /* 56*1.2 */
    text-align: center;
    font-size: 29px; /* 24*1.2 */
    font-weight: bold;
    border-radius: 12px; /* 10*1.2 */
    border: none;
    background: #0d0d11;
    color: white;
    outline: none;
    box-shadow: inset 0 0 0 1px #333;
}

.otp:focus {
    box-shadow: inset 0 0 0 2px #9b5cff;
}

.site-logo {
    position: absolute; /* pour quÃ¢â‚¬â„¢il se place par rapport Ãƒ  la page */
    top: 20px;
    right: 20px;
    width: 45px;   /* taille du logo */
    height: auto;  /* garde les proportions */
    z-index: 10;   /* au-dessus du contenu */
    border-radius: 50%;
}

.project h2{
    text-align: center;
    color: white;
    position: absolute; /* pour quÃ¢â‚¬â„¢il se place par rapport Ãƒ  la page */
    top: 7px;
    right: 80px;  /* garde les proportions */
    z-index: 10;  

}   

.project a:hover h2{
    text-decoration: underline;
}  