/* === Обнуление и общие стили === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#donbalance {
    text-align: end;
    font-size: 18px;
    color: white;
}

#balance {
    font-size: 18px;
    color: white;
    padding-top: 6px;
    padding-right: 2px;
}

/* === Контейнер с фиксированным размером === */
.page-container {
    width: 100%;
    height: 100%;
    margin: 0 auto; /* Центрирование по горизонтали (необязательно) */
    overflow: hidden;
    position: relative;
}

/* === Фоновая секция === */
.background-image {
    width: 100%;
    height: 100%;
    background-image: url('images/main_fone.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}



/* === Контейнер для кнопок === */
.button-container {
    display: flex;
    justify-content: space-evenly;
    align-items: end;
    width: 100%; /* Занимает всю ширину родителя */
    position: absolute;
    bottom: 40px; /* Положение контейнера с кнопками */
}

/* === Стиль кнопки === */
.button {
    width: 80px;
    height: 80px;
    border: none;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* === Специфичные стили для каждой кнопки === */

/* Левая кнопка */
.button-left {
    background-image: url('images/battle_btn.png'); /* Измените путь к вашему изображению */
}

/* Центральная кнопка */
.button-center {
    width: 110px;
    height: 110px;
    background-image: url('images/farm_btn.png'); /* Измените путь к вашему изображению */
}

/* Правая кнопка */
.button-right {
    background-image: url('images/kaz_btn.png'); /* Измените путь к вашему изображению */
}

.balance-container {
    position: absolute;
    top: 10px; /* Положение контейнера для баланса */
    padding: 0 10px;
    left: 5px;
}


.bal-field {
    width: 132px;
    height: 40px;
    background-image: url('images/balance_fone.png');
    display: flex;
    justify-content: end;
    background-repeat: no-repeat;
}

.balance-button {
    background-image: url('images/donate_btn.png');
    width: 16px;
    height: 16px;
}

.donebal-field {
    display: flex;
    background-image: url('images/donbal_fone.png');
    width: 90px;
    height: 40px;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: end;
    padding-right: 10px;
}

.right-button-container{
    position: absolute;
    bottom: 230px;
    right: 15px;
}

.pass-button {
    width: 94px;
    height: 60px;
    background-image: url('images/pass_btn.png');
    display: flex;
}

.roulette-button {
    width: 94px;
    height: 60px;
    background-image: url('images/roulette_btn.png');
    display: flex;
}

