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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    position: absolute;
    top: 30px;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #00d4ff, #ff00ff, #ffff00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

#canvas-container {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: grab;
}

#canvas-container:active {
    cursor: grabbing;
}

#controls {
    position: absolute;
    bottom: 30px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.7;
    z-index: 10;
}

#controls p {
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        top: 20px;
    }
    
    #controls {
        bottom: 20px;
        font-size: 0.9rem;
    }
}

/* Loading animation */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Glow effect for the canvas */
canvas {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}
