:root {
    --primary: #00f3ff;
    --bg: #05070a;
    --surface: rgba(13, 17, 23, 0.9);
    --text: #e6edf3;
    --border: #30363d;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

[data-theme="soul"] {
    --primary: #ff00ff;
    --bg: #0a050a;
    --surface: rgba(26, 11, 26, 0.9);
    --text: #fce7fc;
    --border: #4a1a4a;
}

body, html {
    margin: 0; padding: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    overflow: hidden;
}

#game-stage {
    position: relative;
    width: 100vw; height: 100vh;
    display: flex; justify-content: center; align-items: flex-end;
}

#scene-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #161b22 0%, #05070a 100%);
    z-index: 1; transition: 1s;
}

#actor-sprite {
    position: absolute; bottom: 20%; left: 50%; transform: translateX(-50%);
    width: 400px; height: 400px; z-index: 2; transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#ui-container {
    position: relative; width: 100%; max-width: 900px;
    margin-bottom: 40px; z-index: 10; padding: 0 20px;
}

#text-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 30px; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    min-height: 120px; position: relative; cursor: pointer;
}

#name-tag {
    position: absolute; top: -15px; left: 30px;
    background: var(--primary); color: #000;
    padding: 2px 15px; font-weight: 900; font-size: 0.8rem;
    text-transform: uppercase; border-radius: 4px;
}

#content-body {
    font-size: 1.1rem; line-height: 1.8; letter-spacing: 0.5px;
}

#cursor {
    position: absolute; bottom: 15px; right: 20px;
    color: var(--primary); animation: blink 1s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

#choice-overlay {
    position: absolute; bottom: 150%; left: 50%; transform: translateX(-50%);
    width: 100%; display: flex; flex-direction: column; gap: 12px;
}

.choice-btn {
    background: var(--surface); border: 1px solid var(--primary);
    color: var(--text); padding: 15px; border-radius: 8px;
    cursor: pointer; font-weight: 700; transition: 0.2s;
    text-align: center;
}
.choice-btn:hover { background: var(--primary); color: #000; transform: scale(1.02); }

#meta-menu {
    position: absolute; top: 20px; right: 20px; z-index: 100;
    display: flex; gap: 10px;
}
#meta-menu button {
    background: none; border: 1px solid var(--border); color: var(--text-muted);
    padding: 5px 12px; border-radius: 20px; font-size: 0.7rem; cursor: pointer;
}
#meta-menu button:hover { border-color: var(--primary); color: var(--primary); }
