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

body {
    overflow: hidden;
    background: #000;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}

#textCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

#instructions {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: left;
    pointer-events: none;
}

#instructions h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#instructions p {
    font-size: 16px;
    margin: 10px 0;
}

#player-info {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    min-width: 300px;
}

#player-info h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #0f0;
}

#player-info p {
    margin: 5px 0;
    line-height: 1.4;
}

#player-info strong {
    color: #aaa;
}

#player-info span {
    color: #fff;
}
