body {
    width: 100%;
    height: 100%;
    margin: 0;
    position: fixed;
    background: rgba(18,19,22, 1);
}

canvas { 
    width: 100%; 
    height: 100%; 
    outline: none;
}

#container { 
    width: 100%; 
    height: 100%; 
    position: relative;
} 

#loading-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 12px;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-left-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-screen.error {
    background: rgba(0, 0, 0, 0.9);
}

.error-message button {
    background: none;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.error-message button:hover {
    background: white;
    color: black;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
} 