@keyframes animateMount {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    animation: animateMount 0.5s ease-in-out forwards;
    background: linear-gradient(#272727, transparent 1px), linear-gradient(90deg, #272727, transparent 1px);
    background-size: 120px 120px;
}

.main__wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.welcome__container {
    display: flex;
    height: 90vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Ubuntu Light", sans-serif;
    font-weight: 300;
    user-select: none;
    color: white;
    gap: 20px;
} .welcome__container h2 {
    margin: 0;
    font-size: 48px;
} .welcome__container p {
    margin: 0;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.code__container {
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: white;
    font-family: "Ubuntu Mono", sans-serif;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    width: 100%;
    max-width: 1440px;
    box-sizing: border-box;
    overflow: hidden;
}

.code__container__os__support {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    width: 75%;
    padding: 0;
}

.supported__os__title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.supported__os__title img {
    width: 30px;
    pointer-events: none;
}

.supported__os {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(135deg, #171717, #272727);
    backdrop-filter: blur(10px);
    padding: 40px;
    width: 70%;
    border-radius: 10px;
    border: 1px solid #474747;
    transition: transform 0.3s ease;
} .supported__os:hover {
    transform: scale(1.02);
}

.supported__os__form {
    display: flex;
    height: 40px;
    width: 100%;
    flex-wrap: nowrap;
}

.supported__os__form button {
    padding: 0;
    margin: 0;
    width: 12%;
    height: 90%;
    text-align: center;
    border-radius: 0 5px 5px 0;
}
.supported__os__form input {
    padding: 0;
    margin: 0;
    width: 80%;
    height: 90%;
    text-align: center;
    border-radius: 5px 0 0 5px;
    font-weight: 400;
}

.supported__os__form button, .supported__os__form input {
    border: none;
    font-family: "Fira Code Medium", monospace;
    padding: 5px;
    text-align: center;
    background: rgb(255, 255, 255);
    box-sizing: border-box;
} .supported__os__form button:focus, .supported__os__form input:focus {
    outline: none;
} .supported__os__form button:hover {
    background: rgb(205, 205, 205);
}

.server__container {
    user-select: none;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: start;
    flex-direction: column;
    color: white;
    font-family: "Ubuntu Mono", sans-serif;
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    width: 100%;
    max-width: 1440px;
    box-sizing: border-box;
    overflow: hidden;
} .server__container__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 75%;
    gap: 5px;
    background: linear-gradient(135deg, #171717, #272727);
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid #474747;
    font-size: 18px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    padding: 0;
    padding-left: 15px;
}

.error__modal__backdrop {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
    backdrop-filter: blur(15px);
    animation: animateMount 0.3s ease-out forwards;
} .error__modal {
    animation: animateMount 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    width: 25%;
    height: 140px;
    background: linear-gradient(135deg, #171717, #272727);
    border: 1px solid #333;
    transition: background 0.1s ease;
    color: white;
    font-family: "JetBrains Mono", sans-serif;
    padding: 10px;
    border-radius: 10px;
} .error__modal__close {
    position: absolute;
    top: 5px;
    right: 10px;
    border: none;
    background: none;
    outline: none;
    color: white;
    font-size: 20px;
}
.supported__os, .error__modal {
    --mouse-x: 10%;
    --mouse-y: 10%;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.04) 0%, #171717 90%);
    backdrop-filter: blur(10px);
    border: 1px solid #474747;
    transition: transform 0.3s ease;
}

.server__container__title, .code__container__title {
    position: relative;
    left: 0;
    top: 25px;
    width: 75%;
    display: flex;
    align-items: start;
    font-size: 32px;
    font-weight: 600;
    text-align: start;
}