html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Vazir', sans-serif;
    background-color: #64001C;
    background-image: url('/img/pattern.png');
    background-repeat: repeat;
    background-size: auto;
    background-blend-mode: multiply;
}

body {
    overscroll-behavior: none;
    touch-action: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 480px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}

.logo {
    flex: 0 0 auto;
    width: 35vh;
    max-width: 160px;
    aspect-ratio: 1 / 1;
    background: url('/img/Icon.png') no-repeat center center;
    background-size: contain;
}

.game-title {
    flex: 0 0 auto;
    width: 80%;
    aspect-ratio: 2.5 / 1;
    background: url('/img/title.png') no-repeat center center;
    background-size: contain;
    max-height: 14vh;
    margin: 10px 0;
}

.buttons {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    width: 100%;
}

.buttons a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.buttons a:hover {
    transform: scale(1.05);
}

.buttons img {
    width: 100%;
    max-width: 300px;
    max-height: 12vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .buttons a {
        flex: 0 0 45%;
    }
}
