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

body {
    overflow: hidden;
}

#game-container {
    width: 100vw;
    height: 100vh;
    position: relative;
}

#game-canvas {
    width: 100%;
    height: 100%;
}

#dialogue-ui {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
}

#dialogue-text {
    margin-bottom: 15px;
    font-size: 18px;
}

#dialogue-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dialogue-option {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
}

.dialogue-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

#interaction-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

.hidden {
    display: none;
}

#dialogue-input-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

#dialogue-input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.9);
}

#send-message {
    padding: 8px 15px;
    background: #4a3000;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

#speech-toggle {
    text-align: right;
    margin-bottom: 10px;
}

.toggle-button {
    padding: 5px 10px;
    background: #4a3000;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.toggle-button.off {
    background: #666;
}
