* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

#viewer {
    width: 100vw;
    height: 100vh;
    background: #000000;
}

/* Terminal style animation */
.terminal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 32px;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    min-height: 80px;
    text-align: center;
}

#terminal-text {
    color: #ffffff;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#input-container {
    margin-top: 10px;
}

#answer-input {
    background: transparent;
    border: none;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 32px;
    outline: none;
    width: 300px;
}

#answer-input::placeholder {
    color: #666;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #ffffff;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 1.2rem;
    display: none;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.loading.show {
    display: block;
}
