body {
    margin: 0;
    overflow: hidden; /* Hide scrollbars */
}
canvas {
    display: block; /* Remove extra space below canvas */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#blocker {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10;
}

#instructions {
    z-index: 11;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    color: #ffffff;
}

#customization {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#customization input[type="color"] {
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
}

#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    pointer-events: none;
    display: none;
    z-index: 50;
}

#crosshair::before, #crosshair::after {
    content: '';
    position: absolute;
    background-color: white;
}

#crosshair::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

#crosshair::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

#pocket {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 200;
}

#pocket-content {
    background-color: #c6c6c6;
    border: 4px solid #373737;
    padding: 20px;
    border-radius: 2px;
    text-align: center;
    color: #373737;
}

.pocket-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.pocket-item {
    width: 80px;
    height: 80px;
    background-color: #8b8b8b;
    border: 3px solid #373737;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
}

#hotbar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
}

.slot {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #555;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.slot.active {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px white;
}
