@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    color: white;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.card {
    padding: 50px 25px;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
    text-align: center;
    .avatar {
        width: 150px;
        height: 150px;
        border-radius: 50%;
    }
    h1 {
        margin-top: 20px;
        font-size: 2.5rem;
        font-weight: 700;
    }
    h2 {
        margin-top: 10px;
        font-size: 1.5rem;
        font-weight: 400;
    }
    .links {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        button {
            width: 50px;
            height: 50px;
            background-size: contain;
            border: none;
            cursor: pointer;
        }
        .github {
            background: url('../svg/github.svg') no-repeat center;
        }
        .youtube {
            background: url('../svg/yt.svg') no-repeat center;
        }
        .tg {
            background: url('../svg/tg.svg') no-repeat center;
        }
        .discord {
            background: url('../svg/discord.svg') no-repeat center;
        }
        .ps {
            background: url('../svg/ps.svg') no-repeat center;
        }
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: rgba(15, 15, 15, 0.8);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    max-width: 400px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 25px;
    background: #ffb7c5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
