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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.font-geist-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

#game-canvas {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 800px;
    touch-action: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.game-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#start-screen, #game-over {
    display: flex;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

button {
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(1px);
}

.weapon-slot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.weapon-slot.active {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.weapon-slot.ultimate {
    border: 1px solid rgba(168, 85, 247, 0.8);
    position: relative;
}

.weapon-slot.ultimate.unlocked {
    border-color: rgba(168, 85, 247, 1);
    background-color: rgba(168, 85, 247, 0.3);
}

.weapon-slot.ultimate.active {
    background-color: rgba(168, 85, 247, 0.9);
    box-shadow: 0 0 12px rgba(168, 85, 247, 1);
}

#ultimate-weapon-notification {
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.7);
}

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

@media (max-width: 500px) {
    #game-canvas {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
    
    #weapon-indicator {
        bottom: 20px;
        right: 20px;
    }
}
