.mobile-controls {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 45vh;
    z-index: 40;
    pointer-events: none;
}

.mobile-controls.active {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20px 20px;
}

.joystick-area {
    position: absolute;
    left: 20px;
    bottom: 20px;
    width: 130px;
    height: 130px;
    pointer-events: auto;
}

.joystick-base {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(0, 180, 255, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.joystick-stick {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.3), rgba(0, 100, 200, 0.15));
    border: 2px solid rgba(0, 180, 255, 0.4);
    transition: transform 0.05s;
}

.mobile-buttons {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
}

.mobile-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s, background 0.1s;
}

.mobile-btn:active {
    transform: scale(0.92);
}

.fire-btn {
    background: rgba(255, 60, 60, 0.15);
    border-color: rgba(255, 80, 80, 0.4);
    color: #ff6666;
}

.fire-btn.pressed {
    background: rgba(255, 60, 60, 0.35);
    border-color: #ff4444;
    box-shadow: 0 0 20px rgba(255, 60, 60, 0.4);
}

.boost-btn {
    width: 65px;
    height: 65px;
    background: rgba(0, 180, 255, 0.1);
    border-color: rgba(0, 180, 255, 0.3);
    color: var(--primary);
    font-size: 11px;
}

.boost-btn.pressed {
    background: rgba(0, 180, 255, 0.3);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.3);
}
