
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1a0a2a);
    color: white;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#gameContainer {
    position: relative;
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(100,50,200,0.1) 0%, rgba(0,0,0,0.8) 100%);
    border: 2px solid #6434c8;
    box-shadow: 0 0 50px rgba(100,50,200,0.5), inset 0 0 50px rgba(100,50,200,0.1);
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    cursor: crosshair;
}

#ui {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    text-shadow: 0 0 10px rgba(100,200,255,0.8);
    pointer-events: none;
    z-index: 10;
}

.stat {
    background: rgba(0,0,0,0.7);
    padding: 10px 15px;
    border: 1px solid #64c8ff;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(100,200,255,0.3);
}

.stat span {
    color: #64ff64;
    font-weight: bold;
}

#startScreen, #gameOverScreen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(255,0,255,0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(0,255,255,0.8)); }
}

.button {
    padding: 15px 40px;
    font-size: 20px;
    background: linear-gradient(45deg, #6434c8, #4896ef);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(100,50,200,0.4);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(100,50,200,0.6);
}

#instructions {
    margin: 20px 0;
    text-align: center;
    line-height: 1.8;
    color: #a0a0ff;
}

.power-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.power-slot {
    width: 60px;
    height: 60px;
    border: 2px solid #64c8ff;
    border-radius: 10px;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: relative;
}

.power-slot.active {
    animation: pulse 0.5s infinite;
    box-shadow: 0 0 20px rgba(100,200,255,0.8);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#combo {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 0 0 20px rgba(255,255,0,0.8);
    z-index: 10;
    display: none;
}
