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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: 'Courier New', monospace;
}

#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000810;
    color: #4fc3f7;
    font-family: 'Courier New', monospace;
    z-index: 100;
    transition: opacity 0.5s;
}

#loading.hidden {
    opacity: 0;
    pointer-events: none;
}

#loading h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 30px #4fc3f7;
}

#loading p {
    font-size: 14px;
    color: #666;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #1a1a2e;
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar-fill {
    width: 0%;
    height: 100%;
    background: #4fc3f7;
    animation: loadProgress 1.5s ease-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}
