:root {
    --bg: #0a0a0c;
    --panel: #16161a;
    --accent: #7f5af0;
    --text: #fffffe;
    --green: #2cb67d;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.game-container {
    background: var(--panel);
    padding: 2rem;
    border: 2px solid #242629;
    border-radius: 8px;
    text-align: center;
}

.hud {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

#stage {
    width: 400px;
    height: 400px;
    background: #010101;
    position: relative;
    border: 1px solid #333;
    margin: 0 auto;
}

#hint-layer {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 100px;
    left: 100px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 1;
}

.piece {
    position: absolute;
    background: var(--accent);
    cursor: move;
    z-index: 10;
    transition: transform 0.2s, background 0.3s;
    box-sizing: border-box;
}

.piece.correct {
    background: var(--green) !important;
    z-index: 5;
    pointer-events: none;
    outline: none;
}

button {
    margin-top: 20px;
    background: var(--accent);
    color: white;
    border: none;
    padding: 12px 40px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}