* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Чистый белый фон */
    color: #1a1a1e;            /* Темный, глубокий цвет текста (комфортнее чисто черного) */
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    justify-content: center;
}

/* Главный контейнер */
.game-container {
    width: 100%;
    max-width: 480px;
    min-height: 100dvh;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.image-wrapper {
    width: 100%;
    height: 39vh; /* процик высоты */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#scene-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Текст сюжета */
#story-text {
    margin-top: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    width: 100%;
    color: #1a1a1e;
}

/* Контейнер кнопок */
#choices-container {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 24px;
}


.btn {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background-color: #47474e; 
    color: #ffffff;           
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-align: center;
    text-decoration: none;
    display: block;
    box-sizing: border-box;
}

/* Эффект при нажатии/наведении */
.btn:hover {
    background-color: #3e3e48;
}

.btn:active {
    transform: scale(0.98);
}

/* Вспомогательные кнопки финалов */
.btn-secondary {
    background-color: #4a5568;
}

.btn-secondary:hover {
    background-color: #5a6678;
}

.btn-danger {
    background-color: #9b2c2c;
}

.btn-danger:hover {
    background-color: #c53030;
}

.hidden {
    display: none !important;
}