/* Styles for pages/playground.html — full-screen 3D scene */

body {
    margin: 0;
    overflow: hidden;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

#overlay {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10;
    color: #fff;
    text-align: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

#overlay h2 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: 0.05em;
}

#overlay p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.8;
}

#controls-hint {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    font-size: 0.8rem;
    opacity: 0.65;
    max-width: 420px;
}

#controls-hint span {
    white-space: nowrap;
}

kbd {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 1px 5px;
    font-family: monospace;
    font-size: 0.8rem;
}

#loading {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    z-index: 20;
    color: #fff;
    font-size: 1.2rem;
    pointer-events: none;
}
