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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI";
    color: #1f2a37;
    background: rgb(196, 239, 252);
}

.container {
    padding: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.16);
}

.game-header {
    margin-bottom: 14px;
    text-align: center;
}

.naslov {
    color: #0f172a;
    line-height: 1;
}

.navodila {
    max-width: 620px;
    margin: 8px auto 0;
    color: #475569;
    line-height: 1.35;
}

.hud {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.controls button {
    padding: 10px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 100%);
    color: #0f2742;
    font-weight: bold;
    cursor: pointer;
}

.controls button:hover {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
}

.kocke {
    padding: 10px 12px;
    width: 200px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    text-align: center;
}

.hud-label {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-weight: bold;
}

mark {
    padding: 0;
    background: transparent;
    color: #0f172a;
}

.canvas-frame {
    background: linear-gradient(180deg, #f8fbff 0%, #e0efff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#canvas {
    display: block;
    width: 720px;
    height: auto;
    margin: 0 auto;
    border: 3px solid #93c5fd;
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}
