body {
    background-color: #000000;
    color: #cccccc;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 30px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Прижимает содержимое к низу экрана */
    box-sizing: border-box;
}

.terminal-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.messages-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-line {
    font-size: 1rem;
    line-height: 1.5;
    color: #e0e0e0;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.choices-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.choice-btn {
    background: transparent;
    border: none;
    color: #666666;
    padding: 6px 0;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.choice-btn:hover {
    color: #ffffff;
}

.action-link-area {
    margin-top: 15px;
}

.btn-link {
    color: #66fcf1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    display: inline-block;
}

.btn-link:hover {
    text-decoration: underline;
}

.user-message {
    color: #11dd0a 
}
.entity-message {
    color: #ff0000 
}