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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

#world-canvas {
    z-index: 1;
}

#ui-canvas {
    z-index: 2;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

/* Utility classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

.fade-out {
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
