* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: 'Press Start 2P', monospace; /* Шрифты в стиле пиксель-арт */
    background-color: #000;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Сюда закидывать оригинальный фон! */
    background-image: url('../img/bg.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.85); /* Делаем фон чуть темнее, чтоб кнопки читались лучше */
}

.menu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15vh;
    height: 100%;
}

.header {
    position: relative;
    margin-bottom: 80px;
    text-align: center;
}

.logo {
    color: #cecece;
    font-size: 80px;
    margin: 0;
    letter-spacing: 2px;
    /* Имитация 3D эффекта майнкрафт-лого */
    text-shadow: 
        .06em .06em 0 #3a3a3a, 
        .12em .12em 0 #2a2a2a,
        .18em .18em 0 #1a1a1a,
        .24em .24em 0 #000000;
}

.splash-txt {
    position: absolute;
    right: -40px;
    bottom: -20px;
    color: #ffff00;
    font-size: 20px;
    transform: rotate(-15deg);
    text-shadow: 2px 2px 0 #3f3f00;
    animation: throb 0.5s infinite alternate linear;
    white-space: nowrap;
}

@keyframes throb {
    from { transform: rotate(-15deg) scale(1); }
    to { transform: rotate(-15deg) scale(1.1); }
}

.buttons {
    display: flex;
    flex-direction: column;
    width: 400px;
    gap: 16px;
}

.buttons-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.mc-btn {
    font-family: inherit;
    font-size: 14px;
    color: #e0e0e0;
    text-shadow: 2px 2px 0 #3f3f3f;
    background-color: #6d6d6d;
    border: 2px solid #000;
    padding: 14px 20px;
    cursor: pointer;
    width: 100%;
    position: relative;
    outline: none;
    box-shadow: 
        inset 0 3px 0 0 #AFAFAF, 
        inset 3px 0 0 0 #AFAFAF, 
        inset 0 -3px 0 0 #3C3C3C, 
        inset -3px 0 0 0 #3C3C3C;
}

.mc-btn.half {
    width: calc(50% - 8px);
}

.mc-btn:hover {
    background-color: #7A8AA1; 
    color: #fffb8d; /* желтоватый текст при наведении */
    box-shadow: 
        inset 0 3px 0 0 #B5C5DB, 
        inset 3px 0 0 0 #B5C5DB, 
        inset 0 -3px 0 0 #4C5A6C, 
        inset -3px 0 0 0 #4C5A6C;
}

.mc-btn:active {
    background-color: #4b4b4b;
    box-shadow: 
        inset 0 3px 0 0 #2a2a2a, 
        inset 3px 0 0 0 #2a2a2a, 
        inset 0 -3px 0 0 #7b7b7b, 
        inset -3px 0 0 0 #7b7b7b;
}

/* Адаптивность для телефонов */
@media (max-width: 768px) {
    .menu-wrapper {
        padding-top: 10vh;
    }
    .header {
        margin-bottom: 50px;
        width: 100%;
        padding: 0 10px;
    }
    .logo {
        font-size: 9.5vw; /* Уменьшен размер, чтобы помещалось в экран */
        letter-spacing: -2px; /* Сжимаем расстояние между буквами */
        text-shadow: 
            .04em .04em 0 #3a3a3a, 
            .08em .08em 0 #2a2a2a,
            .12em .12em 0 #1a1a1a,
            .16em .16em 0 #000000;
        word-break: keep-all; 
    }
    .splash-txt {
        font-size: 3vw;
        right: 15px;
        bottom: -15px;
        transform: rotate(-15deg);
    }
    @keyframes throb {
        from { transform: rotate(-15deg) scale(1); }
        to { transform: rotate(-15deg) scale(1.05); }
    }
    .buttons {
        width: 100%;
        max-width: 400px;
        padding: 0 15px;
        gap: 10px;
    }
    .mc-btn {
        font-size: 11px;
        padding: 12px 10px;
    }
    .buttons-row {
        gap: 10px;
    }
    .mc-btn.half {
        width: calc(50% - 5px);
    }
}
