* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow: hidden;
    background: linear-gradient(135deg, #0a0015 0%, #1a0033 100%);
    font-family: 'Arial Black', Arial, sans-serif;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

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

#ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    pointer-events: none;
    z-index: 10;
}

.title {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff00ff;
    text-shadow: 
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff,
        0 0 40px #ff00ff;
    text-align: center;
    letter-spacing: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.instructions {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.instructions div {
    color: #00ffff;
    font-size: 0.9em;
    text-shadow: 0 0 5px #00ffff;
    text-align: center;
}

@keyframes pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px #ff00ff,
            0 0 20px #ff00ff,
            0 0 30px #ff00ff,
            0 0 40px #ff00ff;
    }
    50% {
        text-shadow: 
            0 0 20px #ff00ff,
            0 0 30px #ff00ff,
            0 0 40px #ff00ff,
            0 0 50px #ff00ff,
            0 0 60px #ff00ff;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 1.8em;
        letter-spacing: 4px;
    }
    
    .instructions {
        font-size: 0.8em;
        padding: 10px 15px;
    }
    
    .instructions div {
        font-size: 0.8em;
    }
}

