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

body {
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#gameCanvas {
    display: block;
    cursor: crosshair;
    image-rendering: pixelated;
}

#loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #003831 0%, #001a17 100%);
    z-index: 10;
    cursor: pointer;
}

#loading.hidden {
    display: none;
}

.loading-text {
    font-size: 72px;
    font-weight: 900;
    color: #c4ced4;
    text-shadow: 3px 3px 0 #005c5c, -1px -1px 0 #005c5c;
    letter-spacing: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-sub {
    font-size: 20px;
    color: #c4ced4;
    margin-top: 20px;
    opacity: 0.7;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}
