@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    text-shadow:
        0 0 5px rgba(0, 0, 0, 0.4),
        0 0 5px rgba(0, 0, 0, 0.4),
        0 0 5px rgba(0, 0, 0, 0.4),
        0 0 5px rgba(0, 0, 0, 0.4);
    text-align: center;
}

@font-face {
    font-family: "Monocraft";
    src: url("/assets/fonts/Monocraft-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Monocraft";
    src: url("/assets/fonts/Monocraft-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: gray;
    background-image: url('/assets/home/bg.webp');
    background-size: cover;
    background-position: center;
    font-family: "Monocraft", serif;
    color: #fff;
    user-select: none;
}

h1 {
    font-size: 48px;
    margin-bottom: 40px;
}

.button-container {
    display: flex;
    gap: 20px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: margin-top 0.3s;
}

.button {
    padding: 0;
    border: 2px solid #fff;
    border-radius: 30px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, backdrop-filter 0.6s, box-shadow 0.3s;
    overflow: hidden;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(2px);
}

.button img {
    height: 80px;
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s;
    margin: 5px;
}

.button:hover img {
    transform: scale(1.1);
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #fff;
}

.discord-button {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding-left: 12px;
    padding-right: 12px;
    height: 50px;
    font-size: 13px;
    border: 2px solid #fff;
    border-radius: 20px;
    cursor: pointer;
    color: #fff;
    backdrop-filter: blur(2px);
    transition: background-color 0.3s, transform 0.3s, backdrop-filter 0.6s, box-shadow 0.3s;
    box-sizing: border-box;
}

.discord-button img {
    height: 40%;
    padding-left: 10px;
}
.discord-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.copyright {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .button {
        width: 90px;
        height: 90px;
    }

    .button img {
        width: 48px;
        height: 48px;
    }

    .button-text {
        font-size: 12px;
        margin-top: 5px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .copyright {
        font-size: 8px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}